X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=Changes;h=fe5426c2905c145dc373e9607f2f8e659cac24dc;hp=f79077ea35b9b18a767a1d28fc3b276712e6b4bb;hb=91cb8b9a470a220ffa02f7f1dbf1cee769111871;hpb=8865ee1205d2f74a601105ae6c85af2cceb8ad7d diff --git a/Changes b/Changes index f79077e..fe5426c 100644 --- a/Changes +++ b/Changes @@ -1,12 +1,115 @@ # This file documents the revision history for Perl extension Catalyst. +5.80033 2011-07-24 16:09:00 + + Bug fixes: + - Fix Catalyst::Request so that the hostname accessor is not incorrectly + populated with 'localhost' if a reverse DNS lookup fails. + + - Fix Path actions debug screen to display number of arguments + + - Fix a regression that prevented configuring attributes for all actions using + ->config(actions => { '*' => \%attrs }) from working + + - Append $\ in Catalyst::Response->print to more closely match + IO::Handle's behaviour. + + - Fixed situation where a detach($action) from a forward within auto + was not breaking out correctly + + - Fix the disable_component_resolution_regex_fallback config setting + to also work in the $c->component method. + + - Handle users setting cookies with an undef value by not trying to + output that cookie (rather than trying to do so and causing an exception + as previously happened). A warning is logged if this occurs in debug + mode. + - Update tests to ignore $ENV{CATALYST_HOME} where required + + - Change repository metadata to point at git. + + - Clean namespaces in Catalyst::Request::Upload + + - Catalyst::Test: Fixes to action_ok, action_redirect and action_notfound + test functions to be better documented, and have better default test + names. + + - Update tests to ignore CATALYST_HOME env var. + +5.80032 2011-02-23 01:10:00 + + Bug fixes: + - Fix compatibility issue with code which was testing the value of + $c->res->body multiple times. Previously this would cause the value + to be built, and ergo cause the $c->res->has_body predicate to start + returning true. + Having a response body is indicated by $c->res->body being defined. + + - Fix bug with calling $upload->slurp multiple times in one request + not working as expected as the file handle wasn't returned to + the zero position. (Adam Sjøgren) + + - Fix some weird perl 5.8 situations where $c can get squashed unexpectedly + in Catalyst::execute + + - Fix chained dispatch where chains were being compared for length (number + of private parts in the chain) vs where they are being compared for + PathPart length (i.e. number of non-capturing URI elements in your path). + + This bug meant that sometimes multiple Args or CaptureArgs (e.g. /*/*) + type paths would be preferred to those with fixed path elements + (e.g. /account/*) + + New features: + - Add MYAPP_RESTARTER and CATALYST_RESTARTER environment variables to + allow the restarter class to be chosen per application or generally. + + This feature was added to enable GUI restarters (such as the soon to + be released CatalystX::Restarter::GTK to be enabled more easily by + developers without changing their application code. + +5.80031 2011-01-31 08:13:02 + + Bug fixes: + - Update dependency on MooseX::Role::WithOverloading to ensure that + a version which can deal with / depends on a new Package::Stash + is installed. (As if some other dependency is pulled in during upgrading + which results in new Package::Stash, then it can leave you with a broken + version of MooseX::Role::WithOverloading. + + - Fix undef warning in Catalyst::Engine::FastCGI when writing an empty + body (e.g. doing a redirect) + +5.80030 2011-01-04 13:13:02 + New features: - Add a --proc_title option to the FCGI script to set the process title. + - Allow the response body to be set to `undef' explicitly to indicate the + absence of a body. It can be used to indicate that no body should be sent at + all and processing of views should be skipped. This is especially useful for + things like X-Sendfile, which now no longer require providing fake response + bodies to suppress view processing. In order for this to work, you will also + have upgrade Catalyst::Action::RenderView to at least version 0.15. Bug fixes: - Deal correctly with GLOB file handles in the response body (setting the Content-Length header appropriately) + - Chained dispatch has been fixed to always prefer paths + with the minimum number of captures (rather than the + maximum number of actions). This means that (for example) + a URI path /foo/* made out of 2 actions will take preference + to a URI path /*/* made out of 3 actions. Please check your applications + if you are using chained action and please write new test to report + failing case. + - Stop relying on bugs in the pure-perl version of Package::Stash. New + versions of Package::Stash load Package::Stash::XS if + available. Package::Stash::XS fixes some of the bugs of the pure-perl + version, exposing our faulty assumption and breaking things. We now work + with both old and new versions of Package::Stash, both with and without + Package::Stash::XS being installed. Older versions of Catalyst-Runtime also + work with both old and new versions of Package::Stash, but only if + Package::Stash::XS is *not* installed. Documentation: - Clarify that when forwarding or detaching, the end action associated