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

Changes for version 0.015_04 - 2013-07-13

  • (Bugfix Documentation) Allow an inline_as block to return a list of strings (which are implictly joined with &&); allow the first item on the list to be undef, which is treated as the inlined parent type constraint. Fixes RT#86891 ++$TIMB
  • (Bugfix Documentation) Clarify when inlining via Sub::Quote may be less efficient than hand-written inlining. Fixes RT#86893 ++$TIMB
  • (Bugfix Documentation) Mention in Type::Tiny::Manual::Libraries that the `extends` function is no longer exported by default; update example code. Fixes RT#86813 ++"Pierre Masci"

Changes for version 0.015_03 - 2013-07-08

  • (Addition) Implement TIESCALAR, TIEARRAY and TIEHASH methods for Type::Tiny; this improves Type::Tie integration.
  • Slight speed improvements for `compile_match_on_type`.
  • The `dwim_type` function now prioritizes lookups within the caller class' type registry over Types::Standard's built-in types.

Changes for version 0.015_02 - 2013-07-06

  • Better test cases for `dwim_type`.
  • Improvements to DWIMness of Type::Parser for the benefit of `dwim_type`.

Changes for version 0.015_01 - 2013-07-05

  • (Addition) Type::Utils now provides a `dwim_type` function; this is powered by a hidden Type::Registry::DWIM package.
  • Type::Parser can now pull in types from MooseX::Types libraries properly.

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
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

utility to evaluate a string of Perl code in a clean environment
a small exporter used internally by Type::Library and friends
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 to a union type constraint
exceptions for Type::Tiny and friends
exception when a value fails a type constraint
exception for Eval::TypeTiny
exception for Type::Params
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
utility functions to make defining and using type constraints a little easier
bundled set of built-in types for Type::Tiny
type constraints used internally by Type::Tiny