Releases: rsuite/validation
Releases · rsuite/validation
1.5.0 (Nov 20, 2020)
New rules
startsWith:value
andendsWith:value
rules forstring
.
1.4.0 (Nov 12, 2020)
New rules
gt:other
,gte:other
,lt:other
,lte:other
rules for validating value against another field.
Bugfixes
- Correct return type of
Validator.check()
method.
1.3.2 (Nov 11, 2020)
Improvements
- Allow escaping the period in filed name with a backslash to prevent being interpreted as "dot" syntax.
1.3.1 (Nov 9, 2020)
Bugfixes
- Fix
max
rule working wrongly onnumber
. - Fix missing
{field}
placeholder innotIn
rule.
1.3.0 (Nov 7, 2020)
Summary
This release is a supportive update, which mainly focus on improving @rsuite/schema-typed
API coverage. The API is now 100% covered, which means you can use @rsuite/validation
to cover any schema-typed
validation as you want.
New rules
regex:pattern
forstring
,number
after:date
,afterOrEqual:date
,before:date
andbeforeOrEqual:date
fordate