improved error message when loading modules so it is less confusing when you load a role.
added &calculate_all_roles method to Moose::Meta::Class and Moose::Meta::Role
NOTE: This module has been tested against Class::MOP 0.30 but it does not yet utilize the optimizations it makes available. Stay tuned for that ;)
Changes for version 0.09_03
DEVELOPER RELEASE ++
Moose
'use strict' and 'use warnings' are no longer needed in Moose classes, Moose itself will turn them on for you.
added tests for this
moved code from exported subs to private methods in Moose::Meta::Class
Moose::Role
as with Moose, strict and warnings are automatically turned on for you.
added tests for this
Moose::Meta::Role
now handles an edge case for override errors
added tests for this
added some more edge case tests
Changes for version 0.09_02
DEVELOPER RELEASE ++
Moose
added prototypes to the exported subs
updated docs
Moose::Role
added prototypes to the exported subs
updated docs
Moose::Util::TypeConstraints
cleaned up prototypes for the subs
updated docs
Changes for version 0.09_01
DEVELOPER RELEASE ++
This release works in combination with Class::MOP 0.29_01, it is a developer release because it uses the a new instance sub-protocol and a fairly complete Role implementation. It has not yet been optimized, so it slower the the previous CPAN version. This release also lacks good updated docs, the official release will have updated docs.
Moose
refactored the keyword exports
'with' now checks Role validaity and accepts more than one Role at a time
'extends' makes metaclass adjustments as needed to ensure metaclass compatability
Moose::Role
refactored the keyword exports
'with' now checks Role validaity and accepts more than one Role at a time
Moose::Util::TypeConstraints
added the 'enum' keyword for simple string enumerations which can be used as type constraints
see example of usage in t/202_example.t
Moose::Object
more careful checking of params to new()
Moose::Meta::Role
much work done on the role composition
many new tests for conflict detection and composition edge cases
not enough documentation, I suggest looking at the tests
Moose::Meta::Instance
added new Instance metaclass to support the new Class::MOP instance protocol
Moose::Meta::Class
some small changes to support the new instance protocol
some small additions to support Roles
Moose::Meta::Attribute
some improvements to the accessor generation code by nothingmuch
some small changes to support the new instance protocol
(still somewhat) experimental delegation support with the 'handles' option