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

Changes for version 0.042 - 2014-04-02

  • Documentation
    • Include more recent results in benchmarking example scripts.
    • List currently unstable/experimental parts of the distribution in Type::Tiny::Manual::Policies.

Changes for version 0.041_04 - 2014-03-31

  • Test Suite
    • Add tests for given/when matching against type constraints.

Changes for version 0.041_03 - 2014-03-28

  • Documentation
    • Improve documentation for the Type::Coercion class; especially its constructors, attributes and methods.
    • Improve documentation for the Type::Tiny class; especially its constructor, attributes and methods.

Changes for version 0.041_02 - 2014-03-26

  • Bug Fixes
    • Fix Type::Tiny::Duck's inlining of code when given the variable name `$_`. Fixes RT#94196. Diab Jerius++ <https://rt.cpan.org/Ticket/Display.html?id=94196>
  • Documentation
    • Type::Tiny::Manual links to various parts of the test suite to document concepts. These links had grown stale and have now been updated.
    • Updated NEWS file.
  • Test Suite
    • Prevent 20-unit/Type-Registry/moosextypes.t from failing due to too old MooseX::Types::Common - just skip the test script if MXTC is older than 0.001004.

Changes for version 0.041_01 - 2014-03-17

  • BACK COMPAT
    • Type::Tiny and Type::Coercion no longer overload addition. This feature never really worked very well with regard to precendence, requiring lot of parentheses to use. The overload also made solving the parameterizable type coercion problem very difficult.
  • Other
    • Parameterizable coercions are now passed a reference to the type constraint they should target.

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