X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=lib%2FCatalyst%2FDelta.pod;h=7804342010ee82733d4d41ba08e3cb2101127abd;hp=95afdc0b61d82c8c59793d43637f4deedee5bd43;hb=3785afa685ed291cff7e041a73344749c52d2d22;hpb=79fb8f95180a06c51de7f0fde227927b5d864a7f diff --git a/lib/Catalyst/Delta.pod b/lib/Catalyst/Delta.pod index 95afdc0..7804342 100755 --- a/lib/Catalyst/Delta.pod +++ b/lib/Catalyst/Delta.pod @@ -7,6 +7,39 @@ Catalyst::Delta - Overview of changes between versions of Catalyst This is an overview of the user-visible changes to Catalyst between major Catalyst releases. +=head2 VERSION 5.90105 + +This version primarily fixed a regression in the way we preserved $c->state +which the previous version introduced. Now in the case when you forward to +an action, should that action throw an exception it sets state to 0 and is +sure that the return value is false. This is to meet expected behavior based +on the documentation. If you relied on the last update behavior you may not have +regressions but it was thought that we should make the code behave as documented +for more than 10 years. + +We also changed how we compose the request, response and stats base class. We +now compose the base class with any configured traits once at the end of the +application setup, rather than for each request. This reduced request overhead +when you are composing lots of traits. It possible this may break some code that +was adding traits after the application setup was finalized. Please shout out if +this actually causes you trouble and we'll do the best to accomodate. + +=head2 VERSION 5.90102 - 5.90103 + +A significant change is that we now preserve the value of $c->state from action +to following action. This gives you a new way to pass a value between actions +in a chain, for example. However any 'auto' actions always have $c->state +forced to be set to 0, which is the way its been for a long time, this way an +auto action is required to return 1 to pass the match. It also exists to maintain +compatibility with anyone that exits an auto action with a detach (which is not a +documented way to escape matching, but exists in the wild since it worked as a +side effect of the code for a long time). + +Additionally, upon $c->detach we also force set state to 0. + +Version 5.90102 contains a version of this change but its considered buggy, so +that is a version to avoid. + =head2 VERSION 5.90100 Support for type constraints in Args and CaptureArgs has been improved. You may