X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Changes;h=e4b3beadffc7e5814a45dffb06787b16b07dcf54;hb=cb3d811c733d46b4b90e43987ab00e4a02be398b;hp=95d51c4342e05979977329cb57870843d7d1a610;hpb=a50e5b463c6cc4044b7d39a157d54db64212ef51;p=catagits%2FCatalyst-Runtime.git diff --git a/Changes b/Changes index 95d51c4..e4b3bea 100644 --- a/Changes +++ b/Changes @@ -1,9 +1,73 @@ # This file documents the revision history for Perl extension Catalyst. + Bug fixes: + - Revert change to URL encode things passed into $c->uri_for + Args and CaptureArgs as this causes breakage to pre-existing + applications (t0m). + - Remove use of Test::MockObject as it doesn't install from CPAN + in some environments (t0m). + - Remove use of dclone to deep copy configs and replace with + Catalyst::Utils::merge_hashes which has the same effect, of + ensuring child classes don't inherit their parent's config, + except works correctly with closures (t0m). + - Add Class::C3::reinitialize into Catalyst::Test to avoid weird + bugs in ctx_request (bokutin in RT#46459) + - Fix issues with _parse_PathPrefix_attr method in Catalyst::Controller + (jasonk in RT#42816) + + New features: + - Use ~ as prefix for plugins or action classes which are located in + MyApp::Plugin / MyApp::Action (mo) + - Controller methods without attributes are now considered actions if + they are specified in config->{action(s)} (mo) + - Add Catalyst::Component::ContextClosure as an easy way to create code + references, that close over the context, without creating leaks + (Florian Ragwitz). + + Refactoring / cleanups: + - Clean namespaces in Catalyst::Exception* (Florian Ragwitz). + - Turn Catalyst::Exception into an actual class and make the throw + method create instances of it. They can still be used as normal + strings, as before, as they are overloaded to stringify to their + error message (Florian Ragwitz). + - Add a rethrow method to Catalyst::Exception (Florian Ragwitz). + - Add Catalyst::Exception::Detach and ::Go, and refactor detach() and + go() to use them instead of magic, global strings (Florian Ragwitz). + Fixes RT#47366 + - Clean up getting metaclass instance and making app class immutable + again in Catalyst::Test (t0m) + +5.80005 2009-06-06 14:40:00 + + Behaviour changes: + - Arguments ($c->req->args) in Chained dispatch are now automatically + URL decoded to be consistent with Local/Path dispatch (Caelum) + + Documentation: + - Clarify correct techniques for Moose controllers (domm) + + Bug fixes: - Further change pushing 'env' attribute down into Catalyst::Engine to make $c->engine->env work in all cases (kmx) - - Clarify correct techniques for Moose controllers (domm) + - Also fix $c->engine->env in Catalyst::Test tests (kmx) + - Tests for this (t0m) + - Fix Catalyst failing to start if any plugin changed $_ whilst + loading (t0m) + - Tests for this + - Be stricter about arguments to Args attributes for Chained actions, + so that they blow up on load instead of causing undefined behavior + later on (hdp) + - Tests for this + - Prefer Path actions with a smaller (or set) number of Args (caelum) + Bug reported here: http://stackoverflow.com/questions/931653/catalyst-action-that-matches-a-single-file-in-the-root-directory/933181#933181 + - Tests for this + + New features: - Add $c->req->remote_user to disambiguate from $c->req->user (dwc) + - Require MooseX::MethodAttributes 0.12 so that action methods + (with attributes) can be used in / composed from Moose roles. + - Allow the generation of cookies with the HTTPOnly flag set + in Catalyst::Engine (kmx) 5.80004 2009-05-18 17:03:23 - Rename the actions attribute in Catalyt::Controller to