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