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