X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Changes;h=496688c93e1eb6fdc1354fd7d2c14b797e86a5e1;hb=ef64ae42a119b685d7b8dc986b360eaa5e000947;hp=a1b37a27363c85b2ae9db98252f9d12494e10ede;hpb=630217d8f08dd4b1492493514442b0b5bf405f8f;p=gitmo%2FMoose.git diff --git a/Changes b/Changes index a1b37a2..496688c 100644 --- a/Changes +++ b/Changes @@ -1,25 +1,87 @@ Also see Moose::Manual::Delta for more details of, and workarounds for, noteworthy changes. -[NEXT] +1.9900 + + [API CHANGES] + + * Roles now have their own default attribute metaclass to use during + application to a class, rather than just using the class's + attribute_metaclass. This is also overridable via ::MetaRole, with the + applied_attribute key in the role_metaroles hashref (doy). + + * The internal code used to generate inlined methods (accessor, constructor, + etc.) has been massively rewritten. MooseX modules that do inlining will + almost certainly need to be updated as well. + + [ENHANCEMENTS] + + * We now load the roles needed for native delegations only as needed. This + speeds up the compilation time for Moose itself. (doy) + +1.21 Wed, Nov 24, 2010 + + [ENHANCEMENTS] + + * The Support manual has been updated to reflect our new major/minor version + policy. (Chris Prather) + + * The Contributing manual has been updated to reflect workflow changes based + on this new support policy. (doy) + + [BUG FIXES] + + * The role attribute metaclass did not inherit from Class::MOP::Object, + which could cause errors when trying to resolve metaclass compatibility + issues. Reported by Daniel Ruoso. (doy) + + * The lazy_build feature was accidentally removed from all the docs. Now + it's listed in Moose.pm again. (Chris Prather) + +1.20 Fri, Nov 19, 2010 + + [BUG FIXES] + + * When using native delegations, if an array or hash ref member failed a + type constraint check, Moose ended up erroring out with "Can't call method + "get_message" on unblessed reference" instead of generating a useful error + based on the failed type constraint. Reported by t0m. RT #63113. (Dave + Rolsky) + +1.19 Tue, Nov 2, 2010 + + [BUG FIXES] + + * There was still one place in the code trying to load Test::Exception + instead of Test::Fatal. (Karen Etheridge) + + +1.18 Sun, Oct 31, 2010 [ENHANCEMENTS] * Type constraint objects now have an assert_coerce method which will either return a valid value or throw an error. (rjbs) + * We now warn when an accessor for one attribute overwrites an accessor for + another attribute. RT #57510. (Dave Rolsky) + [BUG FIXES] * The native Array and Hash delegation methods now coerce individual new - members, if the _member type_ has a coercion. In other words, if the array + members if the _member type_ has a coercion. In other words, if the array reference is defined as an ArrayRef[DateTime], and you've defined a coercion from Int to DateTime, then pushing an integer via a delegation method will coerce the integer to a DateTime object. Reported by Karen Etheridge. RT #62351. (Dave Rolsky) - * Using a regexp to define delegation for a class which was not yet loaded - caused an error when the class was loaded later. Reported by Max - Kanat-Alexander. RT #60596. (Dave Rolsky) + * An attribute using native delegations did not always properly coerce and + type check a lazily set default value. (doy and Dave Rolsky) + + * Using a regexp to define delegations for a class which was not yet loaded + did not actually work, but did not explicitly fail. However, it caused an + error when the class was loaded later. Reported by Max Kanat-Alexander. RT + #60596. (Dave Rolsky) * Attempting to delegate to a class or role which is not yet loaded will now throw an explicit error. (Dave Rolsky)