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