added Catalyst::Component->action_for
[catagits/Catalyst-Runtime.git] / Changes
1 This file documents the revision history for Perl extension Catalyst.
2
3         - added Catalyst::Base->action_for('methodname')
4         - checked and tested :Args multimethod dispatch
5         - added ability to set action attributes from controller config
6         - added merge_config_hashes() as a convenience method
7         - Swapped out CGI::Cookie in favour of CGI::Simple::Cookie
8         - Removed test dependencies on Test::NoWarnings, Test::MockObject
9         - Removed dependency on UNIVERSAL::require
10         - Split out Catalyst::Helper into a new distribution
11         - un-bundled the plugins as they are now pre-reqs for Catalyst::Helper
12         - nuked each() out of core with prejudice (due to lurking buglets)
13         - Added tests from phaylon for dispatcher precedence
14         - Use Class::Inspector->loaded($class) instead of $class->can('can')
15         - Added ActionClass attribute
16         - Removed Test::WWW::Mechanize::Catalyst from Makefile.PL (circular dep)
17         - Updated docs for Catalyst::Component
18         - Separated execute and dispatch on Catalyst::Action
19         - cleaned up logging and debug output
20         - minor doc fixes
21         - Added warning for setup being called twice
22         - Fix pod to use DBIC::Schema instead of DBIC model
23         - Fix ->config failing to copy _config for subclassing
24         - Updated log format
25         - Updated debug dump
26
27 5.6902  2006-05-04 13:00:00
28         - Remove tarballs and OSX metadata files.
29
30 5.6901  2006-05-03 11.17:00
31         - Module::Install didn't overwrite META.yml. 
32
33 5.6900  2006-05-03 11.17:00
34         - Stupid pause indexer can't count.
35         - Better fix for Catalyst::Test
36         - more tests.
37
38 5.682   2006-04-27 13:51:00
39         - Damn OSX attributes again :( 
40
41 5.681   2006-04-27 08:47:00
42         - Updated manifest.
43         - Add basename to core . (Deprecates Catalyst::Plugin::Basename)
44     
45 5.68    2006-04-26 12:23:00
46         - ConfigLoader: Updated to version 0.06
47         - fixed undef warnings in uri_for() and uri_with()
48         - Fixed Catalyst::Test to report errors on failed Class load
49
50 5.678   2006-04-24 12:30:00
51         - Re-release of 5.67 without OSX metadata files.
52
53 5.67    2006-04-23 08:50:00
54         - Added $c->req->uri_with() helper
55         - ConfigLoader: Updated to version 0.05
56         - Fix up Engine to avoid a new 5.8.8 warning
57         - Added app name with :: support for PAR
58         - Added $c->models/views/controllers
59         - Static::Simple: Unescape the URI path before looking for the file.
60           This fixes issues with files that have spaces.
61         - Looping and recursion tests plus a fix
62         - Added lots of API documentation. Refactored main pod.
63         - Changed default behaviors for $c->model/$c->controller/$c->view
64           to more sane settings.
65         - added the clear_errors method - an alias for error(0)
66         - Added tmpdir option for uploads (woremacx)
67         - Applied patch from GEOFFR to allow normal filehandles.
68         - Refactored Dispatcher internals for better readability and speedup
69           (stress tests run 12% faster)
70         - Allow $c->error to run as a class method
71
72 5.66    2006-03-10 17:48:00
73         - Added Test::WWW::Mechanize::Catalyst support
74         - Cleaned generated tests
75         - Added Root controller concept
76         - Updated ConfigLoader plugin to version 0.04
77
78 5.65    2006-02-21 10:34:00
79         - Added plugin introspection.
80         - Support optional hashref as last param for parameters in uri_for.
81         - Updated tutorial to be more complete.
82         - Applied args patch from antirice (Fixes Ticket #67)
83
84 5.64    2006-02-07 20:29:00
85         - Fixed bug in FastCGI proc manager mode where pm_post_dispatch
86           was not run. (Eric Wong)
87         - Cleaned up generated tests
88         - Updated YAML support to use ConfigLoader
89         - Fixed path dispatch to canonicalise correctly
90             (see http://dev.catalyst.perl.org/ticket/62)
91         - Added Catalyst::Manual::About
92
93 5.63    2006-01-22 00:00:00
94         - Updated prereq versions
95
96 5.62    2006-01-17 16:30:00
97         - Large update to the tutorial (castaway)
98         - Added YAML config support
99         - Added COMPONENT() and ACCEPT_CONTEXT() support
100         - Action list in debug mode is now displayed as a tree in the
101           correct execution order.
102         - Fixed engine detection to allow custom mod_perl engines.
103         - Static::Simple: Fixed bug in ignore_dirs under win32.
104         - Display version numbers of loaded plugins. (Curtis Poe)
105         - Added class and method for caught exception messages.
106         - Updated PAR support to use "make catalyst_par",
107           packages are no longer written by Makefile.PL.
108         - Automatically determine Content-Length when serving a
109           filehandle.
110         - Exceptions now return status 500.
111         - Updated for Module::Install 0.44.
112         - Fixed additional file installation for multi level app names.
113         - Added REDIRECT_URL support for applications running behind
114           a RewriteRule in Apache. (Carl Franks)
115         - Fixed FastCGI engine under win32. (Carl Franks)
116         - FastCGI doc updates (Bill Moseley)
117         - Bugfix for $c->model and friends (defined).
118
119 5.61    2005-12-02 00:00:00
120         - Fixed ExtUtils::AutoInstall Bootstrap Code in Makefile.PL
121
122 5.60    2005-12-01 22:15:00
123         - Fixed Path and index actions in the appclass,
124           including those that attach to /
125         - Index is now weighted higher than Path
126         - Fixed restarter and -d debug switch in server.pl.
127         - Added a warning if you attempt to retrieve a parameter
128           using $c->req->params('foo').
129         - Fixed the Module::Install::Catalyst @ISA bug
130
131 5.59    2005-11-30 13:25:00
132         - Fixed shebang line for generated scripts
133         - Fixed forward to classes ($c->forward(qw/MyApp foo/))
134         - Wrap use block in begin to quelch C:C3 warnings
135         - Removed scrollbar from debug output
136         - Fixed catalyst_par_core() and catalyst_par_multiarch()
137
138 5.58    2005-11-24 10:51:00
139         - Added ExtUtils::AutoInstall support
140         - Allow overriding path in Catalyst::Helper.
141         - Added -makefile to catalyst.pl to generate a new Makefile.PL.
142         - Restored Catalyst::Build with a deprecation notice.
143         - Improved PAR support
144         - Replaced -short with auto-detection
145         - Fixed prereqs, added File::Copy::Recursive
146         - Static::Simple changes:
147             - Made prepare_action play nice with other plugins by not short-
148               circuiting.
149             - Added tmpl to the ignored extensions.
150             - Fixed security problem if req->path contained '..'.
151
152 5.57    2005-11-20 22:45:00
153         - Updated uri_for to accept undef actions
154         - Switched to Module::Install
155         - Renamed tests for easier editing
156         - Reformatted documentation
157         - Renamed -nonew to -force
158         - Added PAR support
159         - Added keep-alive support and bug fixes to HTTP engine.
160           (Sascha Kiefer)
161         - Added daemonize option to FastCGI engine. (Sam Vilain)
162
163 5.56   2005-11-16 10:33:00
164         - Fixed FastCGI engine to not clobber the global %ENV on each
165           request. (Sam Vilain)
166         - Updated benchmarking to work with detach
167         - Fixed dispatcher, so $c->req->action(undef) works again
168         - Updated Catalyst::Test to use HTTP::Request::AsCGI
169         - Added -pidfile to external FastCGI server.
170
171 5.55    2005-11-15 12:55:00
172         - Fixed multiple cookie handling
173
174 5.54    2005-11-14 22:55:00
175         - Fixed a Module::Pluggable::Fast related bug
176
177 5.53    2005-11-14 15:55:00
178         - Removed t/04prereq.t that was testing for non-required
179           modules.
180
181 5.52    2005-11-14 10:57:00
182         - Strip '..'s in static urls to fix security issue.
183
184 5.51    2005-11-14 00:45:00
185         - Changed uri_for to use namespace instead of match.
186
187 5.50    2005-11-13 20:45:00
188         - Fixed minor bugs.
189         - Updated docs.
190
191 5.49_05 2005-11-12 20:45:00
192         - Large update to the documentation. (David Kamholz)
193         - Fixed args handling in forward()
194         - Fixed forwarding to classes
195         - Fixed catalyst.pl-generated Build.PL Makefile section.
196         - Fixed relative forwarding
197         - Fixed forward arrows in debug output
198
199 5.49_04 2005-11-09 23:00:00
200         - Made context, dispatcher, engine, request and response classes
201           configurable.
202         - Added $c->stack.
203         - Fixed dispatcher to ignore unknown attributes.
204         - Improved format of startup debug log.
205         - Updated built in server to restart on win32. (Will Hawes)
206         - Fixed streaming write from a filehandle to stop writing
207           if the browser is closed.
208         - Added $c->controller, $c->model and $c->view shortcuts.
209         - Switched to Text::SimpleTable.
210
211 5.49_03 2005-11-03 12:00:00
212         - Fixed $c->req->{path} for backwards-compatibility.
213         - Allow debug to be disabled via ENV as well as enabled.
214         - Added -scripts option to catalyst.pl for script updating
215         - Changed helpers to default to long types, Controller instead of C
216         - Added Catalyst::Controller, Catalyst::Model and Catalyst::View
217           base classes
218         - Added JavaScript to debug screen to show and hide specific dumps
219         - Added _DISPATCH, _BEGIN, _AUTO, _ACTION and _END actions
220         - Added multi process external FastCGI support
221           (see myapp_fastcgi.pl -help) (Sam Vilain)
222         - Restarter process in HTTP engine now properly exits when the
223           parent app is shut down.  
224         - Improved performance of restarter loop while watching for
225           changed files.
226         - Restarter will now detect new files added to an app on systems
227           that change directory mtimes when new files are created.
228         - Restarter now properly handles modules that are deleted from an
229           application.
230         - Fixed memory leak in TestApp.
231
232 5.49_02 2005-10-26 12:39:00 
233         - Whole new dispatcher!
234         - Added index action
235         - Added path_to method
236         - Added support for passing an IO::Handle object to $c->res->body.
237           (Andrew Bramble)
238         - Added a new welcome screen.
239         - Included Catalyst buttons and icons in helper.
240         - Added Static::Simple plugin to core.
241         - Added self restarting test server
242         - Added filename to debug output for uploaded files.
243         - Fixed forwarding with embedded arguments.
244         - Fixed handling of escaped query strings.
245         - Added upload parameters back into $c->req->params.
246         - Added multiple paths support to dispatcher
247         - Fixed bug in req->path where changing the path added a trailing
248           slash.
249         - Removed req->handle and res->handle
250         - Added prepare_body_chunk method as a hook for upload progress.
251         - Fixed bug in uri_for method when base has no path.
252         - Added automated tests for HTTP, CGI, and FastCGI servers.
253
254 5.49_01 2005-10-10 10:15:00 
255         - Refactored all internals, should be 99% compatible to previous
256           versions.
257         - *IMPORTANT* The Apache engines have been moved to a separate package
258           for this release.  Please install Catalyst::Engine::Apache if you
259           need Apache support.
260
261         - Added support for calling forward with arguments in the path, i.e.
262           $c->forward('/foo/bar/arg1/arg2')
263         - Made $c->req->uri a URI object, added req->path_info for CGI compat.
264           Raw query string is available as $c->req->uri->query.
265         - Made $c->req->base a URI object.
266         - Parameters with multiple values (?a=1&a=2) now display properly
267           in the debug output.
268         - Semi-colon separators in query strings now work properly.
269         - Expanded documentation of catalyst.pl (Andrew Ford)
270         - Added support for running as a backend server behind a frontend
271           proxy so req->base and req->address are set properly.
272         - Added an 'abort' method to the Log api, so that you can
273           kill loggging for a whole request.
274         - Added $c->uri_for method to simplify url handling.
275         - Added more tests and reorganized the t directory.
276         - Reimplemented core engines, all are now CGI based for better test
277           coverage and maintainability.
278         - Added fork support to built in test server.
279         - Fixed all memory leaks.
280         - Thread-related bug fixes and tests.  We now believe the Catalyst
281           core to be thread-safe.
282         - Added streaming IO support through $c->req->read() and
283           $c->res->write()
284         - Added MyApp->config->{parse_on_demand} (streaming input)
285         - Added $c->req->handle and $c->res->handle
286         - Improved documentation
287         - Fixed mkpath in Catalyst::Helper (Autrijus Tang)
288         - Fixed bug in dispatcher where an invalid path could call a valid
289           action. (Andy Grundman)
290         - Fixed Helper so it works with CRLF line-endings. (Andy Grundman)
291
292 5.33  2005-08-10 15:25:00
293         - Now with updated manifest.
294
295 5.32  2005-08-10 15:10:00
296         - Dispatcher might fail if object returns false. (Florian Ragwitz)
297
298 5.31  2005-06-04 12:35:00 (never released to CPAN)
299
300         - helpers now create .new files where files already exist and differ
301         - fixed $Data::Dumper::Terse (Robin Berjon)
302         - added arguments for detach
303         - new credits section in pod
304         - fixed detach to allow relative action names (Matt and Robert)
305         - added the ability to have whitespaces in Path( '' ) and Regex( '' )
306
307 5.30  2005-06-04 12:35:00
308
309         - Fixed a bug where it was not possible to $c->forward to a 
310           component 
311           that was not inheriting from Catalyst::Base.
312         - Fix for inheritance bug.
313         - Allow forward with arguments.
314         - Updated cookbook
315         - Allow overriding home/root in config.
316         - make module build cons README automatically.
317         - prettify home path by resolving '..' (Andy Grundman)
318         - improved helper templates a bit, new naming scheme for tests.
319         - added support for case sensitivity, MyApp->config->{case_sensitive}
320         - added $c->detach for non-returning forwards
321         - added unified error handling, Catalyst::Exception
322         - added section on param handling in Intro.pod
323         - added $c->request->cookie
324         - added Catalyst::Setup
325         - refactored Catalyst::import()
326         - improved rendering of error messages in debug mode
327         - fixed a bug in Catalyst::Helper::mk_dir
328         - further doc changes, esp. to Intro.pod
329
330 5.23  2005-06-03 02:30:00
331         - added support for non Catalyst::Base components to live in namespace
332         - improved concurrency connections in Catalyst::Engine::HTTP::Daemon
333
334 5.22  2005-05-26 14:24:00
335         - improved base locating in MP engines
336         - improved error messages in C::E::HTTP::Daemon
337         - hostnames are now resolved on demand unless provided by engine
338         - fixed memory leak in $c->execute (Michael Reece, Matt S Trout)
339
340 5.21  2005-05-24 14:56:00
341         - fixed a bug in https detection
342         - fixed auto chain finally
343         - added MYAPP_HOME and CATALYST_HOME environment variables
344
345 5.20  2005-05-18 19:52:00
346         - improved uploads and parameters
347         - added $c->req->protocol and $c->req->secure
348         - added $c->req->user and $c->req->uri
349         - improved error message when forwarding to unknown module
350         - fixed win32 installer
351         - added deep recursion detection
352         - fixed auto actions
353         - fixed inheritance in dispatcher
354         - allow whitespaces between brackets and quoted string
355           in Path and Regex attributes
356         - new helper templates
357         - installer now supports install_base and destdir
358         - allow multiple Catalyst apps to run on the same mod_perl
359           instance (not the same app!)
360         - fixed MP2 engines
361         - removed apreq dependency from all MP engines
362         - added support for MP registry scripts
363         - added support for LocationMatch and ScriptAliasMatch in MP engines
364         - added SpeedyCGI engine
365
366 5.10  2005-04-23 11:16:00
367         - updated dependencies to require latest module::pluggable::fast
368         - new installer for templates and stuff using Module::Build
369         - scripts are now prefixed, for being installable
370         IMPORTANT: You have to regenerate the script directory,
371         remove Makefile.PL and add Build.PL
372         - Added compat to install Module::Build if required.
373         - Improved: Params handling with MP engines
374         - Fixed: Params handling on POST with CGI engine (Andy Grundman)
375         - Fixed: Helper.pm on Win32 (Matt S Trout)
376
377 5.03  2005-04-19 20:35:00 (Revision 462)
378         - fixed Test example (Torsten Seeman)
379         - added Plugins chapter to manual
380         - applied doc patch from Robert Boone <robert@rlb3.com>
381         - improved Dispatcher error messages.
382         - refactored so we don't need to include helper from
383           Catalyst.pm - Fixes issues with FindBin
384         - applied HTTP.pm patch from Andy Grundman <andy@hybridized.org>
385         - added plugin() method for instant plugins
386         - FCGI is no more considered experimental
387
388 5.02  2005-04-18 10:00:00 
389         - fixed manifest
390
391 5.01  2005-04-17 23:00:00 
392         - some documentation bugs fixed
393         - added Catalyst::Utils
394         - fixed regexp bug (Matt S Trout)
395         - fixed upload bug with MP19
396         - added $c->req->body
397         - aliased $c->res->output to $c->res->body
398         - Read AUTHOR from passwd or $ENV{AUTHOR} when 
399           generating code.
400         - extended attribute handling
401         - added global config for components
402
403 5.00  2005-04-15 18:00:00
404         - new core to support inheritance trees
405         - new syntax for action declaration
406         - new helper system using TT2
407         - problems with mod_perl2 fixed
408         - added Test::Pod support
409         - added new server backend with HTTP/1.1 support
410         - added option to run tests against a remote server
411         - renamed errors() to error()
412         - more better docs
413         - countless minor improvements
414           IMPORTANT: This release is very incompatible to previous ones
415           and you have to regenerate the helper scripts again...
416
417 4.34  2005-03-23 07:00:00 2005
418         - added some messages to Makefile.PL
419         - added Catalyst::Engine::Test
420         - added Catalyst::Engine::CGI::NPH
421         - simplified Catalyst::Log to be easier to implement/subclass
422         - added cgi.pl
423         - updated Catalyst::Test to use Catalyst::Engine::Test
424         - updated helper scripts
425           IMPORTANT: this will be the last time you'll have to regenerate
426           the script directory. We promise!
427
428 4.33  2005-03-23 01:00:00 2005
429         - documented the log() accessor method in Catalyst (Andrew Ford)
430         - added optional arguments to Catalyst::Log methods (Andrew Ford)
431         - removed cgi-server.pl
432         - added fcgi.pl and Catalyst::Engine::FCGI
433         - fixed an undef durng make test (Dan Sully)
434         - new path test (Christian Hansen)
435           IMPORTANT: you have to regenerate the script directory again
436
437 4.32  2005-03-22 02:10:00 2005
438         - made a damn typo *AAAAAAAAAAAAAAHHHH!!!*
439
440 4.31  2005-03-22 02:00:00
441         - fixed inheritance (Christian Hansen)
442         - previous release was borked!
443           fixed that, but you have to regenerate the scripts again :(
444
445 4.30  2005-03-21 23:00:00 
446         - more documentation (Andrew Ford)
447         - added connection informations (Christian Hansen)
448         - HTTP::Request support in Catalyst::Test (Christian Hansen)
449         - moved cgi.pl to nph-cgi.pl
450         - added Catalyst::Engine::Server (Christian Hansen)
451         - removed Catalyst::Test::server
452         - updated helper scripts
453           IMPORTANT: note that you have to regenerate script/server.pl,
454           script/cgi-server.pl and script/cgi.pl (now nph-cgi.pl)
455
456 4.28  2005-03-19 22:00:00
457         - fixed isa tree (Christian Hansen)
458         - added script/cgi-server.pl, so no more server restarting after
459           code changes
460         - reworked documentation (Andrew Ford <A.Ford@ford-mason.co.uk>)
461
462 4.27  2005-03-19 01:00:00
463         - debug message for parameters
464         - Fix redirects (Christian Hansen <ch@ngmedia.com>)
465         - some random fixes
466         - new helper api for Catalyst::Helper::* support
467           you have to update script/create.pl to use it
468
469 4.26  2005-03-16 10:00:00
470         - fixed the weird bug that caused regex actions to fail on every
471           second request
472         - more debug messages
473         - 100% pod coverage.
474
475 4.25  2005-03-12 18:00:00
476         - correct perl pathes for helper generated scripts (Tatsuhiko Miyagawa)
477         - improved cgi engine docs (Christoper Hicks)
478
479 4.24  2005-03-12 01:00:00
480         - updated cookbook example  
481         - fixed base for apache and https (Andrew Ruthven)
482         
483 4.23  2005-03-09 20:00:00
484         - no more regex actions in forward
485         - added support for test directories t/m, t/v and t/c
486
487 4.22  2005-03-08 20:00:00
488         - catch errors in application class
489         - handle die properly.
490
491 4.21  2005-03-05 17:00:00
492         - fixed docs
493
494 4.20  2005-03-04 22:00:00
495         - moved bin to script
496
497 4.13  2005-03-03 11:00:00
498         - improved documentation
499         - pod coverage test for helper generated apps
500         - new helper api
501
502 4.12  2005-03-02 11:00:00 2005
503         - server_base sucks, removed
504         - added $c->log->dump()
505
506 4.11  2005-03-02 11:00:00 2005
507         - removed some warnings
508         - improved docs
509         - private prefixed actions override private non prefixed actions
510         - added server_base
511         - updated Catalyst::Manual::Intro
512
513 4.10  2005-03-02 10:00:00 2005
514         - improved documentation
515         - fixed upload bug
516         - fixed prefixed private actions bug
517         - fixed more little bugs
518
519 4.01  2005-03-01 10:00:00 2005
520         - improved documentation
521         - documentation fixes (Johan Lindstrom)
522
523 4.00  2005-02-27 22:00:00
524         - more verbose debug messages, especially for forward()
525         - implemented prefixed prvate actions, icluding built in
526           !?default, !?begin and !?end
527         - new Catalyst::Manual::Intro
528         - new helpers, bin/catalyst
529         - helper api
530
531 3.11  2005-02-23 21:00:00
532         - added dependency to UNIVERSAL::require (Marcus Ramberg)
533         - added a little workaround for a warning in Catalyst::Test
534           (Marcus Ramberg)
535         - improved documentation for actions
536
537 3.10  2005-02-19 20:00:00
538         - removed roles management from Catalyst::Engine
539           and added it to Catalyst::Plugin::Authentication::CDBI
540
541 3.04  2005-02-17 21:00:00 
542         - error reporting for app class
543         - no more engine debug messages
544         - class->method forwards get resolved now
545
546 3.03  2005-02-16 23:00:00 
547         - friendlier statistics
548
549 3.02  2005-02-16 22:00:00
550         - fixed unintialized actions (Marcus Ramberg)
551
552 3.01  2005-02-16 20:30:00
553         - better statistics
554
555 3.00  2005-02-16 20:00:00
556         - real version number for CPAN.pm
557         - fixed redirect in CGI engine
558         - more statistics in debug logs
559         - ? prefix for forward()
560
561 2.99_15  2005-02-02 22:00:00
562         - support for short namespaces, MyApp::M, MyApp::V and MyApp::C
563         - Replaced "Catched" with "Caught" in Catalyst::Engine
564           (Gary Ashton Jones)
565         - replaced _ with ! for private actions
566         - added ? for prefixed actions
567         - misc improvememts
568
569 2.99_14  2005-01-31 22:00:00 2005
570         - arguments for _default
571         - $c->entrance removed for more flexibility
572         - added $c->req->method
573
574 2.99_13  2005-01-30 18:00:00 2005
575         - POD fixes and improvements
576
577 2.99_12  2005-01-28 22:00:00 2005
578         - first development release