{{$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
this will no longer throw an error. Reported by Mark-Jason Dominus. Fixes
RT 69988. (Dave Rolsky)
- [BUG FIXES]
+ * The error generated by unfulfilled method requirements during role
+ composition now mentions how to work around imported methods not being
+ recognized. Reported by Michael Schwern. Fixes RT 60583. (doy)
- * A subtype of a union type did not return the right results when you called
- ->is_subtype_of or ->is_a_type_of on it. This has been fixed. RT
- #70322. (Dave Rolsky)
+ * 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)
[OTHER]