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