8
0

WIP: Automatic update to Sub-HandlesVia-0.053000.tar.gz #2

Draft
cpanmirror wants to merge 1 commits from cpanmirror/perl-Sub-HandlesVia:autoupdate into main
4 changed files with 39 additions and 5 deletions

Binary file not shown.

BIN
Sub-HandlesVia-0.053003.tar.gz LFS Normal file

Binary file not shown.

View File

@@ -1,3 +1,36 @@
-------------------------------------------------------------------
Sun Feb 1 06:13:04 UTC 2026 - Tina Müller <timueller+perl@suse.de>
- 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 <timueller+perl@suse.de>

View File

@@ -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}