Update to 0.16

- New upstream release 0.16
  - Previously, using a default with a positional parameter would result in an
    error when compiling the validator subroutine; defaults now work with
    positional parameters (GH#5)
  - Moose and Specio types (and coercions) that provide variables to close over
    when being inlined did not always compile properly; most notably, this was
    not being handled at all for Moose types, and not completely handled for
    Specio coercions
This commit is contained in:
Paul Howarth 2016-11-04 12:07:56 +00:00
parent 0a9febde93
commit 80bd12eb8a
2 changed files with 13 additions and 2 deletions

View File

@ -1,5 +1,5 @@
Name: perl-Params-ValidationCompiler
Version: 0.14
Version: 0.16
Release: 1%{?dist}
Summary: Build an optimized subroutine parameter validator once, use it forever
License: Artistic 2.0
@ -74,10 +74,21 @@ make test
%{_mandir}/man3/Params::ValidationCompiler::Exceptions.3*
%changelog
* Fri Nov 4 2016 Paul Howarth <paul@city-fan.org> - 0.16-1
- Update to 0.16
- Previously, using a default with a positional parameter would result in an
error when compiling the validator subroutine; defaults now work with
positional parameters (GH#5)
- Moose and Specio types (and coercions) that provide variables to close over
when being inlined did not always compile properly; most notably, this was
not being handled at all for Moose types, and not completely handled for
Specio coercions
* Thu Nov 3 2016 Paul Howarth <paul@city-fan.org> - 0.14-1
- Update to 0.14
- Added a "named_to_list" option to support returning only the parameter
values from a named parameter validator rather than the key-value pairs
(GH#4)
- Errors from calls to validation_for() now use croak so as to show up at the
call site, rather than in the internals

View File

@ -1 +1 @@
8afb3f8013049f5f4ae9d30d24eb6fe0 Params-ValidationCompiler-0.14.tar.gz
9a51f9d802f28be9aecc792ecc0c2303 Params-ValidationCompiler-0.16.tar.gz