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