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