X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Changes;h=b4906559d6b375156d9ef083b31e87a1a4ba1760;hb=aee7cdcc0b2b3b7dc672b4b4a31b8c3b7ef3f1f7;hp=5e6e996f4aae2b57e748a0140477eafb3c5924ab;hpb=ab6c6d3d02a45825f971a5482c81bc2880ff6138;p=catagits%2FCatalyst-Runtime.git diff --git a/Changes b/Changes index 5e6e996..b490655 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,17 @@ # 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 @@ -11,6 +23,15 @@ 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