X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Changes;h=9231dde87dbc71f18d33eb17402ca780e3be5e30;hb=93e9ebbe5fe0d3e544b40bbb92d2e2f2ae9fcaaa;hp=d8bb65cdcb68f3b9af32f897779f0f88425f47c8;hpb=545c60127ba7a6954143eeb4a3e33bb4fbd91342;p=gitmo%2FMoose.git diff --git a/Changes b/Changes index d8bb65c..9231dde 100644 --- a/Changes +++ b/Changes @@ -3,11 +3,50 @@ for, noteworthy changes. {{$NEXT}} +1.9905-TRIAL Mon, Mar 28, 2011 + + [NEW FEATURES] + + * The Moose::Meta::Role::Attribute class now has an original_role method + which returns the role which first defined an attribute. See the docs for + details. (Dave Rolsky) + + * Moose::Util::MetaRole will make sure that the class to which you're + applying metaroles or base class roles can actually have them applied. If + not (it's not a Moose class, it has a non-Moose metaclass, etc.), then it + gives a useful error message. Previously, this would just end up dying in + the MetaRole code without a useful message. (Dave Rolsky) + + [BUG FIXES] + + * When a role had its own applied_attribute metaclass (usually from MetaRole + application), that metaclass would get lost when that role participated in + role composition. It was also lost if that role was consumed by some other + role. Both of these cases have been fixed. Attributes are always applied + with the applied_attribute metaclass of the role which originally defined + them. (Dave Rolsky) + +1.9904-TRIAL Fri, Mar 04, 2011 + + [BUG FIXES] + + * Reinitializing anonymous roles used to accidentally clear out the role's + stash in some circumstances. This is now fixed. (doy) + + * The Int type constraint now rejects integers with trailing newlines. + (Matthew Horsfall) + +1.9903-TRIAL Mon, Feb 28, 2011 + [BUG FIXES] * Don't initialize lazy attributes with defaults in the constructor (for immutable classes). (mo) + * When reinitializing meta objects for classes and roles, we failed to + preserve roles and role applications. This led to weird bugs. Many MooseX + modules end up reinitializing your class or role. (Dave Rolsky) + 1.9902-TRIAL Mon, Jan 03, 2011 [OTHER] @@ -54,6 +93,41 @@ for, noteworthy changes. * We now load the roles needed for native delegations only as needed. This speeds up the compilation time for Moose itself. (doy) + +1.25 Fri, Apr 1, 2011 + + [BUG FIXES] + + * Reinitializing anonymous roles used to accidentally clear out the role's + stash in some circumstances. This is now fixed. (doy) (backported from + 1.9904) + + +1.24 Tue, Feb 24, 2011 + + [BUG FIXES] + + * Reverse the order that Moose::Exporter 'also' exports are dispatched. When + trying to re-export from a package that itself exported a modified set of + Moose sugar, you'd get the original Moose sugar instead of the overrides. + There are also now tests for this. (perigrin) + + +1.23 Sun, Feb 13, 2011 + + [PACKAGING FIX] + + * The 1.22 release had a bad MANIFEST. This has been fixed. + + +1.22 Sun, Feb 13, 2011 + + [BUG FIXES] + + * When reinitializing meta objects for classes and roles, we failed to + preserve roles and role applications. This led to weird bugs. Many MooseX + modules end up reinitializing your class or role. (Dave Rolsky) + 1.21 Wed, Nov 24, 2010 [ENHANCEMENTS] @@ -619,7 +693,7 @@ for, noteworthy changes. too. (Dave Rolsky) * Moose::Util::MetaRole::apply_metaclass_roles is now called - apply_metaroles. The old name is deprecated. Dave Rolsky> + apply_metaroles. The old name is deprecated. (Dave Rolsky) * The unimport subs created by Moose::Exporter now clean up re-exported functions like blessed and confess, unless the caller imported them from