All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
5.0.3 (2021-08-31)
- 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)
-
- 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)
- when traversing the schema and the returned value is null, the result will contain 'invalid-type' message
3.1.0 (2021-07-18)
- add latest version of typescript (2e8a339)
3.0.5 (2021-04-05)
- narrow down types in case of {} (5cf59cf)
3.0.4 (2021-04-05)
- 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)
- types: fix infered schema.embed (ade04e0)
3.0.2 (2021-04-02)
- types: fix infered schema.embed (ade04e0)
3.0.1 (2021-03-28)
3.0.0 (2021-03-26)
- helper better type support & insure primitives is required (ab37494)
3.0.0-alpha.0 (2021-03-26)
- infers data type automatically for both JS & TS
- implement better type inference | less work for the user (a827591)
- fix validator circular refernce (f922048)
2.1.0-alpha.3 (2021-03-19)
2.1.0-alpha.2 (2021-03-18)
- expose validatorTypes with index.d.ts (796990d)
2.1.0-alpha.1 (2021-03-11)
2.1.0-alpha.0 (2021-03-10)
- expose correct path (2fa69ae)
2.0.1-alpha.3 (2021-03-10)
- expose parentkey (d6d4302)
2.0.1-alpha.2 (2021-03-10)
- prettier not supporting export * as (0bc2a29)
- recordof traverse using index instead of key (9606738)
2.0.1-alpha.1 (2021-03-06)
- better type inference (a233541)
2.0.1-alpha.0 (2021-03-06)
- infer errors types (6ea7d1f)
2.0.0 (2021-03-04)
-
renamed recordOf -> recordof
-
change helpers names to match docs (65a1f29)