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