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