From 5b75ebeaef3f831b6747c207bb22c431be68fab7 Mon Sep 17 00:00:00 2001 From: Paul Howarth Date: Mon, 14 Nov 2016 10:25:56 +0000 Subject: [PATCH] Update to 0.18 - New upstream release 0.18 - Using coercions with positional parameters could cause a "Modification of a read-only value attempted" exception when the generated code tried to assign to elements of @_; this is now fixed by making a copy if any of the types have a coercion - Using Moose types with coercions in a positional params check would cause invalid code to be generated; this could also happen with Type::Tiny if either the type or a coercion could not be inlined --- perl-Params-ValidationCompiler.spec | 12 +++++++++++- sources | 2 +- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/perl-Params-ValidationCompiler.spec b/perl-Params-ValidationCompiler.spec index 43799a2..ac31755 100644 --- a/perl-Params-ValidationCompiler.spec +++ b/perl-Params-ValidationCompiler.spec @@ -1,5 +1,5 @@ Name: perl-Params-ValidationCompiler -Version: 0.17 +Version: 0.18 Release: 1%{?dist} Summary: Build an optimized subroutine parameter validator once, use it forever License: Artistic 2.0 @@ -74,6 +74,16 @@ make test %{_mandir}/man3/Params::ValidationCompiler::Exceptions.3* %changelog +* Mon Nov 14 2016 Paul Howarth - 0.18-1 +- Update to 0.18 + - Using coercions with positional parameters could cause a "Modification of a + read-only value attempted" exception when the generated code tried to + assign to elements of @_; this is now fixed by making a copy if any of the + types have a coercion + - Using Moose types with coercions in a positional params check would cause + invalid code to be generated; this could also happen with Type::Tiny if + either the type or a coercion could not be inlined + * Mon Nov 7 2016 Paul Howarth - 0.17-1 - Update to 0.17 - When using positional parameters, parameters with a default are now diff --git a/sources b/sources index f18aec0..9a4952e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -0fbaede861d5a6bcdae7bcd2e5182e61 Params-ValidationCompiler-0.17.tar.gz +ec968cfe90cebcc84cdc1ebd7f3ff623 Params-ValidationCompiler-0.18.tar.gz