Releases: express-validator/express-validator
Releases · express-validator/express-validator
v2.20.0
- #206 - Define location to validate when using schema validation (via
in
property)
- Update lodash to
4.6.x
- Update validator to
5.1.x
v2.19.2
- #203, #212 - Fix
.withMessage()
so that it works with custom async validators
- #209 - Fix wrong validation name in schema examples
- Fix Promises usage in Node.js v0.10
v2.18.0
- #120 - Support for
checkFalsy
argument in .optional()
method
- #177 - Add
req.sanitizerHeaders()
- #182 - Document how to use arguments in validators/sanitizers
- Add support for Node.js v4
- Update validator to
4.2.x
v2.17.1
- #161 - Clarify usage of
mappedErrors
- #165, #166 - Standardize
errorFormatter
param name usage
v2.17.0
- Fix for async validation warning typo
v2.16.0
- #164 - Support asynchronous validation
- Change
failMsg
to errorMessage
in schema validation
v2.15.1
- #160 - Fix bug in
.withMessage()
being applied to wrong validation error
v2.15.0
- #159 - Support validation message validation via new
.withMessage()
method