X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=Changes;h=8a5ece0c8f78d5e6b955def8d364fc84fab1d152;hp=930c7b210b280547438493f21722a95bf5e843c2;hb=74cd30870630f5e7b43dd7768a2c3c13355f6019;hpb=fc564128d58f63ccfd770e40fbaafd928dad5383 diff --git a/Changes b/Changes index 930c7b2..8a5ece0 100644 --- a/Changes +++ b/Changes @@ -1,4 +1,119 @@ # This file documents the revision history for Perl extension Catalyst. +# + + Bug fixes: + - Preserve immutable_options when temporarily making a class mutable in + Catalyst::ClassData as this is needed by new Class::MOP; + - Require new Moose version and new versions of various dependencies + to avoid warnings from newest Moose release. + + Documentation: + - Rework the $c->go documentation to make it more clear. + + Refactoring / cleanups: + - Action methods in the application class are deprecated and applications + using them will now generate a warning at startup. + +5.80012 2009-09-09 19:09:09 + + Bug fixes: + - Fix t/optional_http-server.t test. + - Fix t/optional_http-server-restart.t test. + - Fix duplicate components being loaded at setup time, each component is + now loaded at most once + tests. + - Fix backward compatibility - hash key configured actions are stored in + is returned to 'actions'. + - Fix get_action_methods returning duplicate methods when a method is both + decorated with method attributes and set as an action in config. + + Refactoring / cleanups: + - Reduce minimum supported perl version from 5.8.6 to 5.8.4 as there are + many people still running/testing this version with no known issues. + - The -short option has been removed from catalyst.pl, stopping new + applications from being generated using the ::[MVC]:: naming scheme as + this is deprecated and generates warnings. RT#49771 + + Tests: + - Make the optional_http_server.t test an author only test which must be + run by authors to stop it being broken again. + - Fix recursion warnings in the test suites. + +5.80011 2009-08-23 13:48:15 + + Bug fixes: + - Remove leftovers of the restarter engine. The removed code caused test + failures, which weren't apparent for anyone still having an old version + installed in @INC. + +5.80010 2009-08-21 23:32:15 + + Bug fixes: + - Fix and add tests for a regression introduced by 5.80008. + Catalyst::Engine is now able to send out data from filehandles larger + than the default chunksize of 64k again. + +5.80009 2009-08-21 22:21:08 + + Bug fixes: + - Fix and add tests for generating inner packages inside the COMPONENT + method, and those packages being correctly registered as components. + This fixes Catalyst::Model::DBIC among others. + +5.80008 2009-08-21 17:47:30 + + Bug fixes: + - Fix replace_constructor warning to actually work if you make your + application class immutable without that option. + - Depend on Module::Pluggable 3.9 to prevent a bug wherein components + in inner packages might not be registered. This especially affected + tests. + - Catalyst::Engine::FastCGI - relax the check for versions of Microsoft + IIS. Provides compatibility with Windows 2008 R2 as well as + (hopefully) future versions. + - In tests which depend on the values of environment variables, + localise the environment, then delete only relevant environment + variables (RT#48555) + - Fix issue with Engine::HTTP not sending headers properly in some cases + (RT#48623) + - Make Catalyst::Engine write at least once when finalizing the response + body from a filehandle, even if the write is empty. This avoids fail + when trying to send out an empty response body from a filehandle. + - Catalyst::Engine::HTTP - Accept a fully qualified absolute URI in the + Request-URI of the Request-Line + + Refactoring / cleanups: + - Deleted the Restarter engine and its Watcher code. Use the + new Catalyst::Restarter in a recent Catalyst::Devel instead. + - New unit test for Catalyst::Action 'unit_core_action.t' + - Bump minimum supported perl version from 5.8.1 to 5.8.6 as there are + known issues with 5.8.3. + - Debug output uses dynamic column sizing to create more readable output + when using a larger $ENV{COLUMNS} setting. (groditi) + + New features: + - Added private_path method for Catalyst::Action + - Allow uri_for($controller_instance) which will produce a URI + for the controller namespace + - Break setup_components into two more parts: locate_components and + expand_component_module (rjbs) + - Allow Components to return anon classed from their COMPONENT method + correctly, and have action registration work on Controllers returned + as such by adding a catalyst_component_name accessor for all components + which returns the component instance's name to be used when building + actions etc. + - Adding X-Forwarded-Port to allow the frontend proxy to dictate the + frontend port (jshirley) + - Added Catalyst::Stats->created accessor for the time at the start of + the request. + + Documentation: + - Fix POD to refer to ->config(key => $val), rather than + ->config->{key} = $val, as the latter form is deprecated. + - Clearer docs for the 'uri_for' method. + - Fix POD refering to CGI::Cookie. We're using CGI::Simple::Cookie. + (Forrest Cahoon) + +5.80007 2009-06-30 23:54:34 Bug fixes: - Don't mangle query parameters passed to uri_for @@ -6,6 +121,8 @@ - Inherited controller methods can now be specified in config->{action(s)} - Assigning an undef response body no longer produces warnings + - Fix C3 incompatibility bug caused if you use Moose in MyApp.pm and + add Catalyst to the right hand side of this in @ISA. - Make Catalyst.pm implement the Component::ApplicationAttribute interface so defining actions in MyApp.pm works again, if the actions have attributes that cause $self->_application to be used @@ -33,6 +150,9 @@ bugs in ctx_request (bokutin in RT#46459) - Fix issues with _parse_PathPrefix_attr method in Catalyst::Controller (jasonk in RT#42816) + - Fix bugs with action sorting: + - Path actions sorted so that the most specific wins. + - Action methods named default and index fixed. New features: - Use ~ as prefix for plugins or action classes which are located in @@ -42,7 +162,7 @@ - Add Catalyst::Component::ContextClosure as an easy way to create code references, that close over the context, without creating leaks. - Refactoring / cleanups: + Refactoring / cleanups: - Clean namespaces in Catalyst::Exception*. - Turn Catalyst::Exception into an actual class and make the throw method create instances of it. They can still be used as normal