cpan Moose 1.11

latest releases: 2.2207, 2.2206, 2.2205...
13 years ago

[API CHANGES]

  • An attribute in a subclass can now override the value of "is". (doy)

  • The deprecation warnings for alias and excludes have been turned back off
    for this release, to give other module authors a chance to tweak their
    code. (Dave Rolsky)

[BUG FIXES]

  • mro::get_linear_isa was being called as a function rather than a method,
    which caused problems with Perl 5.8.x. (t0m)

  • Union types always created a type constraint, even if their constituent
    constraints did not have any coercions. This bogus coercion always
    returned undef, which meant that a union which included Undef as a member
    always coerced bad values to undef. Reported by Eric Brine. RT
    #58411. (Dave Rolsky)

  • Union types with coercions would always fall back to coercing the value to
    undef (unintentionally). Now if all the coercions for a union type fail,
    the value returned by the coercion is the original value that we attempted
    to coerce. (Dave Rolsky).

Don't miss a new Moose release

NewReleases is sending notifications on new releases.