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

Changes for version 0.039_13 - 2014-03-15

  • Bug Fixes
    • Fix occasional segfaults on threaded Perl 5.18.x. Graham Knop++
  • Test Suite
    • Test for occasional segfaults on threaded Perl 5.18.x. Graham Knop++

Changes for version 0.039_12 - 2014-03-12

  • Bug Fixes
    • Various Type::Utils functions were trying to dereference undef as a hash or array in certain circumstances. Matt Phillips++
  • Other
    • Type::Utils' class_type and role_type functions will $name =~ s/:://g. Matt Phillips++

Changes for version 0.039_11 - 2014-03-11

  • Test Suite
    • Because of changes to Data::Dumper in Perl 5.19.x, the test suite was previously skipping some Dumper-based test cases depending on Perl version. However, Dumper is dual-lifed, so older versions of Perl may have shiny, new Dumpers. Skip test cases based on Data::Dumper version instead.

Changes for version 0.039_10 - 2014-03-10

  • Documentation
    • Document the benefits of freezing coercions, and of defining coercions either within the type library, or via $type->plus_coercions.
  • Other
    • $type->plus_coercions and friends now return objects with frozen coercions.

Changes for version 0.039_09 - 2014-02-25

  • Documentation
    • Update Type::Tiny::Manual::Params to mention Kavorka, and newer features of Function::Parameters.
  • Test Suite
    • Test integration with Moops.
    • Test integration with Switcheroo.
    • Test that coercions attached to Moose type constraints get inherited by Type::Tiny when they are inhaled.
    • Unit tests for Devel::TypeTiny::Perl56Compat.
    • Unit tests for Devel::TypeTiny::Perl58Compat.

Changes for version 0.039_08 - 2014-02-24

  • Test Suite
    • Test integration with Kavorka.

Changes for version 0.039_07 - 2014-02-17

  • Bug Fixes
    • Fix hash ordering bug in Return::Type integration tests.

Changes for version 0.039_06 - 2014-02-17

  • Bug Fixes
    • Type::Tiny's SUPPORT_SMARTMATCH constant was broken; fixed now.
    • Type::Tiny's TIEARRAY and TIEHASH methods were broken; fixed now.
  • Test Suite
    • Enable some old tests that had been disabled as not-yet-implemented for parameterized type constraints; the feature they test was implemented ages ago.
    • Test integration with Return::Type.
    • Test integration with Type::Tie.
    • Test integration with match::simple.

Changes for version 0.039_05 - 2014-02-15

  • Apply the Type::Tiny::_HalfOp trick to overloaded addition too.

Changes for version 0.039_04 - 2014-02-05

  • Make overloaded ops on parameterized type constraints work more consistently between Perl above and below 5.14, reducing the need for parenthesizing complex type constraint expresssions. Graham Knop++ <https://github.com/tobyink/p5-type-tiny/pull/8>

Changes for version 0.039_03 - 2014-02-05

  • Bug Fixes
    • Make Type::Utils::declare_coercion work outside type libraries. Fixes RT#92591. Diab Jerius++ <https://rt.cpan.org/Ticket/Display.html?id=92591>
    • Weak reference from Type::Coercion objects to target type constraint caused bad behaviour in some cases. This has been fixed by retaining enough information within the Type::Coercion to be able to reconstruct its type constraint if it disappears due to the reference count falling to zero. Fixes RT#92571. Diab Jerius++ <https://rt.cpan.org/Ticket/Display.html?id=92571>

Changes for version 0.039_02 - 2014-01-25

  • Test Suite
    • Add tests for Test::TypeTiny.

Changes for version 0.039_01 - 2014-01-21

  • Documentation
    • The preferred IRC channel for support is now #moops.
  • Test Suite
    • Restructure the 't' directory.
  • Other
    • Removed: Exporter::TypeTiny.

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