Do the $XS_VERSION trick to make XSLoader happy with a dev version
[gitmo/Moose.git] / Changes
diff --git a/Changes b/Changes
index 060539a..0f7b810 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,7 +1,106 @@
 Also see Moose::Manual::Delta for more details of, and workarounds
 for, noteworthy changes.
 
-Next
+0.93_01 Mon, Jan 4, 2009
+   * Moose::Meta::Role
+     - Role attributes are now objects of the Moose::Meta::Role::Attribute
+       class. (Dave Rolsky).
+
+   * Moose::Util::MetaRole
+     - 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)
+
+   * Moose::Exporter
+      - The unimport subs it generates now clean up re-exported functions like
+        blessed and confess, unless the caller imported them from somewhere
+        else too. (rafl)
+
+   * Moose::Util::TypeConstraints
+      - Changed 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)
+
+    * Moose::Cookbook::Extending::Recipe2
+      - This recipe was broken. Fix suggested by jrey.
+
+    * oose.pm
+      - Add Moose::Util::TypeConstraints exports to allow easier testing
+        of TypeConsraints from the command line. (perigrin)
+
+   * Test::Moose
+      - Added a with_immutable test function, to run a block of tests with and
+        without certain classes being immutable. (doy)
+
+   * Makefile.PL
+      - Use Module::Install extensions explicitly to avoid confusing errors if
+        they're not installed
+      - Use Module::Install::AuthorRequires to stop test extraction and general
+        failures if you don't have the author side dependencies installed
+
+    * Moose::Cookbook::Basics::Recipe4
+      - Grammar error [rt.cpan.org #51791] (Amir E. Aharoni)
+
+0.93 Thu, Nov 19, 2009
+    * Moose::Object
+      - Calling $object->new() is no longer deprecated, and no longer
+        warns. (doy)
+
+    * Moose::Meta::Role
+      - The get_attribute_map method is now deprecated. (Dave Rolsky)
+
+    * Moose::Meta::Method::Delegation
+      - Preserve variable aliasing in @_ for delegated methods, so that
+        altering @_ affects the passed value. (doy)
+
+    * Moose::Util::TypeConstraints
+      - Allow array refs for non-anonymous form of enum and duck_type, not
+        just anonymous. The non-arrayref forms may be removed in the
+        future. (doy)
+      - Changed Str constraint to not accept globs (*STDIN or *FOO). (chansen)
+      - Properly document Int being a subtype of Str. (doy)
+
+    * Moose::Exporter
+      - Moose::Exporter using modules can now export their functions to the
+        main package. This applied to Moose and Moose::Role, among
+        others. (nothingmuch)
+
+    * Moose::Meta::Attribute
+      - Don't remove attribute accessors we never installed, during
+        remove_accessors. (doy)
+
+    * Moose::Meta::Attribute::Native::Trait::Array
+      - Don't bypass prototype checking when calling List::Util::first, to
+        avoid a segfault when it is called with a non-code argument. (doy)
+
+    * Moose::Meta::Attribute::Native::Trait::Code
+      - Fix passing arguments to code execute helpers. (doy)
+
+0.92 Tue, Sep 22, 2009
+    * Moose::Util::TypeConstraints
+      - added the match_on_type operator (Stevan)
+        - added tests and docs for this (Stevan)
+
+    * Moose::Meta::Class
+      - Metaclass compat fixing should already happen recursively, there's no
+        need to explicitly walk up the inheritance tree. (doy)
+
+    * Moose::Meta::Attribute
+      - Add tests for set_raw_value and get_raw_value. (nothingmuch)
+
+0.91 Thu, Sep 17, 2009
+    * Moose::Object
+      - Don't import any functions, in order to avoid polluting our namespace
+        with things that can look like methods (blessed, try, etc)
+        (nothingmuch)
+
+    * Moose::Meta::Method::Constructor
+      - The generated code needs to called Scalar::Util::blessed by its
+        fully-qualified name or else Perl can interpret the call to blessed as
+        an indirect method call. This broke Search::GIN, which in turn broke
+        KiokuDB. (nothingmuch)
+
+0.90 Tue, Sep 15, 2009
     * Moose::Meta::Attribute::Native::Trait::Counter
     * Moose::Meta::Attribute::Native::Trait::String
       - For these two traits, an attribute which did not explicitly provide
@@ -10,9 +109,38 @@ Next
         declaration for all Native Traits. (Dave Rolsky)
 
     * Moose::Object
-      - DEMOLISH now localizes all of Perl's global status variables (worst
-        Perl feature evah?). Based on a patch from zefream. RT #48271. (doy
-        and Dave Rolsky)
+      - DEMOLISHALL behavior has changed. If any DEMOLISH method dies, we make
+        sure to rethrow its error message. However, we also localize $@ before
+        this so that if all the DEMOLISH methods success, the value of $@ will
+        be preserved. (nothingmuch and Dave Rolsky)
+      - We now also localize $? during object destruction. (nothingmuch and
+        Dave Rolsky)
+      - The handling of DEMOLISH methods was broken for immutablized classes,
+        which were not receiving the value of
+        Devel::GlobalDestruction::in_global_destruction.
+      - These two fixes address some of RT #48271, reported by Zefram.
+      - This is all now documented in Moose::Manual::Construction.
+      - Calling $object->new() is now deprecated. A warning will be
+        issued. (perigrin)
+
+    * Moose::Meta::Role
+      - Added more hooks to customize how roles are applied. The role
+        summation class, used to create composite roles, can now be changed
+        and/or have meta-roles applied to it. (rafl)
+      - The get_method_list method no longer explicitly excludes the "meta"
+        method. This was a hack that has been replaced by better hacks. (Dave
+        Rolsky)
+
+    * Moose::Meta::Method::Delegation
+      - fixed delegated methods to make sure that any modifiers attached to
+        the accessor being delegated on will be called (Stevan)
+        - added tests for this (Stevan)
+
+    * Moose::Meta::Class
+      - Moose no longer warns when a class that is being made immutable has
+        mutable ancestors. While in theory this is a good thing to warn about,
+        we found so many exceptions to this that doing this properly became
+        quite problematic.
 
 0.89_02 Thu, Sep 10, 2009
     * Moose::Meta::Attribute::Native
@@ -35,10 +163,6 @@ Next
       - If you try to wrap/export a subroutine which doesn't actually exist,
         Moose::Exporter will warn you about this. (doy)
 
-    * Moose::Meta::Class
-      - Warn when calling make_immutable on a class with mutable ancestors.
-        (doy)
-
     * Moose::Meta::Role::Application::ToRole
       - When a role aliased a method from another role, it was only getting
         the new (aliased) name, not the original name. This differed from what
@@ -72,6 +196,10 @@ Next
         with_meta, throw a warning and skip the exporting, rather than
         installing a broken sub. (doy)
 
+    * Moose::Meta::Class
+      - Moose now warns if you call C<make_immutable> for a class with mutable
+        ancestors. (doy)
+
 0.89 Thu Aug 13, 2009
     * Moose::Manual::Attributes
       - Clarify "is", include discussion of "bare". (Sartak)
@@ -211,7 +339,7 @@ Next
       that's what we need.
 
 0.80 Sat, Jun 6, 2009
-    * Moose::Manual::FAQ 
+    * Moose::Manual::FAQ
       - Add FAQ about the coercion change from 0.76 because it came up
         three times today (perigrin)
         - Win doy $10 dollars because Sartak didn't think anybody