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