Path to this page:
Subject: CVS commit: pkgsrc/devel/p5-Moose
From: Wen Heping
Date: 2016-10-01 13:52:36
Message id: 20161001115236.B7F22FBD2@cvs.NetBSD.org
Log Message:
Update to 2.1806
Upstream changes:
2.1806 2016-09-25
[BUG FIXES}
- A role generated on the fly (as opposed to one in a file on disk) could
not be used as a trait. Fixed by Aaron Cohen. (RT#92089, PR#47).
[ENHANCEMENTS]
- When a required attribute's init_arg differs from the attribute's name, we
now include both the attribute name and init_arg in the exception thrown
when that attribute is not provided. (RT#116814, Gordon Fisher)
- The unimport sub generated by Moose::Exporter can now be called with
parameters like { into => 'Package' } or { into_level => 1 }, just like
the import sub it generates. Requested by Dmytro Zagashev. (RT #93666).
- Moose::Meta::Attribute objects created from role attributes keep a
reference to the Moose::Meta::Role::Attribute which created
them. Moose::Meta::Attribute now has ->role_attribute and
->has_role_attribute methods. RT #84563 and #117586. (Dave Rolsky)
[DOCUMENTATION]
- Updated Moose::Manual::Roles with more detail on role consumption and how
to deal with various corner cases involving required methods, multiple
roles, etc.
Files: