X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Changes;h=4ec486ae50b7c3bc02cf43109ccc3f3f52565756;hb=952b939de588a63e72f9c22993ac1ff4681f22ac;hp=b5b2011be645e0b27326c2198486af19f79dcff4;hpb=250ef9d3e28b79346843f74ec5e4fdcc9ea1b095;p=gitmo%2FMoose.git diff --git a/Changes b/Changes index b5b2011..4ec486a 100644 --- a/Changes +++ b/Changes @@ -1,7 +1,153 @@ Also see Moose::Manual::Delta for more details of, and workarounds for, noteworthy changes. -0.84 Thu, Jun 25, 2009 +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::Class + - Warn when calling make_immutable on a class with mutable ancestors. + (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 + - 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) + +0.89 Thu Aug 13, 2009 + * Moose::Manual::Attributes + - Clarify "is", include discussion of "bare". (Sartak) + + * Moose::Meta::Role::Method::Conflicting + * Moose::Meta::Role::Application::ToClass + - For the first set of roles involved in a conflict, report all + unresolved method conflicts, not just the first method. Fixes #47210 + reported by Ovid. (Sartak) + + * Moose::Meta::TypeConstraint + - Add assert_valid method to use a TypeConstraint for assertion (rjbs) + + * Moose::Exporter + - Make "use Moose -metaclass => 'Foo'" do alias resolution, like -traits + does. (doy) + - Allow specifying role options (alias, excludes, MXRP stuff) in the + arrayref passed to "use Moose -traits" (doy) + + * Moose::Util + - Add functions meta_class_alias and meta_attribute_alias for creating + aliases for class and attribute metaclasses and metatraits. (doy) + + * Moose::Meta::Attribute + * Moose::Meta::Method::Accessor + - A trigger now receives the old value as a second argument, if the + attribute had one. (Dave Rolsky) + + * Moose::Meta::Method::Constructor + - Fix a bug with $obj->new when $obj has stringify overloading. + Reported by Andrew Suffield [rt.cpan.org #47882] (Sartak) + - 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 + the new layout and methods of work for the Git repository. All + work now should be done in topic branches and reviewed by a + core committer before being applied to master. All releases + are done by a cabal member and merged from master to + stable. This plan was devised by Yuval, blame him. (perigrin) + + * Moose::Meta::Role + - Create metaclass attributes for the different role application + classes. (rafl) + + * Moose::Util::MetaRole + - Allow applying roles to a meta role's role application + classes. (rafl) + + * Moose::Meta::Attribute + - Add weak_ref to allowed options for "has '+foo'" (mst) + + * Moose::Meta::Method::Accessor + - No longer uses inline_slot_access in accessors, to support + non-lvalue-based meta instances. (sorear) + +0.87 Tue Jul 7, 2009 + * Moose::Meta::Method::Delegation + - Once again allow class names as well as objects for + delegation. This was changed in 0.86. + +0.86 Fri Jul 3, 2009 + * Moose::Meta::Class::Immutable::Trait + - Fixes to work with the latest Class::MOP. + + * Moose::Meta::Method::Delegation + - Delegation now dies with a more useful error message if the + attribute's accessor returns something defined but + unblessed. (hdp) + +0.85 Fri, Jun 26, 2009 + * Moose::Meta::Attribute + - The warning for 'no associated methods' is now split out into + the _check_associated_methods method, so that extensions can + safely call 'after install_accessors => ...'. This fixes a + warning from MooseX::AttributeHelpers. (hdp) + +0.84 Fri, Jun 26, 2009 + * Moose::Role + - has now sets definition_context for attributes defined in + roles. (doy) + * Moose::Meta::Attribute - When adding an attribute to a metaclass, if the attribute has no associated methods, it will give a deprecation @@ -10,6 +156,8 @@ for, noteworthy changes. associated_methods. (hdp) - Attribute accessors (reader, writer, accessor, predicate, clearer) now warn if they overwrite an existing method. (doy) + - Attribute constructors now warn very noisily about unknown (or + misspelled) arguments * Moose::Util::TypeConstraints - Deprecated the totally useless Role type name, which just @@ -27,6 +175,10 @@ for, noteworthy changes. - Allow Moose::Meta::TypeConstraint::DuckType in handles, since it is just a list of methods (Sartak) + * Moose::Meta::Role + - The get_*_method_modifiers methods would die if the role had + no modifiers of the given type (Robert Buels). + 0.83 Tue, Jun 23, 2009 * Moose::Meta::Class - Fix _construct_instance not setting the special __MOP__ object