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