Skip to content

1.7.1

Choose a tag to compare

@tessoir tessoir released this 18 Dec 06:44
· 613 commits to main since this release

Full Changelog: 1.6.1...1.7.1

Better ValidationResult API

Features:

  • Concatenate results & add new violations to the existing result with plus operator function
  • Transform and throw all violations with throwOnInvalid
  • Better ValidationResult creation with new constructors

Breaking changes:

  • Replace old invalid and valid functions with secondary constructors
  • Remove Type enum and corresponding property