see /usr/share/doc/packages/perl-Function-Parameters/Changes 2.001003 2017-11-11 - Fix threaded initialization issue better. This is the same issue that was fixed in 2.001002, but now we use PL_op_mutex instead of PL_check_mutex. This has the advantage of also being thread-safe on v5.14. 2.001002 2017-11-09 - Fix crash when Function::Parameters is loaded at runtime by multiple threads (a stack overflow due to infinite recursion). This is arguably a core bug (#132413). The current workaround employed by Function::Parameters slightly abuses an internal perl mutex meant for something else (protecting op checkers), but it fixes the issue on perls v5.16 .. v5.26. v5.14 doesn't have this API yet, so the workaround is not thread safe there. It is technically possible to still run into this issue if two threads initialize Function::Parameters at the exact same moment (I haven't managed to reproduce this yet, so hopefully it's unlikely in practice). It is possible to completely avoid the problem on all versions of perl and Function::Parameters by making sure the module is loaded before the first thread is created. OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Function-Parameters?expand=0&rev=15
185 lines
7.3 KiB
Plaintext
185 lines
7.3 KiB
Plaintext
-------------------------------------------------------------------
|
|
Sun Dec 10 14:05:40 UTC 2017 - coolo@suse.com
|
|
|
|
- updated to 2.001003
|
|
see /usr/share/doc/packages/perl-Function-Parameters/Changes
|
|
|
|
2.001003 2017-11-11
|
|
- Fix threaded initialization issue better. This is the same issue
|
|
that was fixed in 2.001002, but now we use PL_op_mutex instead of
|
|
PL_check_mutex. This has the advantage of also being thread-safe on
|
|
v5.14.
|
|
|
|
2.001002 2017-11-09
|
|
- Fix crash when Function::Parameters is loaded at runtime by
|
|
multiple threads (a stack overflow due to infinite recursion).
|
|
This is arguably a core bug (#132413). The current workaround
|
|
employed by Function::Parameters slightly abuses an internal perl
|
|
mutex meant for something else (protecting op checkers), but it
|
|
fixes the issue on perls v5.16 .. v5.26.
|
|
v5.14 doesn't have this API yet, so the workaround is not thread
|
|
safe there. It is technically possible to still run into this issue
|
|
if two threads initialize Function::Parameters at the exact same
|
|
moment (I haven't managed to reproduce this yet, so hopefully it's
|
|
unlikely in practice).
|
|
It is possible to completely avoid the problem on all versions of
|
|
perl and Function::Parameters by making sure the module is loaded
|
|
before the first thread is created.
|
|
|
|
-------------------------------------------------------------------
|
|
Mon Jul 3 05:32:18 UTC 2017 - coolo@suse.com
|
|
|
|
- updated to 2.001001
|
|
see /usr/share/doc/packages/perl-Function-Parameters/Changes
|
|
|
|
2.001001 2017-07-12
|
|
- fix duplicate type check on invocant:
|
|
method foo(T $self: $x) { ... }
|
|
# every call to foo() performs T->check($self) twice
|
|
- clean up how type errors refer to parameters (now it's
|
|
"parameter $N" for non-invocant parameters and "invocant $N" for
|
|
invocants (or just "invocant" if there is exactly one))
|
|
- rewrite pragma implementation and the way %^H is used
|
|
- remove several internal package variables
|
|
|
|
-------------------------------------------------------------------
|
|
Tue May 16 05:47:10 UTC 2017 - coolo@suse.com
|
|
|
|
- updated to 2.000007
|
|
see /usr/share/doc/packages/perl-Function-Parameters/Changes
|
|
|
|
2.000007 2017-05-15
|
|
- no real code changes
|
|
- extend bug #129090 workaround to perl 5.25.5
|
|
- try to detect broken Moose installs earlier
|
|
- fix declaration of developer dependencies
|
|
|
|
-------------------------------------------------------------------
|
|
Mon Apr 17 05:42:26 UTC 2017 - coolo@suse.com
|
|
|
|
- updated to 2.000006
|
|
see /usr/share/doc/packages/perl-Function-Parameters/Changes
|
|
|
|
2.000006 2017-04-16
|
|
- work around core bug #129090 / #131146 in perl 5.22 and 5.24:
|
|
perl -e 'use Function::Parameters; \&f; fun f() { eval "" }' hangs
|
|
in the compiler (also happens with perl -d or Devel::Cover instead
|
|
of eval) (gh #29)
|
|
|
|
-------------------------------------------------------------------
|
|
Sat Apr 1 05:44:14 UTC 2017 - coolo@suse.com
|
|
|
|
- updated to 2.000003
|
|
see /usr/share/doc/packages/perl-Function-Parameters/Changes
|
|
|
|
2.000003 2017-03-31
|
|
- fix a bug where method modifiers would inadvertently declare subs
|
|
(e.g. 'before foo() {}' acting like 'sub foo;
|
|
BEGIN { &before('foo', sub {}) }'), breaking Pkg->can($method) and
|
|
thus Class::Method::Modifiers (RT #120804)
|
|
- make method modifiers take effect at runtime because otherwise
|
|
you'd have to wrap every with()/extends() in a BEGIN block to make
|
|
consumed/inherited methods visible to modifiers (RT #120804)
|
|
- make method modifiers require a name (what would an anonymous
|
|
modifier modify?)
|
|
- (hopefully) improve the error message you get for trying to add any
|
|
parameters after a slurpy
|
|
|
|
-------------------------------------------------------------------
|
|
Wed Mar 29 05:45:39 UTC 2017 - coolo@suse.com
|
|
|
|
- updated to 2.000002
|
|
see /usr/share/doc/packages/perl-Function-Parameters/Changes
|
|
|
|
-------------------------------------------------------------------
|
|
Sat Mar 18 06:46:10 UTC 2017 - coolo@suse.com
|
|
|
|
- updated to 1.0706
|
|
see /usr/share/doc/packages/perl-Function-Parameters/Changes
|
|
|
|
1.0706 2017-03-17
|
|
- don't require . in @INC during install
|
|
- improve internal code generation functions used on perls before 5.22
|
|
|
|
-------------------------------------------------------------------
|
|
Sun Jun 12 13:05:25 UTC 2016 - coolo@suse.com
|
|
|
|
- updated to 1.0705
|
|
see /usr/share/doc/packages/perl-Function-Parameters/Changes
|
|
|
|
1.0705 2016-06-11
|
|
- simplify internals
|
|
|
|
-------------------------------------------------------------------
|
|
Fri Feb 19 10:18:33 UTC 2016 - coolo@suse.com
|
|
|
|
- updated to 1.0704
|
|
see /usr/share/doc/packages/perl-Function-Parameters/Changes
|
|
|
|
1.0704 2016-02-13
|
|
- guard against broken Mooses in Makefile.PL
|
|
- remove last internal use of glob()
|
|
|
|
-------------------------------------------------------------------
|
|
Wed Jan 6 10:03:12 UTC 2016 - coolo@suse.com
|
|
|
|
- updated to 1.0703
|
|
see /usr/share/doc/packages/perl-Function-Parameters/Changes
|
|
|
|
1.0703 2016-01-05
|
|
- fix line numbers in runtime errors caused by calls with bad arguments
|
|
(Carp trying to be smart and skipping over "internal" callers)
|
|
|
|
-------------------------------------------------------------------
|
|
Sat Dec 26 09:46:54 UTC 2015 - coolo@suse.com
|
|
|
|
- updated to 1.0702
|
|
see /usr/share/doc/packages/perl-Function-Parameters/Changes
|
|
|
|
1.0702 2015-12-21
|
|
- fix parsing of _ in prototypes
|
|
(caused bogus "Illegal character after '_' in prototype" warnings)
|
|
|
|
-------------------------------------------------------------------
|
|
Sat Dec 5 10:07:44 UTC 2015 - coolo@suse.com
|
|
|
|
- updated to 1.0701
|
|
see /usr/share/doc/packages/perl-Function-Parameters/Changes
|
|
|
|
1.0701 2015-12-04
|
|
- remove old "bare" import syntax:
|
|
use Function::Parameters 'foo', 'bar';
|
|
# equivalent to
|
|
# use Function::Parameters { foo => 'function', bar => 'method' };
|
|
(marked as deprecated in 0.06, no longer documented since 1.00)
|
|
|
|
-------------------------------------------------------------------
|
|
Mon Apr 27 05:38:58 UTC 2015 - coolo@suse.com
|
|
|
|
- updated to 1.0605
|
|
see /usr/share/doc/packages/perl-Function-Parameters/Changes
|
|
|
|
1.0605 2015-04-26
|
|
- update metacpan links
|
|
- remove wonky test
|
|
|
|
-------------------------------------------------------------------
|
|
Fri Apr 24 15:25:20 UTC 2015 - coolo@suse.com
|
|
|
|
- updated to 1.0604
|
|
see /usr/share/doc/packages/perl-Function-Parameters/Changes
|
|
|
|
1.0604 2015-04-22
|
|
- new explicit "lax" mode
|
|
- fix info() with taint mode on (gh pr #12)
|
|
- don't hide syntax errors that are followed by a parameter list with
|
|
types (gh #15)
|
|
- compatibility with perl v5.21.11 (#103843)
|
|
|
|
-------------------------------------------------------------------
|
|
Sun Apr 19 18:08:02 UTC 2015 - coolo@suse.com
|
|
|
|
- initial package $version
|
|
* created by $NAME $VERSION
|
|
|