fix is_subtype_of for unregistered class types
[gitmo/Moose.git] / Changes
diff --git a/Changes b/Changes
index 5069373..586e22c 100644 (file)
--- a/Changes
+++ b/Changes
@@ -3,6 +3,13 @@ for, noteworthy changes.
 
 {{$NEXT}}
 
+  [API CHANGES]
+
+  * Methods to introspect a class's methods will now return methods defined in
+    UNIVERSAL (isa, can, etc.). This also means that you can wrap these
+    methods with method modifiers. RT #69839. Reported by Vyacheslav
+    Matyukhin. (Dave Rolsky)
+
   [DEPRECATIONS]
 
   * The optimize_as option for type constraints has been deprecated. Use the
@@ -43,6 +50,18 @@ for, noteworthy changes.
     composition now mentions how to work around imported methods not being
     recognized. Reported by Michael Schwern. Fixes RT 60583. (doy)
 
+  * class_type and role_type will now throw errors if you attempt to use them
+    to override existing types, just like type and subtype have always done.
+    (doy)
+
+  * Implicitly creating class or role types by using them as the 'isa' or
+    'does' parameter to attribute construction will now register the type. This
+    means that it cannot later be redefined as something else. (doy)
+
+  * $class_type->is_subtype_of no longer returns true if passed the name of the
+    class that the class type represents when the class type wasn't registered.
+    (doy)
+
   [OTHER]
 
   * The Class::MOP::load_class and Class::MOP::is_class_loaded subroutines are