Releases: grantila/suretype
Releases · grantila/suretype
v3.0.0
3.0.0 (2022-02-07)
Features
BREAKING CHANGES
- core: Requires ESM and Node >=14.13.1
v2.4.1
2.4.1 (2021-05-15)
Bug Fixes
- core: export EnsureFunction and SimpleValidateFunction (bc72bd1)
v2.4.0
2.4.0 (2021-05-04)
Features
- json-schema: allow unnamed validators to be exported to JSON Schema (70b3588)
- raw: made raw validators first-class citizen (7a9653e)
v2.3.0
2.3.0 (2021-04-13)
Features
- core: added retype() to change the type of a validator (8ff0e77)
v2.2.2
2.2.2 (2021-04-13)
Bug Fixes
- types: fixed type deduction of objects with additional() (1b86a57)
v2.2.1
2.2.1 (2021-04-12)
Bug Fixes
- core: export all validator classes (b3537f4)
v2.2.0
2.2.0 (2021-04-07)
Features
- core: added missing required() on non-value validators (04cde8a)
v2.1.1
2.1.1 (2021-04-07)
Bug Fixes
- benchmarks: made benchmarks just a tad more complex (b31beaf)
v2.1.0
2.1.0 (2021-04-03)
Features
- core: added v.unknown() type (c53dc91), closes #4
v2.0.0
2.0.0 (2021-04-03)
Features
- core: add explanation to message/stack in Node (e9a17b1)
- recursion: Added support for recursive types (dc8567d)
BREAKING CHANGES
- recursion: extractSingleJsonSchema() now returns an object containing {schema}