Made the delegation closure have useful error trace information.
[gitmo/Moose.git] / Changes
diff --git a/Changes b/Changes
index 34b5a34..afb20ec 100644 (file)
--- a/Changes
+++ b/Changes
 Also see Moose::Manual::Delta for more details of, and workarounds
 for, noteworthy changes.
 
-0.93_03 Tue, Jan 5, 2009
+  [ENHANCEMENTS]
 
-[BUG FIXES]
+  * Moose::Object::does no longer checks the entire inheritance tree, since
+    Moose::Meta::Class::does_role already does this. (doy)
+  * Moose::Object now has stubs for BUILD and DEMOLISH, so they can be safely
+    wrapped in roles without needing to provide your own stubs. (doy)
 
-* Portability fixes to our XS code so we compile with 5.8.8 with Visual
-  C++. Fixes RT #53391. Reported by Taro Nishino. (rafl)
+  * Moose::Meta::Method::Delegation 
+  * Moose::Meta::Attribute
+    - Delegations are now inlined on make_immutable and have file/line set
+      to the point at which the delegation was defined. (pdcawley)
 
-0.93_02 Tue, Jan 5, 2009
+0.94 Mon, Jan 18, 2010
 
-[BUG FIXES]
+  [API CHANGES]
 
-* Depend on Class::MOP 0.97_01 so we can get useful results from CPAN
-  testers. (Dave Rolsky)
+  * Please see the changes listed for 0.93_01 and Moose::Manual::Delta.
 
-0.93_01 Mon, Jan 4, 2009
+  [ENHANCEMENTS]
 
-[API CHANGES]
+  * Improved support for anonymous roles by changing various APIs to take
+    Moose::Meta::Role objects as well as role names. This included
 
-See Moose::Manual::Delta for more details on backwards compatiblity issues.
+  - 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
 
-* Role attributes are now objects of the Moose::Meta::Role::Attribute
-  class. (Dave Rolsky).
+  Requested by Shawn Moore. Addresses RT #51143 (and then some). (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)
+  [BUG FIXES]
 
-* 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)
+  * 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)
 
-* 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)
+0.93_03 Tue, Jan 5, 2010
 
-[ENHANCEMENTS AND BUG FIXES]
+  [BUG FIXES]
 
-* Changed the Str constraint to accept magic lvalue strings like one gets from
-  substr et al, again. (sorear)
+  * Portability fixes to our XS code so we compile with 5.8.8 with Visual
+    C++. Fixes RT #53391. Reported by Taro Nishino. (rafl)
 
-* Sped up the type constraint parsing regex. (Sam Vilain)
 
-* The Moose::Cookbook::Extending::Recipe2 recipe was broken. Fix suggested by
-  jrey.
+0.93_02 Tue, Jan 5, 2010
 
-* Added Moose::Util::TypeConstraints exports when using oose.pm to allow
-  easier testing of TypeConstraints from the command line. (perigrin)
+ [BUG FIXES]
 
-* Added a with_immutable test function to Test::Moose, to run a block of tests
-  with and without certain classes being immutable. (doy)
+  * Depend on Class::MOP 0.97_01 so we can get useful results from CPAN
+    testers. (Dave Rolsky)
 
-* 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_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