pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/p5-Type-Tiny p5-Type-Tiny: update to 1.012001.
details: https://anonhg.NetBSD.org/pkgsrc/rev/bd45be708dc8
branches: trunk
changeset: 451422:bd45be708dc8
user: wiz <wiz%pkgsrc.org@localhost>
date: Mon Apr 26 15:17:23 2021 +0000
description:
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
Codecov.)
- 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
above.
- 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
dependencies.
[ Other ]
- Remove unnecessary BEGIN block in Eval::TypeTiny.
1.011_010 2020-10-16
- Simple useful coercions from Str for Type::Tiny::Enum (and
Types::Standard::Enum).
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
closure.
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
Scalar::Util.
[ 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.
<https://rt.cpan.org/Public/Bug/Display.html?id=132918>
[ Other ]
- Type::Tiny::Enum now generates faster regexps to validate enums. (Code
stolen from Regexp::Trie.)
diffstat:
devel/p5-Type-Tiny/Makefile | 4 ++--
devel/p5-Type-Tiny/distinfo | 10 +++++-----
2 files changed, 7 insertions(+), 7 deletions(-)
diffs (27 lines):
diff -r afb4ff504810 -r bd45be708dc8 devel/p5-Type-Tiny/Makefile
--- a/devel/p5-Type-Tiny/Makefile Mon Apr 26 15:14:56 2021 +0000
+++ b/devel/p5-Type-Tiny/Makefile Mon Apr 26 15:17:23 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.20 2020/09/07 10:21:03 wiz Exp $
+# $NetBSD: Makefile,v 1.21 2021/04/26 15:17:23 wiz Exp $
-DISTNAME= Type-Tiny-1.010006
+DISTNAME= Type-Tiny-1.012001
PKGNAME= p5-${DISTNAME}
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../../authors/id/T/TO/TOBYINK/}
diff -r afb4ff504810 -r bd45be708dc8 devel/p5-Type-Tiny/distinfo
--- a/devel/p5-Type-Tiny/distinfo Mon Apr 26 15:14:56 2021 +0000
+++ b/devel/p5-Type-Tiny/distinfo Mon Apr 26 15:17:23 2021 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.14 2020/09/07 10:21:03 wiz Exp $
+$NetBSD: distinfo,v 1.15 2021/04/26 15:17:23 wiz Exp $
-SHA1 (Type-Tiny-1.010006.tar.gz) = d07b40be5c638c977a54a13b0532f5bb99492659
-RMD160 (Type-Tiny-1.010006.tar.gz) = f7802283e69defda7add03d6aaedfcb8153d2b99
-SHA512 (Type-Tiny-1.010006.tar.gz) = fcc8d3b16ee91d4c30584049d8e4709f2a9571e0f1c9fe1d9f2c46c1fda2dd4f3d2f8ddce0fb9de52ed1bd9341cc62f4a6d514c1d40e68b641a8f56910ef2d3b
-Size (Type-Tiny-1.010006.tar.gz) = 440091 bytes
+SHA1 (Type-Tiny-1.012001.tar.gz) = 4dc82eac40859433e85f268f51e10ca4c902959a
+RMD160 (Type-Tiny-1.012001.tar.gz) = 65b420d097e24d3804937ed8e8136f06100ad7cc
+SHA512 (Type-Tiny-1.012001.tar.gz) = 1d8df1316186f943a9a10623425d8dc7e3d882dfba08c4858fd9f1a5ca8870a37ee29f0b01b458d2ea57a2f1af45ee2762f890317abb56ad6034d295fde2d2f5
+Size (Type-Tiny-1.012001.tar.gz) = 463217 bytes
Home |
Main Index |
Thread Index |
Old Index