From: Dave Rolsky Date: Sat, 13 Sep 2008 02:38:16 +0000 (+0000) Subject: merge trunk to method-changes branch X-Git-Tag: 0.58~34^2~15 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=1e5c556ca5e5413f02c55811d14700bde10a13f4;p=gitmo%2FMoose.git merge trunk to method-changes branch --- 1e5c556ca5e5413f02c55811d14700bde10a13f4 diff --cc Changes index 88ea17e,397f731..1685b22 --- a/Changes +++ b/Changes @@@ -1,24 -1,16 +1,35 @@@ Revision history for Perl extension Moose -0.58 +0.5x + !! This release has an incompatible change regarding !! + how roles add methods to a class !! + + * Roles and role application + ! Roles now add methods by calling add_method, not + alias_method. They make sure to always provide a method + object, which will be cloned internally. This means that it is + now possible to track the source of a method provided by a + role, and even follow its history through intermediate roles. + + This means that methods added by a role now show up when + looking at a class's method list/map. (Dave Rolsky) + + * Moose::Meta::Method::Delegation + * Moose::Meta::Attribute + - Delegation methods now have their own method class. (Dave + Rolsky) + + * Moose::Exporter + * Moose + - Moose::Exporter will no longer remove a subroutine that the + exporting package re-exports. Moose re-exports the + Carp::confess function, among others. The reasoning is that we + cannot know whether you have also explicitly imported those + functions for your own use, so we err on the safe side and + always keep them. (Dave Rolsky) + - added tests for this (rafl) + ++<<<< 122127346164625 0.57 Wed September 3, 2008 * Moose::Intro - A new bit of doc intended to introduce folks familiar with