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