Skip to content
Compare
Choose a tag to compare
@johannes-lindgren johannes-lindgren released this 04 Nov 21:41
· 9 commits to main since this release
5e521cd

What's Changed

Extensive changes with breaking changes; the main ones are:

  • Introduced parsers
  • Changed terminology: "validators" are now called "guards" to not conflict with parsers (which also are validdators)
  • Added a suffix Guard to all higher order guards; for example, objectGuard, arrayGuard. This is to not conflict with parsers. Non-higher order guards are not renamed; for example isString.
  • Documentation website (much improved docs)

To migrate to from v0.0.0-beta.4:

  • change union to unionGuard
  • add the suffix for all higher order guards.

Auto-generated changelog:

Full Changelog: v0.0.0-beta.4...v0.0.0-beta.5