cpan Type-Tiny 2.007_008

latest releases: 2.008000, 2.007_010, 2.007_009...
pre-release12 days ago

[ Bug Fixes ]

  • Expressing return types for Type::Params as strings now works as
    documented.

[ Documentation ]

  • Use Perl's new try feature instead of Try::Tiny in SYNOPSIS for
    Error::TypeTiny.

[ Test Suite ]

  • Improved tests for the ArgsObject type constraint which is optionally
    exported by Type::Params.
  • Improved tests for the goto_next feature of Type::Params.

[ Other ]

  • Added: Error::TypeTiny::WrongNumberOfParameters now has a target
    attribute indicating what thing you provided the wrong number of
    parameters for.
  • Added: There's now a
    Type::Tiny::check_parameter_count_for_parameterized_type utility
    function intended to be used for parameterizable types to throw an error
    when parameterized with the wrong number of parameters.
  • Parameterizable types defined by Types::Standard, Types::Common::String,
    Types::Common::Numeric, and Type::Params will throw an
    Error::TypeTiny::WrongNumberOfParameters exception if parameterized with
    the wrong number of parameters.
  • Passing unknown options to Type::Params functions will now result in
    warnings.

Don't miss a new Type-Tiny release

NewReleases is sending notifications on new releases.