diff --git a/Sub-HandlesVia-0.052000.tar.gz b/Sub-HandlesVia-0.052000.tar.gz deleted file mode 100644 index d16b1e9..0000000 --- a/Sub-HandlesVia-0.052000.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:aa23ab5329920b5a6a732a24fd64061d620f787971b4ee7651d97ec2e561113d -size 185677 diff --git a/Sub-HandlesVia-0.053003.tar.gz b/Sub-HandlesVia-0.053003.tar.gz new file mode 100644 index 0000000..cc1ddd4 --- /dev/null +++ b/Sub-HandlesVia-0.053003.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c6b3d94f5f4bbb843f44bec552304c8263641f4746eda7fde12e223d973c5b98 +size 192348 diff --git a/perl-Sub-HandlesVia.changes b/perl-Sub-HandlesVia.changes index 98a5344..5eacfaa 100644 --- a/perl-Sub-HandlesVia.changes +++ b/perl-Sub-HandlesVia.changes @@ -1,3 +1,36 @@ +------------------------------------------------------------------- +Sun Feb 1 06:13:04 UTC 2026 - Tina Müller + +- updated to 0.053003 + see /usr/share/doc/packages/perl-Sub-HandlesVia/Changes + + 0.053003 2026-01-31 + - A lot of the array handlers which accepted a coderef which operated on + $_ would also pass $_ to the coderef in @_. There were no test cases for + this and it was undocumented (apart from for_each). This feature has + been removed (apart from for_each). + - Added: The new for_each2 array handler only makes the array element + available as $_, not in @_. + 0.053002 2026-01-30 + - Updated: Don't use Sub::HandlesVia::XS versions older than 0.002000 as + they are buggy. + - Use Sub::HandlesVia::XS for some Enum and String handlers. + 0.053001 2026-01-28 + [ Packaging ] + - Add Sub::HandlesVia::XS as a runtime recommends dependency. + [ Other ] + - Updated: Don't use Sub::HandlesVia::XS versions older than 0.001004 as + they are buggy. + 0.053000 2026-01-28 + - Added: Array:peek and Array:peekend. + - Added: Code generators can set a never_shift_self attribute to prevent + handlers from trying to shift the invocant off @_, which they sometimes + do for efficiency reasons. + - Use Sub::HandlesVia::XS when it is available. Currently only the Moo + handler uses it, and Sub::HandlesVia::XS only has implementations for + some Array-related methods. You can include no_SHVXS=>1 in an Moo + attribute definition if it's causing issues. + ------------------------------------------------------------------- Sat Nov 22 05:32:48 UTC 2025 - Tina Müller diff --git a/perl-Sub-HandlesVia.spec b/perl-Sub-HandlesVia.spec index 6be5479..8ab32b9 100644 --- a/perl-Sub-HandlesVia.spec +++ b/perl-Sub-HandlesVia.spec @@ -1,7 +1,7 @@ # # spec file for package perl-Sub-HandlesVia # -# Copyright (c) 2025 SUSE LLC and contributors +# Copyright (c) 2026 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %define cpan_name Sub-HandlesVia Name: perl-Sub-HandlesVia -Version: 0.052000 +Version: 0.053003 Release: 0 License: Artistic-1.0 OR GPL-1.0-or-later Summary: Alternative handles_via implementation @@ -45,6 +45,7 @@ Requires: perl(List::Util) >= 1.54 Requires: perl(Role::Hooks) >= 0.8 Requires: perl(Role::Tiny) Requires: perl(Type::Tiny) >= 1.4 +Recommends: perl(Sub::HandlesVia::XS) >= 0.2 Recommends: perl(Sub::Util) %{perl_requires}