X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=Changes;h=b4906559d6b375156d9ef083b31e87a1a4ba1760;hp=21883b66882364e98cf1239ffd53bdd8096921ba;hb=f4de8c998c61fd442cb9590a3c052cf41b4c0d67;hpb=84755bc3c6c73deaa10f3f7ba4e1a0432220c9fc diff --git a/Changes b/Changes index 21883b6..b490655 100644 --- a/Changes +++ b/Changes @@ -1,6 +1,58 @@ # This file documents the revision history for Perl extension Catalyst. Bug fixes: + - Add '1;' to all classes which were relying on the ->make_immutable + call to return a true value. 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 is shown by trying to load Catalyst::Script::Create (for example) + with Module::Require and is fixed in core by commit 021f53de09926 + +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