X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Changes;h=19e44fc31646c5168190209e0a9e56289a4b4086;hb=87259f30414e4b999fe0c7c1934af22fc40fdbdb;hp=d28929a51fe4cc97117a454ee346d833b0bf4ec4;hpb=7ff5653479c2bfc0794635f7fbade9bfe7bb2381;p=gitmo%2FMoose.git diff --git a/Changes b/Changes index d28929a..19e44fc 100644 --- a/Changes +++ b/Changes @@ -1,15 +1,89 @@ Revision history for Perl extension Moose 0.56 + * Makefile.PL and Moose.pm + - explicitly require Perl 5.8.0+ (Dave Rolsky) + + * Moose::Util::TypeConstraints + - Fix warnings from find_type_constraint if the type is not + found (t0m). + + * Moose::Meta::TypeConstraint + - predicate methods (equals/is_a_type_of/is_subtype_of) now + return false if the type you specify cannot be found in the + type registry, rather than throwing an unhelpful and coincidental + exception. The behavior is now in line with to + $ob->isa('DoesNotExist') (t0m). + - added docs & test for this (t0m) + + * Moose::Meta::TypeConstraint::Registry + - add_type_constraint now throws an exception if a parameter is + not supplied (t0m). + - added docs & test for this (t0m) + +0.55_01 Wed August 20, 2008 + + !! Calling Moose::init_meta as a function is now !! + !! deprecated. Please see the Moose.pm docs for details. !! + + * Moose::Meta::Method::Constructor + - Fix inlined constructor so that values produced by default + or builder methods are coerced as required. (t0m) + - added test for this (t0m) + + * Moose::Meta::Attribute + - A lazy attribute with a default or builder did not attempt to + coerce the default value. The immutable code _did_ + coerce. (t0m) + - added test for this (t0m) + + * Moose::Exporter + - This is a new helper module for writing "Moose-alike" + modules. This should make the lives of MooseX module authors + much easier. (Dave Rolsky) + * Moose + * Moose::Cookbook::Meta::Recipe5 + - Implemented metaclass traits (and wrote a recipe for it): + + use Moose -traits => 'Foo' + + This should make writing small Moose extensions a little + easier (Dave Rolsky) + + * Moose::Cookbook::Basics::Recipe1 + - Removed any examples of direct hashref access, and applied an + editorial axe to reduce verbosity. (Dave Rolsky) + + * Moose::Cookbook::Basics::Recipe1 + - Also applied an editorial axe here. (Dave Rolsky) + + * Moose + * Moose::Cookbook::Extending::Recipe1 * Moose::Cookbook::Extending::Recipe2 - - Add a remove_keywords function so if you extend Moose - you don't have to cargo cult Moose's unimport (Sartak) + - Rewrote extending and embedding moose documentation and + recipes to use Moose::Exporter (Dave Rolsky) * Moose - - Moose now warns when you try to have it export its sugar - functions into the "main" package. Previously it silently did - nothing. (Dave Rolsky) + * Moose::Role + - These two modules now warn when you load them from the main + package "main" package, because we will not export sugar to + main. Previously it just did nothing. (Dave Rolsky) + + * Moose::Role + - Now provide an init_meta method just like Moose.pm, and you + can call this to provide an alternate role metaclass. (Dave + Rolsky and nothingmuch) + - get_method_map now respects the package cache flag (nothingmuch) + + * Moose::Meta::Role + - Two new methods - add_method and wrap_method_body + (nothingmuch) + + * many modules + - Optimizations including allowing constructors to accept hash + refs, making many more classes immutable, and making + constructors immutable. (nothingmuch) 0.55 Sun August 3, 2008 * Moose::Meta::Attribute