From 6631ef678d60daaf70d7fbdf18a577f148fa1ee9 Mon Sep 17 00:00:00 2001 From: Toby Inkster Date: Sun, 7 Aug 2022 15:35:03 +0100 Subject: [PATCH] bump version; changelog --- lib/Sub/HandlesVia.pm | 2 +- lib/Sub/HandlesVia/CodeGenerator.pm | 2 +- lib/Sub/HandlesVia/Handler.pm | 6 +++--- lib/Sub/HandlesVia/HandlerLibrary.pm | 2 +- lib/Sub/HandlesVia/HandlerLibrary/Array.pm | 2 +- lib/Sub/HandlesVia/HandlerLibrary/Bool.pm | 2 +- lib/Sub/HandlesVia/HandlerLibrary/Code.pm | 2 +- lib/Sub/HandlesVia/HandlerLibrary/Counter.pm | 2 +- lib/Sub/HandlesVia/HandlerLibrary/Hash.pm | 2 +- lib/Sub/HandlesVia/HandlerLibrary/Number.pm | 2 +- lib/Sub/HandlesVia/HandlerLibrary/Scalar.pm | 2 +- lib/Sub/HandlesVia/HandlerLibrary/String.pm | 2 +- lib/Sub/HandlesVia/Toolkit.pm | 2 +- lib/Sub/HandlesVia/Toolkit/Mite.pm | 2 +- lib/Sub/HandlesVia/Toolkit/Moo.pm | 2 +- lib/Sub/HandlesVia/Toolkit/Moose.pm | 6 +++--- lib/Sub/HandlesVia/Toolkit/Mouse.pm | 6 +++--- lib/Sub/HandlesVia/Toolkit/Plain.pm | 2 +- meta/changes.pret | 8 ++++++++ 19 files changed, 32 insertions(+), 24 deletions(-) diff --git a/lib/Sub/HandlesVia.pm b/lib/Sub/HandlesVia.pm index 791f91e..ba5cb5a 100644 --- a/lib/Sub/HandlesVia.pm +++ b/lib/Sub/HandlesVia.pm @@ -7,7 +7,7 @@ package Sub::HandlesVia; use Exporter::Shiny qw( delegations ); our $AUTHORITY = 'cpan:TOBYINK'; -our $VERSION = '0.033'; +our $VERSION = '0.034'; sub _generate_delegations { my ($me, $name, $args, $globals) = (shift, @_); diff --git a/lib/Sub/HandlesVia/CodeGenerator.pm b/lib/Sub/HandlesVia/CodeGenerator.pm index dd2c6e5..c9d353b 100644 --- a/lib/Sub/HandlesVia/CodeGenerator.pm +++ b/lib/Sub/HandlesVia/CodeGenerator.pm @@ -5,7 +5,7 @@ use warnings; package Sub::HandlesVia::CodeGenerator; our $AUTHORITY = 'cpan:TOBYINK'; -our $VERSION = '0.033'; +our $VERSION = '0.034'; use Sub::HandlesVia::Mite -all; diff --git a/lib/Sub/HandlesVia/Handler.pm b/lib/Sub/HandlesVia/Handler.pm index d108a5a..ff0ffd6 100644 --- a/lib/Sub/HandlesVia/Handler.pm +++ b/lib/Sub/HandlesVia/Handler.pm @@ -5,7 +5,7 @@ use warnings; package Sub::HandlesVia::Handler; our $AUTHORITY = 'cpan:TOBYINK'; -our $VERSION = '0.033'; +our $VERSION = '0.034'; use Sub::HandlesVia::Mite -all; @@ -273,7 +273,7 @@ sub _generate_handler { package Sub::HandlesVia::Handler::Traditional; our $AUTHORITY = 'cpan:TOBYINK'; -our $VERSION = '0.033'; +our $VERSION = '0.034'; use Sub::HandlesVia::Mite -all; extends 'Sub::HandlesVia::Handler'; @@ -294,7 +294,7 @@ sub template { package Sub::HandlesVia::Handler::CodeRef; our $AUTHORITY = 'cpan:TOBYINK'; -our $VERSION = '0.033'; +our $VERSION = '0.034'; use Sub::HandlesVia::Mite -all; extends 'Sub::HandlesVia::Handler'; diff --git a/lib/Sub/HandlesVia/HandlerLibrary.pm b/lib/Sub/HandlesVia/HandlerLibrary.pm index d6c403a..f73850a 100644 --- a/lib/Sub/HandlesVia/HandlerLibrary.pm +++ b/lib/Sub/HandlesVia/HandlerLibrary.pm @@ -5,7 +5,7 @@ use warnings; package Sub::HandlesVia::HandlerLibrary; our $AUTHORITY = 'cpan:TOBYINK'; -our $VERSION = '0.033'; +our $VERSION = '0.034'; use Types::Standard qw( Any Item ); diff --git a/lib/Sub/HandlesVia/HandlerLibrary/Array.pm b/lib/Sub/HandlesVia/HandlerLibrary/Array.pm index 62edd09..0dcd659 100644 --- a/lib/Sub/HandlesVia/HandlerLibrary/Array.pm +++ b/lib/Sub/HandlesVia/HandlerLibrary/Array.pm @@ -5,7 +5,7 @@ use warnings; package Sub::HandlesVia::HandlerLibrary::Array; our $AUTHORITY = 'cpan:TOBYINK'; -our $VERSION = '0.033'; +our $VERSION = '0.034'; use Sub::HandlesVia::HandlerLibrary; our @ISA = 'Sub::HandlesVia::HandlerLibrary'; diff --git a/lib/Sub/HandlesVia/HandlerLibrary/Bool.pm b/lib/Sub/HandlesVia/HandlerLibrary/Bool.pm index fd0d3e1..25e3dae 100644 --- a/lib/Sub/HandlesVia/HandlerLibrary/Bool.pm +++ b/lib/Sub/HandlesVia/HandlerLibrary/Bool.pm @@ -5,7 +5,7 @@ use warnings; package Sub::HandlesVia::HandlerLibrary::Bool; our $AUTHORITY = 'cpan:TOBYINK'; -our $VERSION = '0.033'; +our $VERSION = '0.034'; use Sub::HandlesVia::HandlerLibrary; our @ISA = 'Sub::HandlesVia::HandlerLibrary'; diff --git a/lib/Sub/HandlesVia/HandlerLibrary/Code.pm b/lib/Sub/HandlesVia/HandlerLibrary/Code.pm index e7b9d82..e8ae7df 100644 --- a/lib/Sub/HandlesVia/HandlerLibrary/Code.pm +++ b/lib/Sub/HandlesVia/HandlerLibrary/Code.pm @@ -5,7 +5,7 @@ use warnings; package Sub::HandlesVia::HandlerLibrary::Code; our $AUTHORITY = 'cpan:TOBYINK'; -our $VERSION = '0.033'; +our $VERSION = '0.034'; use Sub::HandlesVia::HandlerLibrary; our @ISA = 'Sub::HandlesVia::HandlerLibrary'; diff --git a/lib/Sub/HandlesVia/HandlerLibrary/Counter.pm b/lib/Sub/HandlesVia/HandlerLibrary/Counter.pm index ac3bea2..8d85553 100644 --- a/lib/Sub/HandlesVia/HandlerLibrary/Counter.pm +++ b/lib/Sub/HandlesVia/HandlerLibrary/Counter.pm @@ -5,7 +5,7 @@ use warnings; package Sub::HandlesVia::HandlerLibrary::Counter; our $AUTHORITY = 'cpan:TOBYINK'; -our $VERSION = '0.033'; +our $VERSION = '0.034'; use Sub::HandlesVia::HandlerLibrary; our @ISA = 'Sub::HandlesVia::HandlerLibrary'; diff --git a/lib/Sub/HandlesVia/HandlerLibrary/Hash.pm b/lib/Sub/HandlesVia/HandlerLibrary/Hash.pm index 0132f08..8b1dc6a 100644 --- a/lib/Sub/HandlesVia/HandlerLibrary/Hash.pm +++ b/lib/Sub/HandlesVia/HandlerLibrary/Hash.pm @@ -5,7 +5,7 @@ use warnings; package Sub::HandlesVia::HandlerLibrary::Hash; our $AUTHORITY = 'cpan:TOBYINK'; -our $VERSION = '0.033'; +our $VERSION = '0.034'; use Sub::HandlesVia::HandlerLibrary; our @ISA = 'Sub::HandlesVia::HandlerLibrary'; diff --git a/lib/Sub/HandlesVia/HandlerLibrary/Number.pm b/lib/Sub/HandlesVia/HandlerLibrary/Number.pm index c1d0163..eac3b53 100644 --- a/lib/Sub/HandlesVia/HandlerLibrary/Number.pm +++ b/lib/Sub/HandlesVia/HandlerLibrary/Number.pm @@ -5,7 +5,7 @@ use warnings; package Sub::HandlesVia::HandlerLibrary::Number; our $AUTHORITY = 'cpan:TOBYINK'; -our $VERSION = '0.033'; +our $VERSION = '0.034'; use Sub::HandlesVia::HandlerLibrary; our @ISA = 'Sub::HandlesVia::HandlerLibrary'; diff --git a/lib/Sub/HandlesVia/HandlerLibrary/Scalar.pm b/lib/Sub/HandlesVia/HandlerLibrary/Scalar.pm index efe4848..ff5d2a3 100644 --- a/lib/Sub/HandlesVia/HandlerLibrary/Scalar.pm +++ b/lib/Sub/HandlesVia/HandlerLibrary/Scalar.pm @@ -5,7 +5,7 @@ use warnings; package Sub::HandlesVia::HandlerLibrary::Scalar; our $AUTHORITY = 'cpan:TOBYINK'; -our $VERSION = '0.033'; +our $VERSION = '0.034'; use Sub::HandlesVia::HandlerLibrary; our @ISA = 'Sub::HandlesVia::HandlerLibrary'; diff --git a/lib/Sub/HandlesVia/HandlerLibrary/String.pm b/lib/Sub/HandlesVia/HandlerLibrary/String.pm index 53fde03..cf362fe 100644 --- a/lib/Sub/HandlesVia/HandlerLibrary/String.pm +++ b/lib/Sub/HandlesVia/HandlerLibrary/String.pm @@ -5,7 +5,7 @@ use warnings; package Sub::HandlesVia::HandlerLibrary::String; our $AUTHORITY = 'cpan:TOBYINK'; -our $VERSION = '0.033'; +our $VERSION = '0.034'; use Sub::HandlesVia::HandlerLibrary; our @ISA = 'Sub::HandlesVia::HandlerLibrary'; diff --git a/lib/Sub/HandlesVia/Toolkit.pm b/lib/Sub/HandlesVia/Toolkit.pm index cf4d09f..36bc5fa 100644 --- a/lib/Sub/HandlesVia/Toolkit.pm +++ b/lib/Sub/HandlesVia/Toolkit.pm @@ -5,7 +5,7 @@ use warnings; package Sub::HandlesVia::Toolkit; our $AUTHORITY = 'cpan:TOBYINK'; -our $VERSION = '0.033'; +our $VERSION = '0.034'; use Sub::HandlesVia::Mite; diff --git a/lib/Sub/HandlesVia/Toolkit/Mite.pm b/lib/Sub/HandlesVia/Toolkit/Mite.pm index 16284cb..042dd8c 100644 --- a/lib/Sub/HandlesVia/Toolkit/Mite.pm +++ b/lib/Sub/HandlesVia/Toolkit/Mite.pm @@ -5,7 +5,7 @@ use warnings; package Sub::HandlesVia::Toolkit::Mite; our $AUTHORITY = 'cpan:TOBYINK'; -our $VERSION = '0.033'; +our $VERSION = '0.034'; use Sub::HandlesVia::Mite -all; extends 'Sub::HandlesVia::Toolkit'; diff --git a/lib/Sub/HandlesVia/Toolkit/Moo.pm b/lib/Sub/HandlesVia/Toolkit/Moo.pm index 76c3a61..107ada8 100644 --- a/lib/Sub/HandlesVia/Toolkit/Moo.pm +++ b/lib/Sub/HandlesVia/Toolkit/Moo.pm @@ -5,7 +5,7 @@ use warnings; package Sub::HandlesVia::Toolkit::Moo; our $AUTHORITY = 'cpan:TOBYINK'; -our $VERSION = '0.033'; +our $VERSION = '0.034'; use Sub::HandlesVia::Mite; extends 'Sub::HandlesVia::Toolkit'; diff --git a/lib/Sub/HandlesVia/Toolkit/Moose.pm b/lib/Sub/HandlesVia/Toolkit/Moose.pm index ee559f2..510bbd8 100644 --- a/lib/Sub/HandlesVia/Toolkit/Moose.pm +++ b/lib/Sub/HandlesVia/Toolkit/Moose.pm @@ -5,7 +5,7 @@ use warnings; package Sub::HandlesVia::Toolkit::Moose; our $AUTHORITY = 'cpan:TOBYINK'; -our $VERSION = '0.033'; +our $VERSION = '0.034'; use Sub::HandlesVia::Mite; extends 'Sub::HandlesVia::Toolkit'; @@ -156,7 +156,7 @@ sub code_generator_for_attribute { package Sub::HandlesVia::Toolkit::Moose::PackageTrait; our $AUTHORITY = 'cpan:TOBYINK'; -our $VERSION = '0.033'; +our $VERSION = '0.034'; use Role::Tiny; @@ -194,7 +194,7 @@ around add_attribute => sub { package Sub::HandlesVia::Toolkit::Moose::RoleTrait; our $AUTHORITY = 'cpan:TOBYINK'; -our $VERSION = '0.033'; +our $VERSION = '0.034'; use Role::Tiny; diff --git a/lib/Sub/HandlesVia/Toolkit/Mouse.pm b/lib/Sub/HandlesVia/Toolkit/Mouse.pm index 7872dc4..4b4327e 100644 --- a/lib/Sub/HandlesVia/Toolkit/Mouse.pm +++ b/lib/Sub/HandlesVia/Toolkit/Mouse.pm @@ -5,7 +5,7 @@ use warnings; package Sub::HandlesVia::Toolkit::Mouse; our $AUTHORITY = 'cpan:TOBYINK'; -our $VERSION = '0.033'; +our $VERSION = '0.034'; use Sub::HandlesVia::Mite; extends 'Sub::HandlesVia::Toolkit'; @@ -155,7 +155,7 @@ sub code_generator_for_attribute { package Sub::HandlesVia::Toolkit::Mouse::PackageTrait; our $AUTHORITY = 'cpan:TOBYINK'; -our $VERSION = '0.033'; +our $VERSION = '0.034'; use Role::Tiny; @@ -193,7 +193,7 @@ around add_attribute => sub { package Sub::HandlesVia::Toolkit::Mouse::RoleTrait; our $AUTHORITY = 'cpan:TOBYINK'; -our $VERSION = '0.033'; +our $VERSION = '0.034'; use Role::Tiny; diff --git a/lib/Sub/HandlesVia/Toolkit/Plain.pm b/lib/Sub/HandlesVia/Toolkit/Plain.pm index 78f2483..f128e19 100644 --- a/lib/Sub/HandlesVia/Toolkit/Plain.pm +++ b/lib/Sub/HandlesVia/Toolkit/Plain.pm @@ -5,7 +5,7 @@ use warnings; package Sub::HandlesVia::Toolkit::Plain; our $AUTHORITY = 'cpan:TOBYINK'; -our $VERSION = '0.033'; +our $VERSION = '0.034'; use Sub::HandlesVia::Mite; extends 'Sub::HandlesVia::Toolkit'; diff --git a/meta/changes.pret b/meta/changes.pret index f52b187..84e03a1 100644 --- a/meta/changes.pret +++ b/meta/changes.pret @@ -251,3 +251,11 @@ item "Recompile with newer Mite."^^Update; item "Optimizations to Sub::HandlesVia::CodeGenerator."^^Change; ]. + +`Sub-HandlesVia 0.034 cpan:TOBYINK` + issued 2022-08-07; + changeset [ + item "Sub::HandlesVia::CodeGenerator now handles generating code for type assertions and coercions instead of relying on handlers to do it."^^Change; + item "Sub::HandlesVia::CodeGenerator now has a configurable sandbox package."^^Change; + item "Sub::HandlesVia::Toolkit::Mite supports recent Mite features such as lvalue accessors and new ways of specifying defaults."^^Update; + ].