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