X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=Changes;h=700b876b539680213f1f3ad5e282bcd92ddb43f9;hp=4f05906d4e63329836f9189354959127070ac5a5;hb=6cc3be547afa371706f958f6c2a50b34ba09de07;hpb=46d32d148b2e819915b797ce94905c2e1d62f85f diff --git a/Changes b/Changes index 4f05906..700b876 100644 --- a/Changes +++ b/Changes @@ -1,11 +1,133 @@ # This file documents the revision history for Perl extension Catalyst. Bug fixes: + - Fix reporting the wrong Content-Length if the response body is an + upgraded string. Strings mean the same thing whether or not they are + upgraded, may get upgraded even after they are encoded, and will + produce the same output either way, but bytes::length returns too big + values for upgraded strings containing characters >127 + - Fix t/live_fork.t with bleadperl (RT#52100) + - Set $ENV{PATH_INFO} from $ENV{REQUEST_URI} combined with + $ENV{SCRIPT_NAME} if possible. This is many web servers always fully + decode PATH_INFO including URI reserved characters. This allows us to + tell foo%2cbar from foo%252cbar.. RT#50082 + - Require new HTTP::Request::AsCGI so that it fully decodes $ENV{PATH_INFO} + in non CGI contexts. + + Refactoring / cleanups: + - NoTabs and Pod tests moved to t/author so that they're not run + (and then skipped) normally. + + Documentation: + - Fix Pod nits in Catalyst::Response (RT#51818) + +5.80014_01 2009-11-22 20:01:23 + + Bug fixes: + - Filehandle now forced to binmode in CGI and FastCGI engines. This appears + to correct some UTF-8 issues, but may break people's code which relies + on the old behaviour. + + Refactoring / cleanups: + - Plugins which inherit from Catalyst::Controller or Catalyst::Component + are deprecated and now issue warnings. + +5.80014 2009-11-21 02:51:14 + + Bug fixes: + - Require MooseX::MethodAttributes 0.17. This in turn requires new + MooseX::Types to stop warnings in Moose 0.91, and correctly supports + role combination of roles containing attributed methods. + - Catalyst::Dispatcher::dispatch_types no longer throws deprecated warnings + as there is no recommended alternative. + - Improved the suggested fix warning when component resolution uses regex + fallback for fully qualified component names. + - Catalyst::Test::local_request sets ->request on the response. + - Log flush moved to the end of setup so that roles and plugins which + hook setup_finalize can log things and have them appear in application + startup, rather than with the first hit. + - Require a newer version of LWP to avoid failing tests. + - Stop warnings when actions are forwarded to during dispatch. + - Remove warnings for using Catalyst::Dispatcher->dispatch_types as this is a + valid method to publicly call on the dispatcher. + - Args ($c->request->args) and CaptureArgs ($c->request->captrues) + passed to $c->uri_for with an action object ($c->action) will now + correctly round-trip when args or captures contain / as it is now + correctly uri encoded to %2F. + + Documentation: + - Document no-args call to $c->uri_for. + - Document all top level application configuration parameters. + - Clarify how to fix actions in your application class (which is + deprecated and causes warnings). + - Pod fixes for ContextClosure. + - Fix documentation for go/visit to reference captures and arguments + in the correct order. + - Update $c->forward and $c->state documentation to address scalar + context. + - Pod fix in Catalyst::Request (RT#51490) + - Pod fixes to refer to ::Controller:: rather than ::C:: as the latter + is deprecated (RT#51489) + + New features: + - Added disable_component_resolution_regex_fallback config option to + switch off (deprecated) regex fallback for component resolution. + - Added an nginx-specific behavior to the FastCGI engine to allow + proper PATH_INFO and SCRIPT_NAME processing for non-root applications + - Enable Catalyst::Utils::home() to find home within Dist::Zilla built + distributions + - Added the Catalyst::Exception::Interface role defining the interface + exception classes need to implement. + - Added Catalyst::Exception::Basic as a basic implementation of + Catalyst::Exception::Interface and made the existing exception classes + use it. + + Refactoring / cleanups: + - Remove documentation for the case_sensitive setting + - Warning is now emitted at application startup if the case_sensitive + setting is turned on. This setting is not used by anyone, not + believed to be useful and adds unnecessary complexity to controllers + and the dispatcher. If you are using this setting and have good reasons + why it should stay then you need to be shouting, now. + - Writing to $c->req->body now fails as doing this never makes sense. + +5.80013 2009-09-17 11:07:04 + + Bug fixes: + - Preserve immutable_options when temporarily making a class mutable in + Catalyst::ClassData as this is needed by new Class::MOP. + This could have potentially caused issues when using the deprecated runtime + plugins feature in an application with plugins which define their own new + method. + - Require new Moose version and new versions of various dependencies + to avoid warnings from newest Moose release. + - Fix go / visit expecting captures and arguments in reverse order. + + Documentation: + - Rework the $c->go documentation to make it more clear. + - Additional documentation in Catalyst::Upgrading covering more deprecation + warnings. + + Refactoring / cleanups: + - Action methods in the application class are deprecated and applications + using them will now generate a warning at startup. + - 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 + +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: - - Catalyst::Classdata now warns when class methods are called on instances. - 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.