Commits

Toby Inkster committed 13a3635

bump version; changelog

Comments (0)

Files changed (29)

 
 2013-09-05 Type-Tiny version 0.026 released!
 
- - Type::Params now provides a multisig() function.
+ - Type::Params now provides a `multisig` function.
  - Cleaned up and documented the internals of Exporter::TypeTiny; this module
    is likely to be split out as a separate CPAN distribution in the near
    future.
  - Type-Tiny is now packaged using Dist::Inkt.
  - Various bugfixes.
+
+2013-09-26 Type-Tiny version 0.028 released!
+
+ - Fix some places where Type::Tiny could leak memory via circular references.
+ - Type::Tiny now provides a `coercibles` method, useful for manually chaining
+   coercions (and there's documentation about this in the manual).
+ - More verbose stringification for Type::Exception::Assertion.
+ - Types::TypeTiny::to_TypeTiny now preserves coercions on Moose type
+   constraints.
+ - Stop using base.pm.

lib/Devel/TypeTiny/Perl56Compat.pm

 use warnings;
 
 our $AUTHORITY = 'cpan:TOBYINK';
-our $VERSION   = '0.027_09';
+our $VERSION   = '0.028';
 
 #### B doesn't provide perlstring() in 5.6. Monkey patch it.
 

lib/Devel/TypeTiny/Perl58Compat.pm

 use warnings;
 
 our $AUTHORITY = 'cpan:TOBYINK';
-our $VERSION   = '0.027_09';
+our $VERSION   = '0.028';
 
 #### re doesn't provide is_regexp in Perl < 5.10
 

lib/Eval/TypeTiny.pm

 }
 
 our $AUTHORITY = 'cpan:TOBYINK';
-our $VERSION   = '0.027_09';
+our $VERSION   = '0.028';
 our @EXPORT    = qw( eval_closure );
 our @EXPORT_OK = qw( HAS_LEXICAL_SUBS HAS_LEXICAL_VARS );
 

lib/Exporter/TypeTiny.pm

 use warnings; no warnings qw(void once uninitialized numeric redefine);
 
 our $AUTHORITY = 'cpan:TOBYINK';
-our $VERSION   = '0.027_09';
+our $VERSION   = '0.028';
 our @EXPORT_OK = qw< mkopt mkopt_hash _croak >;
 
 sub _croak ($;@) { require Type::Exception; goto \&Type::Exception::croak }

lib/Reply/Plugin/TypeTiny.pm

 
 BEGIN {
 	$Reply::Plugin::TypeTiny::AUTHORITY = 'cpan:TOBYINK';
-	$Reply::Plugin::TypeTiny::VERSION   = '0.027_09';
+	$Reply::Plugin::TypeTiny::VERSION   = '0.028';
 };
 
 require Reply::Plugin;

lib/Test/TypeTiny.pm

 };
 
 our $AUTHORITY = 'cpan:TOBYINK';
-our $VERSION   = '0.027_09';
+our $VERSION   = '0.028';
 our @EXPORT    = qw( should_pass should_fail ok_subtype );
 our @EXPORT_OK = qw( EXTENDED_TESTING );
 

lib/Type/Coercion.pm

 
 BEGIN {
 	$Type::Coercion::AUTHORITY = 'cpan:TOBYINK';
-	$Type::Coercion::VERSION   = '0.027_09';
+	$Type::Coercion::VERSION   = '0.028';
 }
 
 use Eval::TypeTiny qw<>;

lib/Type/Coercion/FromMoose.pm

 
 BEGIN {
 	$Type::Coercion::FromMoose::AUTHORITY = 'cpan:TOBYINK';
-	$Type::Coercion::FromMoose::VERSION   = '0.027_09';
+	$Type::Coercion::FromMoose::VERSION   = '0.028';
 }
 
 use Scalar::Util qw< blessed >;

lib/Type/Coercion/Union.pm

 
 BEGIN {
 	$Type::Coercion::Union::AUTHORITY = 'cpan:TOBYINK';
-	$Type::Coercion::Union::VERSION   = '0.027_09';
+	$Type::Coercion::Union::VERSION   = '0.028';
 }
 
 use Scalar::Util qw< blessed >;

lib/Type/Exception.pm

 
 BEGIN {
 	$Type::Exception::AUTHORITY = 'cpan:TOBYINK';
-	$Type::Exception::VERSION   = '0.027_09';
+	$Type::Exception::VERSION   = '0.028';
 }
 
 use overload

lib/Type/Exception/Assertion.pm

 
 BEGIN {
 	$Type::Exception::Assertion::AUTHORITY = 'cpan:TOBYINK';
-	$Type::Exception::Assertion::VERSION   = '0.027_09';
+	$Type::Exception::Assertion::VERSION   = '0.028';
 }
 
 require Type::Exception;

lib/Type/Exception/Compilation.pm

 
 BEGIN {
 	$Type::Exception::Compilation::AUTHORITY = 'cpan:TOBYINK';
-	$Type::Exception::Compilation::VERSION   = '0.027_09';
+	$Type::Exception::Compilation::VERSION   = '0.028';
 }
 
 require Type::Exception;

lib/Type/Exception/WrongNumberOfParameters.pm

 
 BEGIN {
 	$Type::Exception::WrongNumberOfParameters::AUTHORITY = 'cpan:TOBYINK';
-	$Type::Exception::WrongNumberOfParameters::VERSION   = '0.027_09';
+	$Type::Exception::WrongNumberOfParameters::VERSION   = '0.028';
 }
 
 require Type::Exception;

lib/Type/Library.pm

 
 BEGIN {
 	$Type::Library::AUTHORITY = 'cpan:TOBYINK';
-	$Type::Library::VERSION   = '0.027_09';
+	$Type::Library::VERSION   = '0.028';
 }
 
 use Eval::TypeTiny qw< eval_closure >;

lib/Type/Params.pm

 
 BEGIN {
 	$Type::Params::AUTHORITY = 'cpan:TOBYINK';
-	$Type::Params::VERSION   = '0.027_09';
+	$Type::Params::VERSION   = '0.028';
 }
 
 use B qw(perlstring);

lib/Type/Parser.pm

 sub _croak ($;@) { require Type::Exception; goto \&Type::Exception::croak }
 
 our $AUTHORITY = 'cpan:TOBYINK';
-our $VERSION   = '0.027_09';
+our $VERSION   = '0.028';
 
 # Token types
 # 

lib/Type/Registry.pm

 
 BEGIN {
 	$Type::Registry::AUTHORITY = 'cpan:TOBYINK';
-	$Type::Registry::VERSION   = '0.027_09';
+	$Type::Registry::VERSION   = '0.028';
 }
 
 use Exporter::TypeTiny qw( mkopt _croak );
 
 BEGIN {
 	$Type::Tiny::AUTHORITY = 'cpan:TOBYINK';
-	$Type::Tiny::VERSION   = '0.027_09';
+	$Type::Tiny::VERSION   = '0.028';
 }
 
 use Eval::TypeTiny ();

lib/Type/Tiny/Class.pm

 
 BEGIN {
 	$Type::Tiny::Class::AUTHORITY = 'cpan:TOBYINK';
-	$Type::Tiny::Class::VERSION   = '0.027_09';
+	$Type::Tiny::Class::VERSION   = '0.028';
 }
 
 use Scalar::Util qw< blessed >;

lib/Type/Tiny/Duck.pm

 
 BEGIN {
 	$Type::Tiny::Duck::AUTHORITY = 'cpan:TOBYINK';
-	$Type::Tiny::Duck::VERSION   = '0.027_09';
+	$Type::Tiny::Duck::VERSION   = '0.028';
 }
 
 use Scalar::Util qw< blessed >;

lib/Type/Tiny/Enum.pm

 
 BEGIN {
 	$Type::Tiny::Enum::AUTHORITY = 'cpan:TOBYINK';
-	$Type::Tiny::Enum::VERSION   = '0.027_09';
+	$Type::Tiny::Enum::VERSION   = '0.028';
 }
 
 sub _croak ($;@) { require Type::Exception; goto \&Type::Exception::croak }

lib/Type/Tiny/Intersection.pm

 
 BEGIN {
 	$Type::Tiny::Intersection::AUTHORITY = 'cpan:TOBYINK';
-	$Type::Tiny::Intersection::VERSION   = '0.027_09';
+	$Type::Tiny::Intersection::VERSION   = '0.028';
 }
 
 use Scalar::Util qw< blessed >;

lib/Type/Tiny/Role.pm

 
 BEGIN {
 	$Type::Tiny::Role::AUTHORITY = 'cpan:TOBYINK';
-	$Type::Tiny::Role::VERSION   = '0.027_09';
+	$Type::Tiny::Role::VERSION   = '0.028';
 }
 
 use Scalar::Util qw< blessed weaken >;

lib/Type/Tiny/Union.pm

 
 BEGIN {
 	$Type::Tiny::Union::AUTHORITY = 'cpan:TOBYINK';
-	$Type::Tiny::Union::VERSION   = '0.027_09';
+	$Type::Tiny::Union::VERSION   = '0.028';
 }
 
 use Scalar::Util qw< blessed >;

lib/Type/Utils.pm

 
 BEGIN {
 	$Type::Utils::AUTHORITY = 'cpan:TOBYINK';
-	$Type::Utils::VERSION   = '0.027_09';
+	$Type::Utils::VERSION   = '0.028';
 }
 
 sub _croak ($;@) { require Type::Exception; goto \&Type::Exception::croak }

lib/Types/Standard.pm

 
 BEGIN {
 	$Types::Standard::AUTHORITY = 'cpan:TOBYINK';
-	$Types::Standard::VERSION   = '0.027_09';
+	$Types::Standard::VERSION   = '0.028';
 }
 
 use Type::Library -base;

lib/Types/TypeTiny.pm

 use warnings;
 
 our $AUTHORITY = 'cpan:TOBYINK';
-our $VERSION   = '0.027_09';
+our $VERSION   = '0.028';
 
 use Scalar::Util qw< blessed refaddr weaken >;
 

meta/changes.pret

 		item "Fix whitespace in error messages."^^Bugfix;
 		item "Skip leak.t on Perl 5.10.0."^^Tests;
 	].
+
+`Type-Tiny 0.028 cpan:TOBYINK`
+	issued  2013-09-26;
+	changeset [
+		dcs:versus `Type-Tiny 0.027_09 cpan:TOBYINK`;
+		item [
+			a dcs:Documentation;
+			dcs:fixes RT#88655;
+			dcs:thanks cpan:BBYRD;
+			label "Note in documentation for Type::Tiny::Union, etc that constraint/inlining coderefs not only should not be provided to the constructor, but cannot!";
+		];
+		item "Updated NEWS file."^^Documentation;
+	].