2024-11-05 10:09:18 +08:00

87 lines
1.6 KiB
Markdown

# History
----
## 4.0.0 / 2021-08-11
- full ts support
- support return transformed value when pass validation(promise and callback): https://github.com/yiminghe/async-validator/pull/277
## 3.5.0 / 2020-11-12
- https://github.com/yiminghe/async-validator/pull/256/files
## 3.4.0 / 2020-08-05
- https://github.com/yiminghe/async-validator/pull/247
- https://github.com/yiminghe/async-validator/pull/246
- https://github.com/yiminghe/async-validator/pull/245
- https://github.com/yiminghe/async-validator/pull/240
## 3.3.0 / 2020-05-07
- expose validators: https://github.com/yiminghe/async-validator/pull/232
## 3.2.0 / 2019-10-16
- support `any` type: https://github.com/yiminghe/async-validator/pull/190
## 3.1.0 / 2019-09-09
- add d.ts
## 3.0.0 / 2019-08-07
- Enum validates `false` value: https://github.com/yiminghe/async-validator/pull/164
## 2.0.0 / 2019-07-26
- use @pika/pack
## 1.11.3 / 2019-06-28
- support suppressWarning option when validate
## 1.11.1 / 2019-04-22
- support message as function
## 1.11.0 / 2019-03-22
- support promise usage(asyncValidator)
## 1.10.1 / 2018-12-18
- support override warning
## 1.10.0 / 2018-10-17
- revert promise
## 1.9.0 / 2018-10-10
- .validate returns promise
## 1.8.0 / 2017-08-16
- validator support return promise.
## 1.7.0 / 2017-06/09
- add es
- support string patter
## 1.6.0 / 2016-03-30
- support defaultField
## 1.5.0 / 2016-02-02
- support deep merge with default messages
- support rule message of any type(exp: jsx)
## 1.4.0 / 2015-01-12
- fix first option.
- add firstFields option.
- see tests/validator.spec.js