pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/www/p5-Catalyst-Runtime
Module Name: pkgsrc
Committed By: sno
Date: Wed Jul 8 11:46:32 UTC 2009
Modified Files:
pkgsrc/www/p5-Catalyst-Runtime: Makefile distinfo
Log Message:
Updating package for Catalyst::Runtime from 5.80005 to 5.80006
Adjusting dependencies
Upstream changes:
5.80007 2009-06-30 23:54:34
Bug fixes:
- Don't mangle query parameters passed to uri_for
- Tests for this (Byron Young + Amir Sadoughi)
- Inherited controller methods can now be specified in
config->{action(s)}
- Assigning an undef response body no longer produces warnings
- Fix C3 incompatibility bug caused if you use Moose in MyApp.pm and
add Catalyst to the right hand side of this in @ISA.
- Make Catalyst.pm implement the Component::ApplicationAttribute
interface so defining actions in MyApp.pm works again, if the
actions have attributes that cause $self->_application to be used
(like ActionClass).
New features:
- Add optional second argument to uri_with which appends to existing
params rather than replacing them. (foo=1 becomes foo=1&foo=2 when
uri_with({ foo => 2 }, { mode => 'append' }) is called on a foo=1
URI.
5.80006 2009-06-29 23:37:47
Bug fixes:
- Revert change to URL encode things passed into $c->uri_for
Args and CaptureArgs as this causes breakage to pre-existing
applications.
- Remove use of Test::MockObject as it doesn't install from CPAN
in some environments.
- Remove use of dclone to deep copy configs and replace with
Catalyst::Utils::merge_hashes which has the same effect, of
ensuring child classes don't inherit their parent's config,
except works correctly with closures.
- Add Class::C3::reinitialize into Catalyst::Test to avoid weird
bugs in ctx_request (bokutin in RT#46459)
- Fix issues with _parse_PathPrefix_attr method in Catalyst::Controller
(jasonk in RT#42816)
- Fix bugs with action sorting:
- Path actions sorted so that the most specific wins.
- Action methods named default and index fixed.
New features:
- Use ~ as prefix for plugins or action classes which are located in
MyApp::Plugin / MyApp::Action (mo)
- Controller methods without attributes are now considered actions if
they are specified in config->{action(s)} (mo)
- Add Catalyst::Component::ContextClosure as an easy way to create code
references, that close over the context, without creating leaks.
Refactoring / cleanups:
- Clean namespaces in Catalyst::Exception*.
- Turn Catalyst::Exception into an actual class and make the throw
method create instances of it. They can still be used as normal
strings, as before, as they are overloaded to stringify to their
error message.
- Add a rethrow method to Catalyst::Exception.
- Add Catalyst::Exception::Detach and ::Go, and refactor detach() and
go() to use them instead of magic, global strings.
Fixes RT#47366
- Clean up getting metaclass instance and making app class immutable
again in Catalyst::Test
To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/www/p5-Catalyst-Runtime/Makefile
cvs rdiff -u -r1.8 -r1.9 pkgsrc/www/p5-Catalyst-Runtime/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index