Skip to content

v1.2.0

Choose a tag to compare

@imbrn imbrn released this 31 Jul 17:19
· 164 commits to master since this release
7a3bc17

Added

  • Rule passesAnyOf() to perform branching validation.
  • Rule optional() for validation of optional values.

Changed

  • Rule number() now supports a flag to make it return false for infinite numbers (#76)

Fixed

  • testAsync() nesting causes for failed validation.

Deprecated

  • From v2.0.0: Rule number() will return false for infinite values by default