PaulHowarth/Blog/2014-01-07

Tuesday 7th January 2014

Local Packages

  • Updated perl-HTML-SimpleLinkExtor to 1.27:

  • Updated perl-Module-CoreList to 3.03:

    • Updated for v5.18.2
  • Updated perl-Moose to 2.1200:

  • 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

  • Bug Fixes:

    • 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

    • die if a role to consume can't be found - this restores behaviour as in 2.1005

    • Fix test to accommodate Devel::PartialDump possibly not being installed

    • Class::MOP::Object::_inline_throw_error is back, used by some MooseX modules

    • Legacy throw_error now takes multiple arguments, like confess does

    • throw_error import cleaned from Moose::Object after use

    • Resolved new circular load issue between Moose::Util and Class::MOP (CPAN RT#89713 and PR#42)

  • Enhancements:

    • Creating classes with Moose now always sets the appropriate entry in %INC, even if it wasn't loaded from a file, which 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, which 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 (note that this is also slightly backwards-incompatible in some edge cases)

    • Moose string exceptions have been replaced by Moose::Exception objects; see Moose::Manual::Delta for details

  • Other:

    • Many additions to the list of conflicting modules (those that require updates after installing Moose), reflecting recent API changes

    • Now failing early at build time, with a useful error message, if a compiler is not available
    • Fixed distribution manifest
    • Minor documentation and metadata updates


Recent