2.2.2 (2024-04-12)
2.2.1 (2024-04-12)
2.2.0 (2024-04-11)
- add support for
equalTo
andproxy
(#78) (d9f0e55) - add support for
label
method (#77) (9ff16c3) - Schema: support nested object check with
checkForField
andcheckForFieldAsync
(#76) (e315aec) - StringType: add alllowMailto option to isURL rule (#72) (349dc42)
2.1.3 (2023-05-06)
2.1.2 (2023-03-10)
2.1.1 (2023-03-08)
- chore: change the compilation target of TypeScript from esnext to es2019
2.1.0 (2023-03-02)
2.0.4 (2023-03-01)
2.0.3 (2022-06-30)
- build(deps): add @babel/runtime #37
- fix ArrayType.of type error #35
- feat(locales): add default error messages for all checks (#27) (03e21d7)
- refactor: refactor the project through typescript.
- feat(MixedType): Added support for
when
method on all types - feat(MixedType): Replace Type with MixedType.
- feat(ObjectType): Support nested objects in the
shape
method of ObjectType.
- Update the typescript definition of
addRule
- Added support for
isRequiredOrEmpty
in StringType and ArrayType
- Adding the typescript types declaration in to package
- Fixed an issue where
isOneOf
was not valid inStringType
(#18)
- Added support for ESM
Aug 30, 2019
- Bugfix: Fix an issue where addRule is not called
Aug 20, 2019
- Feature: Support for async check. (#14)