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