1 # This file documents the revision history for Perl extension Catalyst.
4 - Document using namespace::autoclean with controllers that have actions
6 - Look for type constraints in super classes and consumed roles.
7 - Change the way the stash middleware works to no longer localize $psgi_env.
10 - Fix for RT#106373 (Issue when you try to install and also have an old
11 verion of Test::Mechanize::WWW::Catalyst)
14 - $c->uri_for now defines a final argument for setting the URL fragment
15 /URL anchor. This is now the canonical approach to setting a fragment
17 - Reverted how we treat $c->uri_for($path) where $path is a string. When
18 we introduced the UTF-8 work we started encoding stringy paths, which
19 breaks code that did not expect that. We now consider stringy $path to
20 be 'expert' mode and you are expected to perform all nessary encoding.
23 - Fixed regression introduced in previous release that prevented a URI
24 fragment from getting properly encoded. Added more tests around this
25 to define behavior better.
28 - Minor test case tweak that I hope solve some minor hiesenfails reported
30 - (https://github.com/perl-catalyst/catalyst-runtime/pull/109) added som
31 additional directions to how to setup a development sandbox
32 - (https://github.com/perl-catalyst/catalyst-runtime/pull/108) fix bug in
33 encoding where URI fragment seperator '#' in ->uri_for would get encoded.
36 - When there is a multipart POST request and the parts have extended
37 HTTP headers, try harder to decode and squeeze a meaningful value
38 out of it before giving up and crying. Updated docs and tests to
39 reflect this change. This should solve problems when your clients
40 are posting multipart form values with special character sets.
41 - Fixed issue where last_error actually returned the first error. Took
42 the change to add a 'pop_errors' to give the inverse of shift_errors.
43 - Merged Pull Requests:
44 - https://github.com/perl-catalyst/catalyst-runtime/pull/95
45 - https://github.com/perl-catalyst/catalyst-runtime/pull/96
46 - https://github.com/perl-catalyst/catalyst-runtime/pull/97
47 - https://github.com/perl-catalyst/catalyst-runtime/pull/98
48 - https://github.com/perl-catalyst/catalyst-runtime/pull/106
49 - https://github.com/perl-catalyst/catalyst-runtime/pull/107
52 - Fixed a bug where if you used $res->write and then $res->body, the
53 contents of body would be double encoded (gshank++).
56 - Allows you to use a namespace suffix for request, response and stats
57 class traits. Docs and tests for this.
58 - Refactor the change introduced in 5.90091 to solve reported issues (for
59 example Catalyst::Controller::DBIC::API fails its tests) and to be a more
60 conservative refactor (new code more closely resembles the orginal code
61 that has proven to work for years.)
64 - Fixed a bug where if an injected component expanded sub components, those
65 sub components would not show up in the startup debug dev console (
66 even though they were actually created).
69 - Updated some documention in Catalyst::Request::Upload to clarify behavior
70 that RT ticket reported as confusing or unexpected
71 - Merged all changes from 5.90089_XXX development cycle.
72 - removed a mistaken use of Test::Most, which is not a core Catalyst
73 dependency. Used Test::More instead.
75 5.90089_004 - 2015-04-28
76 - Added swanky github badges.
77 - Reverted a change to how the stats engine is setup that was incorrect.
78 - New application setup hook 'config_for' which allows one to get the
79 canonical application configuration for a controller, view or model, or
80 a plugin. Can also be used to override and adapt what configuration is
83 5.90089_003 - 2015-04-27
84 - Fixed an issue where a delayed controller that did ACCEPT_CONTEXT would
85 raise an error when registering its actions.
86 - Updated some documentation around route matching.
87 - refactored the setup of injected components to allow you to hook into
88 the injection and do custom injection types.
90 5.90089_002 - 2015-04-17
91 - Changed the way we check for presence of Type::Tiny in a test case to be
92 more explicit in the version requirement. Hopefully a fix for reported
94 - When declaring type constraints in Args and CaptureArgs, if you want to
95 use a Moose builtin type (or a custom stringy type that you've already
96 defined and associated with the Moose::TypeRegistry) you must now quote
97 the type name. This is to clearly disambiguate between Moose stringy types
99 - Additional changes to type constraint detection to between determine when a
100 type constraint for reference types have a measured number of arguments or
101 not. clarify restriction on reference type constraints.
102 - Several bugs with type constraints and uri_for squashed. More test cases
103 around all the argument type constraints to tighten scope of action.
104 - NEW FEATURE: New method in Catalyst::Utils 'inject_component', which is a core
105 version of the previously external addon 'CatalystX::InjectComponent'. You should
106 start to convert your existing code which uses the stand alone version, since
107 going forward only the core version will be supported. Also the core version in
108 Catalyst::Utils has an additional feature to compose roles into the injected
110 - NEW FEATURE: Concepts from 'CatalystX::RoleApplicator' have been moved to core
111 so we now have the follow application attributes 'request_class_traits',
112 'response_class_traits' and 'stats_class_traits' which allow you to compose
113 traits for these core Catalyst classes without needing to create subclasses. So
114 in general any request or response trait on CPAN that used 'CatalystX::RoleApplicator'
115 should now just work with this core feature. Note that can also set thse roles
116 via new configuration keys, 'request_class_traits', 'response_class_traits'
117 and 'stats_class_traits'. If you use both configuration and application class methods,
119 - NEW FEATURE: Core concepts from 'CatalystX::ComponentsFromConfig'. You can now
120 setup components directly from configuration. This could save you some effort and
121 creating 'empty' base classes in your Model/View and Controller directories. This
122 feature is currently limited in that you can only configure components that are
123 'true' Catalyst components (but you may use Catalyst::Model::Adaptor to proxy
124 stand alone classes...).
125 - Only create a stats object if you are using stats. This is a minor performance
126 optimization, but there's a small chance it is a breaking change, so please
127 report any stats related issues.
128 - Added a developer mode warning if you call a component with arguments that does not
129 expect arguments (for example calling $c->model('Foo', 1,2,3,4) where Myapp::Model::Foo
130 does not ACCEPT_CONTEXT. Only components that ACCEPT_CONTEXT do anything with
131 passed arguments in $c->controller/view/model.
132 - Change the way components are setup so that you can now rely on all components
133 when setting up a component. Previously application scoped components could not
134 reliably use an existing application scoped component as a dependecy for initialization.
136 5.90089_001 - 2015-03-26
137 - New development branch synched with 5.90085.
138 - NEW FEATURE: Type Constraints on Args/CaptureArgs. Allows you to declare
139 a Moose, MooseX::Types or Type::Tiny named constraint on your Arg or
141 - When using $c->uri_for (or the derived $c->uri_for_action) and the target
142 action has type constrainted args (or captures), verify that the proposed
143 URL matches the defined args. In general $c->uri_for will be a bit more
144 noisy if the supplied arguments are not correct.
145 - New top level document on Route matching. (Catalyst::RouteMatching). This
146 document is still in development, but is worth review and comments.
149 - Small change to Catalyst::Action to prevent autovivication of Args value (dim1++)
150 - Minor typo fixes (Abraxxa++)
151 - Make sure than when using chained actions and when more than one action
152 matches the same path specification AND has Args(0), that we follow the
153 "in a tie, the last action defined wins" rule. There is a small chance
154 this is a breaking change for you. See Catalyst::Upgrading for more.
155 You may use the application configuration setting "use_chained_args_0_special_case"
156 to disable this new behavior, if you must for back-compat reasons.
157 - Added PATCH HTTP Method action attribute shortcut.
158 - Several new configuration options aimed to give improved backwards compatibility
159 for when your URL query parameters or keywords have non UTF-8 encodings.
160 See Catalyst::Upgrading.
163 - Small change to the way body parameters are created in order to prevent
164 trying to create parameters twice.
165 - Use new HTTP::Body and code updates to fix issue when POSTed params have
166 non UTF-8 charset encodings or otherwise complex upload parts that are not
167 file uploads. In these cases when Catalyst can't determine what the value of
168 a form upload is, will return an instance of Catalyst::Request::PartData with
169 all the information need to figure it out. Documentation about this corner
170 case. For RT https://rt.cpan.org/Ticket/Display.html?id=101556
171 - Two new application configuration parameters 'skip_body_param_unicode_decoding'
172 and 'skip_complex_post_part_handling' to assist you with any backward
173 compatibility issues with all the new UTF8 work in the most recent stable
174 Catalyst. You may use these settings to TEMPORARILY disable certain new
175 features while you are seeking a long term fix.
178 - Fixed typo in support for OPTIONS method matching (andre++)
179 - Stop using $env->{'plack.request.query'} as a query parsing optimization
180 since 1) it doesn't belong to us and 2) there's subtle differences in the
181 way plack parses parameters and catalyst does. This fixes a bug when you
182 are using middleware that uses Plack::Request to do its thing. This change
183 might have subtle impact on query parsing. Please test this change!
186 - Fixed a regression created in $response->from_psgi_response and test case
187 to prevent it happening again.
190 - created class attribute 'finalized_default_middleware' which determines
191 if the default middleware has been added to the stack yet or not. This
192 removes a horrible hack that polluted the configuration hash. Added
193 test case to prevent regressions.
196 - Minor documentation corrections
197 - Make the '79 development series stable
199 5.90079_008 - 2015-01-07
200 - If we get a response set from $res->from_psgi_response and that response
201 has a charset for the content type, we clear encoding for the rest of the
202 response (avoid double encoding). Added more documentation around this.
203 - Documentation updates and typo fixes across various UTF8 docs (Mark Ellis++)
205 5.90079_007 - 2015-01-07
206 - Merged from Stable (5.90079)
207 - reviewed and cleaned up UTF8 related docs
208 - replace missing utf8 pragma in Catalyst::Engine
209 - Cleaned up spelling errors in various docs (abbraxxa++)
210 - New document Catalyst::UTF8 which attempts to summarize UTF8 and encoding
211 changes introduced in v5.90080.
213 5.90079_006 - 2015-01-02
214 - Removed unneeded dependency on RenderView in new test case that was causing fails
215 on CPAN testers that did not just happen to have that dependency already installed
216 - Updated copyright notices to 2015
217 - Documentation patches around the setup methods and clarification on on security
218 note posted a few months ago.
219 - Added my name to the contributors list
221 5.90079_005 - 2014-12-31
222 - Merged changes from 5.90078
223 - If configuration 'using_frontend_proxy' is set, we add the correct middleware
224 to the default middleware list. This way you get the correct and expected
225 behavior if you are starting your application via one of the generated scripts
226 or if you are calling MyApp->psgi_app. Previously if you started the application
227 with ->psgi_app (or to_app) we ignored this configuration option
228 - New configuration option 'using_frontend_proxy_path' which enables
229 Plack::Middleware::ReverseProxyPath on your application easily. Please note that
230 Plack::Middleware::ReverseProxyPath is not an automatic dependency of Catalyst at
231 this time, so if you want this feature you should add it to your project dependency
232 list. This is done to avoid continued growth of Catalyst dependencies.
233 - Tweaks encoding docs a bit to get closer to final.
235 5.90079_004 - 2014-12-26
236 - Starting adding some docs around the new encoding stuff
237 - Exposed the reqexp we use to match content types that need encoding via a
239 - Added some test cases for JSON utf8 and tested file uploads with utf8.
240 - Fixes to decoding on file upload filenames and related methods
241 - new methods on upload object that tries to do the right thing if we find
242 a character set on the upload and its UTF8.
243 - new additional helper methods on the file upload object.
244 - new helper methods has_encoding and clear_encoding on context.
245 - Method on Catalyst::Response to determine if the response should be encoded.
246 - Warn if changing headers only if headers are finalized AND the response callback
247 has already been called (and headers already sent).
248 - Centralized rules about detecting if we need to automatically encode or not and
249 added tests around cases when you choose to skip auto encoding.
251 5.90079_003 - 2014-12-03
252 - Make sure all tests run even if debug mode is enabled.
253 - Fixed issue with middleware stash test case that failed on older Perls
255 5.90079_002 - 2014-12-02
256 - Fixed typo in Makefile.PL which borked the previous distribution. No other
259 5.90079_001 - 2014-12-02
260 - MyApp->to_app is now an alias for MyApp->psgi_app in order to better support
261 existing Plack conventions.
262 - Modify Catalyst::Response->from_psgi_response to allow the first argument to
263 be an object that does ->as_psgi.
264 - Modified Catalyst::Middleware::Stash to be a shallow copy in $env. Added some
265 docs. Added a test case to make sure stash keys added in a child application
266 don't bubble back up to the main application.
267 - We no longer use Encode::is_utf8 since it doesn't work the way we think it
268 does... This required some UTF-8 changes. If your application is UTF-8 aware
269 I highly suggest you test this release.
270 - We always do utf8 decoding on incoming URLs (before we only did so if the server
271 encoding was utf8. I believe this is correct as per the w3c spec, but please
272 correct if incorrect :)
273 - Debug output now shows utf8 characters if those are incoming via Args or as
274 path or pathparts in your actions. query and body parameter keys are now also
275 subject to utf8 decoding (or as specified via the encoding configuration value).
276 - lots of UTF8 changes. Again we think this is now more correct but please test.
277 - Allow $c->res->redirect($url) to accept $url as an object that does ->as_string
278 which I think will ease a common case (and common bug) and added documentation.
279 - !!! UTF-8 is now the default encoding (there used to be none...). You can disable
280 this if you need to with MyApp->config(encoding => undef) if it causes you trouble.
281 - Calling $c->res->write($data) now encodes $data based on the configured encoding
283 - $c->res->writer_fh now returns Catalyst::Response::Writer which is a decorator
284 over the PSGI writer and provides an additional method 'write_encoded' that just
285 does the right thing for encoding your responses. This is probably the method
287 - New dispatch matching attribute: Scheme. This lets you match a route based on
288 the incoming URI scheme (http, https, ws, wss).
289 - If $c->uri_for targets an action or action chain that defines Scheme, use that
290 scheme for the generated URI object instead of just using whatever the incoming
294 - Removed dependency from test case that we don't install for testing (
296 - updated year in copyright notices
299 - POD corrections (sergey++)
300 - New configuration option to disable the HTTP Exception passthrough feature
301 introduced in 5.90060. You can use this if that feature is causing you
302 trouble. (davewood++);
303 - Some additional helper methods for dealing with errors.
304 - More clear exception when $request->body_data tries to parse malformed POSTed
305 data. Added documentation and tests around this.
308 - We store the PSGI $env in Catalyst::Engine for backcompat reasons. Changed
309 this so that the storage is a weak reference, so that it goes out of scope
310 with the request. This solves an issue where items in the stash (now in the
311 PSGI env) would not get closed at the end of the request. This caused some
312 regression, primarily in custom testing classes.
315 - If throwing an exception object that does the code method, make sure that
316 method returns an expected HTTP status code before passing it on to the
317 HTTP Exception middleware.
320 - Documentation patch for $c->req->param to point out the recently discovered
321 potential security issues: http://blog.gerv.net/2014/10/new-class-of-vulnerability-in-perl-web-applications/
322 - You don't need to install this update, but you should read about the exploit
323 and review if your code is vulnerable. If you use the $c->req->param interface
324 you really need to review this exploit.
327 - Specify Carp minimum version to avoid pointless test fails (valy++)
330 - Fixed a regression caused by the last release where we broke what happened
331 when you tried to set request parameters via $c->req->param('foo', 'bar').
332 You shouldn't do this, but I guess I shouldn't have busted it either :)
333 - Allow the term_width to be regenerated (see Catalyst::Utils::term_width,
335 - More aggressive skipping of value decoding if the value is undefined.
338 - In the case where you call $c->req->param(undef), warn with a more useful
339 warning (now gives the line of your code that called param with the undef,
340 so you can go to hunt it out.
343 - Travis config now performs basic reverse dependency testing.
344 - Restored deprecated 'env' code in Engine.pm b/c it is still being used out
345 in the wild (Catalyst-Plugin-Authentication-0.10023) - (removed in 5.90070)
346 - Reverted changes to debug log/handling (5.90069_003) to fix
347 rev dep Catalyst-Plugin-Static-Simple-0.32 test suite.
348 - Added Italian translation of default error.
351 - Retagged previous release as stable; no changes
354 - Fixed typo in middleware stash that was causing older Perls to fail
355 certain tests. No other changes.
358 - The default log level is now 'info', not 'debug'.
359 - Finished merging all the encoding plugin code to core code. The encoding
360 plugin is now just an empty package. Also tried to improve encoding docs
362 - Some additional changes to the stash middleware that should not break
364 - Documentation around using Sendfile type http headers with a filehandle
366 - Merged from master branch to pick up some additional fixes and documentation
370 - Catalyst stash functionality has been moved to Middleware. It should
371 work entirely the same when used as a context method, please report
372 questions or problems!
373 - Removed code related to supporting the long deprecated stand alone
374 PSGI Engine. If you are still using this you code is now broken.
375 Luckily you can just stop using it and likely everything will work
376 under the new PSGI support built into Catalyst for several years.
377 - 'abort_chain_on_error_fix' now defaults to true. If this behavior
378 causes you issues, you can explicitly turn it off by setting it to a
379 non true defined value (0 is a good option here).
380 - When throwing an http style exception, make sure we properly flush the
381 existing log and report other errors in the error stack.
384 - Set encoding on STDERR when encoding is set in config
385 - documentation and test fixes
388 - The Catalyst::Log object now has 'autoflush' (which defaults to true) and
389 causes log messages to be written out in real-time. This is helpful for the
390 test/dev server to be able to see messages during startup as well as before
391 the end of the request when the log is flushed.
392 - Fix spelling, grammar and structural errors in POD
393 - Remove redundant ->setup call in t/head_middleware.t RT#95361
394 - Fix test failures when running under CATALYST_DEBUG. RT#95358
397 - Fix for mindless broken tests on Win32 (Haarg++).
398 - Happy Cinco de Mayo!
401 - 'end' and other special actions won't catch HTTP style exceptions anymore.
402 - Fix bug where Catalyst did not properly detect the terminal width when in
403 debug mode and thus making the debug output narrow and hard to read.
404 - Documentation corrections for Util methods around localized PSGI $env.
405 - Improvements to auto detection of terminal width.
406 - Updating deprecation list to include Class::Load and ensure_class_loaded
407 - Added a few docs around middleware and corrected the order that middleware
408 is loaded when registering it via ->setup_middleware instead of via
410 - Added a test case to make sure default middleware order is correct.
413 - HTTP::Exception objects were not properly bubbled up to middleware since
414 there was some code in Catalyst that was triggering stringification.
417 - Reverted a change related to how plugins get initialized that was
418 introduced by a change in December.
421 - Same as 5.90059_006, just marking it as stable, no functional changes.
424 5.90059_006 - 2014-02-06
425 - MyApp->setup now returns $app to allow class method chaining.
426 - New Util helper functional localize $env to make it easier to mount PSGI
427 applications under controllers and actions. See Catalyst::Utils/PSGI Helpers.
428 - NOTICE: Final Development release for Runner, unless significant issues are
431 5.90059_005 - 2014-01-28
432 - Specify newest versions of some middleware in attempt to solve test errors
433 reported while installing.
434 5.90059_004 - 2014-01-27
435 - Make sure IO handle objects do 'getline' before sending them to the
436 response callback, to properly support the PSGI specification.
437 - Added some backcompat code when setting a response body to an object
438 that does 'read' but not 'getline'. Added deprecation notice for this
439 case. Added docs to Catalyst::Delta.
440 - Catalyst::Delta contains a list of behaviors which will be considered
441 deprecated immediately. Most items have workarounds and tweaks you can
442 make to avoid issues. These deprecations are targeted for removal/enforcement
443 in the Catalyst 6 release. Please review and give your feedback.
444 - More middleware to replace inline code (upasana++)
445 - Documentation around Exceptions and how we handle them.
446 - update copyright notices.
448 5.90059_003 - 2013-12-24
449 - More documentation about alternative ways to setup middleware.
450 - removed unneeded use of Devel::Dwarn in test case that was causing
451 fails to install (sorry).
452 - When finalizing caught errors, if the error conforms to the interface as
453 described by Plack::Middleware::HTTPExceptions, rethrow it and let the
454 middleware deal with it.
456 5.90059_002 - 2013-12-21
457 - We now pass a scalar or filehandle directly to you Plack handler, rather
458 than always use the streaming interface (we are still always using a
459 delayed response callback). This means that you can make use of Plack
460 middleware like Plack::Middleware::XSendfile and we expect better use of
461 server features (when they exist) like correct use of chunked encoding or
462 properly non blocking streaming when running under a supporting server like
463 Twiggy. See Catalyst::Delta for more. This change might cause issues if
464 you are making heaving use of streaming (although in general we expect things
466 - In the case when we remove a content body from the response because you set
467 an information status or a no content type status, warn that we are doing so
468 when in debug mode. You might see additional debugging information to help
469 you find and remove unneeded response bodies.
470 - Updated the code where Catalyst tries to guess a content length when you
471 fail to provide one. This should cause less issues when trying to guess the
472 length of a funky filehandle. This now uses Plack::Middleware::ContentLength
473 - Removed custom code to remove body content when the request is HEAD and
474 swapped it for Plack::Middleware::Head
475 - Merged fix for regressions from stable..
477 5.90059_001 - 2013-12-19
478 - Removed deprecated Regexp dispatch type from dependency list. If you are
479 using Regex[p] type dispatching you need to add the standalone distribution
480 'Catalyst::DispatchType::Regex' to you build system NOW or you application
484 - Reverted a change in the previous release that moved the setup_log phase
485 to after setup_config. This change was made to allow people to use
486 configuration that is late loaded (such as via the ConfigLoader Plugin)
487 to setup the plugin. However it also broke the ability to use the log
488 during plugin setup (ie, it breaks lots of plugins). Reverting the
489 change. See Catalyst::Delta for workarounds.
493 - Fixed first block of startup debug messages missing when using a custom
494 logger that gets set at runtime, for example by overriding finalize_config
495 - Give a more descriptive error message when trying to load middleware that
497 - Change the way we initialize plugins to fix a bug where when using the
498 popular ConfigLoader plugin, configs merged are not available for setting
499 up middleware and data handlers (and probably other things as well).
501 NOTE: This change might cause issues if you had code that was relying on the
502 broken behavior. For example external configuration that was being loaded to
503 late to have effect might now take effect. Please test you code carefully and
504 be aware of this possible issue </NOTE>.
506 - You may now also call 'setup_middleware' as a package method if you think
507 that loading middleware via configuration is a weird or broken idea.
508 - Various POD formatting fixed.
509 - Improved some documentation about what type of filehandles that ->body can
510 accept and issues that might arise.
513 - Be more skeptical of the existence of $request->env to fix a regression
514 introduced in Catalyst::Action::REST by the previous release
517 - Previously public predicates on the following attributes are now considered
518 private and their method names have been changed to follow Perl convention
519 for internal methods:
521 -- Catalyst::Request->has_io_fh ==> _has_io_fh
522 -- Catalyst::Request->has_env ==> _has_env
523 -- Catalyst::Response->has_write_fh ==> _has_write_fh
525 These are breaking changes but these methods were never documented and serve
526 no use for external code. If you are using thing, you need to make the noted
527 change (but please consider finding another way to do what you are trying to
528 do). t0m++ for code review of Hamburg branch.
530 5.90049_006 - 2013-11-04
531 - Fixed case where test could fail when Starman was partly installed (n0body++)
532 - Fixed missing date information in previous release
534 5.90049_005 - 2013-10-31
535 - NEW FEATURE: New Controller action attribute 'Consumes', which allows you
536 to specify the content type of the incoming request. This makes it easier
537 to create actions that only handle certain content type POST or PUT, such
538 as actions that only handle JSON or actions that only understand classic
540 - NEW FEATURE: Request->body_data is now also populated from classic HTML
541 Forms using CGI::Struct to support nested data. For non nested data you
542 should use the classic ->body_parameters method.
543 - Removed PSGI $env keys that are added on the 'plack.request.*' namespace
544 since after discussion it was clear those keys are not part of the public
545 API. Keys removed: 'plack.request.query', 'plack.request.body',
546 'plack.request.merged' and 'plack.request.http.body'. Altered some test
547 cases to reflect this change.
549 5.90049_004 - 2013-10-18
550 - JSON Data handler looks for both JSON::MaybeXS and JSON, and uses
551 whichever is first (preferring to find JSON::MaybeXS). This should
552 improve compatibility as you likely already have one installed.
553 - Fixed a warning in the server script (bokutin++)
554 - We now populate various Plack $env keys in order to play nice with
555 downstream middleware or plack apps (and to reduce processing if
556 those keys already exist). Keys added:
557 - plack.request.query
559 - plack.request.merged
560 - plack.request.http.body
561 (NOTE: REMOVED IN 5.90049_005)
562 - If incoming input (from a POST or PUT) is not buffered, create the
563 buffer and set the correct psgi env keys to note this for downstream
564 psgi apps / middleware. This should solve some issues where Catalyst
565 sucks up the body input but its not buffered so downstream apps can't
566 read it (for example FCGI does not buffer). We now also try to make
567 sure the body content input is reset to the start of the filehandle
568 so that we are polite to downstream middleware /apps.
569 - NEW FEATURE: Catalyst::Response can now pull response from a PSGI
570 specification response. This makes it easier to host external Plack
571 applications under Catalyst. See Catalyst::Response->from_psgi_response
572 - NEW FEATURE: New configuration option 'use_hash_multivalue_in_request'
573 will populate $request methods 'parameters', 'body_parameters' and
574 'query_parameters' with an instance of Hash::MultiValue instead of a
575 HashRef. This is used by Plack and is intended to reduce the need to
576 write defensive logic since you are never sure if an incoming parameter
577 is a scalar or arrayref.
578 - NEW FEATURE: We now experimentally support Net::Async::HTTP::Server
579 and IO-Async based event loops. Examples will follow.
581 5.90049_003 - 2013-09-20
582 - Documented the new body_data method added in the previous release
583 - Merged from master many important bugfixes and forward compatibility
585 - Use modern preferred method for Moose metaclass access and many other
586 small changes to how we use Moose for better forward compat (ether++)
587 - Killed some evil use of $@ (ether++)
588 - spelling fixes and documentation updates (ether++), (gerda++)
589 - use Test::Fatal over Test::Exception (ether++)
590 - Misc. test case fixes to modernize code (ether++)
591 - Added a first pass cpanfile, to try and make it easier to bootstrap
592 a development setup (ether++)
594 5.90049_002 - 2013-08-20
595 - Fixed loading middleware from project directory
596 - Fixed some pointless warnings when middleware class lacked VERSION
597 - NEW FEATURE: Declare global 'data_handlers' for parsing HTTP POST/PUT
598 alternative content, and created default JSON handler. Yes, now Catalyst
599 handles JSON request content out of the box! More docs eventually but
600 for now see the DATA HANDLERS section in Catalyst.pm (or review the test
601 case t/data_handler.t
603 5.90049_001 - 2013-07-26
604 - Declare PSGI compliant Middleware as part of your Catalyst Application via
605 a new configuration key, "psgi_middleware".
606 - Increased lowest allowed module version for Module::Pluggable to be 4.7 (up
607 from 3.4) to solve the fact this is no longer bundled with Perl in v5.18.
610 - Removed more places where an optional dependency shows up in the test
611 suite. Hopefully really fixed the unicode regression introduced in 5.90040
612 - reverted the change we introduced in 5.90040 where a unicode conversion
613 error warned instead of died. Now it dies again, like in the stand alone
615 - More work to make sure nothing happens with encoding unless you explicitly
617 - Code to hopefully fix an issue where file uploads using the unicode plugin
621 - Bug fix release to fix regressions introduced in previous. I would consider
622 this a likely upgrade and if you are having trouble with the previous I hope
623 this fixes all of them.
624 - Fix regression with the cored Unicode plugin that broke systems where you are
625 setting encoding type in an external configuration file
626 - Fixed circular dependency introduced when we cored the unicode plugin tests
627 - Fixed a longstanding problem with stats when locale uses , instead of . for
629 - Fixed some docs that didn't properly date the previous release.
632 ! Stricter checking of attributes in Catalyst::DispatchType::Chained:
633 1) Only allow one of either :CaptureArgs or :Args
634 2) :CaptureArgs() argument must be numeric
635 3) :CaptureArgs() and :Args() arguments cannot be negative
636 - Add Devel::InnerPackage to dependencies, fixing tests on Perl 5.17.11
637 as it's been removed from core. RT#84787
638 - New support for closing over the PSGI $writer object, useful for working
640 - lets you access a psgix.io socket, if your server supports it, for manual
641 handling of the client - server communication, such as for websockets.
642 - Fix waiting for the server to start in t/author/http-server.t
643 - new config flag 'abort_chain_on_error_fix' that exits immediately when a
644 action in an action chain throws and error (fixes issues where currently
645 the remaining actions are processed and the error is handled at chain
647 - Cored the Encoding plugin. Now get unicode out of the box by just setting
648 $c->config->{encoding} = 'UTF-8'. BACKCOMPAT WARNING: If you are using
649 the Encoding plugin on CPAN, we skip it to avoid double encoding issues, so
650 you should remove it from your plugin list, HOWEVER the 'encoding' config
651 setting is now undef, rather than 'UTF-8' (this was done to avoid breaking
652 people's existing applications) so you should add the encoding setting to
653 you global config. There's some other changes between the stand alone
654 plugin and the cored version, if you use it be sure to see Catalyst::Upgrading
656 - minor documentation typo fixes and updates
659 ! POSSIBLE BREAKING CHANGE: Removed Regexp dispatch type from core, and put
660 it in an external package. If you need Regexp dispatch types you should
661 add "Catalyst-DispatchType-Regex" as a distribution to your build system.
662 - make $app->uri_for and related methods return something sane, when called
663 as an application method, instead of a context method. Now if you call
664 MyApp::Web->uri_for(...) you will get a generic URI object that you need to
666 - documentation updates around forwarding to chained actions.
667 - Fixed bug when a PSGI engine need to use psgix logger.
668 - Added cpanfile as a way to notice we are a dev checkout.
669 - Added 'x-tunneled-method' HTTP Header method override to match features in
670 Catalyst::Action::REST and in other similar systems on CPAN.
671 - smarter validation around action attributes.
674 ! Catalyst::Action now defines 'match_captures' so it is no long considered
675 an optional method. This might break you code if you have made custom
676 action roles/classes where you define 'match_captures'. You must change
677 your code to use a method modifier (such as 'around').
678 - New match method "Method($HTTP_METHOD)" where $HTTP_METHOD in (GET, POST,
679 PUT, HEAD, DELETE, OPTION) and shortcuts in controllers called "GET, POST
680 PUT, HEAD, DELETE, OPTION"). Tests and documentation. Please note if you
681 are currently using Catalyst::ActionRole::MatchRequestMethods there may
682 be compatibility issues. You should remove that actionrole since the built
683 in behavior is compatible on its own.
684 - Initial debug screen now shows HTTP Method Match info
685 - security fixes in the way we handle redirects
686 - Make Catalyst::Engine and Catalyst::Base immutable
687 - Some test and documentation improvements
689 5.90019 - 2012-12-04 21:31:00
690 - Fix for Perl 5.17.6 (commit g7dc8663). RT#81601
691 - Fix for Perl 5.8. RT#61122
692 - Remove use of MooseX::Types as MooseX::Types is broken on Perl 5.8
695 5.90018 - 2012-10-23 20:55:00
696 - Changed code in test suite so it no longer trips up on recent changes to
699 5.90017 - 2012-10-19 22:33:00
700 - Change Catalyst _parse_attrs so that when sub attr handlers:
702 1) Can return multiple pairs of new attributes.
703 2) Get their returned attributes passed through the correct attribute handler.
705 e.g sub _parse_Whatever_attr { return Chained => 'foo', PathPart => 'bar' }
707 Will now work because both new attributes are respected, and the Chained
708 attribute is passed to _parse_Chained_attr and fixed up correctly by that.
710 - In Catalyst::Test, don't mangle headers of non-HTML responses. RT#79043
712 - Refactor request and response class construction to add methods
713 that roles can hook to feed extra parameters into the constructor
714 of request or response classes.
716 5.90016 - 2012-08-16 15:35:00
717 - prepare_parameters is no longer an attribute builder. It is now a method
718 that calls the correct underlying functionality (Bill Moseley++)
719 - Updated Makefile.PL to handle MacOSX tar
720 - Fix uri_for to handle a stringifiable object
721 - Fix model/view/controller methods to handle stringifiable objects
722 - Fix RT#78377 - IIS7 ignores response body for 3xx requests, which
723 causes (a different) response to be broken when using keepalive.
724 Fixed by applying Middleware which removes the response body and
725 content length that Catalyst supplies with redirects.
727 5.90015 - 2012-06-30 16:57:00
728 - Fix $c->finalize_headers getting called twice. RT#78090
729 - Fix test fails in Catalyst-Plugin-Session-State-Cookie. RT#76179
730 - Fix test fails in Catalyst-Plugin-StackTrace
731 - Fix test fails in Test-WWW-Mechanize-Catalyst
733 5.90014 - 2012-06-26 10:00:00
735 - Fix calling finalize_headers before writing body when using $c->write /
736 $c->res->write (fixes RT#76179).
738 5.90013 - 2012-06-21 10:40:00
740 - Release previous TRIAL as stable.
741 - We failed to note in the previous changelog that the Makefile.PL has been
742 improved to make it easier for authors to bootstrap a developer install
745 5.90013 - TRIAL 2012-06-07 20:21:00
748 - Merge Catalyst::Controller::ActionRole into Catalyst::Controller.
751 - Fix warnings in some matching cases for Action methods with
752 Args(), when using Catalyst::DispatchType::Chained
754 - Fix request body parameters to not be undef if no parameters
757 - Fix action_args config so that it can be specified in the
760 - Fix t/author/http-server.t on Win32
762 - Fix use of Test::Aggregate to make tests faster.
764 5.90012 - 2012-05-16 09:59:00
766 Distribution META.yml changes:
767 - author key is now correct, rather than what Module::Install
768 mis-parses from the documentation.
769 - x_authority key added.
772 - Fix request body parameters being multiply rebuilt. Fixes both
773 RT#75607 and CatalystX::DebugFilter
775 - Make plugin de-duplication work as intended originally, as whilst
776 duplicate plugins are totally unwise, the C3 error given to the user
777 is less than helpful.
779 - Remove dependence on obscure behaviour in B::Hooks::EndOfScope
780 for backward compatibility. This fixes issues with behaviour changes
781 in bleadperl. RT#76437
783 - Work around Moose bug RT#75367 which breaks
784 Catalyst::Controller::DBIC::API.
787 - Fix documentation in Catalyst::Component to show attributes and
788 calling readers, rather than accessing elements in the $self->{} hash
790 - Add note in Catalyst::Component to strongly disrecommend $self->config
791 - Fix vague 'checkout' wording in Catalyst::Utils. RT#77000
792 - Fix documentation for the 'secure' method in Catalyst:Request. RT#76710
794 5.90011 - 2012-03-08 16:43:00
797 - Simplification of the previous changes to Catalyst::ScriptRunner
798 We now just push $FindBin::Bin/../lib to the @INC path again, but
799 only if one of the dist indicator files (Makefile.PL Build.PL or
800 dist.ini) can be found in $FindBin::Bin/../$_
801 This avoids heuristics when the app is unloaded and therefore
802 works better for extensions which have entire applications in
804 - Bug fix to again correctly detect checkouts in dist zilla using
806 - --background option for the server script now only closes
807 STDIN, STDOUT and STDERR. This fixes issues with Log::Dispatch
808 and other loggers which open a file handle when
809 - Change incorrect use of File::Spec->catdir to File::Spec->catfile
810 so that we work on platforms which care about this (VMS?)
811 - Make it more obvious if our PSGI server doesn't pass in a response
814 5.90010 - 2012-02-18 00:01:00
817 - Fix the previous fix to Catalyst::ScriptRunner which was resulting
818 in the lib directory not being pushed onto @INC.
819 This meant perl ./script/myapp_server.pl failed, however
820 perl -Ilib ./script/myapp_server.pl would succeed.
822 5.90009 - 2012-02-16 09:06:00
825 - Fix the debug page so that it works as expected with the latest
828 - The Catalyst::Utils::home function is used to find if the application
829 is a checkout in Catalyst::ScriptRunner. This means that a non-existent
830 lib directory that is relative to the script install location is not
831 included when not running from a checkout.
833 - Fix dead links to cpansearch.perl.org to point to metacpan.org.
835 - Require the latest version of B::Hooks::EndOfScope (0.10) to avoid an
836 issue with new versions of Module::Runtime (0.012) on perl 5.10
837 which stopped Catalyst::Controller from compiling.
839 - In Catalyst::Test, don't mangle headers of non-HTML responses. RT#79043
841 5.90008 - TRIAL 2012-02-06 20:49:00
843 New features and refactoring:
844 - Much of the Catalyst::Engine code has been moved into Catalyst::Request
845 and Catalyst::Response, to be able to better support asynchronous web
846 servers such as Twiggy, by making the application engine more reenterant.
848 This change is as a prequel to full asynchronous support inside Catalyst
849 for AnyEvent and IO::Async backends, which allow highly scaleable streaming
850 (for applications such as multi-part XML HTTPRequests, and Websockets).
853 - This means that the $c->engine->env method to access the PSGI environment
854 is now deprecated. The accessor for the PSGI env is now on Catalyst::Request
855 as per applications which were using Catalyst::Engine::PSGI
857 Catalyst::Engine::PSGI is now considered fully deprecated.
859 - The private _dump method in Catalyst::Log is now deprecated. The dumper is
860 not pluggable and which dumper to use should be a user choice. Using
861 an imported Dump() or Dumper() function is less typing than $c->log->_dump
862 and as this method is unused anywhere else in Catalyst, it has been scheduled
863 for removal as a cleanup. Calling this method will now emit a stack trace
864 on first call (but not on subsequent calls).
866 Back compatibility fixes:
867 - Applications still using Catalyst::Engine::PSGI as they rely on
868 $c->request->env - this is now the provided (and recommended) way of
869 accessing the raw PSGI environment.
872 - Spurious warnings have been removed from the test suite
875 - Fix the display of PROJECT FOUNDER and CONTRIBUTORS sections in the
876 documentation. These were erroneously being emitted when the Pod
877 was converted to HTML for search.cpan.org
879 - Fix documentation for the build_psgi_app app method. Previously the
880 documentation advised that it provided the psgi app already wrapped
881 in default middleware. This is not the case - it is the raw app psgi
883 5.90007 - 2011-11-22 20:35:00
886 - Implement a match_captures hook which, if it exists on an action,
887 is called with the $ctx and \@captures and is expected to return
888 true to continue the chain matching and false to stop matching.
889 This can be used to implement action classes or roles which match
890 conditionally (for example only matching captures which are integers).
893 - Lighttpd script name fix is only applied for lighttpd versions
894 < 1.4.23. This should fix non-root installs of lighttpd in versions
896 - Prepare_action is now inside a try {} block, so that requests containing
897 bad unicode can be appropriately trapped by
898 Catalyst::Plugin::Unicode::Encoding
900 5.90006 - 2011-10-25 09:18:00
903 - A new 'run_options' class data method has been added to Catalyst.pm
904 This is used to store all the options passed by scripts, allowing
905 application authors to add custom options to their scripts then
906 get them passed through to the application.
909 - Clarify that if you manually write your own .psgi file, then optional
910 proxy support (via the using_frontend_proxy config value) will not be
911 enabled unless you explicitly apply the default middlewares from
912 Catalyst, or you apply the middleware manually.
915 - Fix issue due to perl internals bugs in 5.8 and 5.10 (not present in
916 other perl versions) require can pass the context inappropriately,
917 meaning that some methods of loading classes can fail due to void
918 context being passed through to make_immutable, causing it to not return
920 This bug caused loading Catalyst::Script::XXX to fail and is fixed
921 both by bumping the Class::Load dependency, and also adding an explicit
922 '1;' to the end of the classes, avoiding the context issue.
924 - Fix using_frontend_proxy support in mod_perl by using the psgi wrapped
925 in default middleware in mod_perl context, rather than the raw psgi.
927 5.90005 - 2011-10-22 13:35:00
931 - $c->uri_for_action can now take an array of CaptureArgs and Args
932 If you have an action which has both, then you can now say:
933 $c->uri_for_action('/myaction', [@captures, @args]);
934 whereas before you had to say:
935 $c->uri_for_action('/myaction', [@captures], @args);
936 The previous form is still supported, however in many cases it is
937 easier for the application code to not have to differentiate between
940 - Catalyst::ScriptRunner has been enhanced so that it will now
941 load and apply traits, making it easier to customise.
942 - MyApp::TraitFor::Script (if it exists) will be applied to all
943 scripts in the application.
944 - MyApp::TraitFor::Script::XXXX will be applied to the relevant script
945 (for example MyApp::TraitFor::Script::Server will be applied to
946 MyApp::Script::Server if it exists, or Catalyst::Script::Server
951 - Document how to get the vhost of the request in $c->req->hostname
953 - Remove documentation showing Global / Regex / Private actions
954 as whilst these still exist (and work), they are not recommended.
955 - Remove references to the -Engine flag.
956 - Remove references to the deprecated Catalyst->plugin method
957 - Spelling fixed (and tested) throughout the documentation
958 - Note that wrapping the setup method will not work with method modifiers
959 and provide an alternative.
961 5.90004 - 2011-10-11 17:12:00
965 - Don't guess engine class names when setting an engine through
968 5.90003 - 2011-10-05 08:32:00
971 - Make default body responses for 302s W3C compliant. RT#71237
973 - Fix issue where groups of attributes to override controller actions
974 in config would be (incorrectly) overwritten, if the parser for that
975 attribute mangled the contents of the attribute. This was found
976 with Catalyst::Controller::ActionRole, where Does => [ '+Foo' ]
977 would be transformed to Does => [ 'Foo' ] and written back to config,
978 whereas Does => '+Foo' would not be changed in config. RT#65463
982 - Set a matching Content-type for the redirect if Catalyst sets the
983 body. This is for compatibility with a WatchGuard Firewall.
985 Backward compatibility fixes:
987 - Restore (an almost empty) Catalyst::Engine::HTTP to the dist for old
988 scripts which explicitly require Catalyst::Engine::HTTP
992 - Document Catalyst::Plugin::Authentication fails tests unless
993 you use the latest version with Catalyst 5.9
995 - Clarify that prepare is called as a class method
997 - Clarify use of uri_for further. RT#57011
999 5.90002 - 2011-08-22 21:44:00
1000 Backward compatibility fixes:
1002 - Deploying via mod_perl in some cases is fixed by making
1003 Catalyst::EngineLoader detect mod_perl in more generic
1005 https://github.com/miyagawa/Plack/issues/239
1007 Documentation fixes:
1009 - Fix incorrect example in Catalyst::PSGI.
1010 - Add note that if you are using the PSGI engine, then $c->req->env
1011 needs to become $c->engine->env when you upgrade.
1013 5.90001 - 2011-08-15 22:42
1015 Realise that we accidentally chopped a digit off the versioning scheme
1016 without anyone noticing, which is a bad thing.
1018 Feel like a fool. Well done t0m.
1020 Cut another release.
1022 5.9000 - 2011-08-15 22:18
1024 See Catalyst::Delta for the major changes in this release.
1026 Changelog since the last TRIAL release:
1028 Backward compatibility fixes:
1030 - Fix calling MyApp->engine_class to set the engine class manually.
1032 - Re-add a $res->headers->{status} field to Catalyst::Test responses.
1033 This _should_ be accessed with $c->res->code instead, but is here
1034 for backward compatibility.
1038 - Documentation which was in the now removed Catalyst::Engine::* classes
1039 has been moved to Catalyst::Manual::Deployment
1043 - nginx specific behaviour is removed as it is not needed with any
1044 web server configuration I can come up with (recommended config is
1045 documented in Catalyst::Manual::Deployment::nginx::FastCGI)
1047 5.89003 2011-07-28 20:11:50 (TRIAL release)
1049 Backward compatibility fixes:
1051 - Application scripts which have not been upgraded to newer
1052 Catalyst::Script::XXX style scripts have been fixed
1056 - mod_perl handler fixed to work with application classes which have manually
1057 been made immutable.
1059 - Scripts now force the Plack engine choice manually, rather than relying
1060 on auto-detection, as the automatic mechanism gets it wrong if (for
1061 example) Coro is loaded.
1063 - Server script option for --fork --keepalive are now handled by loading
1064 the Starman server, rather than silently ignored.
1066 - Server script options for --background and --pid are now fixed by
1067 using MooseX::Deamonize
1069 - Plack middlewares to deal with issues in Lighttpd and IIS6 are now
1070 automatically applied to applications and deployments which need them
1071 (when there is not a user written .psgi script available).
1072 This fixes compatibility with previous stable releases for applications
1073 deployed in these environments.
1077 - Catalyst::Test's remote_request method not uses Plack::Test to perform
1081 - Added a Catalyst::PSGI manual page with information about writing a .psgi
1082 file for your application.
1084 - Catalyst::Upgrading has been improved, and the status of old Catalyst
1088 - Catalyst::Test's local_request function is now deprecated. You should just
1089 use the normal request function against a local server instead.
1091 5.80033 2011-07-24 16:09:00
1094 - Fix Catalyst::Request so that the hostname accessor is not incorrectly
1095 populated with 'localhost' if a reverse DNS lookup fails.
1097 - Fix Path actions debug screen to display number of arguments
1099 - Fix a regression that prevented configuring attributes for all actions using
1100 ->config(actions => { '*' => \%attrs }) from working
1102 - Append $\ in Catalyst::Response->print to more closely match
1103 IO::Handle's behaviour.
1105 - Fixed situation where a detach($action) from a forward within auto
1106 was not breaking out correctly
1108 - Fix the disable_component_resolution_regex_fallback config setting
1109 to also work in the $c->component method.
1111 - Handle users setting cookies with an undef value by not trying to
1112 output that cookie (rather than trying to do so and causing an exception
1113 as previously happened). A warning is logged if this occurs in debug
1115 - Update tests to ignore $ENV{CATALYST_HOME} where required
1117 - Change repository metadata to point at git.
1119 - Clean namespaces in Catalyst::Request::Upload
1121 - Catalyst::Test: Fixes to action_ok, action_redirect and action_notfound
1122 test functions to be better documented, and have better default test
1125 - Update tests to ignore CATALYST_HOME env var.
1127 5.89002 2011-03-02 11:30:00 (TRIAL release)
1130 - Fix a couple of test failures caused by optional dependencies such as FCGI
1131 not being installed.
1134 - Simplified the API for getting a PSGI application code reference for a
1135 Catalyst application for use in, for example, .psgi files. See
1136 Catalyst::Upgrading for details.
1138 5.89001 2011-03-01 15:27:00 (TRIAL release)
1141 - Fixed command-line argument passing in Catalyst::Script::FastCGI.
1143 - Fixed Catalyst::Engine::Stomp compatibility. Applications using
1144 Catalyst::Engine::Stomp are believed to continue working without
1145 any changes with the new Catalyst major version.
1147 - Fixed issues auto-loading engine with older scripts.
1150 - Catalyst::Engine::Wx is officially unsupported and BROKEN. If you
1151 are using this engine then please get in touch with us and we'll
1152 be happy to help with the changes it needs to be compatible with
1153 the new major version of Catalyst.
1156 - The section of Catalyst::Upgrading describing how to upgrade to version 5.90
1157 of Catalyst has been much improved.
1159 5.80032 2011-02-23 01:10:00
1162 - Fix compatibility issue with code which was testing the value of
1163 $c->res->body multiple times. Previously this would cause the value
1164 to be built, and ergo cause the $c->res->has_body predicate to start
1166 Having a response body is indicated by $c->res->body being defined.
1168 - Fix bug with calling $upload->slurp multiple times in one request
1169 not working as expected as the file handle wasn't returned to
1170 the zero position. (Adam Sjøgren)
1172 - Fix some weird perl 5.8 situations where $c can get squashed unexpectedly
1173 in Catalyst::execute
1175 - Fix chained dispatch where chains were being compared for length (number
1176 of private parts in the chain) vs where they are being compared for
1177 PathPart length (i.e. number of non-capturing URI elements in your path).
1179 This bug meant that sometimes multiple Args or CaptureArgs (e.g. /*/*)
1180 type paths would be preferred to those with fixed path elements
1184 - Add MYAPP_RESTARTER and CATALYST_RESTARTER environment variables to
1185 allow the restarter class to be chosen per application or generally.
1187 This feature was added to enable GUI restarters (such as the soon to
1188 be released CatalystX::Restarter::GTK to be enabled more easily by
1189 developers without changing their application code.
1191 5.80031 2011-01-31 08:13:02
1194 - Update dependency on MooseX::Role::WithOverloading to ensure that
1195 a version which can deal with / depends on a new Package::Stash
1196 is installed. (As if some other dependency is pulled in during upgrading
1197 which results in new Package::Stash, then it can leave you with a broken
1198 version of MooseX::Role::WithOverloading.
1200 - Fix undef warning in Catalyst::Engine::FastCGI when writing an empty
1201 body (e.g. doing a redirect)
1203 5.89000 2011-01-24 09:28:45 (TRIAL release)
1205 This is a development release from psgi branch of Catalyst-Runtime.
1209 - All of the Catalyst::Engine::* namespace is now gone. Instead we only have
1210 one Catalyst::Engine class speaking the PSGI protocol natively. Everything
1211 the various Catalyst::Engine:: classes did before is now supposed to happen
1212 through PSGI handlers such as Plack::Handler::FCGI,
1213 Plack::Handler::HTTP::Server::PSGI, Plack::Handler::Apache2, and so
1214 on. However, deployment can still work the same as it did before. The
1215 catalyst scripts still exist and continue to work.
1217 If you find anything that either doesn't work anymore as it did before or
1218 anything that could be done before with the various Catalyst::Engine::
1219 classes, but can't be done anymore with the single PSGI Catalyst::Engine
1220 class, please tell us *now*.
1222 5.80030 2011-01-04 13:13:02
1225 - Add a --proc_title option to the FCGI script to set the process
1227 - Allow the response body to be set to `undef' explicitly to indicate the
1228 absence of a body. It can be used to indicate that no body should be sent at
1229 all and processing of views should be skipped. This is especially useful for
1230 things like X-Sendfile, which now no longer require providing fake response
1231 bodies to suppress view processing. In order for this to work, you will also
1232 have upgrade Catalyst::Action::RenderView to at least version 0.15.
1235 - Deal correctly with GLOB file handles in the response body (setting
1236 the Content-Length header appropriately)
1237 - Chained dispatch has been fixed to always prefer paths
1238 with the minimum number of captures (rather than the
1239 maximum number of actions). This means that (for example)
1240 a URI path /foo/* made out of 2 actions will take preference
1241 to a URI path /*/* made out of 3 actions. Please check your applications
1242 if you are using chained action and please write new test to report
1244 - Stop relying on bugs in the pure-perl version of Package::Stash. New
1245 versions of Package::Stash load Package::Stash::XS if
1246 available. Package::Stash::XS fixes some of the bugs of the pure-perl
1247 version, exposing our faulty assumption and breaking things. We now work
1248 with both old and new versions of Package::Stash, both with and without
1249 Package::Stash::XS being installed. Older versions of Catalyst-Runtime also
1250 work with both old and new versions of Package::Stash, but only if
1251 Package::Stash::XS is *not* installed.
1254 - Clarify that when forwarding or detaching, the end action associated
1255 with the original dispatched action will be run afterwards (fallen)
1257 5.80029 2010-10-03 16:39:00
1260 - Add a warning when $c->view is called and cannot locate a default_view
1261 or current_view. This clarifies the logging when ::RenderView gets
1265 - Deal warning in with Moose >= 1.15 if you add a method called 'meta' to a
1266 class which already has one by using _add_meta_method.
1268 5.80028 2010-09-28 20:49:00
1271 - use Class::MOP in Catalyst::Utils.
1273 - Do not keep a reference to a closed over context in ctx_request, allowing
1274 the caller to dispose of the request context at their leisure.
1276 - Changes to be compatible with bleadperl
1278 5.80027 2010-09-01 22:14:00
1281 - Fix an issue with newly added test cases which depended on Catalyst::Action::RenderView
1283 5.80026 2010-09-01 15:14:00
1286 - Fix so that CATALYST_EXCEPTION_CLASS in MyApp is always respected by
1287 not loading Catalyst::Exception in Utils.pm BEGIN, because some Scripts::*
1288 load Utils before MyApp.pm
1290 - Fix warnings with new Moose versions about "excludes" during role
1293 - Fix warning from MooseX::Getopt regarding duplicate "help" aliases.
1295 - parse_on_demand fixed when used in conjunction with debug mode.
1296 A regression was introduced in 5.80022 which would cause the body
1297 to always be parsed for logging at the end of the request when in
1298 debug mode. This has been fixed so that if the body has not been parsed
1299 by the time the request is logged, then the body is omitted.
1301 - Fix show_internal_actions config setting producing warnings in debug
1304 - Make Catalyst::Test::local_request() set the response base from base href
1305 in the returned document so that links can be resolved correctly by
1306 Test::WWW::Mechanize::Catalyst
1309 - moved component name sort that happens in setup_components to
1310 locate_components to allow methods to wrap around locate_components
1315 - Advertise Catalyst::Plugin::SmartURI
1318 5.80025 2010-07-29 01:50:00
1321 - An 'action_class' method has been added to Catalyst::Controller to
1322 allow controller base classes, roles or traits
1323 (e.g. Catalyst::Controller::ActionRole) to more easily override
1324 the default action creation.
1327 - Fix the --mech and --mechanize options to the myapp_create.pl script
1328 to operate correctly by fixing the options passed down into the script.
1329 - Fix controllers with no method attributes (where the action definitions
1330 are entirely contained in config). RT#58057
1331 - Fix running as a CGI under IIS at non-root locations.
1332 - Fix warning about "excludes" during role application
1333 - Fix warning from MooseX::Getopt regarding duplicate "help" aliases
1336 - Fix missing - in the docs when describing the --mechanize option at one
1338 - Explained the common practice how to access the component's config
1340 - Fixed typo in Catalyst/Script/Server.pm (RT #58474)
1342 5.80024 2010-05-15 11:55:44
1345 - Revert the path resolution behaviour to how it used to work before
1346 Catalyst 5.80014_02, so that application paths are (by default)
1347 resolved from $ENV{PATH_INFO} and $ENV{SCRIPT_NAME}. This fixes backward
1348 compatibility breakage seen by a number of people since that release
1349 with mod_rewrite and SSI.
1352 - Add a use_request_uri_for_path config setting to optionally
1353 use the (more correct) $ENV{REQUEST_URI} path resolution behaviour.
1356 - Clarify the documentation for the Catalyst::Stats interface.
1357 - Copious documentation about the use_request_uri_for_path feature
1358 and the implications of setting this to true/false in
1359 Catalyst::Engine::CGI
1361 5.80023 2010-05-07 23:50:27
1364 - Ensure to always cleanup temporary uploaded files in all cases, even
1365 when exceptions occur during request processing, using HTTP::Body's
1366 ->cleanup feature. (RT#41442)
1367 - Ensure that Catalyst::Engine::HTTP's options hash is defined before
1368 dereferencing it. (RT#49267)
1369 - Fix regex special characters in REDIRECT_URL variable breaking
1370 the request base. (2nd part of RT#24951)
1371 - Fix not stripping backslashes in DispatchType::Regex::uri_for_action
1374 - Setting __PACKAGE__->config(enable_catalyst_header => 1); in your MyApp.pm
1375 now enables the X-Catalyst header being printed when not in debug mode.
1376 - Require CGI::Simple::Cookie version 1.109 to ensure support for the
1378 - Allow the myapp_test.pl script to be given a list of paths which it
1379 will retrieve all of. (RT#53653)
1380 - Allow parameterized roles to be applied as plugins.
1381 - Allow requiring minimum versions of plugins when loading them.
1384 - The Catalyst::Test::get method is documented as returning the raw
1385 response bytes without any character decoding (RT#53678)
1388 - Removal of $Catalyst::PRETTY_VERSION. Future releases will always have the
1389 full and unmangled version number, including trailing zeroes, in
1392 5.80022 2010-03-28 19:43:01
1395 - Log an extra line in debug mode with the response status code,
1396 the content type and content length if available.
1398 Refactoring / optimizations:
1399 - Display of the end of hit debug messages has been factored out into
1400 log_headers, log_request, log_request_headers, log_response,
1401 log_response_status_line and log_response_headers methods so that
1402 plugins which customise how much information is shown on the debug
1403 screen as easy to write.
1404 - Make all logging of request and response state get the information from
1405 $c->dump_these so that there is a unified point from which to hook
1406 in parameter filtering (for example).
1407 - $c->model/view/controller have become a lot faster for non-regexp names
1408 by using direct hash lookup instead of looping.
1409 - IP address => hostname mapping for the server is only done once and cached
1410 by Catalyst::Engine::HTTP to somewhat mitigate the problem of people
1411 developing on machines pointed at slow DNS servers.
1414 - DispatchType::Index's uri_for_action only returns for actions registered
1415 with it (prevents 'index :Path' or similar resolving to the wrong URI)
1416 - Make sure to construct Upload objects properly, even if there are
1417 multiple Content-Type headers (Closes RT#55976).
1419 5.80021 2010-03-03 23:02:01
1422 - $c->uri_for will now escape unsafe characters in captures
1423 ($c->request->captures) and correctly encode utf8 characters.
1425 5.80020 2010-02-04 06:51:18
1428 - Allow components to specify additional components to be set up by
1429 overriding the expand_modules method. (Oliver Charles)
1431 5.80019 2010-01-29 01:04:09
1434 - Calls to $c->uri_for with private paths as strings (e.g.
1435 $c->uri_for('controller/action', 'arg1', 'arg2') ) no longer have
1436 / encoded to %2F. This is due to $c->uri_for('static', 'css/foo', $bar)
1437 which should not be encoded.
1438 Calls with an action object (rather than a string), or uri_for action
1439 will still encode / in args and captures to %2F
1441 - The above noted / => %2F encoding in uri_for_action or uri_for with
1442 an action object has been fixed to not just encode the first slash in
1443 any set of args/captures.
1445 - nginx and lighttpd FCGI requests with URI encoded sections as the first
1446 path part have been fixed to operate correctly.
1448 - A source of bogus warnings in Catalyst::Component::BUILDARGS has been
1452 - Improve the documentation about -Home and how Catalyst finds the home path
1454 - Various minor typo fixes.
1457 - Allow passing additional arguments to action constructors.
1459 5.80018 2010-01-12 22:24:20
1462 - Call ->canonical on URI derived from $ENV{REQUEST_URI} to get
1463 paths correctly decoded. This bug was previously hidden by a bug
1464 in HTTP::Request::AsCGI.
1467 - Clarify that uri_for_action works on private paths, with example.
1468 - Clarify documentation about debug
1471 - Saying use Catalyst::Test; (without an application name or () to stop
1472 the importer running is now deprecated and will issue a warning.
1473 You should be saying use Catalyst::Test ();
1475 5.80017 2010-01-10 02:27:29
1478 - Fix docs for ->forward method when passed a class name - this should
1479 be a component name (e.g. View::HTML, not a full class name, like
1483 - --daemon and -d options to Catalyst::Script::FastCGI are fixed.
1484 - Fix the debug dump for applications which use Catalyst::Plugin::Session
1486 - Fix regression in the case where mod_rewrite is being used to rewrite
1487 requests into a path below your application base introduced with the
1488 %2F related fixes in 5.80014_02.
1489 - Do not crash on SIGHUP if Catalyst::Engine::HTTP->run is not passed the
1490 argv key in the options hash.
1491 - Correctly pass the arguments to Catalyst::Script::Server through to
1492 Catalyst::Engine::HTTP->run so that the server can restart itself
1493 with the correct options on SIGHUP.
1494 - Require new MooseX::MethodAttributes to be compatible with Moose
1496 - Require new MooseX::Role::WithOverloading to be compatible with Moose
1500 - Stop suppressing warnings from Class::C3::Adopt::NEXT now that most plugins
1501 have been updated to not use NEXT. If you get warnings then please upgrade
1502 your components or log a bug with the component author if an upgrade is
1503 not available. The Class::C3::Adopt::NEXT documentation contains information
1504 about how to suppress the warnings in your application if you need to.
1506 5.80016 2009-12-11 23:23:33
1510 - Fix slurping a file to work correctly with binary on Win32 in the
1511 encoding test controller.
1513 Bug fixes in the new scripts (for applications which have been upgraded):
1515 - Allow --restartdirectory as an option for the Server script, for
1516 backwards compatibility. (Dave Rolsky)
1517 - The --host option for the server script defaulted to localhost, rather
1518 than listening on all interfaces, which was the previous default. (Dave
1520 - Restore -p option for pid file in the FastCGI server script.
1521 - Fix the script environment variables MYAPP_PORT and MYAPP_RELOAD RT#52604
1522 - Fix aliasing applications under non-root paths with mod_rewrite in
1523 some Apache versions where %ENV{SCRIPT_NAME} is set to the real name of
1524 the script, by using $ENV{REDIRECT_URL} which contains the non-rewritten
1526 - Fix usage display when myapp_create.pl is run with no arguments. RT#52630
1530 - The __MOP__ hash element is suppressed from being dumped fully
1531 (and instead stringified) when dumping the error screen to be
1532 less packed with information of no use.
1536 - Fix Pod nits (RT#52370)
1538 5.80015 2009-12-02 15:13:54
1540 - Fix bug in Catalyst::Engine which would cause a request parsing to end
1541 prematurely in the hypothetical case where calling $engine->read returned
1542 the single character '0'.
1543 - Fix failing tests when combined with new HTTP::Request::AsCGI
1546 - Improved documentation on read and read_chunk methods in Catalyst::Engine.
1547 - Fix reversal of SCRIPT_NAME and PATH_INFO in previously correct nginx
1548 FastCGI documentation introduced in _02.
1550 5.80014_02 2009-12-01 00:55:23
1552 - Fix reporting the wrong Content-Length if the response body is an
1553 upgraded string. Strings mean the same thing whether or not they are
1554 upgraded, may get upgraded even after they are encoded, and will
1555 produce the same output either way, but bytes::length returns too big
1556 values for upgraded strings containing characters >127
1557 - Fix t/live_fork.t with bleadperl (RT#52100)
1558 - Set $ENV{PATH_INFO} from $ENV{REQUEST_URI} combined with
1559 $ENV{SCRIPT_NAME} if possible. This is many web servers always fully
1560 decode PATH_INFO including URI reserved characters. This allows us to
1561 tell foo%2cbar from foo%252cbar, and fixes issues with %2F in paths
1562 being incorrectly decoded, resulting in too many path parts (rather
1563 than 1 path part containing a /, on some web servers (at least nginx).
1565 - Require new HTTP::Request::AsCGI so that it fully decodes $ENV{PATH_INFO}
1566 in non CGI contexts. (RT#50082)
1568 Refactoring / cleanups:
1569 - NoTabs and Pod tests moved to t/author so that they're not run
1570 (and then skipped) normally.
1573 - Fix Pod nits in Catalyst::Response (RT#51818)
1575 5.80014_01 2009-11-22 20:01:23
1578 - Filehandle now forced to binmode in CGI and FastCGI engines. This appears
1579 to correct some UTF-8 issues, but may break people's code which relies
1580 on the old behaviour.
1582 Refactoring / cleanups:
1583 - Plugins which inherit from Catalyst::Controller or Catalyst::Component
1584 are deprecated and now issue warnings.
1586 5.80014 2009-11-21 02:51:14
1589 - Require MooseX::MethodAttributes 0.17. This in turn requires new
1590 MooseX::Types to stop warnings in Moose 0.91, and correctly supports
1591 role combination of roles containing attributed methods.
1592 - Catalyst::Dispatcher::dispatch_types no longer throws deprecated warnings
1593 as there is no recommended alternative.
1594 - Improved the suggested fix warning when component resolution uses regex
1595 fallback for fully qualified component names.
1596 - Catalyst::Test::local_request sets ->request on the response.
1597 - Log flush moved to the end of setup so that roles and plugins which
1598 hook setup_finalize can log things and have them appear in application
1599 startup, rather than with the first hit.
1600 - Require a newer version of LWP to avoid failing tests.
1601 - Stop warnings when actions are forwarded to during dispatch.
1602 - Remove warnings for using Catalyst::Dispatcher->dispatch_types as this is a
1603 valid method to publicly call on the dispatcher.
1604 - Args ($c->request->args) and CaptureArgs ($c->request->captures)
1605 passed to $c->uri_for with an action object ($c->action) will now
1606 correctly round-trip when args or captures contain / as it is now
1607 correctly uri encoded to %2F.
1610 - Document no-args call to $c->uri_for.
1611 - Document all top level application configuration parameters.
1612 - Clarify how to fix actions in your application class (which is
1613 deprecated and causes warnings).
1614 - Pod fixes for ContextClosure.
1615 - Fix documentation for go/visit to reference captures and arguments
1616 in the correct order.
1617 - Update $c->forward and $c->state documentation to address scalar
1619 - Pod fix in Catalyst::Request (RT#51490)
1620 - Pod fixes to refer to ::Controller:: rather than ::C:: as the latter
1621 is deprecated (RT#51489)
1624 - Added disable_component_resolution_regex_fallback config option to
1625 switch off (deprecated) regex fallback for component resolution.
1626 - Added an nginx-specific behavior to the FastCGI engine to allow
1627 proper PATH_INFO and SCRIPT_NAME processing for non-root applications
1628 - Enable Catalyst::Utils::home() to find home within Dist::Zilla built
1630 - Added the Catalyst::Exception::Interface role defining the interface
1631 exception classes need to implement.
1632 - Added Catalyst::Exception::Basic as a basic implementation of
1633 Catalyst::Exception::Interface and made the existing exception classes
1636 Refactoring / cleanups:
1637 - Remove documentation for the case_sensitive setting
1638 - Warning is now emitted at application startup if the case_sensitive
1639 setting is turned on. This setting is not used by anyone, not
1640 believed to be useful and adds unnecessary complexity to controllers
1641 and the dispatcher. If you are using this setting and have good reasons
1642 why it should stay then you need to be shouting, now.
1643 - Writing to $c->req->body now fails as doing this never makes sense.
1645 5.80013 2009-09-17 11:07:04
1648 - Preserve immutable_options when temporarily making a class mutable in
1649 Catalyst::ClassData as this is needed by new Class::MOP.
1650 This could have potentially caused issues when using the deprecated runtime
1651 plugins feature in an application with plugins which define their own new
1653 - Require new Moose version and new versions of various dependencies
1654 to avoid warnings from newest Moose release.
1655 - Fix go / visit expecting captures and arguments in reverse order.
1658 - Rework the $c->go documentation to make it more clear.
1659 - Additional documentation in Catalyst::Upgrading covering more deprecation
1662 Refactoring / cleanups:
1663 - Action methods in the application class are deprecated and applications
1664 using them will now generate a warning at startup.
1665 - The -short option has been removed from catalyst.pl, stopping new
1666 applications from being generated using the ::[MVC]:: naming scheme as
1667 this is deprecated and generates warnings. RT#49771
1669 5.80012 2009-09-09 19:09:09
1672 - Fix t/optional_http-server.t test.
1673 - Fix t/optional_http-server-restart.t test.
1674 - Fix duplicate components being loaded at setup time, each component is
1675 now loaded at most once + tests.
1676 - Fix backward compatibility - hash key configured actions are stored in
1677 is returned to 'actions'.
1678 - Fix get_action_methods returning duplicate methods when a method is both
1679 decorated with method attributes and set as an action in config.
1681 Refactoring / cleanups:
1682 - Reduce minimum supported perl version from 5.8.6 to 5.8.4 as there are
1683 many people still running/testing this version with no known issues.
1686 - Make the optional_http_server.t test an author only test which must be
1687 run by authors to stop it being broken again.
1688 - Fix recursion warnings in the test suites.
1690 5.80011 2009-08-23 13:48:15
1693 - Remove leftovers of the restarter engine. The removed code caused test
1694 failures, which weren't apparent for anyone still having an old version
1697 5.80010 2009-08-21 23:32:15
1700 - Fix and add tests for a regression introduced by 5.80008.
1701 Catalyst::Engine is now able to send out data from filehandles larger
1702 than the default chunksize of 64k again.
1704 5.80009 2009-08-21 22:21:08
1707 - Fix and add tests for generating inner packages inside the COMPONENT
1708 method, and those packages being correctly registered as components.
1709 This fixes Catalyst::Model::DBIC among others.
1711 5.80008 2009-08-21 17:47:30
1714 - Fix replace_constructor warning to actually work if you make your
1715 application class immutable without that option.
1716 - Depend on Module::Pluggable 3.9 to prevent a bug wherein components
1717 in inner packages might not be registered. This especially affected
1719 - Catalyst::Engine::FastCGI - relax the check for versions of Microsoft
1720 IIS. Provides compatibility with Windows 2008 R2 as well as
1721 (hopefully) future versions.
1722 - In tests which depend on the values of environment variables,
1723 localise the environment, then delete only relevant environment
1724 variables (RT#48555)
1725 - Fix issue with Engine::HTTP not sending headers properly in some cases
1727 - Make Catalyst::Engine write at least once when finalizing the response
1728 body from a filehandle, even if the write is empty. This avoids fail
1729 when trying to send out an empty response body from a filehandle.
1730 - Catalyst::Engine::HTTP - Accept a fully qualified absolute URI in the
1731 Request-URI of the Request-Line
1733 Refactoring / cleanups:
1734 - Deleted the Restarter engine and its Watcher code. Use the
1735 new Catalyst::Restarter in a recent Catalyst::Devel instead.
1736 - New unit test for Catalyst::Action 'unit_core_action.t'
1737 - Bump minimum supported perl version from 5.8.1 to 5.8.6 as there are
1738 known issues with 5.8.3.
1739 - Debug output uses dynamic column sizing to create more readable output
1740 when using a larger $ENV{COLUMNS} setting. (groditi)
1743 - Added private_path method for Catalyst::Action
1744 - Allow uri_for($controller_instance) which will produce a URI
1745 for the controller namespace
1746 - Break setup_components into two more parts: locate_components and
1747 expand_component_module (rjbs)
1748 - Allow Components to return anon classed from their COMPONENT method
1749 correctly, and have action registration work on Controllers returned
1750 as such by adding a catalyst_component_name accessor for all components
1751 which returns the component instance's name to be used when building
1753 - Adding X-Forwarded-Port to allow the frontend proxy to dictate the
1754 frontend port (jshirley)
1755 - Added Catalyst::Stats->created accessor for the time at the start of
1759 - Fix POD to refer to ->config(key => $val), rather than
1760 ->config->{key} = $val, as the latter form is deprecated.
1761 - Clearer docs for the 'uri_for' method.
1762 - Fix POD referring to CGI::Cookie. We're using CGI::Simple::Cookie.
1765 5.80007 2009-06-30 23:54:34
1768 - Don't mangle query parameters passed to uri_for
1769 - Tests for this (Byron Young + Amir Sadoughi)
1770 - Inherited controller methods can now be specified in
1772 - Assigning an undef response body no longer produces warnings
1773 - Fix C3 incompatibility bug caused if you use Moose in MyApp.pm and
1774 add Catalyst to the right hand side of this in @ISA.
1775 - Make Catalyst.pm implement the Component::ApplicationAttribute
1776 interface so defining actions in MyApp.pm works again, if the
1777 actions have attributes that cause $self->_application to be used
1781 - Add optional second argument to uri_with which appends to existing
1782 params rather than replacing them. (foo=1 becomes foo=1&foo=2 when
1783 uri_with({ foo => 2 }, { mode => 'append' }) is called on a foo=1
1786 5.80006 2009-06-29 23:37:47
1789 - Revert change to URL encode things passed into $c->uri_for
1790 Args and CaptureArgs as this causes breakage to pre-existing
1792 - Remove use of Test::MockObject as it doesn't install from CPAN
1793 in some environments.
1794 - Remove use of dclone to deep copy configs and replace with
1795 Catalyst::Utils::merge_hashes which has the same effect, of
1796 ensuring child classes don't inherit their parent's config,
1797 except works correctly with closures.
1798 - Add Class::C3::reinitialize into Catalyst::Test to avoid weird
1799 bugs in ctx_request (bokutin in RT#46459)
1800 - Fix issues with _parse_PathPrefix_attr method in Catalyst::Controller
1801 (jasonk in RT#42816)
1802 - Fix bugs with action sorting:
1803 - Path actions sorted so that the most specific wins.
1804 - Action methods named default and index fixed.
1807 - Use ~ as prefix for plugins or action classes which are located in
1808 MyApp::Plugin / MyApp::Action (mo)
1809 - Controller methods without attributes are now considered actions if
1810 they are specified in config->{action(s)} (mo)
1811 - Add Catalyst::Component::ContextClosure as an easy way to create code
1812 references, that close over the context, without creating leaks.
1814 Refactoring / cleanups:
1815 - Clean namespaces in Catalyst::Exception*.
1816 - Turn Catalyst::Exception into an actual class and make the throw
1817 method create instances of it. They can still be used as normal
1818 strings, as before, as they are overloaded to stringify to their
1820 - Add a rethrow method to Catalyst::Exception.
1821 - Add Catalyst::Exception::Detach and ::Go, and refactor detach() and
1822 go() to use them instead of magic, global strings.
1824 - Clean up getting metaclass instance and making app class immutable
1825 again in Catalyst::Test
1827 5.80005 2009-06-06 14:40:00
1830 - Arguments ($c->req->args) in Chained dispatch are now automatically
1831 URL decoded to be consistent with Local/Path dispatch
1834 - Clarify correct techniques for Moose controllers (domm)
1837 - Further change pushing 'env' attribute down into Catalyst::Engine
1838 to make $c->engine->env work in all cases (kmx)
1839 - Also fix $c->engine->env in Catalyst::Test tests (kmx)
1841 - Fix Catalyst failing to start if any plugin changed $_ whilst
1844 - Be stricter about arguments to Args attributes for Chained actions,
1845 so that they blow up on load instead of causing undefined behavior
1848 - Prefer Path actions with a smaller (or set) number of Args (caelum)
1849 Bug reported here: http://stackoverflow.com/questions/931653/catalyst-action-that-matches-a-single-file-in-the-root-directory/933181#933181
1853 - Add $c->req->remote_user to disambiguate from $c->req->user (dwc)
1854 - Require MooseX::MethodAttributes 0.12 so that action methods
1855 (with attributes) can be used in / composed from Moose roles.
1856 - Allow the generation of cookies with the HTTPOnly flag set
1857 in Catalyst::Engine (kmx)
1859 5.80004 2009-05-18 17:03:23
1860 - Rename the actions attribute in Catalyst::Controller to
1861 _controller_actions to avoid name clashes with application
1862 controller naming. (random)
1863 - Test for using Moose in components which have a non-Moose base class
1864 Fixed by 349cda in Moose 0.78
1865 - Fix deprecation message for Catalyst::Dispatcher to refer
1866 to the class actually calling the deprecated method. RT#45741
1867 - Clarify limitations of $request->base and $request->secure.
1869 - Add 'use Catalyst' to documentation for a Moose MyApp class as
1871 - Fix so that / (and other special characters) are URL encoded when
1872 passed into $c->uri_for as Args/CaptureArgs
1873 - Fix development server so that $c->engine->env returns the correct
1875 - Require Moose 0.78 to fix metaclass incompatibility issues
1876 - Require MooseX::MethodAttributes 0.10 and use
1877 Moose::Meta::Class->initialize rather than Moose->init_meta to fix
1878 bugs related to having a 'meta' method in your controller
1879 - Fix cases where your application failing to compile could cause perl
1880 to report 'Unknown Error'
1881 - Support adding Moose::Roles to the plugin list. These are applied to
1882 MyApp after plugins have been pushed onto @ISA
1883 - Fix calling $c->req->parameters as the first thing you do when
1884 parse_on_demand is on
1886 5.80003 2009-04-29 16:23:53
1887 - Various POD tweaks. (hdp, dandv)
1888 - Fix formatting error in the regex fallback warning.
1889 - Convert the dispatcher's and restarter engine's BUILD method to
1890 attribute builders to not override the BUILD method from
1891 MooseX::Emulate::Class::Accessor::Fast.
1892 - Fix classes without metaclasses restarting, when not using
1893 B::Hooks::OP::Check::StashChange
1894 - Fix the unattached chain debug table for endpoints with no
1896 - Turn off test aggregation by default. Only aggregate if the
1897 AGGREGATE_TESTS environment variable is set and a recent
1898 Test::Aggregate is available.
1899 - Bump to MooseX::MethodAttributes 0.09, to gain the
1900 get_nearest_methods_with_attributes method allowing methods without
1901 attributes in a subclass to override those with attributes in a
1902 superclass. This fixes CatalystX::CRUD's method of overriding /
1903 disabling functionality from base controllers.
1904 - Bump HTTP::Request::AsCGI dependency to avoid broken version
1905 - Bump Moose dependency to latest version to fix metaclass
1906 incompatibility issues in some cases.
1907 - Additional tests for setup_stats method.
1908 - Fix log levels in Catalyst::Log to be properly additive.
1909 - Fix RT#43375 by sorting results before testing them
1910 - Fixes for uri_for_action when using Catalyst::DispatchType::Regex
1911 + tests from RT#39369 (norbi)
1912 - Partial rewrite and reorganization of the C3 docs in
1913 Catalyst::Upgrading based on feedback from kiffin
1914 - If you make your application class immutable and turn off
1915 constructor inlining, Catalyst will die and tell you pass
1916 the (replace_constructor => 1) argument to
1917 make_immutable. (Dave Rolsky)
1919 5.80002 2009-04-22 01:28:36
1920 - Fix CATALYST_DEBUG and MYAPP_DEBUG environment variables
1921 turning debugging on if defined, rather than if set.
1922 They now force debugging on or off, taking precedence over
1923 configuration in your application.
1925 - pass replace_constructor to the immutable call to ensure
1926 applications get a Moose constructor rather than a C::A one
1927 - Fix issues with restarting the application class due to C3 failures
1929 - Work around issues in Moose with initialization order of multiple
1930 levels of non-Moose classes inheriting from a Moose class
1932 - Add backwards compatibility method for Catalyst::Log->body, which
1933 has been made private
1934 - Fix so that calling $c->req->parameters(undef) does not flatten
1935 the request parameters with undef + test
1936 - Fix so that width of table of unattached actions for debugging
1937 ::DispatchType::Chained varies according to your terminal width
1939 - Fix warning message about linearized @ISA in Catalyst::Component
1941 - Require MX::MethodAttributes 0.06 to avoid issues with saying
1942 use base 'Catalyst::Controller'; use Moose; losing actions
1943 - Fix all of's typos in ::Upgrading and ::Delta (hobbs)
1945 5.80001 2009-04-18 22:18
1946 - Don't inline the constructor for Catalyst::Log to avoid a
1947 warning on recent Moose versions.
1948 - Add delta documentation
1949 - Clean up recursion errors
1950 - Extra cross links in dispatch types POD (Ian Wells)
1951 - Test uri_with clears query params when they are set to undef
1953 - Complain about old Catalyst::Devel versions which generated
1954 ->setup(qw/-Debug... etc. as this is not recommended
1956 5.8000_07 2009-04-12 13:37
1957 - Add the Catalyst::Dispatcher->dispatch_type method (ash)
1958 - Throw an exception rather than loading an app if an action
1959 tries to chain to itself
1961 - Change the $c->visit and $c->go methods to optionally take
1962 CaptureArgs, making them useful to call ActionChains with
1963 - Tests for this (radek)
1964 - Fix _invoke_as_component method to find the proper action instance
1965 for dispatchable actions so that ->visit or ->going to ActionChains
1966 with qw/Class::Name method_name/ works correctly
1967 - Tests for this (radek)
1968 - Added Catalyst::Test::ctx_request to be able to inspect
1969 the context object after a request is made (Jos Boumans)
1970 - debug() POD rewrite (jhannah)
1971 - Change the warning when you have conflicting components to
1973 - Move NEXT use and testing deprecated features out to its own
1974 test application so that the main TestApp isn't polluted with
1976 - Add a warning for the old ::[MVC]:: style naming scheme
1978 - Kill Class::C3::Adopt::NEXT warnings for the Catalyst:: namespace
1979 in production versions
1980 - Tidy up Catalyst::ClassData to ensure that all components get
1981 the correct metaclass
1982 - Make MyApp.pm restartable by unsetting setup_finished in
1983 the restarter process
1984 - Non-naive implementation of making mutable on restart using
1985 B::Hooks::OP::Check::StashChange if installed
1987 - Naive implementation of making all components mutable in the
1988 forked restart watcher process so native Moose apps using
1989 immutable restart correctly.
1991 - Bump Moose dependency to 0.70 so that we avoid nasty surprises
1992 with is_class_loaded and perl 5.80 when you Moosify MyApp.pm
1993 - Clarify that request arguments aren't unescaped automatically
1994 (Simon Bertrang) (Closes RT#41153)
1995 - Don't require C3 for the MRO test
1996 - Bump MX::Emulate::CAF prereq to support list assignment
1997 - Remove useless column in chained action debug table.
1998 - namespace::clean related cleanups
1999 - Import related cleanups and consistency fixes
2000 - Fix test suite TestApp /dump/env action
2001 - Add $res->code as alias for $res->status
2002 - Make Catalyst::ClassData compatible with the latest Class::MOP::Class
2003 changes. Also depend on the latest Class::MOP.
2004 - Add $c->uri_for_action method.
2005 - Don't stringify the meta method. Use its name instead.
2006 - Use MooseX::MethodAttributes::Inheritable to contain action
2007 attributes. This means that attributes are now represented in the MOP,
2008 allowing method modifiers on actions to work as expected.
2009 - Provide a reasonable API in Catalyst::Controller for working with
2010 and registering actions, allowing a controller sub-class to replace
2011 subroutine attributes for action declarations with an alternate
2013 - Instantiate correct sub-class of Moose::Meta::Class for non-Moose
2014 components where Catalyst forces the creation of a metaclass instance.
2015 This is more correct, and avoids metaclass incompatibility in complex
2018 - Use of deprecated Catalyst::Base now warns.
2019 - Add uri_with tests
2021 5.8000_06 2009-02-04 21:00
2022 - Disallow writing to config after setup
2023 - Disallow calling setup more than once
2024 - Documentation fix regarding overloading of Engine and Dispatcher
2026 - Several documentation typo fixes
2027 - Stop Makefile.PL from warning about versions that fixed a conflict
2028 - Improved upgrading documentation
2029 - Seed the RNG in each FastCGI child process (Andrew Rodland)
2030 - Properly report dynamic bind port for the development server
2032 - Use the way documented by IO::Socket::INET to get the error message
2033 after trying to create a listening socket (Closes RT#41828)
2034 - Don't ignore SIGCHLD while handling requests with the dev server
2037 5.8000_05 2008-29-01 00:00
2038 - Text::SimpleTable's go as wide as $ENV{COLUMNS} (jhannah)
2039 Patch written by Oleg Kostyuk <cub.uanic@gmail.com>
2040 - Improve docs for visit (mateu)
2041 - Add docs for finalize hook (dhoss)
2042 - Added ru/ua translations to error page
2043 - Improve the clarity and verbosity of the warning when component
2044 resolution uses regex fallback. (jhannah)
2045 - Handle leading CRLF in HTTP requests sometimes sent by IE6 in
2046 keep-alive requests.
2047 - Fixes for FastCGI with IIS 6.0 (janus)
2048 - Passing request method exported by Catalyst::Test an extra
2049 parameter used to be ignored, but started breaking if the parameter
2050 was not a hash in 5.8000_04. Extra parameter is now ignored if
2052 - Fix request arguments getting corrupted if you override the
2053 dispatcher and call an action which detaches (for
2054 Catalyst::Plugin::Authorization::ACL)
2055 - Fix calling use Catalyst::Test 'MyApp' 'foo' which used to work,
2056 but stopped as the 2nd parameter can be an options hash now
2057 - Bump Moose dependency to fix make_immutable bug
2058 - Use compile time extends in Catalyst::Controller
2059 - Make Catalyst::Request::uploads attribute non-lazy, to fix
2060 test for Catalyst-Engine-Apache
2061 - Bump version of MooseX::Emulate::Class::Accessor::Fast
2062 - Stop using MooseX::Adopt::Class::Accessor::Fast by default, to stop
2063 breaking other packages which use Class::Accessor::Fast
2064 - Remove unused action_container_class attribute from
2065 Catalyst::Dispatcher
2066 - Replace {_body} instance access with calls to _body accessors
2067 - Add backwards compatibility alias methods for private attributes on
2068 Catalyst::Dispatcher which used to be public. Needed by
2069 Catalyst::Plugin::Server and Catalyst::Plugin::Authorization::ACL
2070 - Fix return value of $c->req->body, which delegates to the body
2071 method on the requests HTTP::Body instance
2073 - Fix calling $c->req->body from inside an overridden prepare_action
2074 method in a plugin, as used by Catalyst::Plugin::Server
2076 - Fix assignment to Catalyst::Dispatcher's preload_dispatch_types and
2077 postload_dispatch_types attributes - assigning a list should later
2078 return a listref. Fixes Catalyst::Plugin::Server.
2080 - Change streaming test to serve itself rather than 01use.t, making
2081 test sync for engines easier
2082 - Refactor capturing of $app from Catalyst::Controller into
2083 Catalyst::Component::ApplicationAttribute for easier reuse in other
2085 - Make the test suites YAML dependency optional
2086 - Make debug output show class name for the engine and dispatcher
2087 rather than the stringified ref.
2088 - Make MyApp immutable at the end of the scope after the setup
2089 method is called, fixing issues with plugins which have their
2090 own new methods by inlining a constructor on MyApp
2091 - Test for this and method modifiers in MyApp
2092 - Fix bug causing Catalyst::Request::Upload's basename method
2094 - Test for this (Carl Franks)
2095 - Fix loading of classes which do not define any symbols to not
2096 die, as it didn't in 5.70
2098 - Bump MooseX::Emulate::Class::Accessor::Fast dependency
2099 to force new version which fixes a lot of plugins
2100 - Make log levels additive, and add documentation and tests
2101 for the setup_log method, which previously had none.
2102 Sewn together by from two patches provided by David E. Wheeler
2103 - Switch an around 'new' in Catalyst::Controller to a BUILDARGS
2104 method as it's much neater and more obvious what is going on
2105 - Add a clearer method on request and response _context
2106 attributes, and use if from ::Engine rather than deleting
2107 the key from the instance hash
2108 - Use handles on tree attribute of Catalyst::Stats to replace
2109 trivial delegation methods
2110 - Change the following direct hash accesses into attributes:
2111 Catalyst::Engine: _prepared_write
2112 Catalyst::Engine::CGI: _header_buf
2113 Catalyst::Engine::HTTP: options, _keepalive, _write_error
2114 Catalyst::Request: _path
2115 Catalyst::Stats: tree
2116 - Fix issues in Catalyst::Controller::WrapCGI
2117 and any other components which import (or define) their
2118 own meta method by always explicitly calling
2119 Class::MOP::Object->meta inside Catalyst
2121 - Add test case for the bug which is causing the
2122 Catalyst::Plugin::Authentication tests to fail
2123 - Fix a bug in uri_for which could cause it to generate paths
2124 with multiple slashes in them.
2126 - Fix SKIP block name in t/optional_http-server-restart.t,
2127 stopping 'Label not found for "last SKIP"' error from
2129 - Workaround max_redirect 0 bug in LWP
2130 - Move live_engine_response_print into aggregate
2131 - Fix dependency bug, s/parent/base/ in new test
2132 - Fix optional tests to run the live tests in the aggregate
2134 - Fix Catalyst->go error in remote tests
2135 - Fix upload test to work with remote servers, don't check for
2137 - Fix engine_request_uri tests to work on remote server with
2140 5.8000_04 2008-12-05 12:15:00
2141 - Silence Class::C3::Adopt::NEXT warnings in the test suite
2142 - Fix loads of 'used once, possible typo' warnings
2143 - Additional tests to ensure upload temp files are deleted
2144 - Remove use of NEXT from the test suite, except for one case
2145 which tests if Class::C3::Adopt::NEXT is working
2146 - Use a predicate to avoid recursion in cases where the uri
2147 method is overridden by a plugin, and calls the base method,
2148 for example Catalyst::Plugin::SmartURI
2149 - Test for this (caelum)
2150 - Compose the MooseX::Emulate::Class::Accessor::Fast role to
2151 Catalyst::Action, Catalyst::Request, and all other modules which
2152 inherit from Class::Accessor::Fast in 5.70.
2154 - Catalyst::Controller::HTML::FormFu (zamolxes)
2155 - Catalyst::Request::REST
2157 - Make hostname resolution lazy (Marc Mims)
2158 - Support mocking virtualhosts in test suite (Jason Gottshall)
2161 - Use Class::C3::Adopt::NEXT
2162 - Ignore C3 warnings on 5.10 when testing ensure_class_loaded
2163 - Add TODO test for chained bug (gbjk)
2164 - Fix list address in documentation (zarquon)
2165 - Fix ACCEPT_CONTEXT on MyApp, called as a class method
2167 - Bump MooseX::Emulate::Class::Accessor::Fast version requirement to
2168 get more back compatibility
2169 - Improve documentation for $req->captures (caelum)
2170 - Fix a bug in Catalyst::Stats, stopping garbage being inserted into
2171 the stats if a user calls begin => but no end => (jhannah)
2172 - Test for this (jhannah)
2173 - Trim lines sooner in stats to avoid ugly Text::SimpleTable wrapping
2175 - Change Catalyst::ClassData to tweak the symbol table inline for
2176 performance after profiling
2177 - Fix POD typo in finalize_error (jhannah)
2178 - Add tests to ensure that we delete the temp files created by
2179 HTTP::Body's OctetStream parser
2181 5.8000_03 2008-10-14 14:13:00
2182 - Fix forwarding to Catalyst::Action objects.
2183 - Fix links to the mailing lists (RT #39754 and Florian Ragwitz).
2184 - Use Class::MOP instead of Class::Inspector.
2185 - Change Catalyst::Test to use Sub::Exporter.
2186 - Fixed typo in Engine::HTTP::Restarter::Watcher causing -r to complain.
2188 5.8000_02 2008-10-14 07:59:00
2191 5.8000_01 2008-10-13 22:52:00
2193 - Added test for action stringify
2194 - Added test for component instances getting $self->{value} from config.
2195 - Add Catalyst::Response->print() method
2196 - Optionally aggregate tests using Test::Aggregate.
2197 - Additional docs for uri_for to mention how to use $c->action and
2198 $c->req->captures (jhannah)
2199 - List unattached chained actions in Debug mode.
2200 - Pod formatting fix for Engine::FastCGI (Oleg Kostyuk).
2201 - Add visit, a returning ->go
2204 - Workaround change in LWP that broke a cookie test (RT #40037)
2205 - Back out go() since that feature's been pushed to 5.80
2206 - Fix some Win32 test failures
2207 - Add pt translation of error message (wreis)
2208 - Make :Chained('../action') work
2210 - Chained doc improvements (rev 8326-8328)
2212 5.7099_03 2008-07-20 10:10:00
2213 - Fix regressions for regexp fallback in model(), view() and controller()
2214 - Added the supplied argument to the regexp fallback warning for easier
2216 - Ensure ACCEPT_CONTEXT is called for results from component()
2218 5.7099_02 2008-07-16 19:10:00
2219 - Added PathPrefix attribute
2220 - Removed Catalyst::Build; we've long since moved to Module::Install
2221 - Updated Catalyst::Test docs to mention the use of HTTP::Request
2224 5.7099_01 2008-06-25 22:36:00
2225 - Refactored component resolution (component(), models(), model(), et al). We now
2226 throw warnings for two reasons:
2227 1) model() or view() was called with no arguments, and two results are returned
2228 -- set default_(model|view), current_(model|view) or current_(model|view)_instance
2230 2) you call a component resolution method with a string, and it resorts to a regexp
2231 fallback wherein a result is returned -- if you really want to search, call the
2232 method with a regex as the argument
2233 - remove 0-length query string components so warnings aren't thrown (RT #36428)
2234 - Update HTTP::Body dep so that the uploadtmp config value will work (RT #22540)
2235 - Fix for LocalRegex when used in the Root controller
2236 - Get some of the optional_* tests working from dirs with spaces (RT #26455)
2237 - Fix Catalyst::Utils::home() when application .pm is in the current dir (RT #34437)
2238 - Added the ability to remove parameters in req->uri_with() by passing in
2239 an undef value (RT #34782)
2240 - Added $c->go, to do an internal redispatch to another action, while retaining the
2241 contents of the stash
2243 5.7014 2008-05-25 15:26:00
2244 - Addition of .conf in restart regex in Catalyst::Engine::HTTP::Restarter::Watcher
2245 - Fix regression for relative uri_for arguments after a forward()
2246 introduced in 5.7013 (Peter Karman)
2247 - Fix regression for "sub foo : Path {}" in the root controller which
2248 was introduced when attempting to allow "0" as a Path.
2250 5.7013 2008-05-16 18:20:00
2251 - Provide backwards compatibility methods in Catalyst::Stats
2252 - Fix subdirs for scripts that run in subdirs more than one level deep.
2253 - Added test and updated docs for handling the Authorization header
2254 under mod_fastcgi/mod_cgi.
2255 - Fixed bug in HTTP engine where the connection was not closed properly if the
2256 client disconnected before sending any headers. (Ton Voon)
2257 - POD fix, IO::FileHandle => IO::Handle (RT #35690)
2258 - Fix grammar on welcome page (RT #33236)
2259 - Fix for Path('0') handling (RT #29334)
2260 - Workaround for Win32 and c3_mro.t (RT #26452, tested by Kenichi Ishigaki)
2261 - Fix for encoding query parameters
2262 - Fix Chained multiple test
2264 5.7012 2007-12-16 23:44:00
2265 - Fix uri_for()'s and uri_with()'s handling of multibyte chars
2267 - Fix __PACKAGE__->config->{foo} = 'bar' case with subclassing
2268 - Add Catalyst::Stats (Jon Schutz)
2269 - Fixed a bug where ?q=bar=baz is decoded as q=>'bar', not 'bar=baz'.
2270 (Tatsuhiko Miyagawa, Masahiro Nagano)
2271 - Fixed a bug where -rr (restart regex) command line option could cause
2272 shell errors. (Aristotle Pagaltzis, Chisel Wright)
2274 5.7011 2007-10-18 20:40:00
2275 - Allow multiple restart directories and added option to follow
2276 symlinks in the HTTP::Restarter engine (Sebastian Willert)
2277 - Fixed t/optional_http-server-restart.t so it actually tests
2278 if the server restarted or notified of an error (Sebastian Willert)
2279 - Return child PID from the HTTP engine when run with the 'background' option.
2281 - Fixed bug in HTTP engine where writes could fail with
2282 'Resource temporarily unavailable'.
2283 - Fixed bug where %2b in query parameter is doubly decoded to ' ', instead of '+'
2284 (RT #30087, Gavin Henry, Tatsuhiko Miyagawa, Oleg Pronin)
2285 - Fixed bug where req->base and req->uri would include a port number when running
2287 - Removed unnecessary sprintf in debug mode that caused warnings on locales where
2288 commas are used for decimal markers.
2289 - Improved error message for case when server picks up editor save
2290 files as module names. (James Mastros)
2292 5.7010 2007-08-22 07:41:00
2293 - Resource forks in 5.7009
2295 5.7009 2007-08-22 00:14:00
2296 - Moved Manual.pod to Manual.pm and clarified status of
2297 Catalyst-Manual dist
2298 - Doc patches to Catalyst::Controller
2299 - remove ignore_loaded from plugin load, commenting why
2300 - document the ignore_loaded feature in Catalyst::Utils
2301 - Add testing of inline plugins.
2303 5.7008 2007-08-13 08:40:00
2304 - Added $c->request->query_keywords for getting the keywords
2305 (a query string with no parameters).
2306 - Add undef warning for uri_for.
2307 - Fix bug where a nested component would be setup twice.
2308 - Make ensure_class_loaded behave better with malformed class name.
2309 - Make _register_plugin use ensure_class_loaded.
2310 - Remove 'Argument "??" isn't numeric in sprintf' warning.
2312 - Fixed a bug where Content-Length could be set to 0 if a filehandle
2313 object in $c->response->body did not report a size.
2314 - Fixed issue where development server running in fork mode did not
2315 properly exit after a write error.
2316 (http://rt.cpan.org/Ticket/Display.html?id=27135)
2317 - Remove warning for captures that are undef.
2318 - Fixed $c->read and parse_on_demand mode.
2319 - Fixed a bug with the HTTP engine where very large response bodies
2320 would not be sent properly.
2322 5.7007 2007-03-13 14:18:00
2323 - Many performance improvements by not using URI.pm:
2324 * $c->uri_for (approx. 8x faster)
2325 * $c->engine->prepare_path (approx. 27x faster)
2326 * $c->engine->prepare_query_parameters (approx. 5x faster)
2327 - Updated HTTP::Body dependency to 0.9 which fixes the following issues:
2328 * Handle when IE sometimes sends an extra CRLF after the POST body.
2329 * Empty fields in multipart/form-data POSTs are no longer ignored.
2330 * Uploaded files with the name "0" are no longer ignored.
2331 - Sending SIGHUP to the dev server will now cause it to restart.
2332 - Allow "0" for a path in uri_for.
2333 - Performance and stability improvements to the built-in HTTP server.
2334 - Don't ignore file uploads if form contains a text field with the same name.
2336 - Support restart_delay of 0 (for use in the POE engine).
2337 - Skip body processing if we don't have a Content-Length header.
2338 Results in about a 9% performance increase when handling GET/HEAD
2340 - Add a default body to redirect responses.
2341 - MyApp->model/view now looks at MyApp->config->{default_view/model}
2344 5.7006 2006-11-15 14.18
2346 - Fix Slurp dependency
2347 - Updated HTTP::Body dependency to 0.6, 0.5 can break on large POST
2349 - Skip utf8 fix for undef values in uri_with() and uri_for()
2351 5.7005 2006-11-07 19:37:35
2352 - Fixed lighttpd tests to be properly skipped.
2353 - Moved IE workarounds to exist only in the HTTP engine.
2354 - Added installation instructions (from Catalyst-Manual dist)
2356 5.7004 2006-11-06 20:48:35
2357 - Fix Engine::HTTP crash when using IE. (Jesper Krogh, Peter Edwards)
2358 - clean up Catalyst::Utils to handle some edge cases
2359 - Properly work around lighttpd PATH_INFO vs. SCRIPT_NAME bug
2361 - add _application accessor to Catalyst::Base
2362 - Support current_view
2363 - Allow use of Catalyst::Test without app name (Ton Voon, Altinity)
2364 - Catalyst::Manual moved to its own package
2365 - Add option to FastCGI engine to send errors to stdout, not the web server
2366 - Use Module::Install's auto_install to install prerequisite modules
2367 - various documentation fixes and improvements
2369 5.7003 2006-09-21 16:29:45
2370 - Additions and updates to tutorial
2372 5.7002 2006-09-17 19:35:32
2373 - unescape captures to match args
2374 - fix for relative Chained under namespace '' (root)
2375 - fix for hashrefs in action attributes from config
2376 - fix for Chained to require correct number of CaptureArgs
2378 5.7001 2006-07-19 23:46:54
2379 - fix for component loading
2380 - uri_for and uri_with now behave as they used to with non-
2383 5.7000 2006-07-07 08:08:08
2384 - fix FCGI.pm warning message with FastCGI engine
2385 - bumped inc::Module::Install to 0.63 in Makefile.PL
2386 - fixes to uri_for_action for DispatchType::Chained
2388 - Minor code cleanups
2389 - Changed catalyst.pl to depend on Catalyst::Devel
2391 5.70_03 2006-06-28 16:42:00
2392 - fixup to registered plugins debug at app startup
2393 - refactored Catalyst::Utils::home
2395 5.70_02 2006-06-27 11:51:00
2398 5.70_01 2006-06-26 10:49:00
2400 - fixed a Catalyst::Base bug causing duplicate action registrations
2401 - modified DispatchTypes to support multiple registrations
2402 - added Catalyst::Runtime module as dist marker
2403 - added Catalyst::ActionChain and Chained DispatchType
2404 - removed retarded registration requirement in dispatcher
2405 - removed Module::Pluggable::Fast hack in favor of
2406 Module::Pluggable::Object
2407 - extended uri_for, added dispatcher->uri_for_action
2408 - added Catalyst::Base->action_for('methodname')
2409 - checked and tested :Args multimethod dispatch
2410 - added ability to set action attributes from controller config
2411 - added merge_config_hashes() as a convenience method
2412 - Swapped out CGI::Cookie in favour of CGI::Simple::Cookie
2413 - Removed test dependencies on Test::NoWarnings, Test::MockObject
2414 - Removed dependency on UNIVERSAL::require
2415 - Split out Catalyst::Helper into a new distribution
2416 - un-bundled the plugins as they are now pre-reqs for Catalyst::Helper
2417 - nuked each() out of core with prejudice (due to lurking buglets)
2418 - Added tests from phaylon for dispatcher precedence
2419 - Use Class::Inspector->loaded($class) instead of $class->can('can')
2420 - Added ActionClass attribute
2421 - Removed Test::WWW::Mechanize::Catalyst from Makefile.PL (circular dep)
2422 - Updated docs for Catalyst::Component
2423 - Separated execute and dispatch on Catalyst::Action
2424 - cleaned up logging and debug output
2425 - significant documentation revisions
2426 - Added warning for setup being called twice
2427 - Fix pod to use DBIC::Schema instead of DBIC model
2428 - Fix ->config failing to copy _config for subclassing
2429 - Updated log format
2430 - Updated debug dump
2432 5.6902 2006-05-04 13:00:00
2433 - Remove tarballs and OSX metadata files.
2435 5.6901 2006-05-03 11.17:00
2436 - Module::Install didn't overwrite META.yml.
2438 5.6900 2006-05-03 11.17:00
2439 - Stupid pause indexer can't count.
2440 - Better fix for Catalyst::Test
2443 5.682 2006-04-27 13:51:00
2444 - Damn OSX attributes again :(
2446 5.681 2006-04-27 08:47:00
2448 - Add basename to core . (Deprecates Catalyst::Plugin::Basename)
2450 5.68 2006-04-26 12:23:00
2451 - ConfigLoader: Updated to version 0.06
2452 - fixed undef warnings in uri_for() and uri_with()
2453 - Fixed Catalyst::Test to report errors on failed Class load
2455 5.678 2006-04-24 12:30:00
2456 - Re-release of 5.67 without OSX metadata files.
2458 5.67 2006-04-23 08:50:00
2459 - Added $c->req->uri_with() helper
2460 - ConfigLoader: Updated to version 0.05
2461 - Fix up Engine to avoid a new 5.8.8 warning
2462 - Added app name with :: support for PAR
2463 - Added $c->models/views/controllers
2464 - Static::Simple: Unescape the URI path before looking for the file.
2465 This fixes issues with files that have spaces.
2466 - Looping and recursion tests plus a fix
2467 - Added lots of API documentation. Refactored main pod.
2468 - Changed default behaviors for $c->model/$c->controller/$c->view
2469 to more sane settings.
2470 - added the clear_errors method - an alias for error(0)
2471 - Added tmpdir option for uploads (woremacx)
2472 - Applied patch from GEOFFR to allow normal filehandles.
2473 - Refactored Dispatcher internals for better readability and speedup
2474 (stress tests run 12% faster)
2475 - Allow $c->error to run as a class method
2477 5.66 2006-03-10 17:48:00
2478 - Added Test::WWW::Mechanize::Catalyst support
2479 - Cleaned generated tests
2480 - Added Root controller concept
2481 - Updated ConfigLoader plugin to version 0.04
2483 5.65 2006-02-21 10:34:00
2484 - Added plugin introspection.
2485 - Support optional hashref as last param for parameters in uri_for.
2486 - Updated tutorial to be more complete.
2487 - Applied args patch from antirice (Fixes Ticket #67)
2489 5.64 2006-02-07 20:29:00
2490 - Fixed bug in FastCGI proc manager mode where pm_post_dispatch
2491 was not run. (Eric Wong)
2492 - Cleaned up generated tests
2493 - Updated YAML support to use ConfigLoader
2494 - Fixed path dispatch to canonicalise correctly
2495 (see http://dev.catalyst.perl.org/ticket/62)
2496 - Added Catalyst::Manual::About
2498 5.63 2006-01-22 00:00:00
2499 - Updated prereq versions
2501 5.62 2006-01-17 16:30:00
2502 - Large update to the tutorial (castaway)
2503 - Added YAML config support
2504 - Added COMPONENT() and ACCEPT_CONTEXT() support
2505 - Action list in debug mode is now displayed as a tree in the
2506 correct execution order.
2507 - Fixed engine detection to allow custom mod_perl engines.
2508 - Static::Simple: Fixed bug in ignore_dirs under win32.
2509 - Display version numbers of loaded plugins. (Curtis Poe)
2510 - Added class and method for caught exception messages.
2511 - Updated PAR support to use "make catalyst_par",
2512 packages are no longer written by Makefile.PL.
2513 - Automatically determine Content-Length when serving a
2515 - Exceptions now return status 500.
2516 - Updated for Module::Install 0.44.
2517 - Fixed additional file installation for multi level app names.
2518 - Added REDIRECT_URL support for applications running behind
2519 a RewriteRule in Apache. (Carl Franks)
2520 - Fixed FastCGI engine under win32. (Carl Franks)
2521 - FastCGI doc updates (Bill Moseley)
2522 - Bugfix for $c->model and friends (defined).
2524 5.61 2005-12-02 00:00:00
2525 - Fixed ExtUtils::AutoInstall Bootstrap Code in Makefile.PL
2527 5.60 2005-12-01 22:15:00
2528 - Fixed Path and index actions in the appclass,
2529 including those that attach to /
2530 - Index is now weighted higher than Path
2531 - Fixed restarter and -d debug switch in server.pl.
2532 - Added a warning if you attempt to retrieve a parameter
2533 using $c->req->params('foo').
2534 - Fixed the Module::Install::Catalyst @ISA bug
2536 5.59 2005-11-30 13:25:00
2537 - Fixed shebang line for generated scripts
2538 - Fixed forward to classes ($c->forward(qw/MyApp foo/))
2539 - Wrap use block in begin to quelch C:C3 warnings
2540 - Removed scrollbar from debug output
2541 - Fixed catalyst_par_core() and catalyst_par_multiarch()
2543 5.58 2005-11-24 10:51:00
2544 - Added ExtUtils::AutoInstall support
2545 - Allow overriding path in Catalyst::Helper.
2546 - Added -makefile to catalyst.pl to generate a new Makefile.PL.
2547 - Restored Catalyst::Build with a deprecation notice.
2548 - Improved PAR support
2549 - Replaced -short with auto-detection
2550 - Fixed prereqs, added File::Copy::Recursive
2551 - Static::Simple changes:
2552 - Made prepare_action play nice with other plugins by not short-
2554 - Added tmpl to the ignored extensions.
2555 - Fixed security problem if req->path contained '..'.
2557 5.57 2005-11-20 22:45:00
2558 - Updated uri_for to accept undef actions
2559 - Switched to Module::Install
2560 - Renamed tests for easier editing
2561 - Reformatted documentation
2562 - Renamed -nonew to -force
2564 - Added keep-alive support and bug fixes to HTTP engine.
2566 - Added daemonize option to FastCGI engine. (Sam Vilain)
2568 5.56 2005-11-16 10:33:00
2569 - Fixed FastCGI engine to not clobber the global %ENV on each
2570 request. (Sam Vilain)
2571 - Updated benchmarking to work with detach
2572 - Fixed dispatcher, so $c->req->action(undef) works again
2573 - Updated Catalyst::Test to use HTTP::Request::AsCGI
2574 - Added -pidfile to external FastCGI server.
2576 5.55 2005-11-15 12:55:00
2577 - Fixed multiple cookie handling
2579 5.54 2005-11-14 22:55:00
2580 - Fixed a Module::Pluggable::Fast related bug
2582 5.53 2005-11-14 15:55:00
2583 - Removed t/04prereq.t that was testing for non-required
2586 5.52 2005-11-14 10:57:00
2587 - Strip '..'s in static urls to fix security issue.
2589 5.51 2005-11-14 00:45:00
2590 - Changed uri_for to use namespace instead of match.
2592 5.50 2005-11-13 20:45:00
2596 5.49_05 2005-11-12 20:45:00
2597 - Large update to the documentation. (David Kamholz)
2598 - Fixed args handling in forward()
2599 - Fixed forwarding to classes
2600 - Fixed catalyst.pl-generated Build.PL Makefile section.
2601 - Fixed relative forwarding
2602 - Fixed forward arrows in debug output
2604 5.49_04 2005-11-09 23:00:00
2605 - Made context, dispatcher, engine, request and response classes
2608 - Fixed dispatcher to ignore unknown attributes.
2609 - Improved format of startup debug log.
2610 - Updated built in server to restart on win32. (Will Hawes)
2611 - Fixed streaming write from a filehandle to stop writing
2612 if the browser is closed.
2613 - Added $c->controller, $c->model and $c->view shortcuts.
2614 - Switched to Text::SimpleTable.
2616 5.49_03 2005-11-03 12:00:00
2617 - Fixed $c->req->{path} for backwards-compatibility.
2618 - Allow debug to be disabled via ENV as well as enabled.
2619 - Added -scripts option to catalyst.pl for script updating
2620 - Changed helpers to default to long types, Controller instead of C
2621 - Added Catalyst::Controller, Catalyst::Model and Catalyst::View
2623 - Added JavaScript to debug screen to show and hide specific dumps
2624 - Added _DISPATCH, _BEGIN, _AUTO, _ACTION and _END actions
2625 - Added multi process external FastCGI support
2626 (see myapp_fastcgi.pl -help) (Sam Vilain)
2627 - Restarter process in HTTP engine now properly exits when the
2628 parent app is shut down.
2629 - Improved performance of restarter loop while watching for
2631 - Restarter will now detect new files added to an app on systems
2632 that change directory mtimes when new files are created.
2633 - Restarter now properly handles modules that are deleted from an
2635 - Fixed memory leak in TestApp.
2637 5.49_02 2005-10-26 12:39:00
2638 - Whole new dispatcher!
2639 - Added index action
2640 - Added path_to method
2641 - Added support for passing an IO::Handle object to $c->res->body.
2643 - Added a new welcome screen.
2644 - Included Catalyst buttons and icons in helper.
2645 - Added Static::Simple plugin to core.
2646 - Added self restarting test server
2647 - Added filename to debug output for uploaded files.
2648 - Fixed forwarding with embedded arguments.
2649 - Fixed handling of escaped query strings.
2650 - Added upload parameters back into $c->req->params.
2651 - Added multiple paths support to dispatcher
2652 - Fixed bug in req->path where changing the path added a trailing
2654 - Removed req->handle and res->handle
2655 - Added prepare_body_chunk method as a hook for upload progress.
2656 - Fixed bug in uri_for method when base has no path.
2657 - Added automated tests for HTTP, CGI, and FastCGI servers.
2659 5.49_01 2005-10-10 10:15:00
2660 - Refactored all internals, should be 99% compatible to previous
2662 - *IMPORTANT* The Apache engines have been moved to a separate package
2663 for this release. Please install Catalyst::Engine::Apache if you
2664 need Apache support.
2666 - Added support for calling forward with arguments in the path, i.e.
2667 $c->forward('/foo/bar/arg1/arg2')
2668 - Made $c->req->uri a URI object, added req->path_info for CGI compat.
2669 Raw query string is available as $c->req->uri->query.
2670 - Made $c->req->base a URI object.
2671 - Parameters with multiple values (?a=1&a=2) now display properly
2672 in the debug output.
2673 - Semi-colon separators in query strings now work properly.
2674 - Expanded documentation of catalyst.pl (Andrew Ford)
2675 - Added support for running as a backend server behind a frontend
2676 proxy so req->base and req->address are set properly.
2677 - Added an 'abort' method to the Log api, so that you can
2678 kill loggging for a whole request.
2679 - Added $c->uri_for method to simplify url handling.
2680 - Added more tests and reorganized the t directory.
2681 - Reimplemented core engines, all are now CGI based for better test
2682 coverage and maintainability.
2683 - Added fork support to built in test server.
2684 - Fixed all memory leaks.
2685 - Thread-related bug fixes and tests. We now believe the Catalyst
2686 core to be thread-safe.
2687 - Added streaming IO support through $c->req->read() and
2689 - Added MyApp->config->{parse_on_demand} (streaming input)
2690 - Added $c->req->handle and $c->res->handle
2691 - Improved documentation
2692 - Fixed mkpath in Catalyst::Helper (Autrijus Tang)
2693 - Fixed bug in dispatcher where an invalid path could call a valid
2694 action. (Andy Grundman)
2695 - Fixed Helper so it works with CRLF line-endings. (Andy Grundman)
2697 5.33 2005-08-10 15:25:00
2698 - Now with updated manifest.
2700 5.32 2005-08-10 15:10:00
2701 - Dispatcher might fail if object returns false.
2703 5.31 2005-06-04 12:35:00 (never released to CPAN)
2705 - helpers now create .new files where files already exist and differ
2706 - fixed $Data::Dumper::Terse (Robin Berjon)
2707 - added arguments for detach
2708 - new credits section in POD
2709 - fixed detach to allow relative action names (Matt and Robert)
2710 - added the ability to have whitespaces in Path( '' ) and Regex( '' )
2712 5.30 2005-06-04 12:35:00
2714 - Fixed a bug where it was not possible to $c->forward to a
2716 that was not inheriting from Catalyst::Base.
2717 - Fix for inheritance bug.
2718 - Allow forward with arguments.
2720 - Allow overriding home/root in config.
2721 - make module build cons README automatically.
2722 - prettify home path by resolving '..' (Andy Grundman)
2723 - improved helper templates a bit, new naming scheme for tests.
2724 - added support for case sensitivity, MyApp->config->{case_sensitive}
2725 - added $c->detach for non-returning forwards
2726 - added unified error handling, Catalyst::Exception
2727 - added section on param handling in Intro.pod
2728 - added $c->request->cookie
2729 - added Catalyst::Setup
2730 - refactored Catalyst::import()
2731 - improved rendering of error messages in debug mode
2732 - fixed a bug in Catalyst::Helper::mk_dir
2733 - further doc changes, esp. to Intro.pod
2735 5.23 2005-06-03 02:30:00
2736 - added support for non Catalyst::Base components to live in namespace
2737 - improved concurrency connections in Catalyst::Engine::HTTP::Daemon
2739 5.22 2005-05-26 14:24:00
2740 - improved base locating in MP engines
2741 - improved error messages in C::E::HTTP::Daemon
2742 - hostnames are now resolved on demand unless provided by engine
2743 - fixed memory leak in $c->execute (Michael Reece, Matt S Trout)
2745 5.21 2005-05-24 14:56:00
2746 - fixed a bug in https detection
2747 - fixed auto chain finally
2748 - added MYAPP_HOME and CATALYST_HOME environment variables
2750 5.20 2005-05-18 19:52:00
2751 - improved uploads and parameters
2752 - added $c->req->protocol and $c->req->secure
2753 - added $c->req->user and $c->req->uri
2754 - improved error message when forwarding to unknown module
2755 - fixed win32 installer
2756 - added deep recursion detection
2757 - fixed auto actions
2758 - fixed inheritance in dispatcher
2759 - allow whitespaces between brackets and quoted string
2760 in Path and Regex attributes
2761 - new helper templates
2762 - installer now supports install_base and destdir
2763 - allow multiple Catalyst apps to run on the same mod_perl
2764 instance (not the same app!)
2766 - removed apreq dependency from all MP engines
2767 - added support for MP registry scripts
2768 - added support for LocationMatch and ScriptAliasMatch in MP engines
2769 - added SpeedyCGI engine
2771 5.10 2005-04-23 11:16:00
2772 - updated dependencies to require latest module::pluggable::fast
2773 - new installer for templates and stuff using Module::Build
2774 - scripts are now prefixed, for being installable
2775 IMPORTANT: You have to regenerate the script directory,
2776 remove Makefile.PL and add Build.PL
2777 - Added compat to install Module::Build if required.
2778 - Improved: Params handling with MP engines
2779 - Fixed: Params handling on POST with CGI engine (Andy Grundman)
2780 - Fixed: Helper.pm on Win32 (Matt S Trout)
2782 5.03 2005-04-19 20:35:00 (Revision 462)
2783 - fixed Test example (Torsten Seeman)
2784 - added Plugins chapter to manual
2785 - applied doc patch from Robert Boone <robert@rlb3.com>
2786 - improved Dispatcher error messages.
2787 - refactored so we don't need to include helper from
2788 Catalyst.pm - Fixes issues with FindBin
2789 - applied HTTP.pm patch from Andy Grundman <andy@hybridized.org>
2790 - added plugin() method for instant plugins
2791 - FCGI is no more considered experimental
2793 5.02 2005-04-18 10:00:00
2796 5.01 2005-04-17 23:00:00
2797 - some documentation bugs fixed
2798 - added Catalyst::Utils
2799 - fixed regexp bug (Matt S Trout)
2800 - fixed upload bug with MP19
2801 - added $c->req->body
2802 - aliased $c->res->output to $c->res->body
2803 - Read AUTHOR from passwd or $ENV{AUTHOR} when
2805 - extended attribute handling
2806 - added global config for components
2808 5.00 2005-04-15 18:00:00
2809 - new core to support inheritance trees
2810 - new syntax for action declaration
2811 - new helper system using TT2
2812 - problems with mod_perl2 fixed
2813 - added Test::Pod support
2814 - added new server backend with HTTP/1.1 support
2815 - added option to run tests against a remote server
2816 - renamed errors() to error()
2818 - countless minor improvements
2819 IMPORTANT: This release is very incompatible to previous ones
2820 and you have to regenerate the helper scripts again...
2822 4.34 2005-03-23 07:00:00 2005
2823 - added some messages to Makefile.PL
2824 - added Catalyst::Engine::Test
2825 - added Catalyst::Engine::CGI::NPH
2826 - simplified Catalyst::Log to be easier to implement/subclass
2828 - updated Catalyst::Test to use Catalyst::Engine::Test
2829 - updated helper scripts
2830 IMPORTANT: this will be the last time you'll have to regenerate
2831 the script directory. We promise!
2833 4.33 2005-03-23 01:00:00 2005
2834 - documented the log() accessor method in Catalyst (Andrew Ford)
2835 - added optional arguments to Catalyst::Log methods (Andrew Ford)
2836 - removed cgi-server.pl
2837 - added fcgi.pl and Catalyst::Engine::FCGI
2838 - fixed an undef durng make test (Dan Sully)
2839 - new path test (Christian Hansen)
2840 IMPORTANT: you have to regenerate the script directory again
2842 4.32 2005-03-22 02:10:00 2005
2843 - made a damn typo *AAAAAAAAAAAAAAHHHH!!!*
2845 4.31 2005-03-22 02:00:00
2846 - fixed inheritance (Christian Hansen)
2847 - previous release was borked!
2848 fixed that, but you have to regenerate the scripts again :(
2850 4.30 2005-03-21 23:00:00
2851 - more documentation (Andrew Ford)
2852 - added connection informations (Christian Hansen)
2853 - HTTP::Request support in Catalyst::Test (Christian Hansen)
2854 - moved cgi.pl to nph-cgi.pl
2855 - added Catalyst::Engine::Server (Christian Hansen)
2856 - removed Catalyst::Test::server
2857 - updated helper scripts
2858 IMPORTANT: note that you have to regenerate script/server.pl,
2859 script/cgi-server.pl and script/cgi.pl (now nph-cgi.pl)
2861 4.28 2005-03-19 22:00:00
2862 - fixed isa tree (Christian Hansen)
2863 - added script/cgi-server.pl, so no more server restarting after
2865 - reworked documentation (Andrew Ford <A.Ford@ford-mason.co.uk>)
2867 4.27 2005-03-19 01:00:00
2868 - debug message for parameters
2869 - Fix redirects (Christian Hansen <ch@ngmedia.com>)
2871 - new helper api for Catalyst::Helper::* support
2872 you have to update script/create.pl to use it
2874 4.26 2005-03-16 10:00:00
2875 - fixed the weird bug that caused regex actions to fail on every
2877 - more debug messages
2878 - 100% pod coverage.
2880 4.25 2005-03-12 18:00:00
2881 - correct perl pathes for helper generated scripts (Tatsuhiko Miyagawa)
2882 - improved cgi engine docs (Christoper Hicks)
2884 4.24 2005-03-12 01:00:00
2885 - updated cookbook example
2886 - fixed base for apache and https (Andrew Ruthven)
2888 4.23 2005-03-09 20:00:00
2889 - no more regex actions in forward
2890 - added support for test directories t/m, t/v and t/c
2892 4.22 2005-03-08 20:00:00
2893 - catch errors in application class
2894 - handle die properly.
2896 4.21 2005-03-05 17:00:00
2899 4.20 2005-03-04 22:00:00
2900 - moved bin to script
2902 4.13 2005-03-03 11:00:00
2903 - improved documentation
2904 - pod coverage test for helper generated apps
2907 4.12 2005-03-02 11:00:00 2005
2908 - server_base sucks, removed
2909 - added $c->log->dump()
2911 4.11 2005-03-02 11:00:00 2005
2912 - removed some warnings
2914 - private prefixed actions override private non prefixed actions
2916 - updated Catalyst::Manual::Intro
2918 4.10 2005-03-02 10:00:00 2005
2919 - improved documentation
2921 - fixed prefixed private actions bug
2922 - fixed more little bugs
2924 4.01 2005-03-01 10:00:00 2005
2925 - improved documentation
2926 - documentation fixes (Johan Lindstrom)
2928 4.00 2005-02-27 22:00:00
2929 - more verbose debug messages, especially for forward()
2930 - implemented prefixed prvate actions, icluding built in
2931 !?default, !?begin and !?end
2932 - new Catalyst::Manual::Intro
2933 - new helpers, bin/catalyst
2936 3.11 2005-02-23 21:00:00
2937 - added dependency to UNIVERSAL::require (Marcus Ramberg)
2938 - added a little workaround for a warning in Catalyst::Test
2940 - improved documentation for actions
2942 3.10 2005-02-19 20:00:00
2943 - removed roles management from Catalyst::Engine
2944 and added it to Catalyst::Plugin::Authentication::CDBI
2946 3.04 2005-02-17 21:00:00
2947 - error reporting for app class
2948 - no more engine debug messages
2949 - class->method forwards get resolved now
2951 3.03 2005-02-16 23:00:00
2952 - friendlier statistics
2954 3.02 2005-02-16 22:00:00
2955 - fixed unintialized actions (Marcus Ramberg)
2957 3.01 2005-02-16 20:30:00
2960 3.00 2005-02-16 20:00:00
2961 - real version number for CPAN.pm
2962 - fixed redirect in CGI engine
2963 - more statistics in debug logs
2964 - ? prefix for forward()
2966 2.99_15 2005-02-02 22:00:00
2967 - support for short namespaces, MyApp::M, MyApp::V and MyApp::C
2968 - Replaced "Catched" with "Caught" in Catalyst::Engine
2970 - replaced _ with ! for private actions
2971 - added ? for prefixed actions
2974 2.99_14 2005-01-31 22:00:00 2005
2975 - arguments for _default
2976 - $c->entrance removed for more flexibility
2977 - added $c->req->method
2979 2.99_13 2005-01-30 18:00:00 2005
2980 - POD fixes and improvements
2982 2.99_12 2005-01-28 22:00:00 2005
2983 - first development release