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