extend the docs on UTF8 to include recent updates
[catagits/Catalyst-Runtime.git] / Changes
CommitLineData
6ee497c7 1# This file documents the revision history for Perl extension Catalyst.
83b8cda1 2
8479713c 35.90084 - 2015-02-23
0d94e986 4 - Small change to the way body parameters are created in order to prevent
5 trying to create parameters twice.
c4d66db2 6 - Use new HTTP::Body and code updates to fix issue when POSTed params have
0d94e986 7 non UTF-8 charset encodings or otherwise complex upload parts that are not
8479713c 8 file uploads. In these cases when Catalyst can't determine what the value of
9 a form upload is, will return an instance of Catalyst::Request::PartData will
10 all the information need to figure it out. Documentation about this corner
b16a64af 11 case. For RT https://rt.cpan.org/Ticket/Display.html?id=101556
0d94e986 12 - Two new application configuration parameters 'skip_body_param_unicode_decoding'
13 and 'skip_complex_post_part_handling' to assist you with any backward
14 compatibility issues with all the new UTF8 work in the most recent stable
15 Catalyst. You may use these settings to TEMPORARILY disable certain new
16 features while you are seeking a long term fix.
c4d66db2 17
185.90083 - 2015-02-16
90f231f1 19 - Fixed typo in support for OPTIONS method matching (andre++)
f382b264 20 - Stop using $env->{'plack.request.query'} as a query parsing optimization
4d94a93a 21 since 1) it doesn't belong to us and 2) there's subtle differences in the
22 way plack parses parameters and catalyst does. This fixes a bug when you
23 are using middleware that uses Plack::Request to do its thing. This change
24 might have subtle impact on query parsing. Please test this change!
90f231f1 25
7131401a 265.90082 - 2015-01-10
67fd25bc 27 - Fixed a regression created in $response->from_psgi_response and test case
28 to prevent it happening again.
29
7131401a 305.90081 - 2015-01-10
c7f85142 31 - created class attribute 'finalized_default_middleware' which determines
32 if the default middleware has been added to the stack yet or not. This
33 removes a horrible hack that polluted the configuration hash. Added
34 test case to prevent regressions.
35
7131401a 365.90080 - 2015-01-09
f7fde75a 37 - Minor documentation corrections
38 - Make the '79 development series stable
39
d2000928 405.90079_008 - 2015-01-07
41 - If we get a response set from $res->from_psgi_response and that response
42 has a charset for the content type, we clear encoding for the rest of the
aca337aa 43 response (avoid double encoding). Added more documentation around this.
51b34249 44 - Documentation updates and typo fixes across various UTF8 docs (Mark Ellis++)
d2000928 45
465.90079_007 - 2015-01-07
da57fe99 47 - Merged from Stable (5.90079)
48 - reviewed and cleaned up UTF8 related docs
49 - replace missing utf8 pragma in Catalyst::Engine
a09b49d2 50 - Cleaned up spelling errors in various docs (abbraxxa++)
51 - New document Catalyst::UTF8 which attempts to summarize UTF8 and encoding
52 changes introduced in v5.90080.
da57fe99 53
b274486c 545.90079_006 - 2015-01-02
4373973a 55 - Removed unneeded dependency on RenderView in new test case that was causing fails
ac1cf8d4 56 on CPAN testers that did not just happen to have that dependency already installed
57 - Updated copyright notices to 2015
58 - Documentation patches around the setup methods and clarification on on security
59 note posted a few months ago.
60 - Added my name to the contributors list
61
6dcc5307 625.90079_005 - 2014-12-31
63 - Merged changes from 5.90078
77b5811a 64 - If configuration 'using_frontend_proxy' is set, we add the correct middleware
65 to the default middleware list. This way you get the correct and expected
66 behavior if you are starting your application via one of the generated scripts
67 or if you are calling MyApp->psgi_app. Previously if you started the application
68 with ->psgi_app (or to_app) we ignored this configuration option
69 - New configuration option 'using_frontend_proxy_path' which enables
70 Plack::Middleware::ReverseProxyPath on your application easily. Please note that
71 Plack::Middleware::ReverseProxyPath is not an automatic dependency of Catalyst at
72 this time, so if you want this feature you should add it to your project dependency
73 list. This is done to avoid continued growth of Catalyst dependencies.
74 - Tweaks encoding docs a bit to get closer to final.
6dcc5307 75
c017b11b 765.90079_004 - 2014-12-26
12982f86 77 - Starting adding some docs around the new encoding stuff
78 - Exposed the reqexp we use to match content types that need encoding via a
79 global variable.
80 - Added some test cases for JSON utf8 and tested file uploads with utf8.
6adc45cf 81 - Fixes to decoding on file upload filenames and related methods
82 - new methods on upload object that tries to do the right thing if we find
83 a character set on the upload and its UTF8.
84 - new additional helper methods on the file upload object.
85 - new helper methods has_encoding and clear_encoding on context.
4373973a 86 - Method on Catalyst::Response to determine if the response should be encoded.
6adc45cf 87 - Warn if changing headers only if headers are finalized AND the response callback
4373973a 88 has already been called (and headers already sent).
6adc45cf 89 - Centralized rules about detecting if we need to automatically encode or not and
90 added tests around cases when you choose to skip auto encoding.
12982f86 91
501605db 925.90079_003 - 2014-12-03
93 - Make sure all tests run even if debug mode is enabled.
94 - Fixed issue with middleware stash test case that failed on older Perls
95
bd4b086b 965.90079_002 - 2014-12-02
97 - Fixed typo in Makefile.PL which borked the previous distribution. No other
98 changes.
99
1005.90079_001 - 2014-12-02
460bb45b 101 - MyApp->to_app is now an alias for MyApp->psgi_app in order to better support
102 existing Plack conventions.
4373973a 103 - Modify Catalyst::Response->from_psgi_response to allow the first argument to
b194746d 104 be an object that does ->as_psgi.
4373973a 105 - Modified Catalyst::Middleware::Stash to be a shallow copy in $env. Added some
4b0b7489 106 docs. Added a test case to make sure stash keys added in a child application
107 don't bubble back up to the main application.
d047b87b 108 - We no longer use Encode::is_utf8 since it doesn't work the way we think it
109 does... This required some UTF-8 changes. If your application is UTF-8 aware
110 I highly suggest you test this release.
4373973a 111 - We always do utf8 decoding on incoming URLs (before we only did so if the server
e5a5e80b 112 encoding was utf8. I believe this is correct as per the w3c spec, but please
113 correct if incorrect :)
114 - Debug output now shows utf8 characters if those are incoming via Args or as
115 path or pathparts in your actions. query and body parameter keys are now also
4373973a 116 subject to utf8 decoding (or as specified via the encoding configuration value).
e5a5e80b 117 - lots of UTF8 changes. Again we think this is now more correct but please test.
00038a21 118 - Allow $c->res->redirect($url) to accept $url as an object that does ->as_string
119 which I think will ease a common case (and common bug) and added documentation.
e8361cf8 120 - !!! UTF-8 is now the default encoding (there used to be none...). You can disable
dd096a3a 121 this if you need to with MyApp->config(encoding => undef) if it causes you trouble.
122 - Calling $c->res->write($data) now encodes $data based on the configured encoding
123 (UTF-8 is default).
e8361cf8 124 - $c->res->writer_fh now returns Catalyst::Response::Writer which is a decorator
4373973a 125 over the PSGI writer and provides an additional method 'write_encoded' that just
e8361cf8 126 does the right thing for encoding your responses. This is probably the method
127 you want to use.
342d2169 128 - New dispatch matching attribute: Scheme. This lets you match a route based on
129 the incoming URI scheme (http, https, ws, wss).
130 - If $c->uri_for targets an action or action chain that defines Scheme, use that
131 scheme for the generated URI object instead of just using whatever the incoming
132 request uses.
460bb45b 133
a24232f9 1345.90079 - 2015-01-02
135 - Removed dependency from test case that we don't install for testing (
136 rt #101243)
137 - updated year in copyright notices
138
b94f8e72 1395.90078 - 2014-12-30
140 - POD corrections (sergey++)
4373973a 141 - New configuration option to disable the HTTP Exception passthrough feature
b94f8e72 142 introduced in 5.90060. You can use this if that feature is causing you
143 trouble. (davewood++);
144 - Some additional helper methods for dealing with errors.
145 - More clear exception when $request->body_data tries to parse malformed POSTed
146 data. Added documentation and tests around this.
147
ee2c12fd 1485.90077 - 2014-11-18
149 - We store the PSGI $env in Catalyst::Engine for backcompat reasons. Changed
150 this so that the storage is a weak reference, so that it goes out of scope
151 with the request. This solves an issue where items in the stash (now in the
152 PSGI env) would not get closed at the end of the request. This caused some
153 regression, primarily in custom testing classes.
154
9c86666a 1555.90076 - 2014-11-13
156 - If throwing an exception object that does the code method, make sure that
157 method returns an expected HTTP status code before passing it on to the
158 HTTP Exception middleware.
159
0810283f 1605.90075 - 2014-10-06
161 - Documentation patch for $c->req->param to point out the recently discovered
162 potential security issues: http://blog.gerv.net/2014/10/new-class-of-vulnerability-in-perl-web-applications/
163 - You don't need to install this update, but you should read about the exploit
164 and review if your code is vulnerable. If you use the $c->req->param interface
165 you really need to review this exploit.
166
c027f9c4 1675.90074 - 2014-10-01
168 - Specify Carp minimum version to avoid pointless test fails (valy++)
169
2be363b7 1705.90073 - 2014-09-23
171 - Fixed a regression caused by the last release where we broke what happened
172 when you tried to set request parameters via $c->req->param('foo', 'bar').
173 You shouldn't do this, but I guess I shouldn't have busted it either :)
ad9e8de9 174 - Allow the term_width to be regenerated (see Catalyst::Utils::term_width,
175 Frew Schmidt)
7d670fb4 176 - More aggressive skipping of value decoding if the value is undefined.
2be363b7 177
4f96d61c 1785.90072 - 2014-09-15
179 - In the case where you call $c->req->param(undef), warn with a more useful
180 warning (now gives the line of your code that called param with the undef,
181 so you can go to hunt it out.
182
d5765d73 1835.90071 - 2014-08-10
184 - Travis config now performs basic reverse dependency testing.
185 - Restored deprecated 'env' code in Engine.pm b/c it is still being used out
186 in the wild (Catalyst-Plugin-Authentication-0.10023) - (removed in 5.90070)
187 - Reverted changes to debug log/handling (5.90069_003) to fix
188 rev dep Catalyst-Plugin-Static-Simple-0.32 test suite.
4373973a 189 - Added Italian translation of default error.
d5765d73 190
b96bd9f1 1915.90070 - 2014-08-07
192 - Retagged previous release as stable; no changes
193
1893c194 1945.90069_004
195 - Fixed typo in middleware stash that was causing older Perls to fail
196 certain tests. No other changes.
197
310c2a39 1985.90069_003
199 - The default log level is now 'info', not 'debug'.
9c38cb50 200 - Finished merging all the encoding plugin code to core code. The encoding
201 plugin is now just an empty package. Also tried to improve encoding docs
202 a bit.
203 - Some additional changes to the stash middleware that should not break
204 anything new.
eae29f6e 205 - Documentation around using Sendfile type http headers with a filehandle
206 type response.
207 - Merged from master branch to pick up some additional fixes and documentation
208 improvements.
9c38cb50 209
91789f94 2105.90069_002
3e6ee020 211 - Catalyst stash functionality has been moved to Middleware. It should
212 work entirely the same when used as a context method, please report
213 questions or problems!
214 - Removed code related to supporting the long deprecated stand alone
215 PSGI Engine. If you are still using this you code is now broken.
216 Luckily you can just stop using it and likely everything will work
217 under the new PSGI support built into Catalyst for several years.
f9bdcfac 218 - 'abort_chain_on_error_fix' now defaults to true. If this behavior
219 causes you issues, you can explicitly turn it off by setting it to a
220 non true defined value (0 is a good option here).
91789f94 221 - When throwing an http style exception, make sure we properly flush the
222 existing log and report other errors in the error stack.
223
1b526dcc 2245.90069_001
41bf18c5 225 - Set encoding on STDERR when encoding is set in config
226 - documentation and test fixes
227
8f3c0676 2285.90065 - 2014-06-04
1b526dcc 229 - The Catalyst::Log object now has 'autoflush' (which defaults to true) and
230 causes log messages to be written out in real-time. This is helpful for the
231 test/dev server to be able to see messages during startup as well as before
232 the end of the request when the log is flushed.
07bfde47 233 - Fix spelling, grammar and structural errors in POD
be7d4054 234 - Remove redundant ->setup call in t/head_middleware.t RT#95361
c13f6e7e 235 - Fix test failures when running under CATALYST_DEBUG. RT#95358
07bfde47 236
13adef05 2375.90064 - 2014-05-05
238 - Fix for mindless broken tests on Win32 (Haarg++).
239 - Happy Cinco de Mayo!
240
2415.90063 - 2014-05-01
36ee8a91 242 - 'end' and other special actions won't catch HTTP style exceptions anymore.
243 - Fix bug where Catalyst did not properly detect the terminal width when in
244 debug mode and thus making the debug output narrow and hard to read.
245 - Documentation corrections for Util methods around localized PSGI $env.
59c1748a 246 - Improvements to auto detection of terminal width.
247 - Updating deprecation list to include Class::Load and ensure_class_loaded
b11b6345 248 - Added a few docs around middleware and corrected the order that middleware
249 is loaded when registering it via ->setup_middleware instead of via
250 configuration.
251 - Added a test case to make sure default middleware order is correct.
36ee8a91 252s
2535.90062 - 2014-04-14
6e94698d 254 - HTTP::Exception objects were not properly bubbled up to middleware since
255 there was some code in Catalyst that was triggering stringification.
256
c8ad8cbc 2575.90061 - 2014-03-10
258 - Reverted a change related to how plugins get initialized that was
259 introduced by a change in December.
260
de9bcba0 2615.90060 - 2014-02-07
262 - Same as 5.90059_006, just marking it as stable, no functional changes.
263
78acc1f7 264
26b42801 2655.90059_006 - 2014-02-06
a9dc0c7e 266 - MyApp->setup now returns $app to allow class method chaining.
4373973a 267 - New Util helper functional localize $env to make it easier to mount PSGI
9c7b6768 268 applications under controllers and actions. See Catalyst::Utils/PSGI Helpers.
26b42801 269 - NOTICE: Final Development release for Runner, unless significant issues are
270 raised. Please test.
a9dc0c7e 271
b8534a44 2725.90059_005 - 2014-01-28
9c7b6768 273 - Specify newest versions of some middleware in attempt to solve test errors
274 reported while installing.
0bab6d6c 2755.90059_004 - 2014-01-27
8e098614 276 - Make sure IO handle objects do 'getline' before sending them to the
277 response callback, to properly support the PSGI specification.
278 - Added some backcompat code when setting a response body to an object
279 that does 'read' but not 'getline'. Added deprecation notice for this
280 case. Added docs to Catalyst::Delta.
3157d22a 281 - Catalyst::Delta contains a list of behaviors which will be considered
4373973a 282 deprecated immediately. Most items have workarounds and tweaks you can
3157d22a 283 make to avoid issues. These deprecations are targeted for removal/enforcement
284 in the Catalyst 6 release. Please review and give your feedback.
0bab6d6c 285 - More middleware to replace inline code (upasana++)
286 - Documentation around Exceptions and how we handle them.
287 - update copyright notices.
8e098614 288
7af15a33 2895.90059_003 - 2013-12-24
d2bb6f7f 290 - More documentation about alternative ways to setup middleware.
7af15a33 291 - removed unneeded use of Devel::Dwarn in test case that was causing
292 fails to install (sorry).
4715c214 293 - When finalizing caught errors, if the error conforms to the interface as
294 described by Plack::Middleware::HTTPExceptions, rethrow it and let the
295 middleware deal with it.
d2bb6f7f 296
97e0c7c5 2975.90059_002 - 2013-12-21
46fff667 298 - We now pass a scalar or filehandle directly to you Plack handler, rather
299 than always use the streaming interface (we are still always using a
300 delayed response callback). This means that you can make use of Plack
301 middleware like Plack::Middleware::XSendfile and we expect better use of
302 server features (when they exist) like correct use of chunked encoding or
303 properly non blocking streaming when running under a supporting server like
304 Twiggy. See Catalyst::Delta for more. This change might cause issues if
305 you are making heaving use of streaming (although in general we expect things
aa20e9f5 306 to work much better.
307 - In the case when we remove a content body from the response because you set
308 an information status or a no content type status, warn that we are doing so
309 when in debug mode. You might see additional debugging information to help
310 you find and remove unneeded response bodies.
311 - Updated the code where Catalyst tries to guess a content length when you
312 fail to provide one. This should cause less issues when trying to guess the
313 length of a funky filehandle. This now uses Plack::Middleware::ContentLength
314 - Removed custom code to remove body content when the request is HEAD and
46aec47a 315 swapped it for Plack::Middleware::Head
316 - Merged fix for regressions from stable..
46fff667 317
78acc1f7 3185.90059_001 - 2013-12-19
319 - Removed deprecated Regexp dispatch type from dependency list. If you are
320 using Regex[p] type dispatching you need to add the standalone distribution
321 'Catalyst::DispatchType::Regex' to you build system NOW or you application
322 will be broken.
323
5bb2a5b3 3245.90053 - 2013-12-21
325 - Reverted a change in the previous release that moved the setup_log phase
326 to after setup_config. This change was made to allow people to use
327 configuration that is late loaded (such as via the ConfigLoader Plugin)
328 to setup the plugin. However it also broke the ability to use the log
329 during plugin setup (ie, it breaks lots of plugins). Reverting the
330 change. See Catalyst::Delta for workarounds.
78acc1f7 331
7d01797b 3325.90052 - 2013-12-18
6f5cab0a 333
02352a28 334 - Fixed first block of startup debug messages missing when using a custom
335 logger that gets set at runtime, for example by overriding finalize_config
6f5cab0a 336 - Give a more descriptive error message when trying to load middleware that
337 does not exist.
338 - Change the way we initialize plugins to fix a bug where when using the
4373973a 339 popular ConfigLoader plugin, configs merged are not available for setting
6f5cab0a 340 up middleware and data handlers (and probably other things as well).
341
342 NOTE: This change might cause issues if you had code that was relying on the
343 broken behavior. For example external configuration that was being loaded to
344 late to have effect might now take effect. Please test you code carefully and
345 be aware of this possible issue </NOTE>.
346
3d3ea779 347 - You may now also call 'setup_middleware' as a package method if you think
348 that loading middleware via configuration is a weird or broken idea.
4373973a 349 - Various POD formatting fixed.
eda85460 350 - Improved some documentation about what type of filehandles that ->body can
351 accept and issues that might arise.
02352a28 352
707988f8 3535.90051 - 2013-11-06
4373973a 354 - Be more skeptical of the existence of $request->env to fix a regression
707988f8 355 introduced in Catalyst::Action::REST by the previous release
356
31bd6aec 3575.90050 - 2013-11-05
55119d7b 358 - Previously public predicates on the following attributes are now considered
359 private and their method names have been changed to follow Perl convention
360 for internal methods:
a3c9ab76 361
55119d7b 362 -- Catalyst::Request->has_io_fh ==> _has_io_fh
363 -- Catalyst::Request->has_env ==> _has_env
364 -- Catalyst::Response->has_write_fh ==> _has_write_fh
365
366 These are breaking changes but these methods were never documented and serve
367 no use for external code. If you are using thing, you need to make the noted
368 change (but please consider finding another way to do what you are trying to
369 do). t0m++ for code review of Hamburg branch.
c2fef52f 370
a61b6983 3715.90049_006 - 2013-11-04
372 - Fixed case where test could fail when Starman was partly installed (n0body++)
55119d7b 373 - Fixed missing date information in previous release
a61b6983 374
3755.90049_005 - 2013-10-31
4777b960 376 - NEW FEATURE: New Controller action attribute 'Consumes', which allows you
377 to specify the content type of the incoming request. This makes it easier
378 to create actions that only handle certain content type POST or PUT, such
379 as actions that only handle JSON or actions that only understand classic
380 HTML forms.
ba1734df 381 - NEW FEATURE: Request->body_data is now also populated from classic HTML
382 Forms using CGI::Struct to support nested data. For non nested data you
383 should use the classic ->body_parameters method.
f152ae23 384 - Removed PSGI $env keys that are added on the 'plack.request.*' namespace
385 since after discussion it was clear those keys are not part of the public
386 API. Keys removed: 'plack.request.query', 'plack.request.body',
387 'plack.request.merged' and 'plack.request.http.body'. Altered some test
388 cases to reflect this change.
4777b960 389
fd5fb3a8 3905.90049_004 - 2013-10-18
3efd4eb3 391 - JSON Data handler looks for both JSON::MaybeXS and JSON, and uses
4373973a 392 whichever is first (preferring to find JSON::MaybeXS). This should
3efd4eb3 393 improve compatibility as you likely already have one installed.
b635def4 394 - Fixed a warning in the server script (bokutin++)
395 - We now populate various Plack $env keys in order to play nice with
396 downstream middleware or plack apps (and to reduce processing if
397 those keys already exist). Keys added:
398 - plack.request.query
399 - plack.request.body
400 - plack.request.merged
401 - plack.request.http.body
9151a3bb 402 (NOTE: REMOVED IN 5.90049_005)
b635def4 403 - If incoming input (from a POST or PUT) is not buffered, create the
404 buffer and set the correct psgi env keys to note this for downstream
405 psgi apps / middleware. This should solve some issues where Catalyst
406 sucks up the body input but its not buffered so downstream apps can't
407 read it (for example FCGI does not buffer). We now also try to make
408 sure the body content input is reset to the start of the filehandle
409 so that we are polite to downstream middleware /apps.
d3ea94fc 410 - NEW FEATURE: Catalyst::Response can now pull response from a PSGI
411 specification response. This makes it easier to host external Plack
412 applications under Catalyst. See Catalyst::Response->from_psgi_response
88ba7793 413 - NEW FEATURE: New configuration option 'use_hash_multivalue_in_request'
414 will populate $request methods 'parameters', 'body_parameters' and
415 'query_parameters' with an instance of Hash::MultiValue instead of a
416 HashRef. This is used by Plack and is intended to reduce the need to
417 write defensive logic since you are never sure if an incoming parameter
418 is a scalar or arrayref.
16f0e988 419 - NEW FEATURE: We now experimentally support Net::Async::HTTP::Server
420 and IO-Async based event loops. Examples will follow.
3efd4eb3 421
b3070177 4225.90049_003 - 2013-09-20
423 - Documented the new body_data method added in the previous release
4373973a 424 - Merged from master many important bugfixes and forward compatibility
b3070177 425 updates, including:
426 - Use modern preferred method for Moose metaclass access and many other
427 small changes to how we use Moose for better forward compat (ether++)
428 - Killed some evil use of $@ (ether++)
429 - spelling fixes and documentation updates (ether++), (gerda++)
430 - use Test::Fatal over Test::Exception (ether++)
431 - Misc. test case fixes to modernize code (ether++)
432 - Added a first pass cpanfile, to try and make it easier to bootstrap
433 a development setup (ether++)
434
e2aa4a21 4355.90049_002 - 2013-08-20
436 - Fixed loading middleware from project directory
437 - Fixed some pointless warnings when middleware class lacked VERSION
438 - NEW FEATURE: Declare global 'data_handlers' for parsing HTTP POST/PUT
439 alternative content, and created default JSON handler. Yes, now Catalyst
e78db0df 440 handles JSON request content out of the box! More docs eventually but
441 for now see the DATA HANDLERS section in Catalyst.pm (or review the test
442 case t/data_handler.t
e2aa4a21 443
522134af 4445.90049_001 - 2013-07-26
445 - Declare PSGI compliant Middleware as part of your Catalyst Application via
446 a new configuration key, "psgi_middleware".
447 - Increased lowest allowed module version for Module::Pluggable to be 4.7 (up
448 from 3.4) to solve the fact this is no longer bundled with Perl in v5.18.
15c53843 449
01733d0f 4505.90042 - 2013-06-14
451 - Removed more places where an optional dependency shows up in the test
452 suite. Hopefully really fixed the unicode regression introduced in 5.90040
2b48bd9c 453 - reverted the change we introduced in 5.90040 where a unicode conversion
454 error warned instead of died. Now it dies again, like in the stand alone
455 plugin
456 - More work to make sure nothing happens with encoding unless you explicitly
457 ask for encoding
458 - Code to hopefully fix an issue where file uploads using the unicode plugin
459 caused trouble.
01733d0f 460
c287088e 4615.90041 - 2013-06-14
462 - Bug fix release to fix regressions introduced in previous. I would consider
463 this a likely upgrade and if you are having trouble with the previous I hope
464 this fixes all of them.
465 - Fix regression with the cored Unicode plugin that broke systems where you are
466 setting encoding type in an external configuration file
467 - Fixed circular dependency introduced when we cored the unicode plugin tests
468 - Fixed a longstanding problem with stats when locale uses , instead of . for
469 number decimals
470 - Fixed some docs that didn't properly date the previous release.
471
c8d9e6f4 4725.90040 - 2013-06-12
2e29aec2 473 ! Stricter checking of attributes in Catalyst::DispatchType::Chained:
474 1) Only allow one of either :CaptureArgs or :Args
475 2) :CaptureArgs() argument must be numeric
c5e1a737 476 3) :CaptureArgs() and :Args() arguments cannot be negative
4373973a 477 - Add Devel::InnerPackage to dependencies, fixing tests on Perl 5.17.11
701e20e5 478 as it's been removed from core. RT#84787
4e6e0ab2 479 - New support for closing over the PSGI $writer object, useful for working
480 with event loops.
eb1f4b49 481 - lets you access a psgix.io socket, if your server supports it, for manual
482 handling of the client - server communication, such as for websockets.
a526c982 483 - Fix waiting for the server to start in t/author/http-server.t
d18964f7 484 - new config flag 'abort_chain_on_error_fix' that exits immediately when a
485 action in an action chain throws and error (fixes issues where currently
486 the remaining actions are processed and the error is handled at chain
487 termination).
8275d3b9 488 - Cored the Encoding plugin. Now get unicode out of the box by just setting
489 $c->config->{encoding} = 'UTF-8'. BACKCOMPAT WARNING: If you are using
490 the Encoding plugin on CPAN, we skip it to avoid double encoding issues, so
491 you should remove it from your plugin list, HOWEVER the 'encoding' config
492 setting is now undef, rather than 'UTF-8' (this was done to avoid breaking
493 people's existing applications) so you should add the encoding setting to
ade3da0a 494 you global config. There's some other changes between the stand alone
495 plugin and the cored version, if you use it be sure to see Catalyst::Upgrading
496 for more.
d18964f7 497 - minor documentation typo fixes and updates
701e20e5 498
f653d2c8 4995.90030 - 2013-04-12
500 ! POSSIBLE BREAKING CHANGE: Removed Regexp dispatch type from core, and put
501 it in an external package. If you need Regexp dispatch types you should
502 add "Catalyst-DispatchType-Regex" as a distribution to your build system.
e6968720 503 - make $app->uri_for and related methods return something sane, when called
504 as an application method, instead of a context method. Now if you call
505 MyApp::Web->uri_for(...) you will get a generic URI object that you need to
506 resolve manually.
18df061a 507 - documentation updates around forwarding to chained actions.
508 - Fixed bug when a PSGI engine need to use psgix logger.
509 - Added cpanfile as a way to notice we are a dev checkout.
5490e075 510 - Added 'x-tunneled-method' HTTP Header method override to match features in
18df061a 511 Catalyst::Action::REST and in other similar systems on CPAN.
4373973a 512 - smarter validation around action attributes.
5490e075 513
5145.90020 - 2013-02-22
760d121e 515 ! Catalyst::Action now defines 'match_captures' so it is no long considered
516 an optional method. This might break you code if you have made custom
517 action roles/classes where you define 'match_captures'. You must change
518 your code to use a method modifier (such as 'around').
519 - New match method "Method($HTTP_METHOD)" where $HTTP_METHOD in (GET, POST,
520 PUT, HEAD, DELETE, OPTION) and shortcuts in controllers called "GET, POST
60034b8c 521 PUT, HEAD, DELETE, OPTION"). Tests and documentation. Please note if you
522 are currently using Catalyst::ActionRole::MatchRequestMethods there may
523 be compatibility issues. You should remove that actionrole since the built
524 in behavior is compatible on its own.
578fcd08 525 - Initial debug screen now shows HTTP Method Match info
760d121e 526 - security fixes in the way we handle redirects
58f86b1a 527 - Make Catalyst::Engine and Catalyst::Base immutable
760d121e 528 - Some test and documentation improvements
58f86b1a 529
dbacbce4 5305.90019 - 2012-12-04 21:31:00
4373973a 531 - Fix for Perl 5.17.6 (commit g7dc8663). RT#81601
532 - Fix for Perl 5.8. RT#61122
533 - Remove use of MooseX::Types as MooseX::Types is broken on Perl 5.8
8c848c33 534 RT#77100 & RT#81121
2fe6ed83 535
02f4beca 5365.90018 - 2012-10-23 20:55:00
537 - Changed code in test suite so it no longer trips up on recent changes to
538 HTTP::Message.
539
d6ae5104 5405.90017 - 2012-10-19 22:33:00
c20ce703 541 - Change Catalyst _parse_attrs so that when sub attr handlers:
9f6f4a87 542
543 1) Can return multiple pairs of new attributes.
544 2) Get their returned attributes passed through the correct attribute handler.
545
546 e.g sub _parse_Whatever_attr { return Chained => 'foo', PathPart => 'bar' }
547
548 Will now work because both new attributes are respected, and the Chained
549 attribute is passed to _parse_Chained_attr and fixed up correctly by that.
550
551 - In Catalyst::Test, don't mangle headers of non-HTML responses. RT#79043
552
0df490ef 553 - Refactor request and response class construction to add methods
554 that roles can hook to feed extra parameters into the constructor
555 of request or response classes.
556
f0580bff 5575.90016 - 2012-08-16 15:35:00
04c0ca50 558 - prepare_parameters is no longer an attribute builder. It is now a method
559 that calls the correct underlying functionality (Bill Moseley++)
4373973a 560 - Updated Makefile.PL to handle MacOSX tar
0ee04045 561 - Fix uri_for to handle a stringifiable object
4995a5ce 562 - Fix model/view/controller methods to handle stringifiable objects
201e0a1f 563 - Fix RT#78377 - IIS7 ignores response body for 3xx requests, which
564 causes (a different) response to be broken when using keepalive.
565 Fixed by applying Middleware which removes the response body and
566 content length that Catalyst supplies with redirects.
567
cfdd890d 5685.90015 - 2012-06-30 16:57:00
89ba65d5 569 - Fix $c->finalize_headers getting called twice. RT#78090
e087c8e3 570 - Fix test fails in Catalyst-Plugin-Session-State-Cookie. RT#76179
571 - Fix test fails in Catalyst-Plugin-StackTrace
572 - Fix test fails in Test-WWW-Mechanize-Catalyst
89ba65d5 573
f444811b 5745.90014 - 2012-06-26 10:00:00
575
258733f1 576 - Fix calling finalize_headers before writing body when using $c->write /
577 $c->res->write (fixes RT#76179).
578
aa3897db 5795.90013 - 2012-06-21 10:40:00
580
581 - Release previous TRIAL as stable.
582 - We failed to note in the previous changelog that the Makefile.PL has been
583 improved to make it easier for authors to bootstrap a developer install
584 of Catalyst.
585
5865.90013 - TRIAL 2012-06-07 20:21:00
587
eff60019 588 New features:
589 - Merge Catalyst::Controller::ActionRole into Catalyst::Controller.
590
a7d2a530 591 Bug fixes:
a53e36d1 592 - Fix warnings in some matching cases for Action methods with
593 Args(), when using Catalyst::DispatchType::Chained
594
40c06ae4 595 - Fix request body parameters to not be undef if no parameters
596 are supplied.
597
598 - Fix action_args config so that it can be specified in the
599 top level config.
a7d2a530 600
b334a4de 601 - Fix t/author/http-server.t on Win32
602
603 - Fix use of Test::Aggregate to make tests faster.
604
3239be86 6055.90012 - 2012-05-16 09:59:00
606
57746b80 607 Distribution META.yml changes:
608 - author key is now correct, rather than what Module::Install
609 mis-parses from the documentation.
610 - x_authority key added.
611
9a649d25 612 Bug fixes:
613 - Fix request body parameters being multiply rebuilt. Fixes both
614 RT#75607 and CatalystX::DebugFilter
615
1e089329 616 - Make plugin de-duplication work as intended originally, as whilst
617 duplicate plugins are totally unwise, the C3 error given to the user
618 is less than helpful.
619
38e43e65 620 - Remove dependence on obscure behaviour in B::Hooks::EndOfScope
621 for backward compatibility. This fixes issues with behaviour changes
622 in bleadperl. RT#76437
623
2037f03f 624 - Work around Moose bug RT#75367 which breaks
26fc3c5f 625 Catalyst::Controller::DBIC::API.
626
d8ccdd9d 627 Documentation:
628 - Fix documentation in Catalyst::Component to show attributes and
629 calling readers, rather than accessing elements in the $self->{} hash
630 directly.
631 - Add note in Catalyst::Component to strongly disrecommend $self->config
e01b6093 632 - Fix vague 'checkout' wording in Catalyst::Utils. RT#77000
3a526ce8 633 - Fix documentation for the 'secure' method in Catalyst:Request. RT#76710
d8ccdd9d 634
2114ee9f 6355.90011 - 2012-03-08 16:43:00
636
f7ac80ef 637 Bug fixes:
a8946dc8 638 - Simplification of the previous changes to Catalyst::ScriptRunner
639 We now just push $FindBin::Bin/../lib to the @INC path again, but
640 only if one of the dist indicator files (Makefile.PL Build.PL or
641 dist.ini) can be found in $FindBin::Bin/../$_
642 This avoids heuristics when the app is unloaded and therefore
643 works better for extensions which have entire applications in
644 their test suites.
f7ac80ef 645 - Bug fix to again correctly detect checkouts in dist zilla using
646 applications.
df894348 647 - --background option for the server script now only closes
648 STDIN, STDOUT and STDERR. This fixes issues with Log::Dispatch
649 and other loggers which open a file handle when
f1944b31 650 - Change incorrect use of File::Spec->catdir to File::Spec->catfile
651 so that we work on platforms which care about this (VMS?)
f2b83422 652 - Make it more obvious if our PSGI server doesn't pass in a response
653 callback.
f7ac80ef 654
fed36d61 6555.90010 - 2012-02-18 00:01:00
f7ac80ef 656
0c17b66d 657 Bug fixes:
658 - Fix the previous fix to Catalyst::ScriptRunner which was resulting
659 in the lib directory not being pushed onto @INC.
660 This meant perl ./script/myapp_server.pl failed, however
661 perl -Ilib ./script/myapp_server.pl would succeed.
662
8d196862 6635.90009 - 2012-02-16 09:06:00
664
0607947f 665 Bug fixes:
40d07fe6 666 - Fix the debug page so that it works as expected with the latest
667 refactoring.
668
0607947f 669 - The Catalyst::Utils::home function is used to find if the application
4373973a 670 is a checkout in Catalyst::ScriptRunner. This means that a non-existent
0607947f 671 lib directory that is relative to the script install location is not
672 included when not running from a checkout.
673
80267996 674 - Fix dead links to cpansearch.perl.org to point to metacpan.org.
675
8529a7ea 676 - Require the latest version of B::Hooks::EndOfScope (0.10) to avoid an
9c95f3fd 677 issue with new versions of Module::Runtime (0.012) on perl 5.10
678 which stopped Catalyst::Controller from compiling.
8529a7ea 679
d0cacee7 680 - In Catalyst::Test, don't mangle headers of non-HTML responses. RT#79043
681
af09d56c 6825.90008 - TRIAL 2012-02-06 20:49:00
683
d0cfd993 684 New features and refactoring:
676bbb6f 685 - Much of the Catalyst::Engine code has been moved into Catalyst::Request
d0cfd993 686 and Catalyst::Response, to be able to better support asynchronous web
687 servers such as Twiggy, by making the application engine more reenterant.
688
689 This change is as a prequel to full asynchronous support inside Catalyst
690 for AnyEvent and IO::Async backends, which allow highly scaleable streaming
691 (for applications such as multi-part XML HTTPRequests, and Websockets).
692
693 Deprecations:
e6bcfe8e 694 - This means that the $c->engine->env method to access the PSGI environment
d0cfd993 695 is now deprecated. The accessor for the PSGI env is now on Catalyst::Request
696 as per applications which were using Catalyst::Engine::PSGI
697
698 Catalyst::Engine::PSGI is now considered fully deprecated.
699
0aba7d92 700 - The private _dump method in Catalyst::Log is now deprecated. The dumper is
0816209f 701 not pluggable and which dumper to use should be a user choice. Using
702 an imported Dump() or Dumper() function is less typing than $c->log->_dump
703 and as this method is unused anywhere else in Catalyst, it has been scheduled
704 for removal as a cleanup. Calling this method will now emit a stack trace
705 on first call (but not on subsequent calls).
706
d0cfd993 707 Back compatibility fixes:
e6bcfe8e 708 - Applications still using Catalyst::Engine::PSGI as they rely on
d0cfd993 709 $c->request->env - this is now the provided (and recommended) way of
710 accessing the raw PSGI environment.
711
e6bcfe8e 712 Tests:
3d2c4feb 713 - Spurious warnings have been removed from the test suite
e6bcfe8e 714
e1e5366d 715 Documentation:
716 - Fix the display of PROJECT FOUNDER and CONTRIBUTORS sections in the
717 documentation. These were erroneously being emitted when the Pod
718 was converted to HTML for search.cpan.org
719
e6bcfe8e 720 - Fix documentation for the build_psgi_app app method. Previously the
721 documentation advised that it provided the psgi app already wrapped
722 in default middleware. This is not the case - it is the raw app psgi
723
00341d81 7245.90007 - 2011-11-22 20:35:00
725
0d7bf3a9 726 New features:
727 - Implement a match_captures hook which, if it exists on an action,
728 is called with the $ctx and \@captures and is expected to return
729 true to continue the chain matching and false to stop matching.
730 This can be used to implement action classes or roles which match
731 conditionally (for example only matching captures which are integers).
732
1ce9c7f6 733 Bug fixes:
734 - Lighttpd script name fix is only applied for lighttpd versions
9a511413 735 < 1.4.23. This should fix non-root installs of lighttpd in versions
736 over that.
a465926f 737 - Prepare_action is now inside a try {} block, so that requests containing
738 bad unicode can be appropriately trapped by
739 Catalyst::Plugin::Unicode::Encoding
1ce9c7f6 740
4c21ba3b 7415.90006 - 2011-10-25 09:18:00
742
27b0a436 743 New features:
744 - A new 'run_options' class data method has been added to Catalyst.pm
745 This is used to store all the options passed by scripts, allowing
746 application authors to add custom options to their scripts then
747 get them passed through to the application.
748
4373973a 749 Documentation:
d685f38e 750 - Clarify that if you manually write your own .psgi file, then optional
751 proxy support (via the using_frontend_proxy config value) will not be
752 enabled unless you explicitly apply the default middlewares from
753 Catalyst, or you apply the middleware manually.
754
f4de8c99 755 Bug fixes:
206d09eb 756 - Fix issue due to perl internals bugs in 5.8 and 5.10 (not present in
757 other perl versions) require can pass the context inappropriately,
758 meaning that some methods of loading classes can fail due to void
4373973a 759 context being passed through to make_immutable, causing it to not return
206d09eb 760 a value.
761 This bug caused loading Catalyst::Script::XXX to fail and is fixed
762 both by bumping the Class::Load dependency, and also adding an explicit
763 '1;' to the end of the classes, avoiding the context issue.
f4de8c99 764
c7250231 765 - Fix using_frontend_proxy support in mod_perl by using the psgi wrapped
766 in default middleware in mod_perl context, rather than the raw psgi.
767
849b1b24 7685.90005 - 2011-10-22 13:35:00
769
ab6c6d3d 770 New features:
771
772 - $c->uri_for_action can now take an array of CaptureArgs and Args
773 If you have an action which has both, then you can now say:
774 $c->uri_for_action('/myaction', [@captures, @args]);
775 whereas before you had to say:
776 $c->uri_for_action('/myaction', [@captures], @args);
777 The previous form is still supported, however in many cases it is
778 easier for the application code to not have to differentiate between
779 the two.
780
cf49ace4 781 - Catalyst::ScriptRunner has been enhanced so that it will now
782 load and apply traits, making it easier to customise.
783 - MyApp::TraitFor::Script (if it exists) will be applied to all
784 scripts in the application.
785 - MyApp::TraitFor::Script::XXXX will be applied to the relevant script
786 (for example MyApp::TraitFor::Script::Server will be applied to
787 MyApp::Script::Server if it exists, or Catalyst::Script::Server
788 otherwise).
789
ab6c6d3d 790 Documentation:
791
792 - Document how to get the vhost of the request in $c->req->hostname
793 to avoid confusion
4373973a 794 - Remove documentation showing Global / Regex / Private actions
ab6c6d3d 795 as whilst these still exist (and work), they are not recommended.
796 - Remove references to the -Engine flag.
797 - Remove references to the deprecated Catalyst->plugin method
798 - Spelling fixed (and tested) throughout the documentation
799 - Note that wrapping the setup method will not work with method modifiers
800 and provide an alternative.
801
4ec26b6c 8025.90004 - 2011-10-11 17:12:00
803
65420d46 804 Bug fixes:
805
806 - Don't guess engine class names when setting an engine through
807 MyApp->engine_class.
808
a253d527 8095.90003 - 2011-10-05 08:32:00
9c331634 810 Bug fixes:
811
4373973a 812 - Make default body responses for 302s W3C compliant. RT#71237
9c331634 813
e95b2b49 814 - Fix issue where groups of attributes to override controller actions
815 in config would be (incorrectly) overwritten, if the parser for that
816 attribute mangled the contents of the attribute. This was found
817 with Catalyst::Controller::ActionRole, where Does => [ '+Foo' ]
818 would be transformed to Does => [ 'Foo' ] and written back to config,
819 whereas Does => '+Foo' would not be changed in config. RT#65463
820
fabe0bc6 821 Enhancements:
822
823 - Set a matching Content-type for the redirect if Catalyst sets the
824 body. This is for compatibility with a WatchGuard Firewall.
825
5cb939e8 826 Backward compatibility fixes:
827
828 - Restore (an almost empty) Catalyst::Engine::HTTP to the dist for old
4373973a 829 scripts which explicitly require Catalyst::Engine::HTTP
5cb939e8 830
14eb7697 831 Documentation fixes:
832
833 - Document Catalyst::Plugin::Authentication fails tests unless
834 you use the latest version with Catalyst 5.9
824a5eb0 835
d536010b 836 - Clarify that prepare is called as a class method
14eb7697 837
824a5eb0 838 - Clarify use of uri_for further. RT#57011
839
836a51a2 8405.90002 - 2011-08-22 21:44:00
f7580cc4 841 Backward compatibility fixes:
842
843 - Deploying via mod_perl in some cases is fixed by making
844 Catalyst::EngineLoader detect mod_perl in more generic
845 circumstances.
846 https://github.com/miyagawa/Plack/issues/239
847
c47cd2ce 848 Documentation fixes:
849
850 - Fix incorrect example in Catalyst::PSGI.
851 - Add note that if you are using the PSGI engine, then $c->req->env
852 needs to become $c->engine->env when you upgrade.
853
3143ee5f 8545.90001 - 2011-08-15 22:42
855
856 Realise that we accidentally chopped a digit off the versioning scheme
857 without anyone noticing, which is a bad thing.
858
859 Feel like a fool. Well done t0m.
860
861 Cut another release.
862
f2f40f5f 8635.9000 - 2011-08-15 22:18
85c8088e 864
c20710a1 865 See Catalyst::Delta for the major changes in this release.
72697c1d 866
c20710a1 867 Changelog since the last TRIAL release:
2f3f09d4 868
869 Backward compatibility fixes:
a8153308 870
2f3f09d4 871 - Fix calling MyApp->engine_class to set the engine class manually.
a8153308 872
2f3f09d4 873 - Re-add a $res->headers->{status} field to Catalyst::Test responses.
874 This _should_ be accessed with $c->res->code instead, but is here
875 for backward compatibility.
89222c2a 876
2f3f09d4 877 Documentation:
72697c1d 878
2f3f09d4 879 - Documentation which was in the now removed Catalyst::Engine::* classes
880 has been moved to Catalyst::Manual::Deployment
72697c1d 881
2f3f09d4 882 Changes:
cb1e348b 883
2f3f09d4 884 - nginx specific behaviour is removed as it is not needed with any
885 web server configuration I can come up with (recommended config is
4373973a 886 documented in Catalyst::Manual::Deployment::nginx::FastCGI)
cb1e348b 887
cfb5d52a 8885.89003 2011-07-28 20:11:50 (TRIAL release)
0d47e040 889
890 Backward compatibility fixes:
891
892 - Application scripts which have not been upgraded to newer
893 Catalyst::Script::XXX style scripts have been fixed
894
895 Bug fixes:
896
ab4df9f8 897 - mod_perl handler fixed to work with application classes which have manually
898 been made immutable.
899
0d47e040 900 - Scripts now force the Plack engine choice manually, rather than relying
901 on auto-detection, as the automatic mechanism gets it wrong if (for
902 example) Coro is loaded.
903
904 - Server script option for --fork --keepalive are now handled by loading
905 the Starman server, rather than silently ignored.
906
907 - Server script options for --background and --pid are now fixed by
908 using MooseX::Deamonize
909
910 - Plack middlewares to deal with issues in Lighttpd and IIS6 are now
911 automatically applied to applications and deployments which need them
912 (when there is not a user written .psgi script available).
913 This fixes compatibility with previous stable releases for applications
914 deployed in these environments.
915
c79bd3b0 916 Enhancements:
917
918 - Catalyst::Test's remote_request method not uses Plack::Test to perform
919 the remote request.
0d47e040 920
921 Documentation:
922 - Added a Catalyst::PSGI manual page with information about writing a .psgi
923 file for your application.
924
4373973a 925 - Catalyst::Upgrading has been improved, and the status of old Catalyst
0d47e040 926 engines clarified.
927
928 Deprecations:
a9a0c48c 929 - Catalyst::Test's local_request function is now deprecated. You should just
0d47e040 930 use the normal request function against a local server instead.
931
b40baecd 9325.80033 2011-07-24 16:09:00
933
f899107d 934 Bug fixes:
52d65afe 935 - Fix Catalyst::Request so that the hostname accessor is not incorrectly
936 populated with 'localhost' if a reverse DNS lookup fails.
937
938 - Fix Path actions debug screen to display number of arguments
939
e3557c86 940 - Fix a regression that prevented configuring attributes for all actions using
941 ->config(actions => { '*' => \%attrs }) from working
52d65afe 942
943 - Append $\ in Catalyst::Response->print to more closely match
944 IO::Handle's behaviour.
945
946 - Fixed situation where a detach($action) from a forward within auto
947 was not breaking out correctly
948
f899107d 949 - Fix the disable_component_resolution_regex_fallback config setting
950 to also work in the $c->component method.
951
5ff374b5 952 - Handle users setting cookies with an undef value by not trying to
953 output that cookie (rather than trying to do so and causing an exception
954 as previously happened). A warning is logged if this occurs in debug
955 mode.
2e4a8275 956 - Update tests to ignore $ENV{CATALYST_HOME} where required
f899107d 957
52d65afe 958 - Change repository metadata to point at git.
959
960 - Clean namespaces in Catalyst::Request::Upload
961
962 - Catalyst::Test: Fixes to action_ok, action_redirect and action_notfound
963 test functions to be better documented, and have better default test
964 names.
965
966 - Update tests to ignore CATALYST_HOME env var.
967
1f440f55 9685.89002 2011-03-02 11:30:00 (TRIAL release)
969
970 Bug fixes:
971 - Fix a couple of test failures caused by optional dependencies such as FCGI
972 not being installed.
973
974 Refactoring:
975 - Simplified the API for getting a PSGI application code reference for a
976 Catalyst application for use in, for example, .psgi files. See
977 Catalyst::Upgrading for details.
978
aceee8b5 9795.89001 2011-03-01 15:27:00 (TRIAL release)
980
2cd94c07 981 Bug fixes:
982 - Fixed command-line argument passing in Catalyst::Script::FastCGI.
983
984 - Fixed Catalyst::Engine::Stomp compatibility. Applications using
985 Catalyst::Engine::Stomp are believed to continue working without
986 any changes with the new Catalyst major version.
93a57b4b 987
2cd94c07 988 - Fixed issues auto-loading engine with older scripts.
99dabb12 989
2cd94c07 990 Known problems:
991 - Catalyst::Engine::Wx is officially unsupported and BROKEN. If you
992 are using this engine then please get in touch with us and we'll
993 be happy to help with the changes it needs to be compatible with
994 the new major version of Catalyst.
1e5dad00 995
2cd94c07 996 Documentation:
997 - The section of Catalyst::Upgrading describing how to upgrade to version 5.90
998 of Catalyst has been much improved.
99dabb12 999
07608083 10005.80032 2011-02-23 01:10:00
9bf423ee 1001
1002 Bug fixes:
ffb43803 1003 - Fix compatibility issue with code which was testing the value of
1004 $c->res->body multiple times. Previously this would cause the value
1005 to be built, and ergo cause the $c->res->has_body predicate to start
1006 returning true.
1007 Having a response body is indicated by $c->res->body being defined.
1008
0fd00e7b 1009 - Fix bug with calling $upload->slurp multiple times in one request
1010 not working as expected as the file handle wasn't returned to
1011 the zero position. (Adam Sjøgren)
1012
9bf423ee 1013 - Fix some weird perl 5.8 situations where $c can get squashed unexpectedly
1014 in Catalyst::execute
1015
1016 - Fix chained dispatch where chains were being compared for length (number
1017 of private parts in the chain) vs where they are being compared for
1018 PathPart length (i.e. number of non-capturing URI elements in your path).
1019
1020 This bug meant that sometimes multiple Args or CaptureArgs (e.g. /*/*)
1021 type paths would be preferred to those with fixed path elements
1022 (e.g. /account/*)
1023
1024 New features:
1025 - Add MYAPP_RESTARTER and CATALYST_RESTARTER environment variables to
1026 allow the restarter class to be chosen per application or generally.
1027
1028 This feature was added to enable GUI restarters (such as the soon to
1029 be released CatalystX::Restarter::GTK to be enabled more easily by
1030 developers without changing their application code.
1031
45cab07f 10325.80031 2011-01-31 08:13:02
1033
718e6314 1034 Bug fixes:
1035 - Update dependency on MooseX::Role::WithOverloading to ensure that
1036 a version which can deal with / depends on a new Package::Stash
1037 is installed. (As if some other dependency is pulled in during upgrading
1038 which results in new Package::Stash, then it can leave you with a broken
1039 version of MooseX::Role::WithOverloading.
1040
6ca73485 1041 - Fix undef warning in Catalyst::Engine::FastCGI when writing an empty
1042 body (e.g. doing a redirect)
1043
7258c943 10445.89000 2011-01-24 09:28:45 (TRIAL release)
1045
1046 This is a development release from psgi branch of Catalyst-Runtime.
1047
1048 Removed features:
1049
1050 - All of the Catalyst::Engine::* namespace is now gone. Instead we only have
1051 one Catalyst::Engine class speaking the PSGI protocol natively. Everything
1052 the various Catalyst::Engine:: classes did before is now supposed to happen
1053 through PSGI handlers such as Plack::Handler::FCGI,
1054 Plack::Handler::HTTP::Server::PSGI, Plack::Handler::Apache2, and so
1055 on. However, deployment can still work the same as it did before. The
1056 catalyst scripts still exist and continue to work.
1057
1058 If you find anything that either doesn't work anymore as it did before or
1059 anything that could be done before with the various Catalyst::Engine::
1060 classes, but can't be done anymore with the single PSGI Catalyst::Engine
1061 class, please tell us *now*.
1062
94edbd2c 10635.80030 2011-01-04 13:13:02
1064
8865ee12 1065 New features:
1066 - Add a --proc_title option to the FCGI script to set the process
1067 title.
2af2a5bf 1068 - Allow the response body to be set to `undef' explicitly to indicate the
1069 absence of a body. It can be used to indicate that no body should be sent at
1070 all and processing of views should be skipped. This is especially useful for
1071 things like X-Sendfile, which now no longer require providing fake response
1072 bodies to suppress view processing. In order for this to work, you will also
1073 have upgrade Catalyst::Action::RenderView to at least version 0.15.
8865ee12 1074
c046f519 1075 Bug fixes:
1076 - Deal correctly with GLOB file handles in the response body (setting
1077 the Content-Length header appropriately)
d4f76f02 1078 - Chained dispatch has been fixed to always prefer paths
1079 with the minimum number of captures (rather than the
1080 maximum number of actions). This means that (for example)
1081 a URI path /foo/* made out of 2 actions will take preference
1082 to a URI path /*/* made out of 3 actions. Please check your applications
2af2a5bf 1083 if you are using chained action and please write new test to report
d4f76f02 1084 failing case.
efc2aac0 1085 - Stop relying on bugs in the pure-perl version of Package::Stash. New
1086 versions of Package::Stash load Package::Stash::XS if
1087 available. Package::Stash::XS fixes some of the bugs of the pure-perl
1088 version, exposing our faulty assumption and breaking things. We now work
1089 with both old and new versions of Package::Stash, both with and without
1090 Package::Stash::XS being installed. Older versions of Catalyst-Runtime also
1091 work with both old and new versions of Package::Stash, but only if
1092 Package::Stash::XS is *not* installed.
c046f519 1093
fa325a7d 1094 Documentation:
1095 - Clarify that when forwarding or detaching, the end action associated
1096 with the original dispatched action will be run afterwards (fallen)
1097
47990d3f 10985.80029 2010-10-03 16:39:00
1099
1100 New features:
4d723d12 1101 - Add a warning when $c->view is called and cannot locate a default_view
1102 or current_view. This clarifies the logging when ::RenderView gets
1103 confused.
1104
47990d3f 1105 Warning fixes:
1106 - Deal warning in with Moose >= 1.15 if you add a method called 'meta' to a
f4410281 1107 class which already has one by using _add_meta_method.
1108
b2910653 11095.80028 2010-09-28 20:49:00
1110
808db1d6 1111 Bug fixes:
1112 - use Class::MOP in Catalyst::Utils.
1113
7f891e1e 1114 - Do not keep a reference to a closed over context in ctx_request, allowing
1115 the caller to dispose of the request context at their leisure.
1116
b2910653 1117 - Changes to be compatible with bleadperl
1118
d1672c76 11195.80027 2010-09-01 22:14:00
6a75eb0e 1120
1121 Bug fixes:
1122 - Fix an issue with newly added test cases which depended on Catalyst::Action::RenderView
1123
03235666 11245.80026 2010-09-01 15:14:00
1125
2afd1ea3 1126 Bug fixes:
ab83907b 1127 - Fix so that CATALYST_EXCEPTION_CLASS in MyApp is always respected by
1128 not loading Catalyst::Exception in Utils.pm BEGIN, because some Scripts::*
1129 load Utils before MyApp.pm
1130
1131 - Fix warnings with new Moose versions about "excludes" during role
1132 application
1133
1134 - Fix warning from MooseX::Getopt regarding duplicate "help" aliases.
1135
2afd1ea3 1136 - parse_on_demand fixed when used in conjunction with debug mode.
1137 A regression was introduced in 5.80022 which would cause the body
1138 to always be parsed for logging at the end of the request when in
1139 debug mode. This has been fixed so that if the body has not been parsed
1140 by the time the request is logged, then the body is omitted.
ab83907b 1141
1f94dc3a 1142 - Fix show_internal_actions config setting producing warnings in debug
1143 mode (RT#59738)
2afd1ea3 1144
9c64b93a 1145 - Make Catalyst::Test::local_request() set the response base from base href
1146 in the returned document so that links can be resolved correctly by
1147 Test::WWW::Mechanize::Catalyst
1148
ab83907b 1149 Refactoring:
1150 - moved component name sort that happens in setup_components to
1151 locate_components to allow methods to wrap around locate_components
1152
1153 Documentation:
1154 - Fix some typos
1155
1156 - Advertise Catalyst::Plugin::SmartURI
1157
1158
cba60982 11595.80025 2010-07-29 01:50:00
1160
13c565fe 1161 New features:
1162 - An 'action_class' method has been added to Catalyst::Controller to
1163 allow controller base classes, roles or traits
1164 (e.g. Catalyst::Controller::ActionRole) to more easily override
1165 the default action creation.
1166
f5325631 1167 Bug fixes:
1168 - Fix the --mech and --mechanize options to the myapp_create.pl script
1169 to operate correctly by fixing the options passed down into the script.
d0f30dbc 1170 - Fix controllers with no method attributes (where the action definitions
1171 are entirely contained in config). RT#58057
5410ef06 1172 - Fix running as a CGI under IIS at non-root locations.
2d03a299 1173 - Fix warning about "excludes" during role application
1174 - Fix warning from MooseX::Getopt regarding duplicate "help" aliases
f5325631 1175
1176 Documentation:
1177 - Fix missing - in the docs when describing the --mechanize option at one
1178 point.
f8a54681 1179 - Explained the common practice how to access the component's config
1180 values.
f73be6d2 1181 - Fixed typo in Catalyst/Script/Server.pm (RT #58474)
f5325631 1182
7aba3b2d 11835.80024 2010-05-15 11:55:44
1184
1185 Bug fixes:
1186 - Revert the path resolution behaviour to how it used to work before
1187 Catalyst 5.80014_02, so that application paths are (by default)
1188 resolved from $ENV{PATH_INFO} and $ENV{SCRIPT_NAME}. This fixes backward
1189 compatibility breakage seen by a number of people since that release
1190 with mod_rewrite and SSI.
1191
1192 New features:
1193 - Add a use_request_uri_for_path config setting to optionally
1194 use the (more correct) $ENV{REQUEST_URI} path resolution behaviour.
1195
1196 Documentation:
1197 - Clarify the documentation for the Catalyst::Stats interface.
1198 - Copious documentation about the use_request_uri_for_path feature
1199 and the implications of setting this to true/false in
1200 Catalyst::Engine::CGI
1201
e3a7414d 12025.80023 2010-05-07 23:50:27
1203
46b58c90 1204 Bug fixes:
671123ba 1205 - Ensure to always cleanup temporary uploaded files in all cases, even
1206 when exceptions occur during request processing, using HTTP::Body's
1207 ->cleanup feature. (RT#41442)
c6d27fac 1208 - Ensure that Catalyst::Engine::HTTP's options hash is defined before
1209 dereferencing it. (RT#49267)
4dfe7bde 1210 - Fix regex special characters in REDIRECT_URL variable breaking
1211 the request base. (2nd part of RT#24951)
b1cb1951 1212 - Fix not stripping backslashes in DispatchType::Regex::uri_for_action
46b58c90 1213
0319ec68 1214 New features:
1215 - Setting __PACKAGE__->config(enable_catalyst_header => 1); in your MyApp.pm
1216 now enables the X-Catalyst header being printed when not in debug mode.
1217 - Require CGI::Simple::Cookie version 1.109 to ensure support for the
1218 HttpOnly flag
83065d4d 1219 - Allow the myapp_test.pl script to be given a list of paths which it
1220 will retrieve all of. (RT#53653)
62b6b631 1221 - Allow parameterized roles to be applied as plugins.
1f52c1d2 1222 - Allow requiring minimum versions of plugins when loading them.
0319ec68 1223
8fa9321c 1224 Documentation:
1225 - The Catalyst::Test::get method is documented as returning the raw
1226 response bytes without any character decoding (RT#53678)
1227
1f52c1d2 1228 Cleanups:
1229 - Removal of $Catalyst::PRETTY_VERSION. Future releases will always have the
1230 full and unmangled version number, including trailing zeroes, in
1231 $Catalyst::VERSION.
1232
14a1ceef 12335.80022 2010-03-28 19:43:01
1234
025d09f9 1235 New features:
1236 - Log an extra line in debug mode with the response status code,
1237 the content type and content length if available.
1238
13311c16 1239 Refactoring / optimizations:
025d09f9 1240 - Display of the end of hit debug messages has been factored out into
75b65816 1241 log_headers, log_request, log_request_headers, log_response,
1242 log_response_status_line and log_response_headers methods so that
1243 plugins which customise how much information is shown on the debug
1244 screen as easy to write.
3a4abdb3 1245 - Make all logging of request and response state get the information from
025d09f9 1246 $c->dump_these so that there is a unified point from which to hook
1247 in parameter filtering (for example).
13311c16 1248 - $c->model/view/controller have become a lot faster for non-regexp names
1249 by using direct hash lookup instead of looping.
13e46699 1250 - IP address => hostname mapping for the server is only done once and cached
1251 by Catalyst::Engine::HTTP to somewhat mitigate the problem of people
1252 developing on machines pointed at slow DNS servers.
025d09f9 1253
13e46699 1254 Bugs fixed:
76cd735d 1255 - DispatchType::Index's uri_for_action only returns for actions registered
1256 with it (prevents 'index :Path' or similar resolving to the wrong URI)
a160c98d 1257 - Make sure to construct Upload objects properly, even if there are
1258 multiple Content-Type headers (Closes RT#55976).
76cd735d 1259
d5c5d96f 12605.80021 2010-03-03 23:02:01
1261
52e23ad4 1262 Bug fixed:
ad11d2d3 1263 - $c->uri_for will now escape unsafe characters in captures
4373973a 1264 ($c->request->captures) and correctly encode utf8 characters.
52e23ad4 1265
1bebcac6 12665.80020 2010-02-04 06:51:18
1267
1268 New features:
1269 - Allow components to specify additional components to be set up by
1270 overriding the expand_modules method. (Oliver Charles)
1271
f0bb41af 12725.80019 2010-01-29 01:04:09
1273
2689f8a4 1274 Bug fixed:
1275 - Calls to $c->uri_for with private paths as strings (e.g.
1276 $c->uri_for('controller/action', 'arg1', 'arg2') ) no longer have
1277 / encoded to %2F. This is due to $c->uri_for('static', 'css/foo', $bar)
1278 which should not be encoded.
1279 Calls with an action object (rather than a string), or uri_for action
1280 will still encode / in args and captures to %2F
1281
1282 - The above noted / => %2F encoding in uri_for_action or uri_for with
1283 an action object has been fixed to not just encode the first slash in
1284 any set of args/captures.
1285
f54950f5 1286 - nginx and lighttpd FCGI requests with URI encoded sections as the first
1287 path part have been fixed to operate correctly.
1288
0ff92c67 1289 - A source of bogus warnings in Catalyst::Component::BUILDARGS has been
1290 removed.
c2f4efce 1291
1292 Documentation:
0ff92c67 1293 - Improve the documentation about -Home and how Catalyst finds the home path
1294 for applications.
1295 - Various minor typo fixes.
c2f4efce 1296
4113e1bb 1297 New features:
1298 - Allow passing additional arguments to action constructors.
1299
c6e5058f 13005.80018 2010-01-12 22:24:20
1301
ca78941c 1302 Bug fixed:
1303 - Call ->canonical on URI derived from $ENV{REQUEST_URI} to get
1304 paths correctly decoded. This bug was previously hidden by a bug
4113e1bb 1305 in HTTP::Request::AsCGI.
ca78941c 1306
c9ec25f8 1307 Documentation:
1308 - Clarify that uri_for_action works on private paths, with example.
c8083f4e 1309 - Clarify documentation about debug
c9ec25f8 1310
955d6da6 1311 Deprecations:
1312 - Saying use Catalyst::Test; (without an application name or () to stop
1313 the importer running is now deprecated and will issue a warning.
1314 You should be saying use Catalyst::Test ();
1315
45b607ab 13165.80017 2010-01-10 02:27:29
1317
1d3a0700 1318 Documentation:
1319 - Fix docs for ->forward method when passed a class name - this should
1320 be a component name (e.g. View::HTML, not a full class name, like
1321 MyApp::View::HTML).
1322
e1d59dc4 1323 Bug fixes:
7388bcae 1324 - --daemon and -d options to Catalyst::Script::FastCGI are fixed.
1565e158 1325 - Fix the debug dump for applications which use Catalyst::Plugin::Session
1326 (RT#52898)
b760ac3d 1327 - Fix regression in the case where mod_rewrite is being used to rewrite
1328 requests into a path below your application base introduced with the
1329 %2F related fixes in 5.80014_02.
30b70903 1330 - Do not crash on SIGHUP if Catalyst::Engine::HTTP->run is not passed the
1331 argv key in the options hash.
1332 - Correctly pass the arguments to Catalyst::Script::Server through to
1333 Catalyst::Engine::HTTP->run so that the server can restart itself
1334 with the correct options on SIGHUP.
b1ccae0c 1335 - Require new MooseX::MethodAttributes to be compatible with Moose
1336 versions >= 0.93_01
e6e2ba11 1337 - Require new MooseX::Role::WithOverloading to be compatible with Moose
1338 versions >= 0.93_01
e1d59dc4 1339
3f07296e 1340 Cleanups:
1341 - Stop suppressing warnings from Class::C3::Adopt::NEXT now that most plugins
1342 have been updated to not use NEXT. If you get warnings then please upgrade
1343 your components or log a bug with the component author if an upgrade is
1344 not available. The Class::C3::Adopt::NEXT documentation contains information
1345 about how to suppress the warnings in your application if you need to.
1346
e66329da 13475.80016 2009-12-11 23:23:33
1348
b42b9094 1349 Bug fixes:
e66329da 1350
b42b9094 1351 - Fix slurping a file to work correctly with binary on Win32 in the
1352 encoding test controller.
e66329da 1353
1354 Bug fixes in the new scripts (for applications which have been upgraded):
1355
82701bda 1356 - Allow --restartdirectory as an option for the Server script, for
1357 backwards compatibility. (Dave Rolsky)
402697e7 1358 - The --host option for the server script defaulted to localhost, rather
1359 than listening on all interfaces, which was the previous default. (Dave
1360 Rolsky)
ad08ab75 1361 - Restore -p option for pid file in the FastCGI server script.
7eb69527 1362 - Fix the script environment variables MYAPP_PORT and MYAPP_RELOAD RT#52604
eb3abf96 1363 - Fix aliasing applications under non-root paths with mod_rewrite in
4373973a 1364 some Apache versions where %ENV{SCRIPT_NAME} is set to the real name of
eb3abf96 1365 the script, by using $ENV{REDIRECT_URL} which contains the non-rewritten
1366 URI.
754e86c6 1367 - Fix usage display when myapp_create.pl is run with no arguments. RT#52630
b42b9094 1368
c96cdcef 1369 New features:
e66329da 1370
c96cdcef 1371 - The __MOP__ hash element is suppressed from being dumped fully
1372 (and instead stringified) when dumping the error screen to be
1373 less packed with information of no use.
1374
30079544 1375 Documentation:
e66329da 1376
30079544 1377 - Fix Pod nits (RT#52370)
1378
0ab4f753 13795.80015 2009-12-02 15:13:54
ea72fece 1380 Bug fixes:
1381 - Fix bug in Catalyst::Engine which would cause a request parsing to end
1382 prematurely in the hypothetical case where calling $engine->read returned
1383 the single character '0'.
0ab4f753 1384 - Fix failing tests when combined with new HTTP::Request::AsCGI
ea72fece 1385
1386 Documentation:
1387 - Improved documentation on read and read_chunk methods in Catalyst::Engine.
5a7d7e5c 1388 - Fix reversal of SCRIPT_NAME and PATH_INFO in previously correct nginx
1389 FastCGI documentation introduced in _02.
ea72fece 1390
ef546d1e 13915.80014_02 2009-12-01 00:55:23
5ab21903 1392 Bug fixes:
1393 - Fix reporting the wrong Content-Length if the response body is an
1394 upgraded string. Strings mean the same thing whether or not they are
1395 upgraded, may get upgraded even after they are encoded, and will
1396 produce the same output either way, but bytes::length returns too big
1397 values for upgraded strings containing characters >127
ab95b8e3 1398 - Fix t/live_fork.t with bleadperl (RT#52100)
8bf285ed 1399 - Set $ENV{PATH_INFO} from $ENV{REQUEST_URI} combined with
1400 $ENV{SCRIPT_NAME} if possible. This is many web servers always fully
1401 decode PATH_INFO including URI reserved characters. This allows us to
41b633d8 1402 tell foo%2cbar from foo%252cbar, and fixes issues with %2F in paths
1403 being incorrectly decoded, resulting in too many path parts (rather
1404 than 1 path part containing a /, on some web servers (at least nginx).
1405 (RT#50082)
6cc3be54 1406 - Require new HTTP::Request::AsCGI so that it fully decodes $ENV{PATH_INFO}
41b633d8 1407 in non CGI contexts. (RT#50082)
5ab21903 1408
2b3bb280 1409 Refactoring / cleanups:
1410 - NoTabs and Pod tests moved to t/author so that they're not run
1411 (and then skipped) normally.
1412
ee24f3a8 1413 Documentation:
1414 - Fix Pod nits in Catalyst::Response (RT#51818)
1415
4fac276e 14165.80014_01 2009-11-22 20:01:23
c4efaa54 1417
1418 Bug fixes:
1419 - Filehandle now forced to binmode in CGI and FastCGI engines. This appears
1420 to correct some UTF-8 issues, but may break people's code which relies
1421 on the old behaviour.
1422
1423 Refactoring / cleanups:
1424 - Plugins which inherit from Catalyst::Controller or Catalyst::Component
1425 are deprecated and now issue warnings.
1426
568e11a2 14275.80014 2009-11-21 02:51:14
1428
9f16fdf2 1429 Bug fixes:
1430 - Require MooseX::MethodAttributes 0.17. This in turn requires new
1431 MooseX::Types to stop warnings in Moose 0.91, and correctly supports
1432 role combination of roles containing attributed methods.
5b8ac6cc 1433 - Catalyst::Dispatcher::dispatch_types no longer throws deprecated warnings
1434 as there is no recommended alternative.
ab86b480 1435 - Improved the suggested fix warning when component resolution uses regex
4c4d45d3 1436 fallback for fully qualified component names.
12755afc 1437 - Catalyst::Test::local_request sets ->request on the response.
647a3de1 1438 - Log flush moved to the end of setup so that roles and plugins which
1439 hook setup_finalize can log things and have them appear in application
1440 startup, rather than with the first hit.
6084071b 1441 - Require a newer version of LWP to avoid failing tests.
1442 - Stop warnings when actions are forwarded to during dispatch.
1443 - Remove warnings for using Catalyst::Dispatcher->dispatch_types as this is a
1444 valid method to publicly call on the dispatcher.
4373973a 1445 - Args ($c->request->args) and CaptureArgs ($c->request->captures)
03f5f578 1446 passed to $c->uri_for with an action object ($c->action) will now
1447 correctly round-trip when args or captures contain / as it is now
1448 correctly uri encoded to %2F.
4c4d45d3 1449
d71da6fe 1450 Documentation:
1451 - Document no-args call to $c->uri_for.
ab2f881b 1452 - Document all top level application configuration parameters.
6084071b 1453 - Clarify how to fix actions in your application class (which is
1454 deprecated and causes warnings).
1455 - Pod fixes for ContextClosure.
1456 - Fix documentation for go/visit to reference captures and arguments
1457 in the correct order.
1458 - Update $c->forward and $c->state documentation to address scalar
1459 context.
08a2c908 1460 - Pod fix in Catalyst::Request (RT#51490)
7d7519a4 1461 - Pod fixes to refer to ::Controller:: rather than ::C:: as the latter
afa66c9a 1462 is deprecated (RT#51489)
d71da6fe 1463
ab86b480 1464 New features:
1465 - Added disable_component_resolution_regex_fallback config option to
4c4d45d3 1466 switch off (deprecated) regex fallback for component resolution.
fdf85295 1467 - Added an nginx-specific behavior to the FastCGI engine to allow
1468 proper PATH_INFO and SCRIPT_NAME processing for non-root applications
b39b4848 1469 - Enable Catalyst::Utils::home() to find home within Dist::Zilla built
1470 distributions
10d77181 1471 - Added the Catalyst::Exception::Interface role defining the interface
1472 exception classes need to implement.
1473 - Added Catalyst::Exception::Basic as a basic implementation of
1474 Catalyst::Exception::Interface and made the existing exception classes
1475 use it.
9f16fdf2 1476
647a3de1 1477 Refactoring / cleanups:
1478 - Remove documentation for the case_sensitive setting
1479 - Warning is now emitted at application startup if the case_sensitive
1480 setting is turned on. This setting is not used by anyone, not
1481 believed to be useful and adds unnecessary complexity to controllers
1482 and the dispatcher. If you are using this setting and have good reasons
1483 why it should stay then you need to be shouting, now.
6084071b 1484 - Writing to $c->req->body now fails as doing this never makes sense.
647a3de1 1485
1be0c4f8 14865.80013 2009-09-17 11:07:04
1487
85fc6206 1488 Bug fixes:
1489 - Preserve immutable_options when temporarily making a class mutable in
1490 Catalyst::ClassData as this is needed by new Class::MOP.
1491 This could have potentially caused issues when using the deprecated runtime
1492 plugins feature in an application with plugins which define their own new
1493 method.
1494 - Require new Moose version and new versions of various dependencies
1495 to avoid warnings from newest Moose release.
e1e81442 1496 - Fix go / visit expecting captures and arguments in reverse order.
297ff4ce 1497
1498 Documentation:
85fc6206 1499 - Rework the $c->go documentation to make it more clear.
1500 - Additional documentation in Catalyst::Upgrading covering more deprecation
1501 warnings.
297ff4ce 1502
1503 Refactoring / cleanups:
85fc6206 1504 - Action methods in the application class are deprecated and applications
1505 using them will now generate a warning at startup.
1506 - The -short option has been removed from catalyst.pl, stopping new
1507 applications from being generated using the ::[MVC]:: naming scheme as
1be0c4f8 1508 this is deprecated and generates warnings. RT#49771
83b8cda1 1509
534d1a9a 15105.80012 2009-09-09 19:09:09
3803e98f 1511
5d94e8f9 1512 Bug fixes:
1513 - Fix t/optional_http-server.t test.
1514 - Fix t/optional_http-server-restart.t test.
d367bfc9 1515 - Fix duplicate components being loaded at setup time, each component is
1516 now loaded at most once + tests.
4f4ab5b4 1517 - Fix backward compatibility - hash key configured actions are stored in
1518 is returned to 'actions'.
1519 - Fix get_action_methods returning duplicate methods when a method is both
1520 decorated with method attributes and set as an action in config.
5d94e8f9 1521
1522 Refactoring / cleanups:
2407a0ae 1523 - Reduce minimum supported perl version from 5.8.6 to 5.8.4 as there are
46d32d14 1524 many people still running/testing this version with no known issues.
5d94e8f9 1525
1526 Tests:
1527 - Make the optional_http_server.t test an author only test which must be
1528 run by authors to stop it being broken again.
1529 - Fix recursion warnings in the test suites.
1530
a61a96b3 15315.80011 2009-08-23 13:48:15
1532
9d59dde8 1533 Bug fixes:
1534 - Remove leftovers of the restarter engine. The removed code caused test
1535 failures, which weren't apparent for anyone still having an old version
1536 installed in @INC.
1537
f72168b7 15385.80010 2009-08-21 23:32:15
9d3a7a1f 1539
1540 Bug fixes:
1541 - Fix and add tests for a regression introduced by 5.80008.
1542 Catalyst::Engine is now able to send out data from filehandles larger
1543 than the default chunksize of 64k again.
1544
1b290713 15455.80009 2009-08-21 22:21:08
1546
e7e4c469 1547 Bug fixes:
1548 - Fix and add tests for generating inner packages inside the COMPONENT
1549 method, and those packages being correctly registered as components.
1550 This fixes Catalyst::Model::DBIC among others.
1551
455b342e 15525.80008 2009-08-21 17:47:30
1553
4ffa3785 1554 Bug fixes:
1555 - Fix replace_constructor warning to actually work if you make your
1556 application class immutable without that option.
e1dd56e6 1557 - Depend on Module::Pluggable 3.9 to prevent a bug wherein components
1558 in inner packages might not be registered. This especially affected
1559 tests.
2f6049f2 1560 - Catalyst::Engine::FastCGI - relax the check for versions of Microsoft
b0a32aba 1561 IIS. Provides compatibility with Windows 2008 R2 as well as
2f6049f2 1562 (hopefully) future versions.
803210fa 1563 - In tests which depend on the values of environment variables,
1564 localise the environment, then delete only relevant environment
1565 variables (RT#48555)
26901354 1566 - Fix issue with Engine::HTTP not sending headers properly in some cases
1567 (RT#48623)
11b4547d 1568 - Make Catalyst::Engine write at least once when finalizing the response
1569 body from a filehandle, even if the write is empty. This avoids fail
1570 when trying to send out an empty response body from a filehandle.
455b342e 1571 - Catalyst::Engine::HTTP - Accept a fully qualified absolute URI in the
57f56c51 1572 Request-URI of the Request-Line
4ffa3785 1573
371c6f1a 1574 Refactoring / cleanups:
1575 - Deleted the Restarter engine and its Watcher code. Use the
1576 new Catalyst::Restarter in a recent Catalyst::Devel instead.
b0a32aba 1577 - New unit test for Catalyst::Action 'unit_core_action.t'
24964c89 1578 - Bump minimum supported perl version from 5.8.1 to 5.8.6 as there are
46d32d14 1579 known issues with 5.8.3.
48d435ba 1580 - Debug output uses dynamic column sizing to create more readable output
1581 when using a larger $ENV{COLUMNS} setting. (groditi)
009b5b23 1582
1583 New features:
d05e45ce 1584 - Added private_path method for Catalyst::Action
1585 - Allow uri_for($controller_instance) which will produce a URI
b0a32aba 1586 for the controller namespace
d05e45ce 1587 - Break setup_components into two more parts: locate_components and
282b0c8f 1588 expand_component_module (rjbs)
365e0b98 1589 - Allow Components to return anon classed from their COMPONENT method
1590 correctly, and have action registration work on Controllers returned
8f6cebb2 1591 as such by adding a catalyst_component_name accessor for all components
365e0b98 1592 which returns the component instance's name to be used when building
1593 actions etc.
3ecba1df 1594 - Adding X-Forwarded-Port to allow the frontend proxy to dictate the
1595 frontend port (jshirley)
8ddad083 1596 - Added Catalyst::Stats->created accessor for the time at the start of
1597 the request.
371c6f1a 1598
1fe85999 1599 Documentation:
1600 - Fix POD to refer to ->config(key => $val), rather than
1601 ->config->{key} = $val, as the latter form is deprecated.
1602 - Clearer docs for the 'uri_for' method.
4373973a 1603 - Fix POD referring to CGI::Cookie. We're using CGI::Simple::Cookie.
7e743798 1604 (Forrest Cahoon)
1fe85999 1605
eb1057a1 16065.80007 2009-06-30 23:54:34
1607
1f851263 1608 Bug fixes:
1609 - Don't mangle query parameters passed to uri_for
545e1e3a 1610 - Tests for this (Byron Young + Amir Sadoughi)
1611 - Inherited controller methods can now be specified in
1612 config->{action(s)}
6e444c5c 1613 - Assigning an undef response body no longer produces warnings
1cad29ab 1614 - Fix C3 incompatibility bug caused if you use Moose in MyApp.pm and
1615 add Catalyst to the right hand side of this in @ISA.
fc564128 1616 - Make Catalyst.pm implement the Component::ApplicationAttribute
1617 interface so defining actions in MyApp.pm works again, if the
1618 actions have attributes that cause $self->_application to be used
1619 (like ActionClass).
1f851263 1620
a375a206 1621 New features:
1622 - Add optional second argument to uri_with which appends to existing
1623 params rather than replacing them. (foo=1 becomes foo=1&foo=2 when
1624 uri_with({ foo => 2 }, { mode => 'append' }) is called on a foo=1
545e1e3a 1625 URI.
a375a206 1626
73c6a22a 16275.80006 2009-06-29 23:37:47
1628
3c9b6867 1629 Bug fixes:
655dfc2a 1630 - Revert change to URL encode things passed into $c->uri_for
1631 Args and CaptureArgs as this causes breakage to pre-existing
545e1e3a 1632 applications.
655dfc2a 1633 - Remove use of Test::MockObject as it doesn't install from CPAN
545e1e3a 1634 in some environments.
655dfc2a 1635 - Remove use of dclone to deep copy configs and replace with
1636 Catalyst::Utils::merge_hashes which has the same effect, of
1637 ensuring child classes don't inherit their parent's config,
545e1e3a 1638 except works correctly with closures.
cf1fb734 1639 - Add Class::C3::reinitialize into Catalyst::Test to avoid weird
1640 bugs in ctx_request (bokutin in RT#46459)
1641 - Fix issues with _parse_PathPrefix_attr method in Catalyst::Controller
1642 (jasonk in RT#42816)
793112d6 1643 - Fix bugs with action sorting:
1644 - Path actions sorted so that the most specific wins.
1645 - Action methods named default and index fixed.
3c9b6867 1646
d58edd2a 1647 New features:
655dfc2a 1648 - Use ~ as prefix for plugins or action classes which are located in
1649 MyApp::Plugin / MyApp::Action (mo)
1650 - Controller methods without attributes are now considered actions if
1651 they are specified in config->{action(s)} (mo)
1652 - Add Catalyst::Component::ContextClosure as an easy way to create code
545e1e3a 1653 references, that close over the context, without creating leaks.
5d8129e9 1654
371c6f1a 1655 Refactoring / cleanups:
545e1e3a 1656 - Clean namespaces in Catalyst::Exception*.
f880d1ec 1657 - Turn Catalyst::Exception into an actual class and make the throw
1658 method create instances of it. They can still be used as normal
1659 strings, as before, as they are overloaded to stringify to their
545e1e3a 1660 error message.
1661 - Add a rethrow method to Catalyst::Exception.
f880d1ec 1662 - Add Catalyst::Exception::Detach and ::Go, and refactor detach() and
545e1e3a 1663 go() to use them instead of magic, global strings.
cf1fb734 1664 Fixes RT#47366
1665 - Clean up getting metaclass instance and making app class immutable
545e1e3a 1666 again in Catalyst::Test
f880d1ec 1667
7d665b58 16685.80005 2009-06-06 14:40:00
1669
0879fcc6 1670 Behaviour changes:
1671 - Arguments ($c->req->args) in Chained dispatch are now automatically
545e1e3a 1672 URL decoded to be consistent with Local/Path dispatch
0879fcc6 1673
1674 Documentation:
1675 - Clarify correct techniques for Moose controllers (domm)
1676
1677 Bug fixes:
a50e5b46 1678 - Further change pushing 'env' attribute down into Catalyst::Engine
1679 to make $c->engine->env work in all cases (kmx)
e8674cf7 1680 - Also fix $c->engine->env in Catalyst::Test tests (kmx)
545e1e3a 1681 - Tests for this
f66edc15 1682 - Fix Catalyst failing to start if any plugin changed $_ whilst
545e1e3a 1683 loading
f66edc15 1684 - Tests for this
dd97c1ac 1685 - Be stricter about arguments to Args attributes for Chained actions,
1686 so that they blow up on load instead of causing undefined behavior
545e1e3a 1687 later on
dd97c1ac 1688 - Tests for this
27042f8b 1689 - Prefer Path actions with a smaller (or set) number of Args (caelum)
1690 Bug reported here: http://stackoverflow.com/questions/931653/catalyst-action-that-matches-a-single-file-in-the-root-directory/933181#933181
1691 - Tests for this
0879fcc6 1692
d75b106e 1693 New features:
8026359e 1694 - Add $c->req->remote_user to disambiguate from $c->req->user (dwc)
d75b106e 1695 - Require MooseX::MethodAttributes 0.12 so that action methods
1696 (with attributes) can be used in / composed from Moose roles.
fd4d9ff7 1697 - Allow the generation of cookies with the HTTPOnly flag set
1698 in Catalyst::Engine (kmx)
8026359e 1699
92435154 17005.80004 2009-05-18 17:03:23
4373973a 1701 - Rename the actions attribute in Catalyst::Controller to
de144724 1702 _controller_actions to avoid name clashes with application
1703 controller naming. (random)
7ba9f98c 1704 - Test for using Moose in components which have a non-Moose base class
545e1e3a 1705 Fixed by 349cda in Moose 0.78
3cd3bc6a 1706 - Fix deprecation message for Catalyst::Dispatcher to refer
545e1e3a 1707 to the class actually calling the deprecated method. RT#45741
33d61a3b 1708 - Clarify limitations of $request->base and $request->secure.
1709 (Phil Mitchell)
5b6f82d2 1710 - Add 'use Catalyst' to documentation for a Moose MyApp class as
545e1e3a 1711 noted by dmaki.
6ab73369 1712 - Fix so that / (and other special characters) are URL encoded when
545e1e3a 1713 passed into $c->uri_for as Args/CaptureArgs
8317b3d1 1714 - Fix development server so that $c->engine->env returns the correct
545e1e3a 1715 environment
1716 - Require Moose 0.78 to fix metaclass incompatibility issues
c98492ae 1717 - Require MooseX::MethodAttributes 0.10 and use
1718 Moose::Meta::Class->initialize rather than Moose->init_meta to fix
545e1e3a 1719 bugs related to having a 'meta' method in your controller
df3956bf 1720 - Fix cases where your application failing to compile could cause perl
545e1e3a 1721 to report 'Unknown Error'
de144724 1722 - Support adding Moose::Roles to the plugin list. These are applied to
545e1e3a 1723 MyApp after plugins have been pushed onto @ISA
341620d5 1724 - Fix calling $c->req->parameters as the first thing you do when
545e1e3a 1725 parse_on_demand is on
33d61a3b 1726
5f3fc036 17275.80003 2009-04-29 16:23:53
eaae9a92 1728 - Various POD tweaks. (hdp, dandv)
545e1e3a 1729 - Fix formatting error in the regex fallback warning.
37eaceaf 1730 - Convert the dispatcher's and restarter engine's BUILD method to
1731 attribute builders to not override the BUILD method from
545e1e3a 1732 MooseX::Emulate::Class::Accessor::Fast.
4f03bb77 1733 - Fix classes without metaclasses restarting, when not using
545e1e3a 1734 B::Hooks::OP::Check::StashChange
59d5a638 1735 - Fix the unattached chain debug table for endpoints with no
545e1e3a 1736 parents at all.
d0003a28 1737 - Turn off test aggregation by default. Only aggregate if the
e262f38e 1738 AGGREGATE_TESTS environment variable is set and a recent
545e1e3a 1739 Test::Aggregate is available.
b553e30c 1740 - Bump to MooseX::MethodAttributes 0.09, to gain the
cf37d21a 1741 get_nearest_methods_with_attributes method allowing methods without
b553e30c 1742 attributes in a subclass to override those with attributes in a
84848664 1743 superclass. This fixes CatalystX::CRUD's method of overriding /
545e1e3a 1744 disabling functionality from base controllers.
1745 - Bump HTTP::Request::AsCGI dependency to avoid broken version
b553e30c 1746 - Bump Moose dependency to latest version to fix metaclass
545e1e3a 1747 incompatibility issues in some cases.
1748 - Additional tests for setup_stats method.
1749 - Fix log levels in Catalyst::Log to be properly additive.
1750 - Fix RT#43375 by sorting results before testing them
873b98ee 1751 - Fixes for uri_for_action when using Catalyst::DispatchType::Regex
1752 + tests from RT#39369 (norbi)
4373973a 1753 - Partial rewrite and reorganization of the C3 docs in
545e1e3a 1754 Catalyst::Upgrading based on feedback from kiffin
b6f3ffcb 1755 - If you make your application class immutable and turn off
1756 constructor inlining, Catalyst will die and tell you pass
1757 the (replace_constructor => 1) argument to
2c4d213f 1758 make_immutable. (Dave Rolsky)
e262f38e 1759
b8123bba 17605.80002 2009-04-22 01:28:36
4cb5d29f 1761 - Fix CATALYST_DEBUG and MYAPP_DEBUG environment variables
4373973a 1762 turning debugging on if defined, rather than if set.
4cb5d29f 1763 They now force debugging on or off, taking precedence over
545e1e3a 1764 configuration in your application.
1765 - Tests for this
05d79b22 1766 - pass replace_constructor to the immutable call to ensure
1767 applications get a Moose constructor rather than a C::A one
16b7c476 1768 - Fix issues with restarting the application class due to C3 failures
545e1e3a 1769 on perl 5.10
2f5cb070 1770 - Work around issues in Moose with initialization order of multiple
545e1e3a 1771 levels of non-Moose classes inheriting from a Moose class
2f5cb070 1772 - Test for this
71415389 1773 - Add backwards compatibility method for Catalyst::Log->body, which
545e1e3a 1774 has been made private
e99ec2dc 1775 - Fix so that calling $c->req->parameters(undef) does not flatten
545e1e3a 1776 the request parameters with undef + test
9c9a725d 1777 - Fix so that width of table of unattached actions for debugging
e99ec2dc 1778 ::DispatchType::Chained varies according to your terminal width
9c9a725d 1779 (Oleg Kostyuk)
e99ec2dc 1780 - Fix warning message about linearized @ISA in Catalyst::Component
1cc8db0c 1781 (Emanuele Zeppieri)
93704c74 1782 - Require MX::MethodAttributes 0.06 to avoid issues with saying
545e1e3a 1783 use base 'Catalyst::Controller'; use Moose; losing actions
1784 - Fix all of's typos in ::Upgrading and ::Delta (hobbs)
93704c74 1785
fae37484 17865.80001 2009-04-18 22:18
84617fd5 1787 - Don't inline the constructor for Catalyst::Log to avoid a
1788 warning on recent Moose versions.
b31499bc 1789 - Add delta documentation
1790 - Clean up recursion errors
b9b89145 1791 - Extra cross links in dispatch types POD (Ian Wells)
84617fd5 1792 - Test uri_with clears query params when they are set to undef
6ebb7818 1793 (Ian Wells)
9992a599 1794 - Complain about old Catalyst::Devel versions which generated
545e1e3a 1795 ->setup(qw/-Debug... etc. as this is not recommended
6ebb7818 1796
b6103f13 17975.8000_07 2009-04-12 13:37
e995c634 1798 - Add the Catalyst::Dispatcher->dispatch_type method (ash)
13c6b4cc 1799 - Throw an exception rather than loading an app if an action
545e1e3a 1800 tries to chain to itself
13c6b4cc 1801 - Tests for this
02298d3a 1802 - Change the $c->visit and $c->go methods to optionally take
545e1e3a 1803 CaptureArgs, making them useful to call ActionChains with
02298d3a 1804 - Tests for this (radek)
1805 - Fix _invoke_as_component method to find the proper action instance
1806 for dispatchable actions so that ->visit or ->going to ActionChains
545e1e3a 1807 with qw/Class::Name method_name/ works correctly
02298d3a 1808 - Tests for this (radek)
f2e13bbd 1809 - Added Catalyst::Test::ctx_request to be able to inspect
1810 the context object after a request is made (Jos Boumans)
c74d3f0c 1811 - debug() POD rewrite (jhannah)
f0ee3380 1812 - Change the warning when you have conflicting components to
545e1e3a 1813 present a list
19a24dbb 1814 - Move NEXT use and testing deprecated features out to its own
1815 test application so that the main TestApp isn't polluted with
545e1e3a 1816 spurious warnings
1817 - Add a warning for the old ::[MVC]:: style naming scheme
1818 - Test for this
2d9f9c8d 1819 - Kill Class::C3::Adopt::NEXT warnings for the Catalyst:: namespace
545e1e3a 1820 in production versions
56e19078 1821 - Tidy up Catalyst::ClassData to ensure that all components get
545e1e3a 1822 the correct metaclass
4d0270d3 1823 - Make MyApp.pm restartable by unsetting setup_finished in
545e1e3a 1824 the restarter process
65b708a6 1825 - Non-naive implementation of making mutable on restart using
545e1e3a 1826 B::Hooks::OP::Check::StashChange if installed
1827 - Tests for this
65b708a6 1828 - Naive implementation of making all components mutable in the
1829 forked restart watcher process so native Moose apps using
545e1e3a 1830 immutable restart correctly.
1831 - Tests for this
107d0ba0 1832 - Bump Moose dependency to 0.70 so that we avoid nasty surprises
545e1e3a 1833 with is_class_loaded and perl 5.80 when you Moosify MyApp.pm
8f58057d 1834 - Clarify that request arguments aren't unescaped automatically
1835 (Simon Bertrang) (Closes RT#41153)
545e1e3a 1836 - Don't require C3 for the MRO test
1837 - Bump MX::Emulate::CAF prereq to support list assignment
1838 - Remove useless column in chained action debug table.
1839 - namespace::clean related cleanups
1840 - Import related cleanups and consistency fixes
1841 - Fix test suite TestApp /dump/env action
1842 - Add $res->code as alias for $res->status
8c7f89e1 1843 - Make Catalyst::ClassData compatible with the latest Class::MOP::Class
545e1e3a 1844 changes. Also depend on the latest Class::MOP.
1845 - Add $c->uri_for_action method.
1846 - Don't stringify the meta method. Use its name instead.
e7924bb5 1847 - Use MooseX::MethodAttributes::Inheritable to contain action
1848 attributes. This means that attributes are now represented in the MOP,
545e1e3a 1849 allowing method modifiers on actions to work as expected.
e7924bb5 1850 - Provide a reasonable API in Catalyst::Controller for working with
1851 and registering actions, allowing a controller sub-class to replace
4373973a 1852 subroutine attributes for action declarations with an alternate
545e1e3a 1853 syntax.
e7924bb5 1854 - Instantiate correct sub-class of Moose::Meta::Class for non-Moose
1855 components where Catalyst forces the creation of a metaclass instance.
1856 This is more correct, and avoids metaclass incompatibility in complex
545e1e3a 1857 cases
1858 - Tests for this
1859 - Use of deprecated Catalyst::Base now warns.
1860 - Add uri_with tests
8f58057d 1861
46b6daa3 18625.8000_06 2009-02-04 21:00
545e1e3a 1863 - Disallow writing to config after setup
1864 - Disallow calling setup more than once
516a5fe8 1865 - Documentation fix regarding overloading of Engine and Dispatcher
545e1e3a 1866 instances
1867 - Several documentation typo fixes
516a5fe8 1868 - Stop Makefile.PL from warning about versions that fixed a conflict
545e1e3a 1869 - Improved upgrading documentation
516a5fe8 1870 - Seed the RNG in each FastCGI child process (Andrew Rodland)
545e1e3a 1871 - Properly report dynamic bind port for the development server
edf6cfd9 1872 (Closes RT#38544)
1873 - Use the way documented by IO::Socket::INET to get the error message
545e1e3a 1874 after trying to create a listening socket (Closes RT#41828)
edf6cfd9 1875 - Don't ignore SIGCHLD while handling requests with the dev server
545e1e3a 1876 (Closes RT#42962)
516a5fe8 1877
236b8005 18785.8000_05 2008-29-01 00:00
39fc2ce1 1879 - Text::SimpleTable's go as wide as $ENV{COLUMNS} (jhannah)
1880 Patch written by Oleg Kostyuk <cub.uanic@gmail.com>
8ada55c4 1881 - Improve docs for visit (mateu)
23c63a17 1882 - Add docs for finalize hook (dhoss)
5fa1b216 1883 - Added ru/ua translations to error page
0580fbde 1884 - Improve the clarity and verbosity of the warning when component
1885 resolution uses regex fallback. (jhannah)
df3956bf 1886 - Handle leading CRLF in HTTP requests sometimes sent by IE6 in
545e1e3a 1887 keep-alive requests.
c46dd4e8 1888 - Fixes for FastCGI with IIS 6.0 (janus)
4348c28b 1889 - Passing request method exported by Catalyst::Test an extra
1890 parameter used to be ignored, but started breaking if the parameter
1891 was not a hash in 5.8000_04. Extra parameter is now ignored if
545e1e3a 1892 it isn't a hashref
4373973a 1893 - Fix request arguments getting corrupted if you override the
df3956bf 1894 dispatcher and call an action which detaches (for
545e1e3a 1895 Catalyst::Plugin::Authorization::ACL)
d258fcb2 1896 - Fix calling use Catalyst::Test 'MyApp' 'foo' which used to work,
545e1e3a 1897 but stopped as the 2nd parameter can be an options hash now
1898 - Bump Moose dependency to fix make_immutable bug
1899 - Use compile time extends in Catalyst::Controller
121b0c3a 1900 - Make Catalyst::Request::uploads attribute non-lazy, to fix
545e1e3a 1901 test for Catalyst-Engine-Apache
1902 - Bump version of MooseX::Emulate::Class::Accessor::Fast
aa59ee3c 1903 - Stop using MooseX::Adopt::Class::Accessor::Fast by default, to stop
1904 breaking other packages which use Class::Accessor::Fast
df3956bf 1905 - Remove unused action_container_class attribute from
545e1e3a 1906 Catalyst::Dispatcher
1907 - Replace {_body} instance access with calls to _body accessors
df3956bf 1908 - Add backwards compatibility alias methods for private attributes on
1909 Catalyst::Dispatcher which used to be public. Needed by
1910 Catalyst::Plugin::Server and Catalyst::Plugin::Authorization::ACL
610bc6ec 1911 - Fix return value of $c->req->body, which delegates to the body
545e1e3a 1912 method on the requests HTTP::Body instance
1913 - Test for this
069355da 1914 - Fix calling $c->req->body from inside an overridden prepare_action
545e1e3a 1915 method in a plugin, as used by Catalyst::Plugin::Server
1916 - Test for this
083ee5d9 1917 - Fix assignment to Catalyst::Dispatcher's preload_dispatch_types and
df3956bf 1918 postload_dispatch_types attributes - assigning a list should later
545e1e3a 1919 return a listref. Fixes Catalyst::Plugin::Server.
1920 - Tests for this
df3956bf 1921 - Change streaming test to serve itself rather than 01use.t, making
545e1e3a 1922 test sync for engines easier
961a1af0 1923 - Refactor capturing of $app from Catalyst::Controller into
c1ec627e 1924 Catalyst::Component::ApplicationAttribute for easier reuse in other
545e1e3a 1925 components
1926 - Make the test suites YAML dependency optional
01ce7075 1927 - Make debug output show class name for the engine and dispatcher
545e1e3a 1928 rather than the stringified ref.
3d041c32 1929 - Make MyApp immutable at the end of the scope after the setup
df3956bf 1930 method is called, fixing issues with plugins which have their
545e1e3a 1931 own new methods by inlining a constructor on MyApp
1932 - Test for this and method modifiers in MyApp
a12e6f17 1933 - Fix bug causing Catalyst::Request::Upload's basename method
545e1e3a 1934 to return undef
a12e6f17 1935 - Test for this (Carl Franks)
f55d1491 1936 - Fix loading of classes which do not define any symbols to not
545e1e3a 1937 die, as it didn't in 5.70
1938 - Test for this
5e0a1a00 1939 - Bump MooseX::Emulate::Class::Accessor::Fast dependency
545e1e3a 1940 to force new version which fixes a lot of plugins
0fa676a7 1941 - Make log levels additive, and add documentation and tests
1942 for the setup_log method, which previously had none.
545e1e3a 1943 Sewn together by from two patches provided by David E. Wheeler
fd0434d7 1944 - Switch an around 'new' in Catalyst::Controller to a BUILDARGS
545e1e3a 1945 method as it's much neater and more obvious what is going on
df3956bf 1946 - Add a clearer method on request and response _context
02570318 1947 attributes, and use if from ::Engine rather than deleting
545e1e3a 1948 the key from the instance hash
02570318 1949 - Use handles on tree attribute of Catalyst::Stats to replace
545e1e3a 1950 trivial delegation methods
02570318 1951 - Change the following direct hash accesses into attributes:
1952 Catalyst::Engine: _prepared_write
1953 Catalyst::Engine::CGI: _header_buf
1954 Catalyst::Engine::HTTP: options, _keepalive, _write_error
1955 Catalyst::Request: _path
02570318 1956 Catalyst::Stats: tree
df3956bf 1957 - Fix issues in Catalyst::Controller::WrapCGI
1958 and any other components which import (or define) their
24e6a237 1959 own meta method by always explicitly calling
545e1e3a 1960 Class::MOP::Object->meta inside Catalyst
1961 - Add test for this
df3956bf 1962 - Add test case for the bug which is causing the
545e1e3a 1963 Catalyst::Plugin::Authentication tests to fail
f6ba9b54 1964 - Fix a bug in uri_for which could cause it to generate paths
545e1e3a 1965 with multiple slashes in them.
1966 - Add test for this
f6ba9b54 1967 - Fix SKIP block name in t/optional_http-server-restart.t,
df3956bf 1968 stopping 'Label not found for "last SKIP"' error from
545e1e3a 1969 Test::More
1970 - Workaround max_redirect 0 bug in LWP
1971 - Move live_engine_response_print into aggregate
1972 - Fix dependency bug, s/parent/base/ in new test
df3956bf 1973 - Fix optional tests to run the live tests in the aggregate
545e1e3a 1974 dir
1975 - Fix Catalyst->go error in remote tests
df3956bf 1976 - Fix upload test to work with remote servers, don't check for
545e1e3a 1977 deleted files
df3956bf 1978 - Fix engine_request_uri tests to work on remote server with
545e1e3a 1979 different URI
f6ba9b54 1980
76b3b586 19815.8000_04 2008-12-05 12:15:00
545e1e3a 1982 - Silence Class::C3::Adopt::NEXT warnings in the test suite
1983 - Fix loads of 'used once, possible typo' warnings
1984 - Additional tests to ensure upload temp files are deleted
dbb2d5cd 1985 - Remove use of NEXT from the test suite, except for one case
545e1e3a 1986 which tests if Class::C3::Adopt::NEXT is working
6cb9e383 1987 - Use a predicate to avoid recursion in cases where the uri
1988 method is overridden by a plugin, and calls the base method,
545e1e3a 1989 for example Catalyst::Plugin::SmartURI
6cb9e383 1990 - Test for this (caelum)
df3956bf 1991 - Compose the MooseX::Emulate::Class::Accessor::Fast role to
1992 Catalyst::Action, Catalyst::Request, and all other modules which
531f1ab6 1993 inherit from Class::Accessor::Fast in 5.70.
1994 This fixes:
1995 - Catalyst::Controller::HTML::FormFu (zamolxes)
545e1e3a 1996 - Catalyst::Request::REST
1997 - Test for this
8fc0d39e 1998 - Make hostname resolution lazy (Marc Mims)
d9d04ded 1999 - Support mocking virtualhosts in test suite (Jason Gottshall)
545e1e3a 2000 - Add README
2001 - Fix TODO list
2002 - Use Class::C3::Adopt::NEXT
2003 - Ignore C3 warnings on 5.10 when testing ensure_class_loaded
86ffd579 2004 - Add TODO test for chained bug (gbjk)
2005 - Fix list address in documentation (zarquon)
545e1e3a 2006 - Fix ACCEPT_CONTEXT on MyApp, called as a class method
2007 - Test for this
df3956bf 2008 - Bump MooseX::Emulate::Class::Accessor::Fast version requirement to
545e1e3a 2009 get more back compatibility
86ffd579 2010 - Improve documentation for $req->captures (caelum)
2011 - Fix a bug in Catalyst::Stats, stopping garbage being inserted into
2012 the stats if a user calls begin => but no end => (jhannah)
2013 - Test for this (jhannah)
2014 - Trim lines sooner in stats to avoid ugly Text::SimpleTable wrapping
2015 (jhannah)
2016 - Change Catalyst::ClassData to tweak the symbol table inline for
545e1e3a 2017 performance after profiling
86ffd579 2018 - Fix POD typo in finalize_error (jhannah)
df3956bf 2019 - Add tests to ensure that we delete the temp files created by
545e1e3a 2020 HTTP::Body's OctetStream parser
d9d04ded 2021
73e131a9 20225.8000_03 2008-10-14 14:13:00
545e1e3a 2023 - Fix forwarding to Catalyst::Action objects.
8fc89e76 2024 - Fix links to the mailing lists (RT #39754 and Florian Ragwitz).
545e1e3a 2025 - Use Class::MOP instead of Class::Inspector.
2026 - Change Catalyst::Test to use Sub::Exporter.
bdcac530 2027 - Fixed typo in Engine::HTTP::Restarter::Watcher causing -r to complain.
04557ef8 2028
ce8dcf03 20295.8000_02 2008-10-14 07:59:00
2030 - Fix manifest
2031
20325.8000_01 2008-10-13 22:52:00
2055d9ad 2033 - Port to Moose
2034 - Added test for action stringify
2ef59958 2035 - Added test for component instances getting $self->{value} from config.
545e1e3a 2036 - Add Catalyst::Response->print() method
2037 - Optionally aggregate tests using Test::Aggregate.
df3956bf 2038 - Additional docs for uri_for to mention how to use $c->action and
9df7c5d9 2039 $c->req->captures (jhannah)
545e1e3a 2040 - List unattached chained actions in Debug mode.
88eee38e 2041 - Pod formatting fix for Engine::FastCGI (Oleg Kostyuk).
ae0e35ee 2042 - Add visit, a returning ->go
2055d9ad 2043
2f381252 20445.7XXXXXX XXXX
b7ded0bd 2045 - Workaround change in LWP that broke a cookie test (RT #40037)
8a27f860 2046 - Back out go() since that feature's been pushed to 5.80
2f381252 2047 - Fix some Win32 test failures
2048 - Add pt translation of error message (wreis)
545e1e3a 2049 - Make :Chained('../action') work
6cf9bf47 2050 - Add test actions
2051 - Chained doc improvements (rev 8326-8328)
2f381252 2052
20535.7099_03 2008-07-20 10:10:00
2054 - Fix regressions for regexp fallback in model(), view() and controller()
2055 - Added the supplied argument to the regexp fallback warning for easier
2056 debugging
2057 - Ensure ACCEPT_CONTEXT is called for results from component()
2058
20595.7099_02 2008-07-16 19:10:00
2060 - Added PathPrefix attribute
2061 - Removed Catalyst::Build; we've long since moved to Module::Install
2062 - Updated Catalyst::Test docs to mention the use of HTTP::Request
545e1e3a 2063 objects
2f381252 2064
20655.7099_01 2008-06-25 22:36:00
2066 - Refactored component resolution (component(), models(), model(), et al). We now
2067 throw warnings for two reasons:
2068 1) model() or view() was called with no arguments, and two results are returned
2069 -- set default_(model|view), current_(model|view) or current_(model|view)_instance
2070 instead
df3956bf 2071 2) you call a component resolution method with a string, and it resorts to a regexp
2f381252 2072 fallback wherein a result is returned -- if you really want to search, call the
2073 method with a regex as the argument
2074 - remove 0-length query string components so warnings aren't thrown (RT #36428)
2075 - Update HTTP::Body dep so that the uploadtmp config value will work (RT #22540)
2076 - Fix for LocalRegex when used in the Root controller
2077 - Get some of the optional_* tests working from dirs with spaces (RT #26455)
2078 - Fix Catalyst::Utils::home() when application .pm is in the current dir (RT #34437)
2079 - Added the ability to remove parameters in req->uri_with() by passing in
2080 an undef value (RT #34782)
2081 - Added $c->go, to do an internal redispatch to another action, while retaining the
2082 contents of the stash
2083
20845.7014 2008-05-25 15:26:00
2085 - Addition of .conf in restart regex in Catalyst::Engine::HTTP::Restarter::Watcher
df3956bf 2086 - Fix regression for relative uri_for arguments after a forward()
2087 introduced in 5.7013 (Peter Karman)
2088 - Fix regression for "sub foo : Path {}" in the root controller which
2f381252 2089 was introduced when attempting to allow "0" as a Path.
2090
20915.7013 2008-05-16 18:20:00
4373973a 2092 - Provide backwards compatibility methods in Catalyst::Stats
059c085b 2093 - Fix subdirs for scripts that run in subdirs more than one level deep.
25f55123 2094 - Added test and updated docs for handling the Authorization header
2095 under mod_fastcgi/mod_cgi.
059c085b 2096 - Fixed bug in HTTP engine where the connection was not closed properly if the
2097 client disconnected before sending any headers. (Ton Voon)
2f381252 2098 - POD fix, IO::FileHandle => IO::Handle (RT #35690)
2099 - Fix grammar on welcome page (RT #33236)
2100 - Fix for Path('0') handling (RT #29334)
2101 - Workaround for Win32 and c3_mro.t (RT #26452, tested by Kenichi Ishigaki)
545e1e3a 2102 - Fix for encoding query parameters
2103 - Fix Chained multiple test
25f55123 2104
2cbd9d12 21055.7012 2007-12-16 23:44:00
7066a4d5 2106 - Fix uri_for()'s and uri_with()'s handling of multibyte chars
2107 (Daisuke Murase)
300633a8 2108 - Fix __PACKAGE__->config->{foo} = 'bar' case with subclassing
e79a3d1c 2109 - Add Catalyst::Stats (Jon Schutz)
d2dffcb4 2110 - Fixed a bug where ?q=bar=baz is decoded as q=>'bar', not 'bar=baz'.
2111 (Tatsuhiko Miyagawa, Masahiro Nagano)
ea52914e 2112 - Fixed a bug where -rr (restart regex) command line option could cause
2113 shell errors. (Aristotle Pagaltzis, Chisel Wright)
41593b49 2114
21155.7011 2007-10-18 20:40:00
9c71d51d 2116 - Allow multiple restart directories and added option to follow
2117 symlinks in the HTTP::Restarter engine (Sebastian Willert)
2118 - Fixed t/optional_http-server-restart.t so it actually tests
2119 if the server restarted or notified of an error (Sebastian Willert)
44c6d25a 2120 - Return child PID from the HTTP engine when run with the 'background' option.
2121 (Emanuele Zeppieri)
4d4d6635 2122 - Fixed bug in HTTP engine where writes could fail with
2123 'Resource temporarily unavailable'.
d97e195c 2124 - Fixed bug where %2b in query parameter is doubly decoded to ' ', instead of '+'
2f381252 2125 (RT #30087, Gavin Henry, Tatsuhiko Miyagawa, Oleg Pronin)
de19de2e 2126 - Fixed bug where req->base and req->uri would include a port number when running
2127 in SSL mode.
228f9466 2128 - Removed unnecessary sprintf in debug mode that caused warnings on locales where
2129 commas are used for decimal markers.
23147ed7 2130 - Improved error message for case when server picks up editor save
2131 files as module names. (James Mastros)
4d4d6635 2132
328f67a7 21335.7010 2007-08-22 07:41:00
2134 - Resource forks in 5.7009
2135
d0880659 21365.7009 2007-08-22 00:14:00
df3956bf 2137 - Moved Manual.pod to Manual.pm and clarified status of
5ad4786f 2138 Catalyst-Manual dist
2139 - Doc patches to Catalyst::Controller
dd91afb5 2140 - remove ignore_loaded from plugin load, commenting why
2141 - document the ignore_loaded feature in Catalyst::Utils
4ca147fa 2142 - Add testing of inline plugins.
5254e926 2143
21445.7008 2007-08-13 08:40:00
3b4d1251 2145 - Added $c->request->query_keywords for getting the keywords
2146 (a query string with no parameters).
2147 - Add undef warning for uri_for.
2148 - Fix bug where a nested component would be setup twice.
2149 - Make ensure_class_loaded behave better with malformed class name.
2150 - Make _register_plugin use ensure_class_loaded.
2151 - Remove 'Argument "??" isn't numeric in sprintf' warning.
12bf12c0 2152 (Emanuele Zeppieri)
45eb6565 2153 - Fixed a bug where Content-Length could be set to 0 if a filehandle
2154 object in $c->response->body did not report a size.
1b45d7e5 2155 - Fixed issue where development server running in fork mode did not
2156 properly exit after a write error.
2157 (http://rt.cpan.org/Ticket/Display.html?id=27135)
3b4d1251 2158 - Remove warning for captures that are undef.
878b821c 2159 - Fixed $c->read and parse_on_demand mode.
e512dd24 2160 - Fixed a bug with the HTTP engine where very large response bodies
2161 would not be sent properly.
45eb6565 2162
46372e65 21635.7007 2007-03-13 14:18:00
933ba403 2164 - Many performance improvements by not using URI.pm:
2165 * $c->uri_for (approx. 8x faster)
2166 * $c->engine->prepare_path (approx. 27x faster)
2167 * $c->engine->prepare_query_parameters (approx. 5x faster)
5c2c224d 2168 - Updated HTTP::Body dependency to 0.9 which fixes the following issues:
2169 * Handle when IE sometimes sends an extra CRLF after the POST body.
2170 * Empty fields in multipart/form-data POSTs are no longer ignored.
2171 * Uploaded files with the name "0" are no longer ignored.
933ba403 2172 - Sending SIGHUP to the dev server will now cause it to restart.
2173 - Allow "0" for a path in uri_for.
06744540 2174 - Performance and stability improvements to the built-in HTTP server.
db9db407 2175 - Don't ignore file uploads if form contains a text field with the same name.
2176 (Carl Franks)
951572c0 2177 - Support restart_delay of 0 (for use in the POE engine).
847e3257 2178 - Skip body processing if we don't have a Content-Length header.
65bf97ed 2179 Results in about a 9% performance increase when handling GET/HEAD
2180 requests.
39655cdc 2181 - Add a default body to redirect responses.
72f87c4b 2182 - MyApp->model/view now looks at MyApp->config->{default_view/model}
2183 (Bogdan Lucaciu)
2db8beac 2184
59ac2b86 21855.7006 2006-11-15 14.18
2db8beac 2186 - Updated manifest
2187 - Fix Slurp dependency
df3956bf 2188 - Updated HTTP::Body dependency to 0.6, 0.5 can break on large POST
65bf97ed 2189 requests.
d0f0fcf6 2190 - Skip utf8 fix for undef values in uri_with() and uri_for()
69eecfe5 2191
3e6f3bd6 21925.7005 2006-11-07 19:37:35
3aa14091 2193 - Fixed lighttpd tests to be properly skipped.
2194 - Moved IE workarounds to exist only in the HTTP engine.
b1eac6af 2195 - Added installation instructions (from Catalyst-Manual dist)
3aa14091 2196
21975.7004 2006-11-06 20:48:35
3150d774 2198 - Fix Engine::HTTP crash when using IE. (Jesper Krogh, Peter Edwards)
1807fc27 2199 - clean up Catalyst::Utils to handle some edge cases
a72b503e 2200 - Properly work around lighttpd PATH_INFO vs. SCRIPT_NAME bug
1807fc27 2201 (Mark Blythe)
b2a3cbd1 2202 - add _application accessor to Catalyst::Base
1807fc27 2203 - Support current_view
b2a3cbd1 2204 - Allow use of Catalyst::Test without app name (Ton Voon, Altinity)
1807fc27 2205 - Catalyst::Manual moved to its own package
2206 - Add option to FastCGI engine to send errors to stdout, not the web server
df3956bf 2207 - Use Module::Install's auto_install to install prerequisite modules
a72b503e 2208 - various documentation fixes and improvements
df3956bf 2209
8df78603 22105.7003 2006-09-21 16:29:45
2211 - Additions and updates to tutorial
2212
087ce3bb 22135.7002 2006-09-17 19:35:32
7f64ae17 2214 - unescape captures to match args
2215 - fix for relative Chained under namespace '' (root)
6d316c39 2216 - fix for hashrefs in action attributes from config
f505df49 2217 - fix for Chained to require correct number of CaptureArgs
7f64ae17 2218
2bf9a2ec 22195.7001 2006-07-19 23:46:54
0435af55 2220 - fix for component loading
2221 - uri_for and uri_with now behave as they used to with non-
2222 array references
2223
0db1da0f 22245.7000 2006-07-07 08:08:08
5db46287 2225 - fix FCGI.pm warning message with FastCGI engine
9d8e174a 2226 - bumped inc::Module::Install to 0.63 in Makefile.PL
8b13f357 2227 - fixes to uri_for_action for DispatchType::Chained
3e6f3bd6 2228 - Further doc work.
df3956bf 2229 - Minor code cleanups
3e6f3bd6 2230 - Changed catalyst.pl to depend on Catalyst::Devel
4ba28188 2231
ebaf0dde 22325.70_03 2006-06-28 16:42:00
bc7e54f2 2233 - fixup to registered plugins debug at app startup
2234 - refactored Catalyst::Utils::home
ebaf0dde 2235
22365.70_02 2006-06-27 11:51:00
2db8beac 2237 - Updated tutorial.
ebaf0dde 2238
22395.70_01 2006-06-26 10:49:00
2240
ccea086c 2241 - fixed a Catalyst::Base bug causing duplicate action registrations
2242 - modified DispatchTypes to support multiple registrations
2243 - added Catalyst::Runtime module as dist marker
2244 - added Catalyst::ActionChain and Chained DispatchType
9a6ecf4f 2245 - removed retarded registration requirement in dispatcher
364d7324 2246 - removed Module::Pluggable::Fast hack in favor of
2247 Module::Pluggable::Object
ea0e58d9 2248 - extended uri_for, added dispatcher->uri_for_action
2a563513 2249 - added Catalyst::Base->action_for('methodname')
0bd5f8a2 2250 - checked and tested :Args multimethod dispatch
c02f7490 2251 - added ability to set action attributes from controller config
baf6a3db 2252 - added merge_config_hashes() as a convenience method
fa32ac82 2253 - Swapped out CGI::Cookie in favour of CGI::Simple::Cookie
2254 - Removed test dependencies on Test::NoWarnings, Test::MockObject
1e514a51 2255 - Removed dependency on UNIVERSAL::require
723f0262 2256 - Split out Catalyst::Helper into a new distribution
2257 - un-bundled the plugins as they are now pre-reqs for Catalyst::Helper
c82ed742 2258 - nuked each() out of core with prejudice (due to lurking buglets)
2259 - Added tests from phaylon for dispatcher precedence
16d306fa 2260 - Use Class::Inspector->loaded($class) instead of $class->can('can')
734a1e11 2261 - Added ActionClass attribute
e6dc3059 2262 - Removed Test::WWW::Mechanize::Catalyst from Makefile.PL (circular dep)
825dbf85 2263 - Updated docs for Catalyst::Component
b8f669f3 2264 - Separated execute and dispatch on Catalyst::Action
34d28dfd 2265 - cleaned up logging and debug output
2db8beac 2266 - significant documentation revisions
5168a5fc 2267 - Added warning for setup being called twice
60fa95ba 2268 - Fix pod to use DBIC::Schema instead of DBIC model
5e707396 2269 - Fix ->config failing to copy _config for subclassing
f63c03e4 2270 - Updated log format
2271 - Updated debug dump
5e707396 2272
50f6a990 22735.6902 2006-05-04 13:00:00
2274 - Remove tarballs and OSX metadata files.
2275
22765.6901 2006-05-03 11.17:00
df3956bf 2277 - Module::Install didn't overwrite META.yml.
f5dd5cc5 2278
50f6a990 22795.6900 2006-05-03 11.17:00
052a2d89 2280 - Stupid pause indexer can't count.
2281 - Better fix for Catalyst::Test
2282 - more tests.
2283
22845.682 2006-04-27 13:51:00
df3956bf 2285 - Damn OSX attributes again :(
052a2d89 2286
22875.681 2006-04-27 08:47:00
2288 - Updated manifest.
2289 - Add basename to core . (Deprecates Catalyst::Plugin::Basename)
df3956bf 2290
a9558b34 22915.68 2006-04-26 12:23:00
2292 - ConfigLoader: Updated to version 0.06
2293 - fixed undef warnings in uri_for() and uri_with()
2db8beac 2294 - Fixed Catalyst::Test to report errors on failed Class load
a9558b34 2295
38d13baa 22965.678 2006-04-24 12:30:00
2297 - Re-release of 5.67 without OSX metadata files.
2298
b4b01a8a 22995.67 2006-04-23 08:50:00
38d13baa 2300 - Added $c->req->uri_with() helper
4fe3060e 2301 - ConfigLoader: Updated to version 0.05
4c423abf 2302 - Fix up Engine to avoid a new 5.8.8 warning
db5891bf 2303 - Added app name with :: support for PAR
3b88a455 2304 - Added $c->models/views/controllers
d84a238a 2305 - Static::Simple: Unescape the URI path before looking for the file.
2306 This fixes issues with files that have spaces.
2307 - Looping and recursion tests plus a fix
b4b01a8a 2308 - Added lots of API documentation. Refactored main pod.
d84a238a 2309 - Changed default behaviors for $c->model/$c->controller/$c->view
2310 to more sane settings.
2311 - added the clear_errors method - an alias for error(0)
1dafef55 2312 - Added tmpdir option for uploads (woremacx)
7257e9db 2313 - Applied patch from GEOFFR to allow normal filehandles.
c8db5001 2314 - Refactored Dispatcher internals for better readability and speedup
2315 (stress tests run 12% faster)
9ce44430 2316 - Allow $c->error to run as a class method
649fd1fa 2317
f1bbebac 23185.66 2006-03-10 17:48:00
3736410f 2319 - Added Test::WWW::Mechanize::Catalyst support
6aaa1c60 2320 - Cleaned generated tests
d84a238a 2321 - Added Root controller concept
e70a5d36 2322 - Updated ConfigLoader plugin to version 0.04
6aa6b72b 2323
855ed931 23245.65 2006-02-21 10:34:00
2325 - Added plugin introspection.
2326 - Support optional hashref as last param for parameters in uri_for.
2327 - Updated tutorial to be more complete.
2328 - Applied args patch from antirice (Fixes Ticket #67)
8327e2e2 2329
6e234050 23305.64 2006-02-07 20:29:00
9f778270 2331 - Fixed bug in FastCGI proc manager mode where pm_post_dispatch
2332 was not run. (Eric Wong)
92ffbc90 2333 - Cleaned up generated tests
1a7b17db 2334 - Updated YAML support to use ConfigLoader
595f3872 2335 - Fixed path dispatch to canonicalise correctly
2336 (see http://dev.catalyst.perl.org/ticket/62)
aa2b0d97 2337 - Added Catalyst::Manual::About
595f3872 2338
a6ad13b6 23395.63 2006-01-22 00:00:00
83cbe493 2340 - Updated prereq versions
2341
ff5577c4 23425.62 2006-01-17 16:30:00
0a73a212 2343 - Large update to the tutorial (castaway)
99f187d6 2344 - Added YAML config support
22247e54 2345 - Added COMPONENT() and ACCEPT_CONTEXT() support
5513038d 2346 - Action list in debug mode is now displayed as a tree in the
2347 correct execution order.
9b0a3e0f 2348 - Fixed engine detection to allow custom mod_perl engines.
0db14221 2349 - Static::Simple: Fixed bug in ignore_dirs under win32.
d10c3e60 2350 - Display version numbers of loaded plugins. (Curtis Poe)
5ace8f96 2351 - Added class and method for caught exception messages.
20682ed8 2352 - Updated PAR support to use "make catalyst_par",
5ace8f96 2353 packages are no longer written by Makefile.PL.
8f62c91a 2354 - Automatically determine Content-Length when serving a
2355 filehandle.
5ace8f96 2356 - Exceptions now return status 500.
2357 - Updated for Module::Install 0.44.
2358 - Fixed additional file installation for multi level app names.
0bcb98c7 2359 - Added REDIRECT_URL support for applications running behind
2360 a RewriteRule in Apache. (Carl Franks)
6f2e0021 2361 - Fixed FastCGI engine under win32. (Carl Franks)
d7d72ad9 2362 - FastCGI doc updates (Bill Moseley)
29f5acef 2363 - Bugfix for $c->model and friends (defined).
0bcb98c7 2364
022d1311 23655.61 2005-12-02 00:00:00
2366 - Fixed ExtUtils::AutoInstall Bootstrap Code in Makefile.PL
2367
e1ab96e1 23685.60 2005-12-01 22:15:00
61a9002d 2369 - Fixed Path and index actions in the appclass,
2370 including those that attach to /
2371 - Index is now weighted higher than Path
6780cd43 2372 - Fixed restarter and -d debug switch in server.pl.
ee26f4bd 2373 - Added a warning if you attempt to retrieve a parameter
2374 using $c->req->params('foo').
7cf46fb4 2375 - Fixed the Module::Install::Catalyst @ISA bug
6fe8a91d 2376
294f78ca 23775.59 2005-11-30 13:25:00
8565f89d 2378 - Fixed shebang line for generated scripts
86d993ab 2379 - Fixed forward to classes ($c->forward(qw/MyApp foo/))
f075593c 2380 - Wrap use block in begin to quelch C:C3 warnings
2381 - Removed scrollbar from debug output
6c165c4b 2382 - Fixed catalyst_par_core() and catalyst_par_multiarch()
86d993ab 2383
2e4a6ec3 23845.58 2005-11-24 10:51:00
9624cd13 2385 - Added ExtUtils::AutoInstall support
c8db5001 2386 - Allow overriding path in Catalyst::Helper.
4e90e3c1 2387 - Added -makefile to catalyst.pl to generate a new Makefile.PL.
10d487cb 2388 - Restored Catalyst::Build with a deprecation notice.
975ba103 2389 - Improved PAR support
b2d40c03 2390 - Replaced -short with auto-detection
bb722214 2391 - Fixed prereqs, added File::Copy::Recursive
4ca033b1 2392 - Static::Simple changes:
2393 - Made prepare_action play nice with other plugins by not short-
2394 circuiting.
2395 - Added tmpl to the ignored extensions.
2396 - Fixed security problem if req->path contained '..'.
b2d40c03 2397
4aaa6e43 23985.57 2005-11-20 22:45:00
d3e7a648 2399 - Updated uri_for to accept undef actions
f991f6a0 2400 - Switched to Module::Install
e71a3028 2401 - Renamed tests for easier editing
b5ecfcf0 2402 - Reformatted documentation
34a83d89 2403 - Renamed -nonew to -force
fc04b845 2404 - Added PAR support
6c7a1d2f 2405 - Added keep-alive support and bug fixes to HTTP engine.
526b698a 2406 (Sascha Kiefer)
2407 - Added daemonize option to FastCGI engine. (Sam Vilain)
fc04b845 2408
18c4e4c0 24095.56 2005-11-16 10:33:00
84528885 2410 - Fixed FastCGI engine to not clobber the global %ENV on each
2411 request. (Sam Vilain)
245ae014 2412 - Updated benchmarking to work with detach
2413 - Fixed dispatcher, so $c->req->action(undef) works again
0f895006 2414 - Updated Catalyst::Test to use HTTP::Request::AsCGI
dc2fc680 2415 - Added -pidfile to external FastCGI server.
84528885 2416
b39840da 24175.55 2005-11-15 12:55:00
2418 - Fixed multiple cookie handling
2419
6f006bd6 24205.54 2005-11-14 22:55:00
2421 - Fixed a Module::Pluggable::Fast related bug
2422
89546294 24235.53 2005-11-14 15:55:00
2424 - Removed t/04prereq.t that was testing for non-required
2425 modules.
2426
df755a7a 24275.52 2005-11-14 10:57:00
2428 - Strip '..'s in static urls to fix security issue.
89546294 2429
ff74d616 24305.51 2005-11-14 00:45:00
2431 - Changed uri_for to use namespace instead of match.
ccc9f8aa 2432
ff74d616 24335.50 2005-11-13 20:45:00
2434 - Fixed minor bugs.
2435 - Updated docs.
ccc9f8aa 2436
527ada13 24375.49_05 2005-11-12 20:45:00
910410b8 2438 - Large update to the documentation. (David Kamholz)
138ce4c0 2439 - Fixed args handling in forward()
2440 - Fixed forwarding to classes
2b01b53c 2441 - Fixed catalyst.pl-generated Build.PL Makefile section.
a0eca838 2442 - Fixed relative forwarding
2443 - Fixed forward arrows in debug output
2444
8beacad7 24455.49_04 2005-11-09 23:00:00
db38216d 2446 - Made context, dispatcher, engine, request and response classes
8beacad7 2447 configurable.
2448 - Added $c->stack.
2449 - Fixed dispatcher to ignore unknown attributes.
2450 - Improved format of startup debug log.
0c74cb08 2451 - Updated built in server to restart on win32. (Will Hawes)
6484fba0 2452 - Fixed streaming write from a filehandle to stop writing
2453 if the browser is closed.
0c74cb08 2454 - Added $c->controller, $c->model and $c->view shortcuts.
2455 - Switched to Text::SimpleTable.
8c113188 2456
60b53d07 24575.49_03 2005-11-03 12:00:00
e561386f 2458 - Fixed $c->req->{path} for backwards-compatibility.
59c2b3bd 2459 - Allow debug to be disabled via ENV as well as enabled.
e4d88362 2460 - Added -scripts option to catalyst.pl for script updating
8264c145 2461 - Changed helpers to default to long types, Controller instead of C
5ee249f2 2462 - Added Catalyst::Controller, Catalyst::Model and Catalyst::View
2463 base classes
c6ef5e69 2464 - Added JavaScript to debug screen to show and hide specific dumps
0bbb5a1f 2465 - Added _DISPATCH, _BEGIN, _AUTO, _ACTION and _END actions
fe9da43b 2466 - Added multi process external FastCGI support
2467 (see myapp_fastcgi.pl -help) (Sam Vilain)
40b0b60c 2468 - Restarter process in HTTP engine now properly exits when the
df3956bf 2469 parent app is shut down.
4c980e76 2470 - Improved performance of restarter loop while watching for
2471 changed files.
2472 - Restarter will now detect new files added to an app on systems
2473 that change directory mtimes when new files are created.
2474 - Restarter now properly handles modules that are deleted from an
2475 application.
40b0b60c 2476 - Fixed memory leak in TestApp.
2477
df3956bf 24785.49_02 2005-10-26 12:39:00
bcccee4e 2479 - Whole new dispatcher!
2480 - Added index action
01033d73 2481 - Added path_to method
6e692ab4 2482 - Added support for passing an IO::Handle object to $c->res->body.
2483 (Andrew Bramble)
a9b78939 2484 - Added a new welcome screen.
2485 - Included Catalyst buttons and icons in helper.
2486 - Added Static::Simple plugin to core.
9438e46e 2487 - Added self restarting test server
bc2beef5 2488 - Added filename to debug output for uploaded files.
2489 - Fixed forwarding with embedded arguments.
e0616220 2490 - Fixed handling of escaped query strings.
c4bed79a 2491 - Added upload parameters back into $c->req->params.
749472d6 2492 - Added multiple paths support to dispatcher
6ff79ec5 2493 - Fixed bug in req->path where changing the path added a trailing
2494 slash.
4f5ebacd 2495 - Removed req->handle and res->handle
4bd82c41 2496 - Added prepare_body_chunk method as a hook for upload progress.
58f510c2 2497 - Fixed bug in uri_for method when base has no path.
55ddccae 2498 - Added automated tests for HTTP, CGI, and FastCGI servers.
58f510c2 2499
df3956bf 25005.49_01 2005-10-10 10:15:00
fbcc39ad 2501 - Refactored all internals, should be 99% compatible to previous
2502 versions.
2503 - *IMPORTANT* The Apache engines have been moved to a separate package
2504 for this release. Please install Catalyst::Engine::Apache if you
2505 need Apache support.
2506
2507 - Added support for calling forward with arguments in the path, i.e.
2508 $c->forward('/foo/bar/arg1/arg2')
2509 - Made $c->req->uri a URI object, added req->path_info for CGI compat.
2510 Raw query string is available as $c->req->uri->query.
2511 - Made $c->req->base a URI object.
2512 - Parameters with multiple values (?a=1&a=2) now display properly
2513 in the debug output.
2514 - Semi-colon separators in query strings now work properly.
2515 - Expanded documentation of catalyst.pl (Andrew Ford)
2516 - Added support for running as a backend server behind a frontend
2517 proxy so req->base and req->address are set properly.
2518 - Added an 'abort' method to the Log api, so that you can
2519 kill loggging for a whole request.
2520 - Added $c->uri_for method to simplify url handling.
2521 - Added more tests and reorganized the t directory.
2522 - Reimplemented core engines, all are now CGI based for better test
2523 coverage and maintainability.
2524 - Added fork support to built in test server.
2525 - Fixed all memory leaks.
2526 - Thread-related bug fixes and tests. We now believe the Catalyst
2527 core to be thread-safe.
2528 - Added streaming IO support through $c->req->read() and
2529 $c->res->write()
2530 - Added MyApp->config->{parse_on_demand} (streaming input)
2531 - Added $c->req->handle and $c->res->handle
2532 - Improved documentation
fd59198f 2533 - Fixed mkpath in Catalyst::Helper (Autrijus Tang)
43f0a258 2534 - Fixed bug in dispatcher where an invalid path could call a valid
2535 action. (Andy Grundman)
5c9b3736 2536 - Fixed Helper so it works with CRLF line-endings. (Andy Grundman)
fd59198f 2537
4e449be9 25385.33 2005-08-10 15:25:00
43f0a258 2539 - Now with updated manifest.
fd59198f 2540
4e449be9 25415.32 2005-08-10 15:10:00
545e1e3a 2542 - Dispatcher might fail if object returns false.
a1c8f974 2543
58e9ce65 25445.31 2005-06-04 12:35:00 (never released to CPAN)
62d9b030 2545
ef3250bc 2546 - helpers now create .new files where files already exist and differ
62d9b030 2547 - fixed $Data::Dumper::Terse (Robin Berjon)
bd7d2e94 2548 - added arguments for detach
43c58153 2549 - new credits section in POD
71c3bcc3 2550 - fixed detach to allow relative action names (Matt and Robert)
2551 - added the ability to have whitespaces in Path( '' ) and Regex( '' )
62d9b030 2552
f56990fa 25535.30 2005-06-04 12:35:00
2343e117 2554
df3956bf 2555 - Fixed a bug where it was not possible to $c->forward to a
2556 component
7e71fcce 2557 that was not inheriting from Catalyst::Base.
599b5295 2558 - Fix for inheritance bug.
a1dad9c1 2559 - Allow forward with arguments.
2343e117 2560 - Updated cookbook
e0143040 2561 - Allow overriding home/root in config.
d2ee9760 2562 - make module build cons README automatically.
2563 - prettify home path by resolving '..' (Andy Grundman)
f56990fa 2564 - improved helper templates a bit, new naming scheme for tests.
d2ee9760 2565 - added support for case sensitivity, MyApp->config->{case_sensitive}
ef16e169 2566 - added $c->detach for non-returning forwards
d2ee9760 2567 - added unified error handling, Catalyst::Exception
2568 - added section on param handling in Intro.pod
2569 - added $c->request->cookie
2570 - added Catalyst::Setup
2571 - refactored Catalyst::import()
2572 - improved rendering of error messages in debug mode
2573 - fixed a bug in Catalyst::Helper::mk_dir
ef16e169 2574 - further doc changes, esp. to Intro.pod
abddf0b5 2575
49ba64d7 25765.23 2005-06-03 02:30:00
8a0ec4fd 2577 - added support for non Catalyst::Base components to live in namespace
2578 - improved concurrency connections in Catalyst::Engine::HTTP::Daemon
a268a011 2579
d8cdbf30 25805.22 2005-05-26 14:24:00
d2ee9760 2581 - improved base locating in MP engines
2582 - improved error messages in C::E::HTTP::Daemon
2583 - hostnames are now resolved on demand unless provided by engine
2584 - fixed memory leak in $c->execute (Michael Reece, Matt S Trout)
99386274 2585
db046247 25865.21 2005-05-24 14:56:00
b7b011a9 2587 - fixed a bug in https detection
9ddd9d05 2588 - fixed auto chain finally
895b2303 2589 - added MYAPP_HOME and CATALYST_HOME environment variables
b7b011a9 2590
61a0806c 25915.20 2005-05-18 19:52:00
a783a49e 2592 - improved uploads and parameters
77d12cae 2593 - added $c->req->protocol and $c->req->secure
2594 - added $c->req->user and $c->req->uri
8f591211 2595 - improved error message when forwarding to unknown module
91eeb37b 2596 - fixed win32 installer
e88fa058 2597 - added deep recursion detection
99d891a5 2598 - fixed auto actions
e37b6309 2599 - fixed inheritance in dispatcher
0299ba22 2600 - allow whitespaces between brackets and quoted string
2601 in Path and Regex attributes
97f1b4e7 2602 - new helper templates
9cee9588 2603 - installer now supports install_base and destdir
61a0806c 2604 - allow multiple Catalyst apps to run on the same mod_perl
2605 instance (not the same app!)
6890e598 2606 - fixed MP2 engines
fc88e495 2607 - removed apreq dependency from all MP engines
2608 - added support for MP registry scripts
2609 - added support for LocationMatch and ScriptAliasMatch in MP engines
6890e598 2610 - added SpeedyCGI engine
a783a49e 2611
61a0806c 26125.10 2005-04-23 11:16:00
a783a49e 2613 - updated dependencies to require latest module::pluggable::fast
2614 - new installer for templates and stuff using Module::Build
4f6748f1 2615 - scripts are now prefixed, for being installable
2616 IMPORTANT: You have to regenerate the script directory,
2617 remove Makefile.PL and add Build.PL
adfe7ead 2618 - Added compat to install Module::Build if required.
8f591211 2619 - Improved: Params handling with MP engines
2620 - Fixed: Params handling on POST with CGI engine (Andy Grundman)
2621 - Fixed: Helper.pm on Win32 (Matt S Trout)
4f6748f1 2622
61a0806c 26235.03 2005-04-19 20:35:00 (Revision 462)
a783a49e 2624 - fixed Test example (Torsten Seeman)
2625 - added Plugins chapter to manual
bbcadec7 2626 - applied doc patch from Robert Boone <robert@rlb3.com>
a783a49e 2627 - improved Dispatcher error messages.
2628 - refactored so we don't need to include helper from
e9deb4dc 2629 Catalyst.pm - Fixes issues with FindBin
5b2a599c 2630 - applied HTTP.pm patch from Andy Grundman <andy@hybridized.org>
87232381 2631 - added plugin() method for instant plugins
2632 - FCGI is no more considered experimental
bbcadec7 2633
df3956bf 26345.02 2005-04-18 10:00:00
2cf9bc57 2635 - fixed manifest
2636
df3956bf 26375.01 2005-04-17 23:00:00
d7953572 2638 - some documentation bugs fixed
f05af9ba 2639 - added Catalyst::Utils
eaf14ff4 2640 - fixed regexp bug (Matt S Trout)
2641 - fixed upload bug with MP19
2642 - added $c->req->body
e27582bb 2643 - aliased $c->res->output to $c->res->body
df3956bf 2644 - Read AUTHOR from passwd or $ENV{AUTHOR} when
ddb46924 2645 generating code.
8c8f7c51 2646 - extended attribute handling
84cf74e7 2647 - added global config for components
d7953572 2648
61a0806c 26495.00 2005-04-15 18:00:00
0c28fbd7 2650 - new core to support inheritance trees
2651 - new syntax for action declaration
2652 - new helper system using TT2
b76d7db8 2653 - problems with mod_perl2 fixed
5a8fd7e9 2654 - added Test::Pod support
6f4e1683 2655 - added new server backend with HTTP/1.1 support
2656 - added option to run tests against a remote server
0c28fbd7 2657 - renamed errors() to error()
ca61af20 2658 - more better docs
0c28fbd7 2659 - countless minor improvements
ca61af20 2660 IMPORTANT: This release is very incompatible to previous ones
2661 and you have to regenerate the helper scripts again...
e519ff34 2662
61a0806c 26634.34 2005-03-23 07:00:00 2005
9ada3267 2664 - added some messages to Makefile.PL
00869ea8 2665 - added Catalyst::Engine::Test
2666 - added Catalyst::Engine::CGI::NPH
2667 - simplified Catalyst::Log to be easier to implement/subclass
2668 - added cgi.pl
6f4e1683 2669 - updated Catalyst::Test to use Catalyst::Engine::Test
00869ea8 2670 - updated helper scripts
2671 IMPORTANT: this will be the last time you'll have to regenerate
2672 the script directory. We promise!
9ada3267 2673
61a0806c 26744.33 2005-03-23 01:00:00 2005
145074c2 2675 - documented the log() accessor method in Catalyst (Andrew Ford)
82d2fcbe 2676 - added optional arguments to Catalyst::Log methods (Andrew Ford)
a564a4be 2677 - removed cgi-server.pl
ffb41d94 2678 - added fcgi.pl and Catalyst::Engine::FCGI
b0b7c5e0 2679 - fixed an undef durng make test (Dan Sully)
5442009c 2680 - new path test (Christian Hansen)
2681 IMPORTANT: you have to regenerate the script directory again
82d2fcbe 2682
61a0806c 26834.32 2005-03-22 02:10:00 2005
caca1b02 2684 - made a damn typo *AAAAAAAAAAAAAAHHHH!!!*
2685
61a0806c 26864.31 2005-03-22 02:00:00
1c99e125 2687 - fixed inheritance (Christian Hansen)
c0d174dc 2688 - previous release was borked!
2689 fixed that, but you have to regenerate the scripts again :(
1c99e125 2690
df3956bf 26914.30 2005-03-21 23:00:00
d2cad154 2692 - more documentation (Andrew Ford)
0556eb49 2693 - added connection informations (Christian Hansen)
49faa307 2694 - HTTP::Request support in Catalyst::Test (Christian Hansen)
3fde004f 2695 - moved cgi.pl to nph-cgi.pl
a0bb847e 2696 - added Catalyst::Engine::Server (Christian Hansen)
585893b9 2697 - removed Catalyst::Test::server
2698 - updated helper scripts
2699 IMPORTANT: note that you have to regenerate script/server.pl,
2700 script/cgi-server.pl and script/cgi.pl (now nph-cgi.pl)
0556eb49 2701
61a0806c 27024.28 2005-03-19 22:00:00
502619e5 2703 - fixed isa tree (Christian Hansen)
bc024080 2704 - added script/cgi-server.pl, so no more server restarting after
2705 code changes
2706 - reworked documentation (Andrew Ford <A.Ford@ford-mason.co.uk>)
502619e5 2707
61a0806c 27084.27 2005-03-19 01:00:00
c85ff642 2709 - debug message for parameters
23f9d934 2710 - Fix redirects (Christian Hansen <ch@ngmedia.com>)
b5524568 2711 - some random fixes
2712 - new helper api for Catalyst::Helper::* support
2713 you have to update script/create.pl to use it
c85ff642 2714
61a0806c 27154.26 2005-03-16 10:00:00
5783a9a5 2716 - fixed the weird bug that caused regex actions to fail on every
2717 second request
c85ff642 2718 - more debug messages
748161c4 2719 - 100% pod coverage.
5783a9a5 2720
61a0806c 27214.25 2005-03-12 18:00:00
f1d0b7ea 2722 - correct perl pathes for helper generated scripts (Tatsuhiko Miyagawa)
9a33da6a 2723 - improved cgi engine docs (Christoper Hicks)
f1d0b7ea 2724
61a0806c 27254.24 2005-03-12 01:00:00
df3956bf 2726 - updated cookbook example
5ae68c0d 2727 - fixed base for apache and https (Andrew Ruthven)
df3956bf 2728
61a0806c 27294.23 2005-03-09 20:00:00
7e5adedd 2730 - no more regex actions in forward
3cb1db8c 2731 - added support for test directories t/m, t/v and t/c
7e5adedd 2732
61a0806c 27334.22 2005-03-08 20:00:00
0b944e63 2734 - catch errors in application class
aff93052 2735 - handle die properly.
0b944e63 2736
61a0806c 27374.21 2005-03-05