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

Changes for version 1.010000 - 2020-02-19

  • Documentation
    • Correct documentation of slurpy with compile_named. Fixes RT#131720. <https://rt.cpan.org/Ticket/Display.html?id=131720>
  • Packaging
    • Package as stable.

Changes for version 1.009_003 - 2020-02-11

  • Bug Fixes
    • Fix importing multiple type libraries into a type registry at once. Fixes RT#131744. <https://rt.cpan.org/Ticket/Display.html?id=131744>
  • Documentation
    • Fix typo in documentation of `my_methods`. Philippe Bruhat++

Changes for version 1.009_002 - 2020-02-11

  • Documentation
    • Mention MooX::Pression.
  • Other
    • Added: Type::Params now supports `head` and `tail` options for `compile`, `compile_named`, and `compile_named_oo`.
    • Parameterized `Ref` type constraint in Types::Standard now checks its parameter is a known Perl ref type.
    • Type::Params on Perl older than 5.10 now uses its own B::perlstring implementation to quote strings instead of using B::cstring.

Changes for version 1.009_001 - 2020-02-06

  • Test Suite
    • More tests for recursively defined type constraints.
  • Other
    • Added: Type::Tiny::Enum now has an `as_regexp` method.
    • In some edge cases, the regexps used by Type::Tiny::Enum will now be slightly faster.

Changes for version 1.009_000 - 2020-02-04

  • Subclasses of Moose::Meta::TypeConstraint are now converted to the appropriate subclasses of Type::Tiny by Types::TypeTiny::to_TypeTiny, instead of always being converted to the base class. This improves inlining amongst other things.
  • When types are declared by Type::Library's -declare import parameter, the temporary subs installed can now generate placeholder type constraints which allow the types to be used in recursive type definitions.

Documentation

an overview of Type::Tiny
alphabetical list of all type constraints bundled with Type::Tiny
advanced information on coercions
contributing to Type::Tiny development.
how to install Type::Tiny
defining your own type libraries
Type::Tiny in non-object-oriented code
squeeze the most out of your CPU
advanced information on Type::Params
Type::Tiny policies
use of Type::Tiny with Class::Tiny
basic use of Type::Tiny with Moo
advanced use of Type::Tiny with Moo
alternative use of Type::Tiny with Moo
how to use Type::Tiny with Moose
how to use Type::Tiny with Mouse
using Type::Tiny with Class::InsideOut, Params::Check, and Object::Accessor.
Type::Tiny for test suites

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
shared behavour for Type::Tiny::Class, etc
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 CycleTuple 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 StrMatch type constraint
internals for the Types::Standard Tied type constraint
internals for the Types::Standard Tuple type constraint
type constraints used internally by Type::Tiny