File: NEWS

package info (click to toggle)
libtype-tiny-perl 2.010000-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,996 kB
  • sloc: perl: 15,748; makefile: 2; sh: 1
file content (72 lines) | stat: -rw-r--r-- 2,743 bytes parent folder | download
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
=======================================================================
   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.
=======================================================================


NOTICE: Type::Tiny 3 is expected to be released in the second half of 2026.
It is likely to introduce coercions to some common type constraints such as
HashRef, ArrayRef, and Str. If your code specifically relies on these types
not having coercions, you may need to change your code. (The `no_coercions`
method can give you a copy of any type minus all coercions.)


2025-12-30 Type-Tiny version 2.010000 released!

- Type::Tiny now has a `check_coerce` method.
- Type::Params named argument objects now provide `__TO_*__` methods.

2025-03-31 Type-Tiny version 2.008000 released!

 - Better sanity checking.
 - `Type::Params` now supports `returns` for return types.
 - `Type::Params` has some quality of life improvements.
 - `Types::Standard::HashRef` and friends can export shortcuts.
 - Update examples in pod to use more features of modern Perl.

2024-09-29 Type-Tiny version 2.006000 released!

 - Improvements to `tie( VAR, TYPE)`.
 - Fixed compatibility with Perl 5.41.x.

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