FAQ
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)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
Url : http://lists.scsys.co.uk/pipermail/catalyst/attachments/20110104/1dd99c37/attachment.pgp

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcatalyst @
categoriescatalyst, perl
postedJan 4, '11 at 1:09p
activeJan 4, '11 at 1:09p
posts1
users1
websitecatalystframework.org
irc#catalyst

1 user in discussion

Florian Ragwitz: 1 post

People

Translate

site design / logo © 2021 Grokbase