[Catalyst] [ANNOUNCE] Catalyst-Runtime 5.80030

2011-01-04 Thread Florian Ragwitz

Hi

It gives me great pleasure to announce a new and improved version of
Catalyst-Runtime.

This fixes a couple of small bugs which were causing issues for a couple of
people.

There's also a few of minor new features. The most visible change is
probably the ability to set the response body to `undef' to indicate
that no body should be sent. Version 0.15 of
Catalyst::Action::RenderView, which is mentioned in the changelog and
which is required to make use of the aforementioned feature, will appear
on CPAN later today.


Full changelog below as always.

Cheers
rafl

---
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
with the original dispatched action will be run afterwards (fallen)


pgpjTblJ8tB0h.pgp
Description: PGP signature
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/


[Catalyst] Re: FYI: Recent breakage in Catalyst installation [resolved]

2011-01-04 Thread Sebastian Willert
Fixed in Catalyst::Runtime 5.80030, thanks!

Florian Ragwitz r...@debian.org wrote:
 Sebastian Willert will...@gmail.com writes:
 
  Some updates in the dependency chain of Catalyst seem to cause a
  breakage in Catalyst. The dists in question are:
- Class::MOP
- namespace::clean
- Package::Stash
  with Package::Stash being the most likely culprit, but the dists
 above
  depend on the latest Package::Stash.
 
  Until someone more knowledgeable than me figures out what is going
 on,
 
 It's kind of hard to figure out what's going on without knowing what
 breaks for you. I'll make a WAG though:
 
 You upgraded Package::Stash to version 0.16 or greater and didn't also
 upgrade the modules the Makefile.PL output or the output of
 `package-stash-conflicts' told you were broken by that upgrade.
 
 Another guess would be you having upgraded Package::Stash as well as
 all
 the conflicting modules and happen to have Package::Stash::XS
 installed. Catalyst-Runtime used to rely on a bug in the pure-perl
 version of Package::Stash, which gets exposed by upgrading
 Package::Stash to a version that loads Package::Stash::XS
 automatically
 and having ::XS available. That happens to be fixed in 5.80030.


___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/