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