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