X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Changes;h=1eb100cfc21a3cfef9cf7204f7e786b2f8556dc8;hb=e3afe98d6a074a4803333806568b6427e218361a;hp=5af4bb46287840a05d0effc5153719307741eb48;hpb=ed5d4812547cdbda8cb46bde33e34064a84b52ee;p=gitmo%2FMoose.git diff --git a/Changes b/Changes index 5af4bb4..1eb100c 100644 --- a/Changes +++ b/Changes @@ -1,16 +1,139 @@ Also see Moose::Manual::Delta for more details of, and workarounds for, noteworthy changes. -next version + + * Moose::Meta::Role + - The get_attribute_map method is now deprecated. (Dave Rolsky) + + * Moose::Meta::Method::Delegation + - Preserve aliasing for delegated methods (doy) + + * Moose::Util::TypeConstraints + - Allow array refs for non-anonymous form of enum and duck_type, not + just anonymous. The non-arrayref forms may be removed in the + future. (doy) + +0.92 Tue, Sep 22, 2009 + * Moose::Util::TypeConstraints + - added the match_on_type operator (Stevan) + - added tests and docs for this (Stevan) + + * Moose::Meta::Class + - Metaclass compat fixing should already happen recursively, there's no + need to explicitly walk up the inheritance tree. (doy) + * Moose::Meta::Attribute - - Added the currying syntax for delegation from AttributeHelpers - to the existing delegation API. (hdp) + - Add tests for set_raw_value and get_raw_value. (nothingmuch) + +0.91 Thu, Sep 17, 2009 + * Moose::Object + - Don't import any functions, in order to avoid polluting our namespace + with things that can look like methods (blessed, try, etc) + (nothingmuch) + + * Moose::Meta::Method::Constructor + - The generated code needs to called Scalar::Util::blessed by its + fully-qualified name or else Perl can interpret the call to blessed as + an indirect method call. This broke Search::GIN, which in turn broke + KiokuDB. (nothingmuch) + +0.90 Tue, Sep 15, 2009 + * Moose::Meta::Attribute::Native::Trait::Counter + * Moose::Meta::Attribute::Native::Trait::String + - For these two traits, an attribute which did not explicitly provide + methods to handles magically ended up delegating *all* the helper + methods. This has been removed. You must be explicit in your handles + declaration for all Native Traits. (Dave Rolsky) + + * Moose::Object + - DEMOLISHALL behavior has changed. If any DEMOLISH method dies, we make + sure to rethrow its error message. However, we also localize $@ before + this so that if all the DEMOLISH methods success, the value of $@ will + be preserved. (nothingmuch and Dave Rolsky) + - We now also localize $? during object destruction. (nothingmuch and + Dave Rolsky) + - The handling of DEMOLISH methods was broken for immutablized classes, + which were not receiving the value of + Devel::GlobalDestruction::in_global_destruction. + - These two fixes address some of RT #48271, reported by Zefram. + - This is all now documented in Moose::Manual::Construction. + - Calling $object->new() is now deprecated. A warning will be + issued. (perigrin) + + * Moose::Meta::Role + - Added more hooks to customize how roles are applied. The role + summation class, used to create composite roles, can now be changed + and/or have meta-roles applied to it. (rafl) + + * Moose::Meta::Method::Delegation + - fixed delegated methods to make sure that any modifiers attached to + the accessor being delegated on will be called (Stevan) + - added tests for this (Stevan) + + * Moose::Meta::Class + - Moose no longer warns when a class that is being made immutable has + mutable ancestors. While in theory this is a good thing to warn about, + we found so many exceptions to this that doing this properly became + quite problematic. + +0.89_02 Thu, Sep 10, 2009 + * Moose::Meta::Attribute::Native + - Fix Hash, which still had 'empty' instead of 'is_empty'. (hdp) + + * Moose::Meta::Attribute::Native::Trait::Array + - Added a number of functions from List::Util and List::MoreUtils, + including reduce, shuffle, uniq, and natatime. (doy) + + * Moose::Exporter + - This module will now generate an init_meta method for your exporting + class if you pass it options for + Moose::Util::MetaRole::apply_metaclass_roles or + apply_base_class_roles. This eliminates a lot of repetitive + boilerplate for typical MooseX modules. (doy). + - Documented the with_meta feature, which is a replacement for + with_caller. This feature was added by josh a while ago. + - The with_caller feature is now deprecated, but will not issue a + warning yet. (Dave Rolsky) + - If you try to wrap/export a subroutine which doesn't actually exist, + Moose::Exporter will warn you about this. (doy) + + * Moose::Meta::Role::Application::ToRole + - When a role aliased a method from another role, it was only getting + the new (aliased) name, not the original name. This differed from what + happens when a class aliases a role's methods. If you _only_ want the + aliased name, make sure to also exclue the original name. (Dave + Rolsky) + +0.89_01 Wed Sep 2, 2009 + * Moose::Meta::Attribute + - Added the currying syntax for delegation from AttributeHelpers to the + existing delegation API. (hdp) * Moose::Meta::Attribute::Native - - Moved in from MooseX::AttributeHelpers with API tweaks. See + - We have merged the functionality of MooseX::AttributeHelpers into the + Moose core with some API tweaks. You can continue to use + MooseX::AttributeHelpers, but it will not be maintained except + (perhaps) for critical bug fixes in the future. See Moose::Manual::Delta for details. (hdp, jhannah, rbuels, Sartak, perigrin, doy) + * Moose::Error::Croak + * Moose::Error::Confess + - Clarify documentation on how to use different error-throwing + modules. (Curtis Jewell) + + * Moose + - Correct POD for builder to point to Recipe8, not 9. (gphat) + + * Moose::Exporter + - When a nonexistent sub name is passed to as_is, with_caller, or + with_meta, throw a warning and skip the exporting, rather than + installing a broken sub. (doy) + + * Moose::Meta::Class + - Moose now warns if you call C for a class with mutable + ancestors. (doy) + 0.89 Thu Aug 13, 2009 * Moose::Manual::Attributes - Clarify "is", include discussion of "bare". (Sartak) @@ -45,6 +168,11 @@ next version - However, we will probably deprecate $obj->new, so please don't start using it for new code! + * Moose::Meta::Role::Application + * Moose::Meta::Role::Application::RoleSummation + - Rename alias and excludes to -alias and -excludes (but keep the old + names for now, for backcompat) (doy) + 0.88 Fri Jul 24, 2009 * Moose::Manual::Contributing - Re-write the Moose::Manual::Contributing document to reflect @@ -145,7 +273,7 @@ next version that's what we need. 0.80 Sat, Jun 6, 2009 - * Moose::Manual::FAQ + * Moose::Manual::FAQ - Add FAQ about the coercion change from 0.76 because it came up three times today (perigrin) - Win doy $10 dollars because Sartak didn't think anybody