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