Releases: rsuite/validation
Releases · rsuite/validation
1.5.0 (Nov 20, 2020)
New rules
startsWith:valueandendsWith:valuerules forstring.
1.4.0 (Nov 12, 2020)
New rules
gt:other,gte:other,lt:other,lte:otherrules 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
maxrule working wrongly onnumber. - Fix missing
{field}placeholder innotInrule.
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:patternforstring,numberafter:date,afterOrEqual:date,before:dateandbeforeOrEqual:datefordate