cpan Moose 0.90

latest releases: 2.2207, 2.2206, 2.2205...
15 years ago
  • Moose::Meta::Attribute::Native::Trait::Counter

  • Moose::Meta::Attribute::Native::Trait::String

    • For these two traits, an attribute which did not explicitly provide
      methods to handles magically ended up delegating all the helper
      methods. This has been removed. You must be explicit in your handles
      declaration for all Native Traits. (Dave Rolsky)
  • Moose::Object

    • 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.

Don't miss a new Moose release

NewReleases is sending notifications on new releases.