X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Changes;h=3c848090fcd7103337f9a43029b98f0888d4ea87;hb=0eae3f0e8e38e0ed869b584b35e2473637064e7c;hp=7066ca4cd684c0fa0f7484b76f615fcd32d94bd1;hpb=0d29b77265a9c26a152cc0d9628d5b1101ceb32a;p=gitmo%2FMoose.git diff --git a/Changes b/Changes index 7066ca4..3c84809 100644 --- a/Changes +++ b/Changes @@ -1,7 +1,190 @@ Also see Moose::Manual::Delta for more details of, and workarounds for, noteworthy changes. -0.92 +0.99 ??? + + [NEW DOCUMENTATION] + * Added Moose::Manual::Support that defines the support, compatiblity, and + release policies for Moose. + +0.98 Wed, Feb 10, 2010 + + [BUG FIXES] + + * An internals change in 0.97 broke role application to an instance in some + cases. The bug occurred when two different roles were applied to different + instances of the same class. (Rafael Kitover) + + +0.97 Tue, Feb 9, 2010 + + [BUG FIXES] + + * Calling ->reinitialize on a cached anonymous class destroyed the cache, + causing the class to go out of scope unexpectedly. This could easily + happen at a distance by applying a metarole to an anonymous class. (Dave + Rolsky). + +0.96 Sat, Feb 6, 2010 + + [NEW FEATURES] + + * ScalarRef is now a parameterized type. You can now specify a type + constraint for whatever the reference points to. (Closes RT#50857) + (Michael G. Schwern, Florian Ragwitz) + + [BUG FIXES] + + * ScalarRef now accepts references to other references. (Closes RT#50934) + (Michael G. Schwern) + +0.95 Thu, Feb 4, 2010 + + [NEW FEATURES] + + * Moose::Meta::Attribute::Native::Trait::Code now provides execute_method as + a delegation option. This allows the code reference to be called as a + method on the object. (Florian Ragwitz) + + [ENHANCEMENTS] + + * Moose::Object::does no longer checks the entire inheritance tree, since + Moose::Meta::Class::does_role already does this. (doy) + + * Moose::Util::add_method_modifier (and subsequently the sugar functions + Moose::before, Moose::after, and Moose::around) can now accept arrayrefs, + with the same behavior as lists. Types other than arrayref and regexp + result in an error. (Dylan Hardison) + +0.94 Mon, Jan 18, 2010 + + [API CHANGES] + + * Please see the changes listed for 0.93_01 and Moose::Manual::Delta. + + [ENHANCEMENTS] + + * Improved support for anonymous roles by changing various APIs to take + Moose::Meta::Role objects as well as role names. This included + + - Moose::Meta::Class->does_role + - Moose::Meta::Role->does_role + - Moose::Util::does_role + - Moose::Util::apply_all_roles + - Moose::Util::ensure_all_roles + - Moose::Util::search_class_by_role + + Requested by Shawn Moore. Addresses RT #51143 (and then some). (Dave Rolsky) + + [BUG FIXES] + + * Fix handling of non-alphanumeric attributes names like '@foo'. This should + work as long as the accessor method names are explicitly set to valid Perl + method names. Reported by Doug Treder. RT #53731. (Dave Rolsky) + + +0.93_03 Tue, Jan 5, 2010 + + [BUG FIXES] + + * Portability fixes to our XS code so we compile with 5.8.8 and Visual + C++. Fixes RT #53391. Reported by Taro Nishino. (rafl) + + +0.93_02 Tue, Jan 5, 2010 + + [BUG FIXES] + + * Depend on Class::MOP 0.97_01 so we can get useful results from CPAN + testers. (Dave Rolsky) + + +0.93_01 Mon, Jan 4, 2010 + + [API CHANGES] + + See Moose::Manual::Delta for more details on backwards compatiblity issues. + + * Role attributes are now objects of the Moose::Meta::Role::Attribute + class. (Dave Rolsky). + + * There were major changes to how metaroles are applied. We now distinguish + between metaroles for classes vs those for roles. See the + Moose::Util::MetaRole docs for details. (Dave Rolsky) + + * The old MetaRole API has been deprecated, but will continue to + work. However, if you are applying an attribute metaclass role, this may + break because of the fact that roles now have an attribute metaclass + too. (Dave Rolsky) + + * Moose::Util::MetaRole::apply_metaclass_roles is now called + apply_metaroles. The old name is deprecated. Dave Rolsky> + + * The unimport subs created by Moose::Exporter now clean up re-exported + functions like blessed and confess, unless the caller imported them from + somewhere else too. See Moose::Manua::Delta for backcompat details. (rafl) + + [ENHANCEMENTS AND BUG FIXES] + + * Changed the Str constraint to accept magic lvalue strings like one gets from + substr et al, again. (sorear) + + * Sped up the type constraint parsing regex. (Sam Vilain) + + * The Moose::Cookbook::Extending::Recipe2 recipe was broken. Fix suggested by + jrey. + + * Added Moose::Util::TypeConstraints exports when using oose.pm to allow + easier testing of TypeConstraints from the command line. (perigrin) + + * Added a with_immutable test function to Test::Moose, to run a block of tests + with and without certain classes being immutable. (doy) + + * We now use Module::Install extensions explicitly to avoid confusing errors + if they're not installed. We use Module::Install::AuthorRequires to stop + test extraction and general failures if you don't have the author side + dependencies installed. + + * Fixed a grammar error in Moose::Cookbook::Basics::Recipe4. rt.cpan.org + #51791. (Amir E. Aharoni) + + +0.93 Thu, Nov 19, 2009 + * Moose::Object + - Calling $object->new() is no longer deprecated, and no longer + warns. (doy) + + * Moose::Meta::Role + - The get_attribute_map method is now deprecated. (Dave Rolsky) + + * Moose::Meta::Method::Delegation + - Preserve variable aliasing in @_ for delegated methods, so that + altering @_ affects the passed value. (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) + - Changed Str constraint to not accept globs (*STDIN or *FOO). (chansen) + - Properly document Int being a subtype of Str. (doy) + + * Moose::Exporter + - Moose::Exporter using modules can now export their functions to the + main package. This applied to Moose and Moose::Role, among + others. (nothingmuch) + + * Moose::Meta::Attribute + - Don't remove attribute accessors we never installed, during + remove_accessors. (doy) + + * Moose::Meta::Attribute::Native::Trait::Array + - Don't bypass prototype checking when calling List::Util::first, to + avoid a segfault when it is called with a non-code argument. (doy) + + * Moose::Meta::Attribute::Native::Trait::Code + - Fix passing arguments to code execute helpers. (doy) + +0.92 Tue, Sep 22, 2009 * Moose::Util::TypeConstraints - added the match_on_type operator (Stevan) - added tests and docs for this (Stevan) @@ -10,6 +193,9 @@ for, noteworthy changes. - Metaclass compat fixing should already happen recursively, there's no need to explicitly walk up the inheritance tree. (doy) + * Moose::Meta::Attribute + - 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 @@ -49,6 +235,9 @@ for, noteworthy changes. - 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) + - The get_method_list method no longer explicitly excludes the "meta" + method. This was a hack that has been replaced by better hacks. (Dave + Rolsky) * Moose::Meta::Method::Delegation - fixed delegated methods to make sure that any modifiers attached to