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