Overview

Request 65611 superseded

- update to 1.24:
* reverse the order that Moose::Exporter 'also' exports are dispatched; when
trying to re-export from a package that itself exported a modified set of
Moose sugar, you'd get the original Moose sugar instead of the overrides

- update to 1.23:
* when reinitializing meta objects for classes and roles, we failed to
preserve roles and role applications; this led to weird bugs: many MooseX
modules end up reinitializing your class or role
- changes from 1.20:
* the role attribute metaclass did not inherit from Class::MOP::Object,
which could cause errors when trying to resolve metaclass compatibility
issues
* the lazy_build feature was accidentally removed all the docs; now it's
listed in Moose.pm again
- changes from 1.18:
* type constraint objects now have an assert_coerce method which will either
return a valid value or throw an error
* we now warn when an accessor for one attribute overwrites an accessor for
another attribute; RT #57510
* the native Array and Hash delegation methods now coerce individual new
members if the _member type_ has a coercion; in other words, if the array
reference is defined as an ArrayRef[DateTime], and you've defined a
coercion from Int to DateTime, then pushing an integer via a delegation
method will coerce the integer to a DateTime object; RT #62351
* an attribute using native delegations did not always properly coerce and
type check a lazily set default value
* using a regexp to define delegations for a class which was not yet loaded
did not actually work, but did not explicitly fail; however, it caused an
error when the class was loaded later; RT#60596

Loading...
Request History
Stephan Kulow's avatar

coolo created request

- update to 1.24:
* reverse the order that Moose::Exporter 'also' exports are dispatched; when
trying to re-export from a package that itself exported a modified set of
Moose sugar, you'd get the original Moose sugar instead of the overrides

- update to 1.23:
* when reinitializing meta objects for classes and roles, we failed to
preserve roles and role applications; this led to weird bugs: many MooseX
modules end up reinitializing your class or role
- changes from 1.20:
* the role attribute metaclass did not inherit from Class::MOP::Object,
which could cause errors when trying to resolve metaclass compatibility
issues
* the lazy_build feature was accidentally removed all the docs; now it's
listed in Moose.pm again
- changes from 1.18:
* type constraint objects now have an assert_coerce method which will either
return a valid value or throw an error
* we now warn when an accessor for one attribute overwrites an accessor for
another attribute; RT #57510
* the native Array and Hash delegation methods now coerce individual new
members if the _member type_ has a coercion; in other words, if the array
reference is defined as an ArrayRef[DateTime], and you've defined a
coercion from Int to DateTime, then pushing an integer via a delegation
method will coerce the integer to a DateTime object; RT #62351
* an attribute using native delegations did not always properly coerce and
type check a lazily set default value
* using a regexp to define delegations for a class which was not yet loaded
did not actually work, but did not explicitly fail; however, it caused an
error when the class was loaded later; RT#60596


Stephan Kulow's avatar

coolo declined request

please make sure to wait before these depencencies are in openSUSE:Factory: perl-Declare-Constraints-Simple, perl-Module-Refresh, perl-Package-Stash-XS, perl-aliased


Adrian Schröter's avatar

adrianSuSE superseded request

supersede declined request with a followup request


Saul Goodman's avatar

licensedigger accepted review

{"approve": "preliminary, offline batch review required"}


Stephan Kulow's avatar

coolo declined review

please make sure to wait before these depencencies are in openSUSE:Factory: perl-Declare-Constraints-Simple, perl-Module-Refresh, perl-Package-Stash-XS, perl-aliased

openSUSE Build Service is sponsored by