Debian Codegraph @

Changes

raw
1 Revision history for Data-Checks
2
3 0.11 2025-11-26
4 [CHANGES]
5 * Added `Can()` constraint
6 * Use Sublike::Extended v0.29 in SYNOPSIS and unit tests to simplify
7 the examples
8 * Fixed some L<> links to internal functions (thanks ilmari)
9
10 0.10 2024-08-19
11 [CHANGES]
12 * Optional flags arguments to `make_assertop`
13 * Neater use in optrees by passing OPf_WANT_VOID to `make_assertop`
14 * Optimise `All()` combinations of multiple number bounds checks
15
16 0.09 2024-07-31
17 [CHANGES]
18 * Deprecate the use of plain CODE references as constraint checkers
19 * Added `->check` method to constraint checker class, allowing direct
20 use from pureperl code
21 * Better formatting of debug inspection strings
22 * Automatically generate stringified constraint names for assert
23 message if one is not supplied
24
25 0.08 2024-07-16
26 [CHANGES]
27 * Added `StrMatch()`
28 * More efficient implementation of `Any()` and `All()` with 1
29 argument or in nested trees
30 * Support the `|` infix operator as a shorthand for `Any()`
31
32 0.07 2024-07-12
33 [CHANGES]
34 * Added `ArrayRef` and `HashRef` constraints
35 * Added `Any` and `All` hyper-constraints
36 * More extensive unit testing of constraints by automatically
37 generating reject cases
38
39 0.06 2024-07-09
40 [CHANGES]
41 * Added `Callable` constraint
42 * Apply const folding where possible at compile-time so that
43 constraint expressions become runtime constants
44 * Added a SYNOPSIS example demonstrating use with
45 `Syntax::Operator::Is`
46
47 0.05 2024-07-01
48 [CHANGES]
49 * Added `NumEq`, `NumRange`, various single-ended numerical bounded
50 constraints
51 * Added `StrEq`
52
53 [BUGFIXES]
54 * Ensure that the benchmark tests are suitable version-guarded for
55 external `:Checked` attribute modules
56
57 0.04 2024-06-27
58 [CHANGES]
59 * Added `Isa()` and `Maybe()` parametric constraints
60 * Declare `Data::Checks::Builder` version 0.43 to fix earlier version
61 numbering error - no actual code change
62
63 0.03 2024-06-23
64 [CHANGES]
65 * Added a few basic constraints: `Defined`, `Str`, `Num`, `Object`
66 * Added some cross-module integration tests for
67 `Signature::Attribute::Checked` and `Object::Pad::FieldAttr::Checked`
68 * Added SYNOPSIS documentation section giving examples of each
69
70 0.02 2024-06-21
71 [CHANGES]
72 * Added `free_checkdata()` and `gen_assertmess()` API functions
73 * Better management of SV reference counts
74 * `struct DataChecks_Checker` is now an opaque structure
75
76 0.01 2024-06-19
77 First version, released on an unsuspecting world.