- updated to 2.005003
see /usr/share/doc/packages/perl-Moo/Changes
2.005003 - 2021-03-21
- silence 'once' warnings from Moo::_Utils
2.005_002 - 2021-01-22
- fix C3 test skipping properly when MRO::Compat not available on perl < 5.10
2.005_001 - 2021-01-20
- fix perl version check in global destruction code
2.005_000 - 2021-01-20
- remove MooseX::Types from developer prereqs
- recommend Sub::Util rather than Sub::Name, since Sub::Util is in core
- fix line numbers when using oo module (perl -Moo)
- adjust some author tests to rely less on external modules
- lower Exporter prereq to any version
- bump Role::Tiny prereq to 2.003004
- refactor and simplify role application code, as allowed by new Role::Tiny
version
- switch to using normal strict+warnings rather than strictures for authors
- remove strictures from recommends, as Moo does not use it anywhere
- remove Task::Weaken prereq, as it served no purpose
- remove MRO::Compat prereq, using it only when user code does
- remove use of Devel::GlobalDestruction in code, only using
Devel::GlobalDestruction::XS when it is available. Devel::GlobalDestruction
is still a dependency on perl < 5.14 to facilitate the installation of the
::XS module.
- Moo now has no mandatory perl version specific dependencies. The version
specific modules are now optional or not used. This means code using Moo can
be fatpacked on a new perl version without special cases, and it will work
on older perl versions.
OBS-URL: https://build.opensuse.org/request/show/880485
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Moo?expand=0&rev=52
- updated to 2.004000
see /usr/share/doc/packages/perl-Moo/Changes
2.004000 - 2020-04-09
- minor documentation tweaks
- minor test tweaks
- refactor creation and installation of helper subs allowing extensions to
customize the behavior easier.
- added is_class and make_class methods to Moo
- added make_role method to Moo::Role
- lower Scalar::Util dependency to 1.00
- fix unlikely failure to properly inflate Type::Tiny types to Moose under
threads on perl 5.8
OBS-URL: https://build.opensuse.org/request/show/793588
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Moo?expand=0&rev=46
- updated to 2.003006
see /usr/share/doc/packages/perl-Moo/Changes
2.003006 - 2019-10-25
- update Role::Tiny prerequisite to 2.001004 to fix issues with re-importing
Moo::Role
2.003_005 - 2019-10-18
- always exclude helper subs (has, with, etc) from the list of methods, even
if they are installed later or wrapped with a modifier
- drop Devel::GlobalDestruction prerequisite unless using perl < 5.14
- fix preserving full accuracy of numbers in non-ref defaults
- fix tracking of stubs and constants as methods to be consistent and work
properly with unusual ways of storing subs (RT#130050)
- fix test for modules broken by newer Moo versions when new enough
CPAN::Meta version is not available
- fix undeferring subs before wrapping with a method modifier when subs to
wrap are given as a list or array ref
- fix error reporting locations from Carp calls in DEMOLISH (RT#124845)
- fix extending attributes (has +) to allow overriding a default with a
builder (RT#130361)
- fix re-throwing Moose inflation exceptions when examining exception
objects on older Moose or Devel::StackTrace versions
- reorganized documentation related to Moose to improve clarity
- improved documentation of usage with namespace::clean
- various documentation tweaks
OBS-URL: https://build.opensuse.org/request/show/743788
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Moo?expand=0&rev=44
- updated to 2.003000
see /usr/share/doc/packages/perl-Moo/Changes
2.003000 - 2016-12-09
- fix create_class_with_roles being used multiple times with the same packages
- fix edge case with @ISA assignment on perl 5.10.0
- minor test adjustments
- fix handles on oddly named attributes
- make has options linkable in documentation
- Sub::Quote and Sub::Defer have been split into a separate dist
OBS-URL: https://build.opensuse.org/request/show/449780
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Moo?expand=0&rev=35
- updated to 2.002005
see /usr/share/doc/packages/perl-Moo/Changes
2.002005 - 2016-10-31
- fix accessor extensions that need captured variables for clearers and
predicates. (RT#118453)
- avoid relying on '.' being in @INC in tests
- fix Sub::Quote test when run with perl -C or PERL_UNICODE on perl 5.10
(RT#117844)
- improved error messages for invalid sub names in Sub::Quote (RT#116416,
RT#117711)
- clarify meta method documentation
- bump Role::Tiny prereq version to get stub in role fix (RT#116674)
OBS-URL: https://build.opensuse.org/request/show/441374
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Moo?expand=0&rev=33
- 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
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Moo?expand=0&rev=20
- 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
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Moo?expand=0&rev=15
- 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
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Moo?expand=0&rev=11
- 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
- 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')
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Moo?expand=0&rev=6
- 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
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Moo?expand=0&rev=5