File perl-Moo.changes of Package perl-Moo
-------------------------------------------------------------------
Fri Jul 26 05:35:29 UTC 2013 - coolo@suse.com
- updated to 1.003000
- fix composing roles that require methods provided by the other (RT#82711)
- document optional use of Class::XSAccessor with caveats
- fix constructor generated when creating a class with
create_class_with_roles when the superclass constructor hasn't been
generated yet
- fix extending the constructor generator using Moo classes/roles
- non-lazy attribute defaults are used when applying a role to an object
- updated META files to list prerequisites in proper phases
- $Method::Generate::Accessor::CurrentAttribute hashref contains
information about attribute currently being processed (available
to exception objects thrown by "isa" and "coerce")
- properly die when composing a module that isn't a Role
- fix passing attribute parameters for traits when inflating to Moose
- fix inflating method modifiers applied to multiple methods
- fix documentation for Sub::Quote::capture_unroll
- add documentation noting Sub::Quote's use of strictures
- fix FOREIGNBUILDARGS not being called if no attributes created
-------------------------------------------------------------------
Tue Jun 4 08:46:21 UTC 2013 - coolo@suse.com
- updated to 1.002000
- add 'moosify' attribute key to provide code for inflating to Moose
- fix warnings about unknown attribute parameters on metaclass inflation
- don't pass 'handles' down when doing 'has +' to avoid unDWIMmy explosions
- throw a useful exception when typemap doesn't return a value
- avoid localising @_ when not required for Sub::Quote
- successfully inflate a metaclass for attributeless classes (RT#86415)
- fix false default values used with non-lazy accessors
- stop built values that fail isa checks still getting stored in the object
- stop lazy+weak_ref accessors re-building their value on every call
- make lazy+weak_ref accessors return undef if built value isn't already
stored elsewhere (Moose compatibility)
- stop isa checks being called on every access for lazy attributes
- bump Devel::GlobalDestruction dependency to fix warning on cleanup
when run under -c (RT#78617)
- document Moose type constraint creation for roles and classes
(actually fixed in 1.001000)
1.001000 - 2013-03-16
- add support for FOREIGNBUILDARGS when inheriting from non-Moo classes
- non-ref default values are allowed without using a sub
- has will refuse to overwrite locally defined subs with generated
accessors.
- added more meta resources and added more support relevant links into
the POD documentation
- clarify in docs that default and built values won't call triggers
(RT#82310)
- expand is => 'lazy' doc to make it clear that you can make rw lazy
attributes if you really want to
- handles => "RoleName" tries to load the module
- fix delegation to false/undef attributes (RT#83361)
1.000008 - 2013-02-06
- Re-export on 'use Moo' after 'no Moo'
- Export meta() into roles (but mark as non-method to avoid composing it)
- Don't generate an accessor for rw attributes if reader+writer both set
- Support builder => sub {} ala MooseX::AttributeShortcuts
- Fix 'no Moo;' to preserve non-sub package variables
- Switch to testing for Mouse::Util->can('find_meta') to avoid
exploding on ancient Mouse installs
- Fix loading order bug that results in _install_coderef being treated
as indirect object notation
1.000007 - 2012-12-15
- Correctly handle methods dragged along by role composition
- Die if Moo and Moo::Role are imported into the same package
1.000006 - 2012-11-16
- Don't use $_ as loop variable when calling arbitrary code (RT#81072)
- Bump Role::Tiny prereq to fix method modifier breakage on 5.10.0
1.000005 - 2012-10-23
- fix POD typo (RT#80060)
- include init_arg name in constructor errors (RT#79596)
- bump Class::Method::Modifiers dependency to avoid warnings on 5.8
-------------------------------------------------------------------
Wed Jan 11 12:20:22 UTC 2012 - coolo@suse.com
- updated to 0.009013
- fix up Class::XSAccessor version check to be more robust
- improved documentation
- fix failures on perls < 5.8.3
- fix test failures on cygwin
- make Method::Generate::Constructor handle $obj->new
- fix bug where constants containing a reference weren't handled correctly
(ref(\[]) is 'REF' not 'SCALAR', ref(\v1) is 'VSTRING')
-------------------------------------------------------------------
Wed Jan 11 12:15:56 UTC 2012 - coolo@suse.com
- update to 0.009011:
- add support for DEMOLISH
- add support for BUILDARGS
- missing new files for Role::Tiny::With
- remove the big scary warning because we seem to be mostly working now
- perl based getter dies if @_ > 1 (XSAccessor already did)
- add Role::Tiny::With for use in classes
- automatically generate constructors in subclasses when required so that
subclasses with a BUILD method but no attributes get it honoured
- add coerce handling
-------------------------------------------------------------------
Sat Jun 04 23:18:43 UTC 2011 - pascal.bleser@opensuse.org
- update to 0.009008:
* transfer fix to _load_module to Role::Tiny and make a note it's an inline
* bring back 5.8.1 compat
-------------------------------------------------------------------
Thu Mar 03 20:53:02 CET 2011 - pascal.bleser@opensuse.org
- initial version (0.009007)