Skip to content

Releases: typeofweb-org/schema

v0.7.1

22 Mar 10:24
e851ed9
Compare
Choose a tag to compare

0.7.1 (2021-03-22)

Bug Fixes

  • Skip non-existent optional fields in objects (#54) (e156ad0)

Chores

  • Add test case for parsing issue. Fixes #49 (8d15def)

v0.7.0

22 Mar 09:25
1d7489a
Compare
Choose a tag to compare

0.7.0 (2021-03-22)

⚠ BREAKING CHANGES

  • All validators are now functions – i.e. object({}) is now object({})()

Features

Read more: https://schema.typeofweb.com/docs/modifiers/refinements


v0.6.1

05 Feb 22:14
17a8165
Compare
Choose a tag to compare

0.6.1 (2021-02-05)

Docs


v0.6.1-2

01 Mar 09:52
17a8165
Compare
Choose a tag to compare
v0.6.1-2 Pre-release
Pre-release

v0.6.1-1...v0.6.1-2

v0.6.1-1

01 Mar 09:31
17a8165
Compare
Choose a tag to compare
v0.6.1-1 Pre-release
Pre-release

v0.6.1-0

26 Feb 17:20
17a8165
Compare
Choose a tag to compare
v0.6.1-0 Pre-release
Pre-release

v0.6.0

25 Jan 21:49
3b4fa77
Compare
Choose a tag to compare

0.6.0 (2021-01-25)

⚠ BREAKING CHANGES

There are no breaking changes in the user-facing APIs. However, internal structures used by the library have vastly changed and have been reorganized. As a result, schemas are no longer easily serialised to JSON and they no longer have [TYPEOFWEB_SCHEMA]: true field.

Performance

🏎 The library is now 10% smaller and 56% faster compared to version 0.5.0.

Screenshot 2021-01-25 at 22 39 13

Refactoring

Bug Fixes

Features

  • Add allowUnknownKeys modifiers

Docs

Chores

  • Small updates to website and types (#41) (402d0a0)

v0.5.0

19 Jan 18:55
389560e
Compare
Choose a tag to compare

0.5.0 (2021-01-19)

⚠ BREAKING CHANGES

  • Some of the exports were renamed. In particular, VALIDATORS is now AllValidators and ValidatorToType is now SimpleValidatorToType.

Features


v0.4.4

17 Jan 14:59
9489582
Compare
Choose a tag to compare

0.4.4 (2021-01-17)

Bug Fixes

  • performance: Analyse and fix performance deopt in node.js (#27) (c60a2a3)

v0.4.3

16 Jan 21:36
a9dc2b8
Compare
Choose a tag to compare

0.4.3 (2021-01-16)