Skip to content

Releases: imbrn/v8n

v1.5.1

01 Jul 02:21
60afb53
Compare
Choose a tag to compare

Fixed

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

v1.5.0

28 Jun 12:32
dc70f81
Compare
Choose a tag to compare

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

17 Feb 16:05
822fb85
Compare
Choose a tag to compare

Added

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

Fixed

v1.3.3

15 Sep 11:42
b7642ce
Compare
Choose a tag to compare

Fixed

  • Bug with nested async rules (#161)

v1.3.2

20 May 22:20
a1861c3
Compare
Choose a tag to compare

Fixed

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

v1.3.1

20 May 21:36
daccafb
Compare
Choose a tag to compare

Fixed

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

v1.3.0

19 May 12:43
b9943d4
Compare
Choose a tag to compare

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

03 Oct 13:52
Compare
Choose a tag to compare

Fixed

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

v1.2.2

29 Aug 14:24
a84cd65
Compare
Choose a tag to compare

Fixed

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

v1.2.1

29 Aug 14:24
286b97b
Compare
Choose a tag to compare

Changed

  • Rename ValidationException to ValidationError

Fixed

  • Wrong example in the README file