Releases: express-validator/express-validator
Releases · express-validator/express-validator
v6.8.0
- #952 - Upgraded validator to
v13.5.x
v6.7.0
- #581, #899 - Add
toLowerCase()
and toUpperCase()
sanitizers
- #919 - Make
customSanitizer
await on async functions
- #856, #929, #930 - Add
default
sanitizer
- #924, #925 - Add
replace
sanitizer
v6.6.1
- #907 - upgrade lodash due to security concerns
v6.6.0
- #886 - Update validator to v13.1
- #887 - fix bug in Getting Started docs example
- #888 - Add ability to dry-run validations with
check().run(req, { dryRun: boolean })
. See docs for more information.
v6.5.0
- #862, #874 - upgrade validator to v13.0
- #875, #877 - don't modify
req
object from an invalid validation chain passed to oneOf
v6.4.1
- #544 - Create field paths considering
.
to be a special character
v6.4.0
- #781 - Warn on use of sanitization-only middlewares
- #792 - Upgrade validator to v12.1
- #826 - Compile TS code to ES2017. This should not be a breaking change, as Node 8 should fully support the output code.
v6.3.1
- #813 - don't use
Symbol
internally to avoid breaking express-validator reuse
v6.3.0
- #476 - Bring
notEmpty
validator back
- #772, #776 - Add missing
pt-BR
mobile phone locale
- #794, #795 - Make all properties available in all union branches of
ValidationError
v6.2.0
- #500, #638, #751 - Bail validation when there's an error
- #761 - Add
min
/max
options to isArray()
validator
- #693, #742, #765 - Fix typing for
optional
when using checkSchema
- #762 - Don't log a validation error when using
.if()
with another validation chain
- #745 - Upgrade Lodash to fix vulnerability and validator to v11.1
- #748 - Correct typo in a validator name in the docs