X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Changes;h=f4817eeea23684ddd448a9f6c0255e131c69252c;hb=cf49ace49fa91fcd4d036fba31a593ffe0b0b383;hp=4af1ee9ef6b64dd78bec2772d35c33c1a165ec06;hpb=14eb7697d007e9e1b08be593846233533a880f60;p=catagits%2FCatalyst-Runtime.git diff --git a/Changes b/Changes index 4af1ee9..f4817ee 100644 --- a/Changes +++ b/Changes @@ -1,10 +1,75 @@ # This file documents the revision history for Perl extension Catalyst. + 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 + 5.90002 - 2011-08-22 21:44:00 Backward compatibility fixes: