Skip to content

Releases: grantila/suretype

v3.0.0

07 Feb 22:19
Compare
Choose a tag to compare

3.0.0 (2022-02-07)

Features

BREAKING CHANGES

  • core: Requires ESM and Node >=14.13.1

v2.4.1

15 May 19:47
bc72bd1
Compare
Choose a tag to compare

2.4.1 (2021-05-15)

Bug Fixes

  • core: export EnsureFunction and SimpleValidateFunction (bc72bd1)

v2.4.0

04 May 20:23
Compare
Choose a tag to compare

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

13 Apr 20:13
8ff0e77
Compare
Choose a tag to compare

2.3.0 (2021-04-13)

Features

  • core: added retype() to change the type of a validator (8ff0e77)

v2.2.2

13 Apr 19:22
1b86a57
Compare
Choose a tag to compare

2.2.2 (2021-04-13)

Bug Fixes

  • types: fixed type deduction of objects with additional() (1b86a57)

v2.2.1

12 Apr 18:16
b3537f4
Compare
Choose a tag to compare

2.2.1 (2021-04-12)

Bug Fixes

  • core: export all validator classes (b3537f4)

v2.2.0

07 Apr 21:40
04cde8a
Compare
Choose a tag to compare

2.2.0 (2021-04-07)

Features

  • core: added missing required() on non-value validators (04cde8a)

v2.1.1

07 Apr 19:50
Compare
Choose a tag to compare

2.1.1 (2021-04-07)

Bug Fixes

  • benchmarks: made benchmarks just a tad more complex (b31beaf)

v2.1.0

03 Apr 11:01
c53dc91
Compare
Choose a tag to compare

2.1.0 (2021-04-03)

Features

  • core: added v.unknown() type (c53dc91), closes #4

v2.0.0

03 Apr 10:22
Compare
Choose a tag to compare

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}