Catalyst-Runtime
view release on metacpan or search on metacpan
Documentation:
- Fix documentation in Catalyst::Component to show attributes and
calling readers, rather than accessing elements in the $self->{} hash
directly.
- Add note in Catalyst::Component to strongly disrecommend $self->config
- Fix vague 'checkout' wording in Catalyst::Utils. RT#77000
- Fix documentation for the 'secure' method in Catalyst:Request. RT#76710
5.90011 - 2012-03-08 16:43:00
Bug fixes:
- Simplification of the previous changes to Catalyst::ScriptRunner
We now just push $FindBin::Bin/../lib to the @INC path again, but
only if one of the dist indicator files (Makefile.PL Build.PL or
dist.ini) can be found in $FindBin::Bin/../$_
This avoids heuristics when the app is unloaded and therefore
works better for extensions which have entire applications in
their test suites.
- Bug fix to again correctly detect checkouts in dist zilla using
applications.
- --background option for the server script now only closes
STDIN, STDOUT and STDERR. This fixes issues with Log::Dispatch
and other loggers which open a file handle when
- Change incorrect use of File::Spec->catdir to File::Spec->catfile
so that we work on platforms which care about this (VMS?)
- Make it more obvious if our PSGI server doesn't pass in a response
callback.
5.90010 - 2012-02-18 00:01:00
Bug fixes:
- Fix the previous fix to Catalyst::ScriptRunner which was resulting
in the lib directory not being pushed onto @INC.
This meant perl ./script/myapp_server.pl failed, however
perl -Ilib ./script/myapp_server.pl would succeed.
5.90009 - 2012-02-16 09:06:00
Bug fixes:
- Fix the debug page so that it works as expected with the latest
refactoring.
- The Catalyst::Utils::home function is used to find if the application
is a checkout in Catalyst::ScriptRunner. This means that a non-existent
lib directory that is relative to the script install location is not
included when not running from a checkout.
- Fix dead links to cpansearch.perl.org to point to metacpan.org.
- Require the latest version of B::Hooks::EndOfScope (0.10) to avoid an
issue with new versions of Module::Runtime (0.012) on perl 5.10
which stopped Catalyst::Controller from compiling.
- In Catalyst::Test, don't mangle headers of non-HTML responses. RT#79043
5.90008 - TRIAL 2012-02-06 20:49:00
New features and refactoring:
- Much of the Catalyst::Engine code has been moved into Catalyst::Request
and Catalyst::Response, to be able to better support asynchronous web
servers such as Twiggy, by making the application engine more reenterant.
This change is as a prequel to full asynchronous support inside Catalyst
for AnyEvent and IO::Async backends, which allow highly scaleable streaming
(for applications such as multi-part XML HTTPRequests, and Websockets).
Deprecations:
- This means that the $c->engine->env method to access the PSGI environment
is now deprecated. The accessor for the PSGI env is now on Catalyst::Request
as per applications which were using Catalyst::Engine::PSGI
Catalyst::Engine::PSGI is now considered fully deprecated.
- The private _dump method in Catalyst::Log is now deprecated. The dumper is
not pluggable and which dumper to use should be a user choice. Using
an imported Dump() or Dumper() function is less typing than $c->log->_dump
and as this method is unused anywhere else in Catalyst, it has been scheduled
for removal as a cleanup. Calling this method will now emit a stack trace
on first call (but not on subsequent calls).
Back compatibility fixes:
- Applications still using Catalyst::Engine::PSGI as they rely on
$c->request->env - this is now the provided (and recommended) way of
accessing the raw PSGI environment.
Tests:
- Spurious warnings have been removed from the test suite
Documentation:
- Fix the display of PROJECT FOUNDER and CONTRIBUTORS sections in the
documentation. These were erroneously being emitted when the Pod
was converted to HTML for search.cpan.org
- Fix documentation for the build_psgi_app app method. Previously the
documentation advised that it provided the psgi app already wrapped
in default middleware. This is not the case - it is the raw app psgi
5.90007 - 2011-11-22 20:35:00
New features:
- Implement a match_captures hook which, if it exists on an action,
is called with the $ctx and \@captures and is expected to return
true to continue the chain matching and false to stop matching.
This can be used to implement action classes or roles which match
conditionally (for example only matching captures which are integers).
Bug fixes:
- Lighttpd script name fix is only applied for lighttpd versions
< 1.4.23. This should fix non-root installs of lighttpd in versions
over that.
- Prepare_action is now inside a try {} block, so that requests containing
bad unicode can be appropriately trapped by
Catalyst::Plugin::Unicode::Encoding
5.90006 - 2011-10-25 09:18:00
New features:
- A new 'run_options' class data method has been added to Catalyst.pm
This is used to store all the options passed by scripts, allowing
application authors to add custom options to their scripts then
get them passed through to the application.
Documentation:
( run in 0.643 second using v1.01-cache-2.11-cpan-39bf76dae61 )