X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Changes;h=8986e528f0119f15959d2bf3b1af0be2a7a679ea;hb=ecf903d0523a9a927684d6f9dc125f8d27bf2f6f;hp=c65fc7dfc71ff45e327452071b5b85aa5b206d80;hpb=a61b69837d86d115383621109faa3157af75ce91;p=catagits%2FCatalyst-Runtime.git diff --git a/Changes b/Changes index c65fc7d..8986e52 100644 --- a/Changes +++ b/Changes @@ -1,8 +1,105 @@ # This file documents the revision history for Perl extension Catalyst. + - Announcing the repo is not open for development of Perl Catalyst 'Runner' + - http://questhub.io/realm/perl/explore/latest/tag/runner + +5.90059_004 - TBA + - Make sure IO handle objects do 'getline' before sending them to the + response callback, to properly support the PSGI specification. + - Added some backcompat code when setting a response body to an object + that does 'read' but not 'getline'. Added deprecation notice for this + case. Added docs to Catalyst::Delta. + - Official warning that Catalyst::Engine::PSGI is no longer supported and + we will be removing any existing backcompat code for this engine in a + future release. Other deprecations noted, see Catalyst::Delta. + - $c->res->has_body is now considered true if you've even once requested a + $c->res->write_fh or called $c->res->write. + +5.90059_003 - 2013-12-24 + - More documentation about alternative ways to setup middleware. + - removed unneeded use of Devel::Dwarn in test case that was causing + fails to install (sorry). + - When finalizing caught errors, if the error conforms to the interface as + described by Plack::Middleware::HTTPExceptions, rethrow it and let the + middleware deal with it. + +5.90059_002 - 2013-12-21 + - We now pass a scalar or filehandle directly to you Plack handler, rather + than always use the streaming interface (we are still always using a + delayed response callback). This means that you can make use of Plack + middleware like Plack::Middleware::XSendfile and we expect better use of + server features (when they exist) like correct use of chunked encoding or + properly non blocking streaming when running under a supporting server like + Twiggy. See Catalyst::Delta for more. This change might cause issues if + you are making heaving use of streaming (although in general we expect things + to work much better. + - In the case when we remove a content body from the response because you set + an information status or a no content type status, warn that we are doing so + when in debug mode. You might see additional debugging information to help + you find and remove unneeded response bodies. + - Updated the code where Catalyst tries to guess a content length when you + fail to provide one. This should cause less issues when trying to guess the + length of a funky filehandle. This now uses Plack::Middleware::ContentLength + - Removed custom code to remove body content when the request is HEAD and + swapped it for Plack::Middleware::Head + - Merged fix for regressions from stable.. + +5.90059_001 - 2013-12-19 + - Removed deprecated Regexp dispatch type from dependency list. If you are + using Regex[p] type dispatching you need to add the standalone distribution + 'Catalyst::DispatchType::Regex' to you build system NOW or you application + will be broken. + +5.90053 - 2013-12-21 + - Reverted a change in the previous release that moved the setup_log phase + to after setup_config. This change was made to allow people to use + configuration that is late loaded (such as via the ConfigLoader Plugin) + to setup the plugin. However it also broke the ability to use the log + during plugin setup (ie, it breaks lots of plugins). Reverting the + change. See Catalyst::Delta for workarounds. + +5.90052 - 2013-12-18 + + - Fixed first block of startup debug messages missing when using a custom + logger that gets set at runtime, for example by overriding finalize_config + - Give a more descriptive error message when trying to load middleware that + does not exist. + - Change the way we initialize plugins to fix a bug where when using the + populare ConfigLoader plugin, configs merged are not available for setting + up middleware and data handlers (and probably other things as well). + + NOTE: This change might cause issues if you had code that was relying on the + broken behavior. For example external configuration that was being loaded to + late to have effect might now take effect. Please test you code carefully and + be aware of this possible issue . + + - You may now also call 'setup_middleware' as a package method if you think + that loading middleware via configuration is a weird or broken idea. + - Various POD formating fixed. + - Improved some documentation about what type of filehandles that ->body can + accept and issues that might arise. + +5.90051 - 2013-11-06 + - Be more skeptical of the existance of $request->env to fix a regression + introduced in Catalyst::Action::REST by the previous release + +5.90050 - 2013-11-05 + - Previously public predicates on the following attributes are now considered + private and their method names have been changed to follow Perl convention + for internal methods: + + -- Catalyst::Request->has_io_fh ==> _has_io_fh + -- Catalyst::Request->has_env ==> _has_env + -- Catalyst::Response->has_write_fh ==> _has_write_fh + + These are breaking changes but these methods were never documented and serve + no use for external code. If you are using thing, you need to make the noted + change (but please consider finding another way to do what you are trying to + do). t0m++ for code review of Hamburg branch. + 5.90049_006 - 2013-11-04 - Fixed case where test could fail when Starman was partly installed (n0body++) - - Fixed missing data information in previous release + - Fixed missing date information in previous release 5.90049_005 - 2013-10-31 - NEW FEATURE: New Controller action attribute 'Consumes', which allows you