[ Documentation ]
- Improvements to Type::Tiny::Manual.
- Improvements to Type::Tiny::Manual::Params, including rewritten manual
processing section, and processing type constraints in function
signatures via Function::Parameters/Attribute::Constract.
[ Test Suite ]
- Test cases for usage with Function::Parameters.
[ Other ]
- Added: New constraints added to Types::Standard: InstanceOf, ConsumerOf,
HasMethods and Enum.
Graham Knop++
- Allow constraint_generators (for parameterizable type constraints) to
return full Type::Tiny objects instead of plain coderefs.
- Drop use of Carp in Type::Parser.
- Type::Tiny::Class types now have an automatically calculated parent type
constraint based on @ISA.
- Type::Tiny::Duck types now have a parent type constraint of
Types::Standard::Object.
- Type::Tiny::Enum types now have a parent type constraint of
Types::Standard::Str.
- Type::Tiny::Intersection types now have an arbitrary parent type
constraint.
- Type::Tiny::Role types now have a parent type constraint of
Types::Standard::Object.
- Type::Tiny::Union types now have an automatically calculated parent type
constraint based on the most specific common parent type constraint.