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

Changes for version 0.024 - 2013-08-27

  • (Documentation) Updated NEWS file.

Changes for version 0.023_03 - 2013-08-23

  • (Bugfix) Constructors for some subclasses of Type::Tiny rejected hashrefs of paramaters. Fixes RT#88064 ++$BBYRD
  • (Bugfix) Stop considering the empty string to be a valid package name.
  • (Packaging) Include additional test cases stolen from Moose.
  • Implementation of RegexpRef in Types::Standard is now closer to Moose's implementation (accepts blessed Regexps).

Changes for version 0.023_02 - 2013-08-23

  • (Addition) Type::Registry now has an `add_type` method, for adding a single type constraint to a registry.
  • (Bugfix) Fix quoting in error messages which caused Type::Params to be unable to compile some coderefs. Fixes RT#87846 ++$TIMB
  • (Bugfix) Improve ugly type assertion failure messages when given structures of nested references. Fixes RT#87999 ++$TIMB
  • Type::Registry's `add_types` method now supports importing MooseX::Types and MouseX::Types libraries.
  • Type::Utils' `extend` function now supports extending MooseX::Types and MouseX::Types libraries.

Changes for version 0.023_01 - 2013-08-16

  • (Bugfix) Fix Moo -> Moose type inflation issue. ++$MATTP

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

shims to allow Type::Tiny to run on Perl 5.6.x
shims to allow Type::Tiny to run on Perl 5.8.x
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