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