X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=Changes;h=7ea3d84c2e6ed3b7b05e882b90927892cc2545a9;hp=c70d6dbbe60a579cd3792f1034391e771b213f28;hb=62b6b631cf9141ffd9ae02e4b87c182b080b335a;hpb=1565e158ff4a868e199a99b779e6669ca1d9c53c diff --git a/Changes b/Changes index c70d6db..7ea3d84 100644 --- a/Changes +++ b/Changes @@ -1,10 +1,144 @@ # This file documents the revision history for Perl extension Catalyst. Bug fixes: - - Remove the erroneous --detach option from Catalyst::Script::FastCGI - - --daemon option to Catalyst::Script::FastCGI is fixed. + - Additional fix for getting the base application path right when rewriting + requests into an application sub path with mod_alias and mod_rewrite on + Apache. + - Ensure to always cleanup temporary uploaded files in all cases, even + when exceptions occur during request processing, using HTTP::Body's + ->cleanup feature. (RT#41442) + - Ensure that Catalyst::Engine::HTTP's options hash is defined before + dereferencing it. (RT#49267) + - Fix regex special characters in REDIRECT_URL variable breaking + the request base. (2nd part of RT#24951) + - Fix not stripping backslashes in DispatchType::Regex::uri_for_action + + New features: + - Setting __PACKAGE__->config(enable_catalyst_header => 1); in your MyApp.pm + now enables the X-Catalyst header being printed when not in debug mode. + - Require CGI::Simple::Cookie version 1.109 to ensure support for the + HttpOnly flag + - Allow the myapp_test.pl script to be given a list of paths which it + will retrieve all of. (RT#53653) + - Allow parameterized roles to be applied as plugins. + + Documentation: + - The Catalyst::Test::get method is documented as returning the raw + response bytes without any character decoding (RT#53678) + +5.80022 2010-03-28 19:43:01 + + New features: + - Log an extra line in debug mode with the response status code, + the content type and content length if available. + + Refactoring / optimizations: + - Display of the end of hit debug messages has been factored out into + log_headers, log_request, log_request_headers, log_response, + log_response_status_line and log_response_headers methods so that + plugins which customise how much information is shown on the debug + screen as easy to write. + - Make all logging of request and response state get the information from + $c->dump_these so that there is a unified point from which to hook + in parameter filtering (for example). + - $c->model/view/controller have become a lot faster for non-regexp names + by using direct hash lookup instead of looping. + - IP address => hostname mapping for the server is only done once and cached + by Catalyst::Engine::HTTP to somewhat mitigate the problem of people + developing on machines pointed at slow DNS servers. + + Bugs fixed: + - DispatchType::Index's uri_for_action only returns for actions registered + with it (prevents 'index :Path' or similar resolving to the wrong URI) + - Make sure to construct Upload objects properly, even if there are + multiple Content-Type headers (Closes RT#55976). + +5.80021 2010-03-03 23:02:01 + + Bug fixed: + - $c->uri_for will now escape unsafe characterss in captures + ($c->request->captures) and correctly encode utf8 charracters. + +5.80020 2010-02-04 06:51:18 + + New features: + - Allow components to specify additional components to be set up by + overriding the expand_modules method. (Oliver Charles) + +5.80019 2010-01-29 01:04:09 + + Bug fixed: + - Calls to $c->uri_for with private paths as strings (e.g. + $c->uri_for('controller/action', 'arg1', 'arg2') ) no longer have + / encoded to %2F. This is due to $c->uri_for('static', 'css/foo', $bar) + which should not be encoded. + Calls with an action object (rather than a string), or uri_for action + will still encode / in args and captures to %2F + + - The above noted / => %2F encoding in uri_for_action or uri_for with + an action object has been fixed to not just encode the first slash in + any set of args/captures. + + - nginx and lighttpd FCGI requests with URI encoded sections as the first + path part have been fixed to operate correctly. + + - A source of bogus warnings in Catalyst::Component::BUILDARGS has been + removed. + + Documentation: + - Improve the documentation about -Home and how Catalyst finds the home path + for applications. + - Various minor typo fixes. + + New features: + - Allow passing additional arguments to action constructors. + +5.80018 2010-01-12 22:24:20 + + Bug fixed: + - Call ->canonical on URI derived from $ENV{REQUEST_URI} to get + paths correctly decoded. This bug was previously hidden by a bug + in HTTP::Request::AsCGI. + + Documentation: + - Clarify that uri_for_action works on private paths, with example. + - Clarify documentation about debug + + Deprecations: + - Saying use Catalyst::Test; (without an application name or () to stop + the importer running is now deprecated and will issue a warning. + You should be saying use Catalyst::Test (); + +5.80017 2010-01-10 02:27:29 + + Documentation: + - Fix docs for ->forward method when passed a class name - this should + be a component name (e.g. View::HTML, not a full class name, like + MyApp::View::HTML). + + Bug fixes: + - --daemon and -d options to Catalyst::Script::FastCGI are fixed. - Fix the debug dump for applications which use Catalyst::Plugin::Session (RT#52898) + - Fix regression in the case where mod_rewrite is being used to rewrite + requests into a path below your application base introduced with the + %2F related fixes in 5.80014_02. + - Do not crash on SIGHUP if Catalyst::Engine::HTTP->run is not passed the + argv key in the options hash. + - Correctly pass the arguments to Catalyst::Script::Server through to + Catalyst::Engine::HTTP->run so that the server can restart itself + with the correct options on SIGHUP. + - Require new MooseX::MethodAttributes to be compatible with Moose + versions >= 0.93_01 + - Require new MooseX::Role::WithOverloading to be compatible with Moose + versions >= 0.93_01 + + Cleanups: + - Stop suppressing warnings from Class::C3::Adopt::NEXT now that most plugins + have been updated to not use NEXT. If you get warnings then please upgrade + your components or log a bug with the component author if an upgrade is + not available. The Class::C3::Adopt::NEXT documentation contains information + about how to suppress the warnings in your application if you need to. 5.80016 2009-12-11 23:23:33 @@ -396,7 +530,7 @@ B::Hooks::OP::Check::StashChange - Fix the unattached chain debug table for endpoints with no parents at all. - - Turn of test aggregation by default. Only aggregate if the + - Turn off test aggregation by default. Only aggregate if the AGGREGATE_TESTS environment variable is set and a recent Test::Aggregate is available. - Bump to MooseX::MethodAttributes 0.09, to gain the