Changelog |
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Sun Jul 16 2023 Paul Howarth <paul@city-fan.org> - 2.2.4-1
- Update to 2.002004 (rhbz#2223063)
- Remove 'perl -T' from t/info.t, so we can run on perls compiled without
support for taint mode; the test didn't actually care about taint anyway
* Tue Jul 11 2023 Jitka Plesnikova <jplesnik@redhat.com> - 2.2.3-2
- Perl 5.38 rebuild
* Wed Apr 19 2023 Paul Howarth <paul@city-fan.org> - 2.2.3-1
- Update to 2.002003 (rhbz#2188007)
- Fix line numbers after inlined type checks (GH#42)
Previously, the code for type checks was inlined literally, so if a
particular check took 5 lines of code, all the following line numbers in
the source file would be off by 5 (they would be "pushed down" by the
interpolated code); these bad line numbers would show up in error messages
from Perl (including warn and die) as well as __LINE__ and caller (and
thus stack traces)
- Drop explicit dependency on perl(Moose::Util::TypeConstraints), which is
only required when using this module in conjunction with Moose, and that
would pull in the dependency anyway
* Sun Apr 02 2023 Paul Howarth <paul@city-fan.org> - 2.2.2-1
- Update to 2.002002 (rhbz#2183727)
- Provide //= for default arguments, which are also used when the caller
passes in undef
- Provide more type combinators in parameter declarations: In addition to |
(union types), now ~ & / are also supported (for
complement types, intersection types, and alternative types, respectively)
- Enable type coercions: if a parameter has a declared type and that type
supports coercions ($type->has_coercion returns true), call its
->coerce($value) method to transform arguments before type checking
- Enable inline type checks: if a parameter has a declared type and that
type supports inlining ($type->can_be_inlined returns true), its inline
code (as provided by ->inline_check('$value')) is baked into the function
definition instead of a call to ->check($value), which may speed up type
checks
- Move a big chunk of tests to xt/ (author testing only)
- Remove xt/ from the distribution
- Enable parallel testing by default (with -j4)
- Fix (hopefully) Windows builds using nmake.exe
- Work around old versions of ExtUtils::MakeMaker not providing
is_make_type(), whose version dependency is undocumented (sigh)
- Restrict GNU syntax for exporting variables to type 'gmake'; should fix
building on BSD, Solaris, etc.
- Declare dependency on ExtUtils::MakeMaker 7+ and remove compatibility code
for older versions
* Mon Mar 27 2023 Paul Howarth <paul@city-fan.org> - 2.1.6-1
- Update to 2.001006 (rhbz#2182064)
- Work around perl core issue GH#20950 (use re "eval" doesn't capture lexical
%^H environment like eval() does and stringifies it instead), by
downgrading the previous hard error to a warning (in the new category
'Function::Parameters') and switching Function::Parameters off in the
affected scope
* Fri Jan 27 2023 Paul Howarth <paul@city-fan.org> - 2.1.5-1
- Update to 2.001005 (rhbz#2164971)
- Fix failures with perl 5.37.5..5.37.6 caused by new internal opcode
structure for anonymous subs
* Fri Jan 20 2023 Paul Howarth <paul@city-fan.org> - 2.1.4-1
- Update to 2.001004 (rhbz#2162566)
- Drop Dir::Self test dependency (use FindBin instead)
- Use SPDX-format license tag
- Use %{make_build} and %{make_install}
- Make %files list more explicit
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.3-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.3-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Wed Jun 01 2022 Jitka Plesnikova <jplesnik@redhat.com> - 2.1.3-15
- Perl 5.36 rebuild
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.3-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.3-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|