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

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

Branch: CURRENT, Version: 1.012004nb1, Package name: p5-Type-Tiny-1.012004nb1, 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:

Master sites: (Expand)

Filesize: 453.291 KB

Version history: (Expand)

CVS history: (Expand)

   2022-06-28 13:38:00 by Thomas Klausner | Files touched by this commit (3952)
Log message:
*: recursive bump for perl 5.36
   2021-10-26 12:20:11 by Nia Alarie | Files touched by this commit (3016)
Log message:
archivers: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Could not be committed due to merge conflict:

The following distfiles were unfetchable (note: some may be only fetched

./devel/pvs/distinfo pvs-3.2-solaris.tgz
./devel/eclipse/distinfo eclipse-sourceBuild-srcIncluded-3.0.1.zip
   2021-10-07 15:44:44 by Nia Alarie | Files touched by this commit (3017)
Log message:
devel: Remove SHA1 hashes for distfiles
   2021-07-04 10:18:23 by Wen Heping | Files touched by this commit (2)
Log message:
Update to 1.012003

Upstream changes:
1.012003        2021-05-09

 [ Documentation ]
 - Fixed typo in Type::Tiny::Enum where the `closest_match` method was
   documented as being called `closet_match`.

 [ Other ]
 - Type::Parser now supports negative hexadecimal integers.

1.012002        2021-05-02

 [ Bug Fixes ]
 - Fix precendence error in generated code for Tuples.
   Philippe Bruhat++

 [ Documentation ]
 - Fixed typo in pod for Type::Tiny::Enum

 [ Test Suite ]
 - Fix testcase for Tuples with slurpy HashRef to pass a literal hashref
   (which should fail) instead of an arrayref (which should also fail, but
   less subtly).
   Philippe Bruhat++
 - Type::Tiny is no longer routinely tested on Perl versions older than

 [ Other ]
 - Type::Parser now supports hexadecimal integers.
   2021-05-24 21:56:06 by Thomas Klausner | Files touched by this commit (3575)
Log message:
*: recursive bump for perl 5.34
   2021-04-26 17:17:23 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
p5-Type-Tiny: update to 1.012001.

1.012001	2021-01-10

 [ Test Suite ]
 - Extra test cases to improve coverage. (100% on Coveralls; 90% on
 - Hide warnings in Kavorka integration tests.

 [ Packaging ]
 - Move issue tracker from RT to Github Issues.
 - Stop hiding Type::Parser::Token, Type::Parser::TokenStream, and
   Type::Parser::AstBuilder from the CPAN indexer.

 [ Other ]
 - Much code tidying using perltidy and manually.
 - When generic validation objects (blessed objects with a `check` method)
   are converted to native Type::Tiny type constraints, no longer require
   them to provide a `get_message` method. This allows Type::Tiny to adopt
   Data::Constraint type constraints.

1.012000	2020-10-28

 [ Documentation ]
 - Update NEWS file.

1.011_011	2020-10-16

 [ Test Suite ]
 - Bugs in old versions of Return::Type prevent integration tests from
   passing on Perl 5.8.x; those tests now require Return::Type 0.007 or
 - More tests for Type::Coercion::FromMoose.

 [ Packaging ]
 - If the EXTENDED_TESTING environment variable is true, Perl 5.8.9 or
   above is being used, and either Type::Tiny's version contains '_' or
   testing is running on Travis CI, then Makefile.PL will add extra testing

 [ Other ]
 - Remove unnecessary BEGIN block in Eval::TypeTiny.

1.011_010	2020-10-16

 - Simple useful coercions from Str for Type::Tiny::Enum (and

1.011_009	2020-10-09

 [ Documentation ]
 - Add _ForeignTypeConstraint to AllTypes.pod.

 [ Test Suite ]
 - Add tests for _ForeignTypeConstraint.
 - Improve test coverage by adding tests for various esoteric parts of the
   distribution and edge cases.

 [ Other ]
 - More efficient use of Type::Tiny::XS by Types::TypeTiny.
 - Refactoring of Types::TypeTiny.
 - Where various parts of Type::Tiny internally use type constraints to
   check values, prefer is_* and assert_* functions over method calls.

1.011_008	2020-10-07

 [ Documentation ]
 - Some minor tidyups and updates to Type::Tiny::Manual.

 [ Test Suite ]
 - Better tests for the placeholder type constraints created by
   Type::Library -declare flag.
 - Test integration with Type::Nano as an example of a generic
   non-Type::Tiny type constraint class.
 - Test that $type->() works with subclasses that override the
   assert_return method.
 - Write tests for some internal undocumented methods.

 [ Other ]
 - Added: Type::Utils::assert() function.

1.011_007	2020-10-06

 [ Bug Fixes ]
 - ArgsObject inlining was closing over a coderef in a way that didn't work
   on archaic versions of Perl. Resolve by calling the coderef outside the

1.011_006	2020-10-02

 [ Documentation ]
 - Include JSONCapable type example.

 [ Test Suite ]
 - Improved test coverage for Type::Library.
 - Improved test coverage for Type::Params.
 - Improved test coverage for Type::Registry.
 - Improved test coverage for Type::Tiny::Union.
 - Improved tests for Type::Utils::is().
 - Various tests for garbage collection using Devel::Refcount.

 [ Other ]
 - Added: Type::Params now exports an ArgsObject type constraint.
 - Test::TypeTiny's should_pass and should_fail exercise type constraints
   in even more ways in EXTENDED_TESTING mode.

1.011_005	2020-09-30

 - Added: Type::Library import now supports -extends and -utils flags.
 - Type::Library -base import flag now marks the caller package as loaded
   in %INC.

1.011_004	2020-09-30

 [ Bug Fixes ]
 - Make predeclared type constraints work better for Zydeco.

 [ Documentation ]
 - Document that ArrayLike and HashLike are now parameterizable.

 [ Test Suite ]
 - Make test suite work better with App::Yath.

1.011_003	2020-09-25

 [ Bug Fixes ]
 - Old versions of Data::Dumper would sometimes die when dumping certain
   overloaded objects. Type::Tiny::_dd() now catches this in an eval {}.
 - Types::Standard would sometimes complain about very old versions of

 [ Other ]
 - ArrayLike and HashLike are now parameterizable, though the
   implementation for the parameterized version is in pure Perl, not XS.
 - Type::Tiny::Enum better caches regexps.
 - Updated: ArrayLike, HashLike, CodeLike, and StringLike type constraints
   can use XS if Type::Tiny::XS 0.022 is installed.

1.011_002	2020-09-22

 - Added: Type::Utils now exports an `is` function but it needs to be
   requested explicitly.

1.011_001	2020-09-21

 [ Documentation ]
 - Update the NEWS file.

 [ Other ]
 - Added: Add new list processing functions to Type::Tiny.

1.011_000	2020-09-15

 [ Documentation ]
 - Describe deficiencies of is_* functions for parameterized types.
   Fixes RT#132918.

 [ Other ]
 - Type::Tiny::Enum now generates faster regexps to validate enums. (Code
   stolen from Regexp::Trie.)
   2020-09-07 12:21:03 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
p5-Type-Tiny: update to 1.010006.

1.010006	2020-09-04

 [ Bug Fixes ]
 - Eliminate recusion warnings when Type::Parser needs to parse complex
   Fixes RT#121957.
   Diab Jerius++

 [ Other ]
 - Better handling of coercions for pre-declared types in Type::Library.
   The type objects created before the type was properly defined will now
   lazily attempt to find coercions from the properly defined type once it
   becomes available.

1.010005	2020-08-26

 - Improvements to $AvoidCallbacks support for
   Type::Tiny::{Class,Role,Duck,Enum,Union,Intersection}, and LaxNum, Ref,
   RegexpRef, FileHandle, Object, Overload, and Tied types from

1.010004	2020-08-18

 [ Bug Fixes ]
 - Fix XSifying Enum[] where the strings contain certain non-word
   Andrew Ruder++
 - Type::Params compile_named using both the head and named_to_list options
   would cause compilation error.
   Fixes RT#132419.
   Hauke D++
   Sandor Patocs++
 - Workaround RT#121957 by avoiding attempting to XSify Enum type
   constraints with more than 50 possible strings.
   Fixes RT#121957.
   Diab Jerius++

 [ Documentation ]
 - Link to HTTPS version of Type::Tiny web page.

1.010003	2020-08-08	The Crazy 88

 [ Bug Fixes ]
 - ClassName type constraint should treat empty @ISA as if no @ISA were
   defined, like Type::Tiny::XS.
   Fixes RT#132583.
   Szymon NieznaƄski++
 - Fix for Type::Tiny->can called as a class method.
   Meredith Howard++
 - Fix predeclared types in Type::Library.
   Meredith Howard++

 [ Documentation ]
 - Document some edge cases for Types::Standard Int.
   2020-08-31 20:13:29 by Thomas Klausner | Files touched by this commit (3631)
Log message:
*: bump PKGREVISION for perl-5.32.