From: Jesse Luehrs Date: Tue, 11 Aug 2009 01:36:40 +0000 (-0500) Subject: Merge branch 'master' into attribute_helpers X-Git-Tag: 0.89_02~71 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=721a2ea053c8a9e6801ea562d365b5140ac5a868;p=gitmo%2FMoose.git Merge branch 'master' into attribute_helpers Conflicts: lib/Moose/Manual/Delta.pod --- 721a2ea053c8a9e6801ea562d365b5140ac5a868 diff --cc lib/Moose/Manual/Delta.pod index febe2ff,5fe7aea..b02c716 --- a/lib/Moose/Manual/Delta.pod +++ b/lib/Moose/Manual/Delta.pod @@@ -16,34 -16,20 +16,46 @@@ feature. If you encounter a problem an it documented here, or think we missed an important feature, please send us a patch. - =head1 Version 0.85 + =head1 Version 0.89 +L has been moved into the Moose core from +L. Major changes include: + +=over + +=item C, not C + +Method providers are only available via traits. + +=item C, not C or C + +The C syntax was like core Moose C<< handles => HASHREF >> +syntax, but with the keys and values reversed. This was confusing, +and AttributeHelpers now uses C<< handles => HASHREF >> in a way that +should be intuitive to anyone already familiar with how it is used for +other attributes. + +The C functionality provided by AttributeHelpers has been +generalized to apply to all cases of C<< handles => HASHREF >>, though +not every piece of functionality has been ported (currying with a +CODEREF is not supported). + +=back + +See L for the new documentation. + + C<< use Moose -metaclass => 'Foo' >> now does alias resolution, just like + C<-traits> (and the C and C options to C). + + Added two functions C and C to + L, to simplify aliasing metaclasses and metatraits. This is + a wrapper around the old + + package Moose::Meta::Class::Custom::Trait::FooTrait; + sub register_implementation { 'My::Meta::Trait' } + + way of doing this. + =head1 Version 0.84 When an attribute generates I accessors, we now warn. This is to help