./devel/p5-Type-Tiny, Tiny, yet Moo(se)-compatible type constraint

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.010002, Package name: p5-Type-Tiny-1.010002, Maintainer: pkgsrc-users

Type::Tiny is a tiny class for creating Moose-like type constraint
objects which are compatible with Moo, Moose and Mouse.

Maybe now we won't need to have separate MooseX, MouseX and MooX
versions of everything? We can but hope...


Required to run:
[lang/perl5] [devel/p5-Exporter-Tiny]

Required to build:
[pkgtools/cwrappers]

Master sites: (Expand)

SHA1: 1443b106cf3cf464bf9cc36682cda9d3cd58ce49
RMD160: 9f9b90b85d4ce0056b48004925f7f2e74df3eec2
Filesize: 427.145 KB

Version history: (Expand)


CVS history: (Expand)


   2020-05-04 15:20:41 by Makoto Fujiwara | Files touched by this commit (2) | Package updated
Log message:
(devel/p5-Type-Tiny) Updated to 1.010002

1.010002        2020-05-01      Mayday

 [ Bug Fixes ]
 - Better bareword handling on Perl < 5.14.
   Fixes RT#132455.
   Graham Knop++
   Karen Etheridge++
   <https://rt.cpan.org/Ticket/Display.html?id=132455>
 - If Scalar::Util was below 1.18, the LaxNum type from Types::Standard
   would accept blobs as being numbers. This is now fixed.
   Fixes RT#132426.
   Graham Knop++
   <https://rt.cpan.org/Ticket/Display.html?id=132426>
   2020-04-18 14:17:18 by Makoto Fujiwara | Files touched by this commit (2) | Package updated
Log message:
(devel/p5-Type-Tiny) Updated 1.006000 to 1.010001

(pkgsrc)
 - Converted (4 of) BUILD_DEPENDS to TEST_DEPENDS
 - Added 8 of TEST_DEPENDS (more to add which does not exist yet)

(upstream, recent summary only, from NEWS)
2019-11-12 Type-Tiny version 1.006000 released!

 - Improved is_subtype_of/is_supertype_of support.
 - ArrayRef array length parameter.
 - Eval::TypeTiny's API is now considered to be stable.
 - Slurpy HashRefs passed to coderefs returned by Type::Params can now
   be true hashrefs.
 - More import options for Type::Library

2019-12-11 Type-Tiny version 1.008000 released!

 - Type::Tiny has a website. <http://typetiny.toby.ink/>
 - Resolved all bugs from RT.
 - Completed everything on TODO.
 - Rewrite of the manual.
 - Lots more test cases. (Now almost 14,000 test cases total!)
 - wrap_methods/wrap_subs in Type::Params.

2020-02-19 Type-Tiny version 1.010000 released!

 - Recursive definition of type constraints.
   2019-08-11 15:25:21 by Thomas Klausner | Files touched by this commit (3557) | Package updated
Log message:
Bump PKGREVISIONs for perl 5.30.0
   2019-06-30 22:17:50 by Nia Alarie | Files touched by this commit (1816) | Package updated
Log message:
Update packages using a search.cpan.org HOMEPAGE to metacpan.org.

The former now redirects to the latter.

This covers the most simple cases where http://search.cpan.org/dist/name
can be changed to https://metacpan.org/release/name.

Reviewed by hand to hopefully make sure no unwanted changes sneak in.
   2019-01-16 01:41:27 by Wen Heping | Files touched by this commit (2) | Package updated
Log message:
Update to 1.004004

Upstream changes:
1.004004        2019-01-08

 [ Bug Fixes ]
 - Depend on Exporter::Tiny 0.040; older versions don't provide all the
   functions Type::Library needs.

1.004003        2019-01-08

 [ Bug Fixes ]
 - Fix spelling in error message for Types::Common::String
   LowerCaseSimpleStr.
   Robert Rothenberg++
   <https://github.com/tobyink/p5-type-tiny/pull/47>

 [ Documentation ]
 - Fix Type::Params documentation error.
   Nelo Onyiah++
   <https://github.com/tobyink/p5-type-tiny/pull/45>
 - Fix Types::Standard documentation error: incorrect third-party module
   name.
   Nelo Onyiah++
   <https://github.com/tobyink/p5-type-tiny/pull/46>
   2018-08-22 11:48:07 by Thomas Klausner | Files touched by this commit (3558)
Log message:
Recursive bump for perl5-5.28.0
   2018-07-31 12:29:26 by Wen Heping | Files touched by this commit (2) | Package updated
Log message:
Update to 1.004002

Upstream changes:
1.004002        2018-07-29

 [ Bug Fixes ]
 - Skip one particular test on old versions of Moo because it relies on a
   feature introduced in Moo 1.004000.
   Fixes RT#125948.
   <https://rt.cpan.org/Ticket/Display.html?id=125948>
   2018-07-29 04:58:58 by Wen Heping | Files touched by this commit (2) | Package updated
Log message:
Update to 1.004001

Upstream changes:
1.004001        2018-07-28

 [ Bug Fixes ]
 - Add Eval::TypeTiny::Sandbox to the list of packages which should be
   skipped as internal by Error::TypeTiny, as it was mistakenly removed in
   1.003_008.
   Fixes RT#125942.
   <https://rt.cpan.org/Ticket/Display.html?id=125942>

 [ Documentation ]
 - Correct release date of 1.004000 in change log.

1.004000        2018-07-27

 [ Documentation ]
 - Update NEWS.
 - Update TODO.

 [ Packaging ]
 - Repackage as a stable release. No functional changes since 1.003_010.

1.003_010       2018-07-25

 [ Test Suite ]
 - Improve test coverage for Type::Utils, Type::Coercion,
   Types::Standard::Tuple, Eval::TypeTiny, Type::Registry,
   Type::Tiny::Class, and Types::Standard::Tied.

1.003_009       2018-07-24

 [ Documentation ]
 - Better documentation of parameterization API.

 [ Test Suite ]
 - Improve testing of Test::TypeTiny itself; the matchfor() function in
   particular.
 - Test bad parameters to NumRange and IntRange.
 - Test late loading of Sub::Quote.

 [ Other ]
 - Types::Standard::Defined->complementary_type will now return
   Types::Standard::Undef, and vice versa.

1.003_008       2018-07-16

 [ REGRESSIONS ]
 - Make Error::TypeTiny aware of some newer internal modules.

 [ Bug Fixes ]
 - Fix error messages generating deep explanations of some parameterized
   types.
   Fixes RT#125765.
   KB Jørgensen++
   <https://rt.cpan.org/Ticket/Display.html?id=125765>

 [ Test Suite ]
 - Improve test coverage.
 - Test Type::Utils' match_on_type's support for wantarray on strings of
   code.

 [ Other ]
 - Improve processing of parameters to Types::Standard's parameterized type
   constraints
 - Simplify how Type::Registry generates the `t()` function.
 - Split out some code from Types::Standard into autoloaded modules to
   speed up loading.
 - Types::Common::Numeric's IntRange and NumRange do better checking of
   parameters.
 - Types::Common::String's StrLength does better checking of parameters.

1.003_007       2018-07-12

 [ Test Suite ]
 - Add tests for deep coercions in Tuples.
 - Better tests for Eval::TypeTiny's implementations of alias=>1.
 - Improve coverage.
 - Restructure Types::TypeTiny test cases so more of them run when Moose
   and Mouse aren't available.

 [ Other ]
 - Added: Eval::TypeTiny now supports PadWalker as a fallback
   implementation of alias => 1.
 - Added: Eval::TypeTiny provides a collection of constants to indicate the
   current implementation of alias => 1.
 - Eval::TypeTiny will now throw errors when it detects a mismatch between
   sigils and reference types in the environment hashref but only if
   EXTENDED_TESTING environment variable is true. Perl will probably give
   you its own error message for this later on anyway.
 - Improve progressive exporter in Types::TypeTiny to avoid loading
   Exporter::TypeTiny more often.
 - Removed: Eval::TypeTiny::HAS_LEXICAL_VARS constant is no longer
   documented and will be removed at a later date.
 - Types::Standard does better at checking the parameters of parameterized
   types are valid.
 - Updated: Eval::TypeTiny now supports Perl 5.22 refaliasing as the
   preferred implementation of alias => 1.

1.003_006       2018-07-08

 [ Bug Fixes ]
 - Fix issues with arrayref and hashref defaults in Type::Params.
 - Workaround for Regexp-based check for Int clobbering $1 sometimes (this
   will sometimes slow down Int checks a little, but is needed for
   correctness).
   Fixes RT#125132.
   <https://rt.cpan.org/Ticket/Display.html?id=125132>

 [ Documentation ]
 - Better documentation of environment variables.
 - Type::Params caller_level option is now documented.

 [ Test Suite ]
 - Improve coverage.

 [ Other ]
 - Added: PERL_TYPE_PARAMS_XS environment variable.
 - Added: Type::Params compile/compile_named now have subname and
   description options.

1.003_005       2018-07-05

 [ Documentation ]
 - Type::Tiny::Manual::Coercions improvements.
   Fixes RT#122305.
   <https://rt.cpan.org/Ticket/Display.html?id=122305>

 [ Other ]
 - Added: Allow type libraries to mark certain type constraints as
   deprecated.
   Fixes RT#124728.
   <https://rt.cpan.org/Ticket/Display.html?id=124728>

1.003_004       2018-06-12

 [ Bug Fixes ]
 - Load modules with `use` instead of `require` in 00-begin.t.
   Fixes RT#124067.
   Andreas J König++
   Slaven Rezić++
   <https://rt.cpan.org/Ticket/Display.html?id=124067>

1.003_003       2018-06-10

 [ BACK COMPAT ]
 - Bool (Types::Standard) is stricter, no longer allowing blessed objects
   that overload stringification because that's weird.

 [ Other ]
 - Added: Bool now allows coercion from Any.

1.003_002       2018-05-28

 - Added: Types::Common::Numeric now has NumRange and IntRange types.
 - Added: Types::Common::String now has a StrLength type.

1.003_001       2018-05-22

 [ Test Suite ]
 - Tests for coercions to CycleTuple from Types::Standard with
   non-inlineable type constraints.

 [ Other ]
 - Don't use Type::Tiny::XS's implementation of Bool in Types::Standard
   unless Type::Tiny::XS >= 0.014.
 - Looser definition of FileHandle in Types::Standard.
   Fixes RT#121762.
   <https://rt.cpan.org/Ticket/Display.html?id=121762>

1.003_000       2018-05-20

 [ Bug Fixes ]
 - Compatibility with constants and with CV-in-stash optimisation.
   Fixes RT#123408.
   <https://rt.cpan.org/Ticket/Display.html?id=123408>

 [ Documentation ]
 - Add a new CONTRIBUTING.pod file.
 - Document Type::Library's :coercion export tag.
   Diab Jerius++
 - Fix typo.
   Philippe Bruhat++
 - Improvements to Type::Params documentation.

 [ Test Suite ]
 - Skip t/30-integration/Moose/native-attribute-traits.t on older Moose
   because Test::Moose is broken.

 [ Packaging ]
 - Ref::Util::XS 0.100 should be recommended, not 0.200 (which doesn't
   exist yet).
   Fixes RT#121981.
   <https://rt.cpan.org/Ticket/Display.html?id=121981>

 [ Other ]
 - Added: Allow Type::Coercion's add_type_coercion to accept a
   Type::Coercion object, which was already documented as working.
   Diab Jerius++
 - Added: Type::Params compile_named now supports bless/class/constructor
   options.
 - Added: Type::Params now exports a compile_named_oo function which
   returns a parameters object.
 - Added: Type::Params now supports parameter defaults.
 - Don't use Type::Tiny::XS's implementation of PositiveInt in
   Types::Common::Numeric unless Type::Tiny::XS >= 0.013.