summaryrefslogtreecommitdiff
path: root/www/p5-Catalyst-Runtime
diff options
context:
space:
mode:
authorrhaen <rhaen>2012-01-26 13:47:48 +0000
committerrhaen <rhaen>2012-01-26 13:47:48 +0000
commit6cab256315137f5e31dd4b1fc1c3e64988bc5125 (patch)
tree692e1dedb971bfe123fa69627e2687c5b7d7b29f /www/p5-Catalyst-Runtime
parentaf469246962bec2a8296e469992f2bc18d6e6208 (diff)
downloadpkgsrc-6cab256315137f5e31dd4b1fc1c3e64988bc5125.tar.gz
Updated to 5.90007
ChangeLog: 5.90007 - 2011-11-22 20:35:00 New features: - Implement a match_captures hook which, if it exists on an action, is called with the $ctx and \@captures and is expected to return true to continue the chain matching and false to stop matching. This can be used to implement action classes or roles which match conditionally (for example only matching captures which are integers). Bug fixes: - Lighttpd script name fix is only applied for lighttpd versions < 1.4.23. This should fix non-root installs of lighttpd in versions over that. - Prepare_action is now inside a try {} block, so that requests containing bad unicode can be appropriately trapped by Catalyst::Plugin::Unicode::Encoding 5.90006 - 2011-10-25 09:18:00 New features: - A new 'run_options' class data method has been added to Catalyst.pm This is used to store all the options passed by scripts, allowing application authors to add custom options to their scripts then get them passed through to the application. Doumentation: - Clarify that if you manually write your own .psgi file, then optional proxy support (via the using_frontend_proxy config value) will not be enabled unless you explicitly apply the default middlewares from Catalyst, or you apply the middleware manually. Bug fixes: - Fix issue due to perl internals bugs in 5.8 and 5.10 (not present in other perl versions) require can pass the context inappropriately, meaning that some methods of loading classes can fail due to void context being passed throuh to make_immutable, causing it to not return a value. This bug caused loading Catalyst::Script::XXX to fail and is fixed both by bumping the Class::Load dependency, and also adding an explicit '1;' to the end of the classes, avoiding the context issue. - Fix using_frontend_proxy support in mod_perl by using the psgi wrapped in default middleware in mod_perl context, rather than the raw psgi. 5.90005 - 2011-10-22 13:35:00 New features: - $c->uri_for_action can now take an array of CaptureArgs and Args If you have an action which has both, then you can now say: $c->uri_for_action('/myaction', [@captures, @args]); whereas before you had to say: $c->uri_for_action('/myaction', [@captures], @args); The previous form is still supported, however in many cases it is easier for the application code to not have to differentiate between the two. - Catalyst::ScriptRunner has been enhanced so that it will now load and apply traits, making it easier to customise. - MyApp::TraitFor::Script (if it exists) will be applied to all scripts in the application. - MyApp::TraitFor::Script::XXXX will be applied to the relevant script (for example MyApp::TraitFor::Script::Server will be applied to MyApp::Script::Server if it exists, or Catalyst::Script::Server otherwise). Documentation: - Document how to get the vhost of the request in $c->req->hostname to avoid confusion - Remove documentation showing Global / Regex / Private actionsi as whilst these still exist (and work), they are not recommended. - Remove references to the -Engine flag. - Remove references to the deprecated Catalyst->plugin method - Spelling fixed (and tested) throughout the documentation - Note that wrapping the setup method will not work with method modifiers and provide an alternative. 5.90004 - 2011-10-11 17:12:00 Bug fixes: - Don't guess engine class names when setting an engine through MyApp->engine_class. 5.90003 - 2011-10-05 08:32:00 Bug fixes: - Make default body reponses for 302s W3C compliant. RT#71237 - Fix issue where groups of attributes to override controller actions in config would be (incorrectly) overwritten, if the parser for that attribute mangled the contents of the attribute. This was found with Catalyst::Controller::ActionRole, where Does => [ '+Foo' ] would be transformed to Does => [ 'Foo' ] and written back to config, whereas Does => '+Foo' would not be changed in config. RT#65463 Enhancements: - Set a matching Content-type for the redirect if Catalyst sets the body. This is for compatibility with a WatchGuard Firewall. Backward compatibility fixes: - Restore (an almost empty) Catalyst::Engine::HTTP to the dist for old scripts which explictly require Catalyst::Engine::HTTP Documentation fixes: - Document Catalyst::Plugin::Authentication fails tests unless you use the latest version with Catalyst 5.9 - Clarify that prepare is called as a class method - Clarify use of uri_for further. RT#57011
Diffstat (limited to 'www/p5-Catalyst-Runtime')
-rw-r--r--www/p5-Catalyst-Runtime/Makefile4
-rw-r--r--www/p5-Catalyst-Runtime/distinfo8
2 files changed, 6 insertions, 6 deletions
diff --git a/www/p5-Catalyst-Runtime/Makefile b/www/p5-Catalyst-Runtime/Makefile
index 574c1f1f765..2b341dd6b02 100644
--- a/www/p5-Catalyst-Runtime/Makefile
+++ b/www/p5-Catalyst-Runtime/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.23 2011/08/23 10:12:06 abs Exp $
+# $NetBSD: Makefile,v 1.24 2012/01/26 13:47:48 rhaen Exp $
-DISTNAME= Catalyst-Runtime-5.90002
+DISTNAME= Catalyst-Runtime-5.90007
PKGNAME= p5-${DISTNAME}
CATEGORIES= www perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Catalyst/}
diff --git a/www/p5-Catalyst-Runtime/distinfo b/www/p5-Catalyst-Runtime/distinfo
index fc580699f6c..fc29721c369 100644
--- a/www/p5-Catalyst-Runtime/distinfo
+++ b/www/p5-Catalyst-Runtime/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.17 2011/08/23 10:12:06 abs Exp $
+$NetBSD: distinfo,v 1.18 2012/01/26 13:47:48 rhaen Exp $
-SHA1 (Catalyst-Runtime-5.90002.tar.gz) = 8df9e7a056036303ebac2e0d9baafbb557cba23c
-RMD160 (Catalyst-Runtime-5.90002.tar.gz) = efea40a5e86f4fe4ce6ed28ba6dd1bf679cfe42d
-Size (Catalyst-Runtime-5.90002.tar.gz) = 258574 bytes
+SHA1 (Catalyst-Runtime-5.90007.tar.gz) = 247918d04ac56b629e064ec0972d3b13d4925274
+RMD160 (Catalyst-Runtime-5.90007.tar.gz) = 0ae213948d5f14e2cf844baa45ff067fd83c60d4
+Size (Catalyst-Runtime-5.90007.tar.gz) = 264557 bytes