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