SHA256
8
0
forked from pool/perl-Moo
Files
perl-Moo/perl-Moo.changes

236 lines
11 KiB
Plaintext
Raw Normal View History

-------------------------------------------------------------------
Wed Nov 12 09:37:28 UTC 2014 - coolo@suse.com
- updated to 1.006001
- Name the ->DOES method installed by Role::Tiny
- don't apply threading workarounds on non-threaded perls, even if module for
it is loaded by something
- avoid loading base.pm and just set @ISA manually
- fix some Pod links to Class::Method::Modifiers
- fix applying roles with multiple attributes with defaults to objects
(RT#99217)
- fix Moose inheriting from a Moo class that inherits from a non-M* class
when the Moose class is not made immutable
- fix ->does method on Moose child classes of Moo classes
-------------------------------------------------------------------
Wed Sep 17 19:47:03 UTC 2014 - coolo@suse.com
- updated to 1.006000
- support coerce => 1 in attributes, taking the coercion from the isa option
if it is an object that supports the coerce or coercion method.
- add attribute information to type check errors by trapping with an eval
rather than overriding the global __DIE__ handler
- bump Module::Runtime prerequisite to fix error messages when there is a
missing module used by a role loaded using 'with' or similar (rt#97669)
-------------------------------------------------------------------
Mon Jul 28 05:30:48 UTC 2014 - coolo@suse.com
- updated to 1.005000
- add qsub to Sub::Quote as a prototyped alternative to quote_sub, accepting
only the sub body
- avoid testing UTF-8 on perl 5.6
1.004006 - 2014-05-27
- fix quotify for characters in the \x80-\xFF range when used under the utf8
pragma. Also fixes some cases of constructor generation with the pragma.
1.004005 - 2014-05-23
- releasing 1.004_004 as stable
1.004_004 - 2014-05-12
- stop internally depending on Moo::Object::new including all inputs in
constructed object
- be more careful when munging code for inlining
- fix maintaining source of quoted sub for lifetime of sub
- redo foreign C3 compatibility, fixing constructors without changing behavior
for Moo constructors
- don't build Moose metaclass when checking Moo classes with ->is_role
- include Sub::Name in recommendations metadata
1.004_003 - 2014-04-13
- always maintain source of quoted subs for the lifetime of the sub
- fix Sub::Quote and Sub::Defer leaking memory
- Class::XSAccessor is now listed as a recommended prerequisite
- fix generating a subclass with roles when using a non-standard accessor
- use alternate quoting routine, which is faster and saves memory by not
loading B.pm
- fix default of undef
- fix inheriting from a class with a prototype on new
- use ->is_role internally to check if a package is a role
- minimise Role::Tiny coupling outside Moo::Role
- fix calling parent constructor when C3 multiple inheritance is in use
(such as when combining with DBIx::Class)
- return true from Moo::Role->is_role for all loaded Moose roles
- improved test coverage
- fix strictures author test when PERL_STRICTURES_EXTRA is set
- remove Dist::CheckConflicts prerequisite and replace with a test to report
known broken downstream modules
- fix x_breaks metadata
2014-02-11 10:59:45 +00:00
-------------------------------------------------------------------
Tue Feb 11 10:58:47 UTC 2014 - coolo@suse.com
- updated to 1.004002
- fix type inflation in threads when types are inserted by manually
stringifying the type first (like Type::Tiny)
- add undefer_all to Sub::Defer
- fix repository links in pod
- add missing changelog entry regarding strictures to 1.004000 release
- strictures will now be applied to modules using Moo just as if they
included "use strictures" directly. This means that strictures extra
checks will now apply to code in checkouts.
- fix handling of type inflation when used with threads
- don't include meta method when consuming Mouse roles
- inhale Moose roles for has attr => ( handles => "RoleName" )
- provide useful error if attribute defined as required but with
init_arg => undef
- document that BUILDARGS isn't called when there are no attributes
- omit sub imported before use Moo from Moose method inflation
- check for FOREIGNBUILDARGS only once per class instead of on each
instantiation
- take advantage of XS predicates from newer versions of Class::XSAccessor
- always try to load superclasses and roles, and only fall back on the
heuristic of checking for subs if the file doesn't exist
- fix handling of attributes with names that aren't valid identifiers
- Quoted subs now preserve the package and pragmas from their calling code
- the official Moo git repository has moved to the Moose organization on
GitHub: https://github.com/moose/Moo
-------------------------------------------------------------------
Fri Oct 4 09:15:28 UTC 2013 - coolo@suse.com
- updated to 1.003001
- abbreviate class names from created by create_class_with_roles if they are
too long for perl to handle (RT#83248)
- prevent destructors from failing in global destruction for certain
combinations of Moo and Moose classes subclassing each other (RT#87810)
- clarify in docs that Sub::Quote's captured variables are copies, not aliases
- fix infinite recursion if an isa check fails due to another isa check
(RT#87575)
- fix Sub::Quote and Sub::Defer under threads (RT#87043)
- better diagnostics when bad parameters given to has
-------------------------------------------------------------------
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
- 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 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Moo?expand=0&rev=8
2013-06-04 08:47:01 +00:00
-------------------------------------------------------------------
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)