Revision history for Data-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.