X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Changes;h=ed9c0c96c3ba431616cecd00e11b531d83e98496;hb=328c8d2fb209b9beeb52ad63ea65915186cb2db8;hp=5215de1b49ebb3f2e26b8c9dd9a4c7bff699e34f;hpb=d5e913bcacfdbe960c2646b3f2b52aa382d16667;p=gitmo%2FMoose.git diff --git a/Changes b/Changes index 5215de1..ed9c0c9 100644 --- a/Changes +++ b/Changes @@ -1,23 +1,158 @@ Also see Moose::Manual::Delta for more details of, and workarounds for, noteworthy changes. -0.84 +0.89_02 + * Moose::Meta::Attribute::Native + - Fix Hash, which still had 'empty' instead of 'is_empty'. (hdp) + + * 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). + +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) + +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 - - When adding an attribute to a metaclass, if the attribute has no - associated methods, it will give a deprecation warning. (hdp) + * 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 + warning. (hdp) - Methods generated by delegation were not being added to 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 + checked if $object->can('does'). Note that this is _not_ the + same as a type created by calling role_type('RoleName'). * Moose::Util::TypeConstraints * Moose::Meta::TypeConstraint::DuckType - Reify duck type from a regular subtype into an actual class (Sartak) - - Document this because Sartak did all my work for me (perigrin) + - Document this because Sartak did all my work for me + (perigrin) * Moose::Meta::Attribute - 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 @@ -1825,16 +1960,16 @@ for, noteworthy changes. - added all the meta classes to the immutable list and set it to inline the accessors - fix import to allow Sub::Exporter like { into => } - and { into_level => } (perigrin) + and { into_level => } (perigrin) - exposed and documented init_meta() to allow better - embedding and extending of Moose (perigrin) + embedding and extending of Moose (perigrin) - * t/ - - complete re-organization of the test suite - - added some new tests as well - - finally re-enabled the Moose::POOP test since - the new version of DBM::Deep now works again - (thanks rob) + * t/ + - complete re-organization of the test suite + - added some new tests as well + - finally re-enabled the Moose::POOP test since + the new version of DBM::Deep now works again + (thanks rob) * Moose::Meta::Class - fixed very odd and very nasty recursion bug with @@ -2553,9 +2688,9 @@ for, noteworthy changes. - Type constraints now survive runtime reloading - added test for this - * Moose::Meta::Class - - fixed the way attribute defaults are handled - during instance construction (bug found by chansen) + * Moose::Meta::Class + - fixed the way attribute defaults are handled + during instance construction (bug found by chansen) * Moose::Meta::Attribute - read-only attributes now actually enforce their @@ -2603,8 +2738,8 @@ for, noteworthy changes. * Moose::Meta::TypeConstraint * Moose::Meta::TypeCoercion - - type constraints and coercions are now - full fledges meta-objects + - type constraints and coercions are now + full fledges meta-objects 0.01 Wed. March 15, 2006 - Moooooooooooooooooose!!!