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