X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Changes;h=3902ea5fcbac466f3397f27b627f49faebf8d06d;hb=c14746bc8269ab593798469dc204aa0d8f72f7ee;hp=bb13ce7b38b7f9b8b31ec1fb15f2154b4a9294da;hpb=fe05ce9c3e87d7bf6767c05e68832dc097b61086;p=gitmo%2FMoose.git diff --git a/Changes b/Changes index bb13ce7..3902ea5 100644 --- a/Changes +++ b/Changes @@ -1,66 +1,106 @@ Revision history for Perl extension Moose +0.37 Thurs. Fri. 14, 2008 + * Moose + - fixed some details in Moose::init_meta + and its superclass handling (thanks thepler) + - added tests for this (thanks thepler) + - 'has' now dies if you don't pass in name + value pairs + - added the 'make_immutable' keyword as a shortcut + to make_immutable + + * Moose::Meta::Class + Moose::Meta::Method::Constructor + Moose::Meta::Attribute + - making (init_arg => undef) work here too + (thanks to nothingmuch) + + * Moose::Meta::Attribute + Moose::Meta::Method::Constructor + Moose::Meta::Method::Accessor + - make lazy attributes respect attr initializers (rjbs) + - added tests for this + + * Moose::Util::TypeConstraints + Moose::Util::TypeConstraints::OptimizedConstraints + Moose::Meta::TypeConstraints + Moose::Meta::Attribute + Moose::Meta::Method::Constructor + Moose::Meta::Method::Accessor + - making type errors use the + assigned message (thanks to Sartak) + - added tests for this + + * Moose::Meta::Method::Destructor + - making sure DESTROY gets inlined properly + with successive DEMOLISH calls (thanks to manito) + + * Moose::Meta::Attribute + Moose::Meta::Method::Accessor + - fixed handling of undef with type constraints + (thanks to Ernesto) + - added tests for this + + * Moose::Util + - added &get_all_init_args and &get_all_attribute_values + (thanks to Sartak and nothingmuch) + +0.36 Sat. Jan. 26, 2008 + * Moose::Role + Moose::Meta::Attribute + - role type tests now support when roles are + applied to non-Moose classes (found by ash) + - added tests for this (thanks to ash) + - couple extra tests to boost code coverage + + * Moose::Meta::Method::Constructor + - improved fix for handling Class::MOP attributes + - added test for this + + * Moose::Meta::Class + - handled the add_attribute($attribute_meta_object) + case correctly + - added test for this + +0.35 Tues. Jan. 22, 2008 + * Moose::Meta::Method::Constructor + - fix to make sure even Class::MOP attributes + are handled correctly (Thanks to Dave Rolsky) + - added test for this (also Dave Rolsky) + + * Moose::Meta::Class + - improved error message on _apply_all_roles, + you should now use Moose::Util::apply_all_roles + and you shouldnt have been using a _ prefixed + method in the first place ;) + 0.34 Mon. Jan. 21, 2008 ~~~ more misc. doc. fixes ~~~ ~~ updated copyright dates ~~ Moose is now a postmodern object system :) - (see the POD for details) - - * <> - - this release contains a major reworking and - cleanup of the role system + + * <> + - this release contains a major reworking and + cleanup of the role system - 100% backwards compat. - Role application now restructured into seperate classes based on type of applicants - Role summation (combining of more than one role) - is much cleaner and anon-classes are no longer + is much cleaner and anon-classes are no longer used in this process - - new Composite role metaclass + - new Composite role metaclass - runtime application of roles to instances is now more efficient and re-uses generated classes when applicable - + * <> - - methods can now be excluded from a given role + - methods can now be excluded from a given role during composition - - with 'My::Role' => { excludes => [qw/method1 method2/] }; - - - methods can now be aliased to another name (and - still retain the original as well) - - with 'My::Role' => { - alias => { - method1 => method1_aliased - } - }; - - * <> - - allows arbitrary roles to be applied to attribute metaobjects - to allow better combination of custom attribute features. Docs - are coming soon for this feature. - - * <> - - added this new type which basically means the value is - of $type or it is undef - - ==== - - * Moose - Moose::Role - - now uses the Moose::Util::apply_all_roles to deal - with role application - - * Moose::Util - - added the &apply_all_roles function - - * Moose::Util::TypeConstraints - - all optimized type constraint subs are now - pulled from the Moose::Util::TypeConstraints::OptimizedConstraints - module (thanks to nothingmuch) - - improved support for the IO:: family of modules within the - FileHandle type constraint + - methods can now be aliased to another name (and + still retain the original as well) * Moose::Util::TypeConstraints::OptimizedConstraints - added this module (see above) @@ -78,13 +118,13 @@ Revision history for Perl extension Moose * Moose::Meta::Method::Accessor Moose::Meta::Method::Constructor Moose::Meta::Attribute - Moose::Meta::TypeConstraint - Moose::Meta::TypeCoercion - - lots of cleanup of such things as: + Moose::Meta::TypeConstraint + Moose::Meta::TypeCoercion + - lots of cleanup of such things as: - generated methods - type constraint handling - - error handling/messages - (thanks to nothingmuch) + - error handling/messages + (thanks to nothingmuch) * Moose::Meta::TypeConstraint::Parameterizable - added this module to support the refactor