The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Changes for version 0.044 - 2014-06-03

  • Documentation
    • Updated NEWS file.

Changes for version 0.043_05 - 2014-05-21

  • Bug Fixes
    • Fix inflation of Type::Coercion objects to Moose::Meta::TypeCoercion when some of the coercion routines are given as strings.
  • Documentation
    • Document the is_*, to_*, and assert_* functions in Type::Tiny::Manual::Libraries. Alexander Hartmaier++
    • Mention coercion=>1 and why it is useful in Type::Tiny::Manual::Coercions. Alexander Hartmaier++
  • Test Suite
    • Integration tests for MooseX::Getopt. Alexander Hartmaier++
  • Other
    • Detect missing comma in declaration of type constraints using Type::Utils a la `declare Foo as Bar`, and print a warning. Tim Bunce++
    • No longer need to inflate a Type::Tiny object to Moose::Meta::TypeConstraint in order to give an answer to $type->isa('Moose::Meta::TypeConstraint::Union').

Changes for version 0.043_04 - 2014-05-21

  • Test Suite
    • Improve test cases for integration with Moose native attribute traits.

Changes for version 0.043_03 - 2014-05-06

  • Documentation
    • Rename Types::Datetime to Example::Types because there is now really a Types::DateTime on CPAN.
    • Type::Tiny::Manual::Libraries add example of using the custom types library. Peter Karman++
  • Test Suite
    • Add some test cases for the Error::TypeTiny class.
    • Improve Eval::TypeTiny test cases.
    • Tests for Type::Library error messages.
  • Packaging
    • Updated bundled version of Try::Tiny.
  • Other
    • Added: Extremely experimental and mostly undocumented my_method stuff.
    • Added: Type::Utils::classifier

Changes for version 0.043_02 - 2014-04-11

  • Added: Experimental my_methods attribute so that type constraints can offer additional methods.
  • Added: Type::Tiny now has a find_parent method.

Changes for version 0.043_01 - 2014-04-06

  • Sub::Quote quoted coderefs passed to to_TypeTiny() now result in inlinable type constraints.

Documentation

an overview of Type::Tiny
adding coercions to type constraints
how to build a type library with Type::Tiny, Type::Library and Type::Utils
coerce and validate arguments to functions and methods
Type::Tiny policies
how to use Type::Tiny and Type::Library with Moo
how to use Type::Tiny and Type::Library with Moose
how to use Type::Tiny and Type::Library with Mouse
how to use Type::Tiny and Type::Library with other OO frameworks

Modules

shims to allow Type::Tiny to run on Perl 5.6.x
shims to allow Type::Tiny to run on Perl 5.8.x
exceptions for Type::Tiny and friends
exception when a value fails a type constraint
exception for Eval::TypeTiny
exception for Type::Params
utility to evaluate a string of Perl code in a clean environment
improved type constraint exceptions in Reply
useful functions for testing the efficacy of type constraints
a set of coercions to a particular target type constraint
a set of coercions borrowed from Moose
a set of coercions to a union type constraint
tiny, yet Moo(se)-compatible type libraries
Params::Validate-like parameter validation using Type::Tiny type constraints and coercions
parse type constraint strings
a glorified hashref for looking up type constraints
tiny, yet Moo(se)-compatible type constraint
type constraints based on the "isa" method
type constraints based on the "can" method
string enum type constraints
intersection type constraints
type constraints based on the "DOES" method
union type constraints
half-completed overloaded operation
utility functions to make defining and using type constraints a little easier
drop-in replacement for MooseX::Types::Common::Numeric
drop-in replacement for MooseX::Types::Common::String
bundled set of built-in types for Type::Tiny
internals for the Types::Standard ArrayRef type constraint
internals for the Types::Standard Dict type constraint
internals for the Types::Standard HashRef type constraint
internals for the Types::Standard Map type constraint
internals for the Types::Standard ScalarRef type constraint
internals for the Types::Standard Tuple type constraint
type constraints used internally by Type::Tiny