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