cpan Moose 2.1100

latest releases: 2.2207, 2.2206, 2.2205...
pre-release10 years ago

[DEPRECATIONS]

  • Class::MOP::load_class, Class::MOP::is_class_loaded, and
    Class::MOP::load_first_existing_class are now deprecated. See
    Moose::Manual::Delta for details.

  • The non-arrayref forms of enum and duck_type have been deprecated. See
    Moose::Manual::Delta for details.

  • Many deprecated features have now been removed:

    • optimize_as for type constraints
    • the "default is" and "default default" features for native delegations
    • setting coerce => 1 on an attribute whose type constraint has no coercion
    • the public version of Moose::Meta::Method::Destructor::initialize_body

[ENHANCEMENTS]

  • Creating classes with Moose now always sets the appropriate entry in %INC,
    even if it wasn't loaded from a file. This should make writing classes
    inline easier, and will allow us to be more intelligent about figuring out
    when classes are loaded in the future. See Moose::Manual::Delta for more
    details. Note that this is slightly backwards-incompatible in some edge
    cases.

  • Moose now uses Module::Runtime instead of Class::Load to load classes. This
    means that there are no more issues with the weird heuristics that
    Class::Load does to determine if a class was previously loaded (inheriting
    from an empty package is now possible, for instance). See
    Moose::Manual::Delta for more details. This is also slightly
    backwards-incompatible in some edge cases.

Don't miss a new Moose release

NewReleases is sending notifications on new releases.