Skip to content

Releases: jcoreio/typescript-validators

v1.0.2

12 Sep 13:51
Compare
Choose a tag to compare

1.0.2 (2020-09-12)

Bug Fixes

  • oneOf: support up to 32 type parameters (e1d3b49)

v1.0.1

16 Jul 19:58
Compare
Choose a tag to compare

1.0.1 (2020-07-16)

Bug Fixes

  • instanceOf: fix output type (94410f8)

v1.0.0

13 Jul 17:03
Compare
Choose a tag to compare

1.0.0 (2020-07-13)

Bug Fixes

  • eslint errors (0156877)
  • generate TS types from validators (048e89c)
  • more API tweaks and docs (5dd9ee0)
  • more fixes and smoke test (09b9bb8)
  • object property validation and more tests (26fc46c)
  • object type checking (89264d8)
  • records, test intersections and unions (efa6fe2)
  • refactor validation methods and constraints (3d55f2b)
  • remove unused API (0b665b8)
  • makeError: fix type error (0030557)
  • symbol: fix toString() and add tests (be40ce2)
  • rename union and intersection, remove odds and ends (3247ae1)
  • Type: remove __constraint (b1cbacd)

Features

  • add alias and ref for recursive types (8aa8730)
  • add instanceOf (c46600d)
  • add intersection, tuple, and union builders (5dbf90e)
  • export RuntimeTypeError and test that it's thrown (59588d8)
  • initial commit (ad2109f)
  • initial commit (c62c8c4)

BREAKING CHANGES

  • remove t.constrain (replaced by t.alias)