V8n Versions Save

☑️ JavaScript fluent validation library

v1.5.1

1 year ago

Fixed

  • Inefficient regular expression complexity of lowercase() and uppercase() rules

v1.5.0

1 year ago

Added

  • Support async validation within the optional rule (#206)
  • New modifier strict for schema validation (#191, #179)

Fixed

  • Correct incorrect return type of check validation strategy (boolean -> void)
  • Bug with Proxy check where it always returned true

v1.4.0

2 years ago

Added

  • Untranspiled build v8n.esm.browser.js for modern browsers (#165)
  • TypeScript support through bundled type definitions (#28)

Fixed

  • Bug with schema validation (#166) - thanks @havelaer
  • Bug with environments that cannot use the Proxy object (#45) - thanks @akarel and @NoemiRozpara

v1.3.3

4 years ago

Fixed

  • Bug with nested async rules (#161)

v1.3.2

5 years ago

Fixed

  • Bug with optional rule that ignores the string rule when validating

v1.3.1

5 years ago

Fixed

  • Bug with optional rule that ignores validation when an empty string is passed (#149)

v1.3.0

5 years ago

Added

  • Rule instanceOf() to check inheritance of prototypes.
  • Rule numeric() to check for strings containing numbers

Changed

  • Rule optional now supports a flag to consider trimmed empty strings valid (considerTrimmedEmptyString) (#140)

v1.2.3

5 years ago

Fixed

  • Bug with schema rule when working with array-based modifiers (#127)

v1.2.2

5 years ago

Fixed

  • Bug with polyfill for integer rule
  • Bug with Infinity values in range-based rules

v1.2.1

5 years ago

Changed

  • Rename ValidationException to ValidationError

Fixed

  • Wrong example in the README file