From: Dave Rolsky Date: Mon, 4 Jan 2010 17:27:24 +0000 (-0600) Subject: Document no "+foo" for role attrs, and related composition_class_roles change X-Git-Tag: 0.93_01~12 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=f427b50508628f3f8548b17c0650b4bfed9d2efc;p=gitmo%2FMoose.git Document no "+foo" for role attrs, and related composition_class_roles change --- diff --git a/lib/Moose/Manual/Delta.pod b/lib/Moose/Manual/Delta.pod index 335d6bb..c0b845b 100644 --- a/lib/Moose/Manual/Delta.pod +++ b/lib/Moose/Manual/Delta.pod @@ -38,6 +38,22 @@ The change above comes from a general improvement to L. It will now unimport any function it exports, even if that function is a re-export from another package. +=item Attributes in roles can no longer override class attributes with "+foo" + +Previously, this worked more or less accidentally, because role attributes +weren't objects. This was never documented, but a few MooseX modules took +advantage of this. + +=item The composition_class_roles attribute in L is now a method + +This was done to make it possible for roles to alter the the list of +composition class roles by applying a method modifiers. Previously, this was +an attribute and MooseX modules override it. Since that no longer works, this +was made a method. + +This I be an attribute, so this may switch back to being an attribute +in the future if we can figure out how to make this work. + =back =head1 0.93