cpan Moose 0.73_01

latest releases: 2.2207, 2.2206, 2.2205...
pre-release15 years ago
  • Moose::*

    • Call user_class->meta in fewer places, with the eventual goal
      of allowing the user to rename or exclude ->meta
      altogether. Instead uses Class::MOP::class_of. (Sartak)
  • Moose::Meta::Method::Accessor

    • If an attribute had a lazy default, and that value did not
      pass the attribute's type constraint, it did not get the
      message from the type constraint, instead using a generic
      message. Test provided by perigrin.
  • Moose::Util::TypeConstraints

    • Add duck_type keyword. It's sugar over making sure an object
      can() a list of methods. This is easier than jrockway's
      suggestion to fork all of CPAN. (perigrin)
    • add tests and documentation (perigrin)
  • Moose

    • Document the fact that init_meta() returns the target class's
      metaclass object. (hdp)
  • Moose::Cookbook::Extending::Recipe1

  • Moose::Cookbook::Extending::Recipe2

  • Moose::Cookbook::Extending::Recipe3

  • Moose::Cookbook::Extending::Recipe4

    • Make init_meta() examples explicitly return the metaclass and
      point out this fact. (hdp)
  • Moose::Cookbook::Basics::Recipe12

    • A new recipe, creating a custom meta-method class.
  • Moose::Cookbook::Meta::Recipe6

    • A new recipe, creating a custom meta-method class.
  • Moose::Meta::Class

  • Moose::Meta::Method::Constructor

    • Attribute triggers no longer receive the meta-attribute object
      as an argument in any circumstance. Previously, triggers
      called during instance construction were passed the
      meta-attribute, but triggers called by normal accessors were
      not. Fixes RT#44429, reported by Mark Swayne. (hdp)
  • Moose::Manual::Attributes

    • Remove references to triggers receving the meta-attribute object as an
      argument. (hdp)
  • Moose::Cookbook::FAQ

    • Remove recommendation for deprecated Moose::Policy and
      Moose::Policy::FollowPBP; recommend MooseX::FollowPBP
      instead. (hdp)
  • Many methods have been renamed with a leading underscore, and a
    few have been deprecated entirely. The methods with a leading
    underscore are consider "internals only". People writing
    subclasses or extensions to Moose should feel free to override
    them, but they are not for "public" use.

    • Moose::Meta::Class

    • check_metaclass_compatibility => _check_metaclass_compatibility

    • Moose::Meta::Method::Accessor

    • initialize_body => _initialize_body (this is always called
      when an object is constructed)

    • /(generate_.*_method(?:inline)?)/ => '' . $1

    • Moose::Meta::Method::Constructor

    • initialize_body => _initialize_body (this is always called
      when an object is constructed)

    • /(generate_constructor_method(?:inline)?)/ => '' . $1

    • attributes => _attributes (now inherited from parent)

    • meta_instance => _meta_instance (now inherited from parent)

    • Moose::Meta::Role

    • alias_method is deprecated. Use add_method

Don't miss a new Moose release

NewReleases is sending notifications on new releases.