cpan Type-Tiny 2.007_009

latest releases: 2.008000, 2.007_010
pre-release9 days ago

[ Bug Fixes ]

  • Warnings for unknown Type::Params signature options introduced in
    2.007_008 broke Mite, which passes it a mite_signature option and
    checks no warnings are thrown in its test suite. That option is now
    silently allowed, even though Type::Params makes no use of it.
    https://metacpan.org/dist/Mite

[ Documentation ]

  • Fix documentation for the coercion_generator attribute of Type::Tiny.

[ Other ]

  • Added: Type::Params now has a per-parameter default_on_undef option.
  • Added: Types::Standard::ArrayRef can now export shortcuts for
    parameterized versions of the ArrayRef type constraint.
  • Added: Types::Standard::CycleTuple can now export shortcuts for
    parameterized versions of the CycleTuple type constraint.
  • Added: Types::Standard::Dict can now export shortcuts for parameterized
    versions of the Dict type constraint.
  • Added: Types::Standard::HashRef can now export shortcuts for
    parameterized versions of the HashRef type constraint.
  • Added: Types::Standard::Map can now export shortcuts for parameterized
    versions of the Map type constraint.
  • Added: Types::Standard::ScalarRef can now export shortcuts for
    parameterized versions of the ScalarRef type constraint.
  • Added: Types::Standard::StrMatch can now export shortcuts for
    parameterized versions of the StrMatch type constraint.
  • Added: Types::Standard::Tuple can now export shortcuts for parameterized
    versions of the Tuple type constraint.
  • Added: When creating 'multi' signatures with Type::Params, the different
    alternatives can now be given a string identifier.

Don't miss a new Type-Tiny release

NewReleases is sending notifications on new releases.