Skip to content

Releases: fiverr/passable

6.3.1

21 Feb 22:11
a98ab37
Compare
Choose a tag to compare

Added

  • [Patch] Fix documentation typo (#107)
  • [Patch] Add type hints to passable (#106 + #107)

6.3.0

21 Feb 22:12
Compare
Choose a tag to compare

Added

  • [Minor] access intermediate validation result via draft (#103)
  • [Patch] Publish next tag separately from feature branch (#104)
  • [Minor] add hasErrors and hasWarnings functions (#105)

6.2.0

21 Feb 22:12
Compare
Choose a tag to compare

Added

  • [Minor] mark field as async

6.1.3

21 Feb 22:12
Compare
Choose a tag to compare

[6.1.3] - 2018-12-27

Fixed

  • [PATCH] run done callback in sync mode

6.1.0

21 Feb 22:13
Compare
Choose a tag to compare

Added

  • [Minor] Async test support + done callback chaining (#100)

6.0.0

21 Feb 22:16
b7dbb94
Compare
Choose a tag to compare

Added

  • [Major] Extract Enforce as standalone API
  • [Patch] Create Specific Object
  • [Patch] Auto deploy next branch
  • [Minor] Add isNumeric check
  • [Minor] Initialize proxy with all keys. Add support for proxy-polyfill
  • [Minor] Negative rules support
  • [Patch] Use proxy polyfill when proxy is not supported
  • [Minor] Add isTruthy and isFalsy enforce rules

Changed

  • [Major] specific field filter: Introduce only and not
  • [Major] Refactor rules to follow convention (Size compares against number only)
  • [Major] Pass - move to be the last argument
  • [Patch] Rename pass to test
  • [Major] Move specific to last argument, make optional

Removed

  • [Major] Make validate leaner by removing message arg

Fixed

  • [Patch] Type-checking errors ignores

5.10.3

21 Feb 22:17
18f31d0
Compare
Choose a tag to compare

Added

  • [Minor] Validate function
  • [Patch] Commonjs require support for enforce
  • [Minor] Add default expect=true to rules
  • [Minor] export enforce as a standalone module
  • [Minor] Allow chaining rules directly under enforce