Changes for version 5.80008 - 2009-08-21
- Bug fixes:
- Fix replace_constructor warning to actually work if you make your application class immutable without that option.
- Depend on Module::Pluggable 3.9 to prevent a bug wherein components in inner packages might not be registered. This especially affected tests.
- Catalyst::Engine::FastCGI - relax the check for versions of Microsoft IIS. Provides compatibility with Windows 2008 R2 as well as (hopefully) future versions.
- In tests which depend on the values of environment variables, localise the environment, then delete only relevant environment variables (RT#48555)
- Fix issue with Engine::HTTP not sending headers properly in some cases (RT#48623)
- Make Catalyst::Engine write at least once when finalizing the response body from a filehandle, even if the write is empty. This avoids fail when trying to send out an empty response body from a filehandle.
- Catalyst::Engine::HTTP - Accept a fully qualified absolute URI in the Request-URI of the Request-Line
- Refactoring / cleanups:
- Deleted the Restarter engine and its Watcher code. Use the new Catalyst::Restarter in a recent Catalyst::Devel instead.
- New unit test for Catalyst::Action 'unit_core_action.t'
- Bump minimum supported perl version from 5.8.1 to 5.8.6 as there are known issues with 5.8.3, and nobody is prepared to fix / support perl older than 5.8.6 any more. Patches to regain compatibility to older perls would be welcome.
- Debug output uses dynamic column sizing to create more readable output when using a larger $ENV{COLUMNS} setting. (groditi)
- New features:
- Added private_path method for Catalyst::Action
- Allow uri_for($controller_instance) which will produce a URI for the controller namespace
- Break setup_components into two more parts: locate_components and expand_component_module (rjbs)
- Allow Components to return anon classed from their COMPONENT method correctly, and have action registration work on Controllers returned as such by adding a catalyst_component_name accessor for all components which returns the component instance's name to be used when building actions etc.
- Adding X-Forwarded-Port to allow the frontend proxy to dictate the frontend port (jshirley)
- Added Catalyst::Stats->created accessor for the time at the start of the request.
- Documentation:
- Fix POD to refer to ->config(key => $val), rather than ->config->{key} = $val, as the latter form is deprecated.
- Clearer docs for the 'uri_for' method.
- Fix POD refering to CGI::Cookie. We're using CGI::Simple::Cookie. (Forrest Cahoon)
Documentation
- Catalyst::Delta - Overview of changes between versions of Catalyst
- Catalyst::Upgrading - Instructions for upgrading to the latest Catalyst
- catalyst - Bootstrap a Catalyst application
Modules
- Catalyst - The Elegant MVC Web Application Framework
- Catalyst::Action - Catalyst Action
- Catalyst::ActionChain - Chain of Catalyst Actions
- Catalyst::ActionContainer - Catalyst Action Container
- Catalyst::Base - Deprecated base class
- Catalyst::ClassData - Class data accessors
- Catalyst::Component - Catalyst Component Base Class
- Catalyst::Component::ApplicationAttribute - Moose Role for components which capture the application context.
- Catalyst::Component::ContextClosure - Moose Role for components which need to close over the $ctx, without leaking
- Catalyst::Controller - Catalyst Controller base class
- Catalyst::DispatchType - DispatchType Base Class
- Catalyst::DispatchType::Chained - Path Part DispatchType
- Catalyst::DispatchType::Default - Default DispatchType
- Catalyst::DispatchType::Index - Index DispatchType
- Catalyst::DispatchType::Path - Path DispatchType
- Catalyst::DispatchType::Regex - Regex DispatchType
- Catalyst::Dispatcher - The Catalyst Dispatcher
- Catalyst::Engine - The Catalyst Engine
- Catalyst::Engine::CGI - The CGI Engine
- Catalyst::Engine::FastCGI - FastCGI Engine
- Catalyst::Engine::HTTP - Catalyst HTTP Engine
- Catalyst::Exception - Catalyst Exception Class
- Catalyst::Exception::Detach - Exception for redispatching using $ctx->detach()
- Catalyst::Exception::Go - Exception for redispatching using $ctx->go()
- Catalyst::Log - Catalyst Log Class
- Catalyst::Model - Catalyst Model base class
- Catalyst::Request - provides information about the current client request
- Catalyst::Request::Upload - handles file upload requests
- Catalyst::Response - stores output responding to the current client request
- Catalyst::Runtime - The Catalyst Framework Runtime
- Catalyst::Stats - Catalyst Timing Statistics Class
- Catalyst::Test - Test Catalyst Applications
- Catalyst::Utils - The Catalyst Utils
- Catalyst::View - Catalyst View base class
Provides
- Catalyst::Exception::Base in lib/Catalyst/Exception.pm