PaulHowarth/Blog/2020-02-20

Thursday 20th February 2020

Local Packages

  • Updated perl-Test-MockModule to 0.172.0:

    • Make sure we can redefine a function in 'main'

  • Updated perl-Type-Tiny to 1.010000:

    • 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 that allow the types to be used in recursive type definitions

    • 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

    • More tests for recursively defined type constraints
    • 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 that its parameter is a known Perl ref type

    • Fix importing multiple type libraries into a type registry at once (CPAN RT#131744)

    • Type::Params on Perl older than 5.10 now uses its own B::perlstring implementation to quote strings instead of using B::cstring

    • Mention MooX::Pression in documentation

    • Fix typo in documentation of 'my_methods'

    • Correct documentation of slurpy with compile_named (CPAN RT#131720)


Recent