Skip to content

Latest commit

 

History

History
166 lines (79 loc) · 7.23 KB

CHANGELOG.md

File metadata and controls

166 lines (79 loc) · 7.23 KB

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

5.0.3 (2021-08-31)

Bug Fixes

  • remove unused import (8c1247a)
  • report unknown keys found in data on validation (#2) (08a4e5c)
  • test and fix unknown keys (aff85e1)

5.0.2 (2021-08-28)

5.0.1 (2021-08-28)

5.0.0 (2021-08-23)

⚠ BREAKING CHANGES

    • replace "traverse" with "source" so you can parse the schema however you want, also to add "atomic" validations
  • remove traverse, and replace it with direct validation (513c682)

4.0.0 (2021-08-21)

⚠ BREAKING CHANGES

  • when traversing the schema and the returned value is null, the result will contain 'invalid-type' message

Features

  • add constant and union validators (7859392)
  • include the schema source on the schema api (14c1ecf)

3.1.0 (2021-07-18)

Features

  • add latest version of typescript (2e8a339)

3.0.5 (2021-04-05)

Bug Fixes

  • narrow down types in case of {} (5cf59cf)

3.0.4 (2021-04-05)

Bug Fixes

  • fix shape validators recursion even when optional (994cef6)
  • move data checking outside the loop (2d40ec1)
  • optimize types for strict traverse (4fd3d26)
  • throw TypeError on produce invalid-data (0462755)

3.0.3 (2021-04-02)

Bug Fixes

  • types: fix infered schema.embed (ade04e0)

3.0.2 (2021-04-02)

Bug Fixes

  • types: fix infered schema.embed (ade04e0)

3.0.1 (2021-03-28)

3.0.0 (2021-03-26)

Bug Fixes

  • helper better type support & insure primitives is required (ab37494)

3.0.0-alpha.0 (2021-03-26)

⚠ BREAKING CHANGES

  • infers data type automatically for both JS & TS

Features

  • implement better type inference | less work for the user (a827591)

Bug Fixes

  • fix validator circular refernce (f922048)

2.1.0-alpha.3 (2021-03-19)

2.1.0-alpha.2 (2021-03-18)

Bug Fixes

  • expose validatorTypes with index.d.ts (796990d)

2.1.0-alpha.1 (2021-03-11)

Bug Fixes

  • expose path as array of strings (f304909)
  • remove repeated parent path (ecd7efa)

2.1.0-alpha.0 (2021-03-10)

Features

2.0.1-alpha.3 (2021-03-10)

Bug Fixes

2.0.1-alpha.2 (2021-03-10)

Bug Fixes

  • prettier not supporting export * as (0bc2a29)
  • recordof traverse using index instead of key (9606738)

2.0.1-alpha.1 (2021-03-06)

Bug Fixes

2.0.1-alpha.0 (2021-03-06)

Bug Fixes

2.0.0 (2021-03-04)

⚠ BREAKING CHANGES

  • renamed recordOf -> recordof

  • change helpers names to match docs (65a1f29)

1.0.5 (2021-03-02)