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