From: Dave Rolsky Date: Sun, 5 Apr 2009 21:36:44 +0000 (-0500) Subject: Changes for renames and deprecations X-Git-Tag: 0.73_01~1 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=d236872e41bec136e6ac49346743c791dc81e69a;p=gitmo%2FMoose.git Changes for renames and deprecations --- diff --git a/Changes b/Changes index 45a0b3a..1737788 100644 --- a/Changes +++ b/Changes @@ -50,6 +50,30 @@ for, noteworthy changes. Moose::Policy::FollowPBP; recommend MooseX::FollowPBP instead. (hdp) + * Many methods have been renamed with a leading underscore, and a + few have been deprecated entirely. The methods with a leading + underscore are consider "internals only". People writing + subclasses or extensions to Moose should feel free to override + them, but they are not for "public" use. + + - Moose::Meta::Class + - check_metaclass_compatibility => _check_metaclass_compatibility + + - Moose::Meta::Method::Accessor + - initialize_body => _initialize_body (this is always called + when an object is constructed) + - /(generate_.*_method(?:_inline)?)/ => '_' . $1 + + - Moose::Meta::Method::Constructor + - initialize_body => _initialize_body (this is always called + when an object is constructed) + - /(generate_constructor_method(?:_inline)?)/ => '_' . $1 + - attributes => _attributes (now inherited from parent) + - meta_instance => _meta_instance (now inherited from parent) + + - Moose::Meta::Role + - alias_method is deprecated. Use add_method + 0.73 Fri, March 29, 2009 * No changes from 0.72_01.