[ Bug Fixes ]
- Strip underscores in version numbers for dev releases.
Fixes RT#125839.
https://rt.cpan.org/Public/Bug/Display.html?id=125839
- Type::Params will now keep a reference to all type constraints passed to
it; this may use more memory in some cases, but will improve exceptions
thrown.
Fixes RT#121763.
https://rt.cpan.org/Public/Bug/Display.html?id=121763
- Type::Tiny better mimics the Moose::Meta::TypeConstraint::Parameterized
API, addingparameterized_from
andhas_parameterized_from
methods.
Fixes RT#114915.
https://rt.cpan.org/Public/Bug/Display.html?id=114915
- Type::Tiny::Enum will now avoid triggering a Type::Tiny::XS bug
involving hyphens in strings.
Fixes RT#129729.
https://rt.cpan.org/Public/Bug/Display.html?id=129729
- When extending a MooseX::Types library, be more careful checking to see
if types have coercions, because a Moose::Meta::TypeCoercion object may
be an empty list of coercions.
Fixes RT#102748.
https://rt.cpan.org/Public/Bug/Display.html?id=102748
[ Test Suite ]
- Add a test that Specio type constraints can be converted to Type::Tiny
types, and inlining works.
- Bundle some tests for Types::ReadOnly because it does interesting stuff
with coercions and parameterizable types.
- Bundle test from RT#104154, which turned out to not be a bug.
https://rt.cpan.org/Ticket/Display.html?id=104154
- More tests for extending MooseX::Types libraries.
[ Packaging ]
- Dropped the TODO file from the repo and distribution because it was
mostly out of date. Use RT instead.
[ Other ]
- Added: Many type constraints now support
stringifies_to
,
numifies_to
, andwith_attribute_values
methods. Type::Tiny 1.006000
accidentally included an undocumented early implementation of these with
some differences.
- Added: Provide a control over whether types are allowed to make
callbacks in inlined code.
- Added: Type::Tiny::ConstrainedObject exists as a superclass for
Type::Tiny::Class, Type::Tiny::Role, and Type::Tiny::Duck.
- Added: When Types::TypesTiny::to_TypeTiny converts a Moose/Mouse type to
a Type::Tiny type, the returned type will now be parameterizable if they
original type was parameterizable.
- Added: When importing type constraints from non-Moose/non-Mouse blessed
type constraint systems (Specio, Types::Nano, others?), support
inlining.
- Smarter caching and reuse of parameterized types.