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