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