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