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