Releases
7.0.0
ealush
released this
11 Jun 20:38
[7.0.0] - 2019-06-11
Changed
[Major] Lowercased library name when imported on global object.
[Major] Renamed validationErrors
and validationWarnings
output properties to errors
and warnings
.
[Patch] Guarantee that .done()
callbacks only run once.
Added
[Minor] .after()
callback that can run after a specific field finished execution.
[Minor] New size rules (lessThan
, greaterThan
, lessThanOrEquals
, greaterThanOrEquals
, numberEquals
, numberNotEquals
).
[Minor] New size rules (longerThan
, shorterThan
, longerThanOrEquals
, shorterThanOrEquals
, lengthEquals
, lengthNotEquals
).
[Minor] New content rules (equals
, notEquals
).
[Minor] Support returning promise from test callback for async tests.
[Minor] Add cancel callback.
Removed
[Major] Removed output properties: hasValidationErrors
, hasValidationWarnings
.
[Major] Removed compound rules (anyOf
, allOf
, noneOf
).
[Major] Removed general size rules (smallerThan
, largerThan
, smallerThanOrEquals
, largerThanOrEquals
, sizeEquals
, sizeNotEquals
).
You can’t perform that action at this time.