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