Skip to content

Releases: bodinsamuel/altheia

v5.0.15

08 Aug 09:42
Compare
Choose a tag to compare

5.0.15 (2022-08-08)

Bug Fixes

v5.0.14

26 Jul 13:01
Compare
Choose a tag to compare

5.0.14 (2022-07-26)

Bug Fixes

v5.0.13

17 Jan 09:48
Compare
Choose a tag to compare

5.0.13 (2022-01-17)

Bug Fixes

v5.0.12

02 Sep 21:21
Compare
Choose a tag to compare

5.0.12 (2021-09-02)

Bug Fixes

v5.0.11

30 Apr 11:56
Compare
Choose a tag to compare
v5.0.11

v5.0.1

26 Dec 22:23
Compare
Choose a tag to compare
vv5.0.1

v3.0.0

01 Aug 11:14
Compare
Choose a tag to compare

Features

Updates

  • Object.schema({ schema, returnErrors }) signature is now Object.schema(schema, { returnErrors }) (old syntax is still accepted)

Breaking Changes

  • All tests (and .custom()) must return either a boolean or a valid object { isValid, error }.
    This allow returning custom error and argument to change the error message and be more strict about what is a succesful test.
    If your custom() call is returning something else (string, number ...) an error will be thrown.

v2.1.0

15 Jun 09:23
Compare
Choose a tag to compare

v2.0.1

15 Jun 09:14
Compare
Choose a tag to compare
  • String: add noEmpty()

v2.0.0

15 Jun 09:13
Compare
Choose a tag to compare
  • Add Internet plugin to default payload
  • Number: add in()
  • Number: add not()
  • Number: add cast()