forked from tobyink/p5-type-tiny
-
Notifications
You must be signed in to change notification settings - Fork 0
/
NEWS
46 lines (34 loc) · 1.72 KB
/
NEWS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
=======================================================================
This file contains a high-level summary of changes between recent
stable releases of Type-Tiny. For a more detailed list, including
changes in development releases, see the "Changes" file instead.
=======================================================================
2023-04-05 Type-Tiny version 2.004000 released!
- `Type::Tiny` objects have a `exception_class` attribute.
- Added `Type::Tiny::Bitfield`.
- `Types::TypeTiny` now provides a `BoolLike` type.
2023-01-01 Type-Tiny version 2.002000 released!
- `Type::Tiny` objects have a `definition_context` method.
- XS implementations for parameterized ArrayLike/HashLike types.
- Improvements to Type::Params's handling of named parameters.
2022-09-23 Type-Tiny version 2.000000 released!
- Improved API for `Type::Params`.
- New `Types::Common` module.
- `Type::Tie` which was a separate distribution, is now included.
- Dropped support for versions of Perl older than Perl 5.8.1.
- Uses `Exporter::Tiny 1.004` for lexical imports on Perl blead.
- `Type::Tiny` now has a `type_default` method.
- `Type::Tiny` now overloads the division (slash) operator.
- `%Error::TypeTiny::CarpInternal` is now an alias for `%Carp::CarpInternal`.
- Type::Tiny::{Class,Duck,Enum,Role} are now exporters.
- Enum types now export constants for each value.
- `Types::Common::String` now provides a `DelimitedStr` type.
Test Suite Statistics:
- Type-Tiny-0.001:
> Files=31, Tests=657, 2 wallclock secs
- Type-Tiny-1.000000:
> Files=150, Tests=8316, 14 wallclock secs
- Type-Tiny-1.016000:
> Files=285, Tests=14294, 26 wallclock secs
- Type-Tiny-2.000000:
> Files=335, Tests=14890, 35 wallclock secs