File: Changes

package info (click to toggle)
libdata-checks-perl 0.10-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 320 kB
  • sloc: ansic: 1,095; perl: 805; pascal: 12; sh: 6; makefile: 3
file content (70 lines) | stat: -rw-r--r-- 2,642 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
Revision history for Data-Checks

0.10    2024-08-19
        [CHANGES]
         * Optional flags arguments to `make_assertop`
         * Neater use in optrees by passing OPf_WANT_VOID to `make_assertop`
         * Optimise `All()` combinations of multiple number bounds checks

0.09    2024-07-31
        [CHANGES]
         * Deprecate the use of plain CODE references as constraint checkers
         * Added `->check` method to constraint checker class, allowing direct
           use from pureperl code
         * Better formatting of debug inspection strings
         * Automatically generate stringified constraint names for assert
           message if one is not supplied

0.08    2024-07-16
        [CHANGES]
         * Added `StrMatch()`
         * More efficient implementation of `Any()` and `All()` with 1
           argument or in nested trees
         * Support the `|` infix operator as a shorthand for `Any()`

0.07    2024-07-12
        [CHANGES]
         * Added `ArrayRef` and `HashRef` constraints
         * Added `Any` and `All` hyper-constraints
         * More extensive unit testing of constraints by automatically
           generating reject cases

0.06    2024-07-09
        [CHANGES]
         * Added `Callable` constraint
         * Apply const folding where possible at compile-time so that
           constraint expressions become runtime constants
         * Added a SYNOPSIS example demonstrating use with
           `Syntax::Operator::Is`

0.05    2024-07-01
        [CHANGES]
         * Added `NumEq`, `NumRange`, various single-ended numerical bounded
           constraints
         * Added `StrEq`

        [BUGFIXES]
         * Ensure that the benchmark tests are suitable version-guarded for
           external `:Checked` attribute modules

0.04    2024-06-27
        [CHANGES]
         * Added `Isa()` and `Maybe()` parametric constraints
         * Declare `Data::Checks::Builder` version 0.43 to fix earlier version
           numbering error - no actual code change

0.03    2024-06-23
        [CHANGES]
         * Added a few basic constraints: `Defined`, `Str`, `Num`, `Object`
         * Added some cross-module integration tests for
           `Signature::Attribute::Checked` and `Object::Pad::FieldAttr::Checked`
         * Added SYNOPSIS documentation section giving examples of each

0.02    2024-06-21
        [CHANGES]
         * Added `free_checkdata()` and `gen_assertmess()` API functions
         * Better management of SV reference counts
         * `struct DataChecks_Checker` is now an opaque structure

0.01    2024-06-19
        First version, released on an unsuspecting world.