[Catalyst] [Announce] Catalyst 5.49_03

Sebastian Riedel sri at oook.de
Thu Nov 3 20:55:13 CET 2005


We are yet another step closer to a stable 5.5 release.

5.49_03 has just been uploaded to CPAN and should reach a mirror near  
you very soon.

     http://cpansearch.perl.org/CPAN/authors/id/M/MS/MSTROUT/ 
Catalyst-5.49_03.tar.gz

Here's the Changelog:

         - Fixed $c->req->{path} for backwards-compatibility.
         - Allow debug to be disabled via ENV as well as enabled.
         - Added -scripts option to catalyst.pl for script updating
         - Changed helpers to default to long types, Controller  
instead of C
         - Added Catalyst::Controller, Catalyst::Model and  
Catalyst::View
           base classes
         - Added JavaScript to debug screen to show and hide specific  
dumps
         - Added _DISPATCH, _BEGIN, _AUTO, _ACTION and _END actions
         - Added multi process external FastCGI support
           (see myapp_fastcgi.pl -help) (Sam Vilain)
         - Restarter process in HTTP engine now properly exits when the
           parent app is shut down.
         - Improved performance of restarter loop while watching for
           changed files.
         - Restarter will now detect new files added to an app on  
systems
           that change directory mtimes when new files are created.
         - Restarter now properly handles modules that are deleted  
from an
           application.
         - Fixed memory leak in TestApp.

Most visible changes are these:

1. Long types (Controller/Model/View) are now the default, short ones  
(C/M/V) are still supported and just require the "-short" argument to  
be appended to the normal helper command.

     catalyst.pl -short MyApp
     script/myapp_create.pl -short controller Foo
     script/myapp_create.pl -short model Bar
     script/myapp_create.pl -short view Baz

2. Catalyst::Base has been split into new more intuitive base  classes.

     package MyApp::Controller::Foo;
     use base 'Catalyst::Controller';
     1;

     package MyApp::Model::Bar;
     use base 'Catalyst::Model';
     1;

     package MyApp::View::Baz;
     use base 'Catalyst::View';
     1;

The old Catalyst::Base is still supported and there are no plans to  
deprecate it.

3. You can update your helper scripts with a single command now.

     catalyst.pl -nonew -scripts MyApp


--
sebastian




More information about the Catalyst mailing list