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