Closed greenkeeper[bot] closed 6 years ago
Update to this version instead 🚀
The new version differs by 8 commits.
8e3de68
4.1.0
f344801
Typescript: add .exists() to the validation chain
5c152dd
Merge pull request #393 from ctavan/error-formatter
45b3d81
Typescript: adds typings for validationResult .formatWith()
cfca9d2
docs: add info around .formatWith() of validationResult
5b14c6f
legacy: delegate errorFormatter to validationResult.formatWith()
1eaf36f
check/validationResult: add .formatWith()
fb316ff
docs: make explicit that Node.js 6 is required
See the full diff
Update to this version instead 🚀
The new version differs by 6 commits.
8c129eb
4.1.1
2107164
check: convert value to string just like v3
dddbe78
check: use any rejection cause as error message
15f1b57
legacy: restore support for non-string error messages
04a004e
legacy: don't set optional twice
21ef440
check: don't fail when .withMessage() is called without validators
See the full diff
Update to this version instead 🚀
The new version differs by 32 commits.
d79e33a
4.2.0
ce921ee
typescript: add validator v8.2.0 typings
ef3c222
npm: update validator to v8.2.0
7b4df85
Merge pull request #422 from tuliobraga/patch-1
a770c0b
Fix onlyFirstError attribute name
85c8953
Fix lint errors from check directory
48c2c25
npm: lint check and filter directories as well
70a26b2
Merge pull request #419 from ctavan/standalone-sanitization
1156aa2
docs: write about sanitization chain
4c57ca0
typescript: type sanitize middleware
a3f4597
filter: create and expose sanitize middleware variations
bcbd375
filter: create base sanitize middleware
e69bc14
Extract the list of extra validators/sanitizers to a constants file
5e8ed2f
Merge pull request #418 from ctavan/v4-sanitization
3138e54
docs: add mentions about sanitizers in the validation chain
There are 32 commits in total.
See the full diff
Update to this version instead 🚀
The new version differs by 7 commits.
be10c54
4.2.1
48b8e52
check: don't sanitize non-string values
7c5ac58
Remove validator customization for automatic toString() call
d6dd625
Unify stringification logic
818ad46
check: remove random console.log call
44e03f3
Merge pull request #423 from joturako/patch-1
698e3ea
Update README.md
See the full diff
Update to this version instead 🚀
The new version differs by 20 commits.
ead6b75
4.3.0
b7dbb5a
Merge pull request #453 from villamide/matched-data-separated
bb5f928
typescript: add support for locations option in matchedData
84b2afe
filter: allow customization of req locations in matchedData
94e8c1f
Remove trailing space
0a6ef61
check: push contexts properly for groups of validations in oneOf()
5f84536
Merge pull request #446 from ctavan/one-of-array
67a1a58
typescript: add support for oneOf using array of arrays and message arg
8662833
docs: add details and example of oneOf with array of arrays
bf5a33e
EditorConfig: set end_of_line to lf
6817353
check: deal with array of arrays of validations in oneOf
f4d92dc
Merge pull request #441 from ctavan/nullable
a4321e0
Revert "typescript: move .custom() to shared typings"
7d6a096
4.2.2
c3d8f4e
typescript: move .custom() to shared typings
There are 20 commits in total.
See the full diff
Version 4.0.0 of express-validator just got published.
The version 4.0.0 is not covered by your current version range.
Without accepting this pull request your project will work just like it did before. There might be a bunch of new features, fixes and perf improvements that the maintainers worked on for you though.
I recommend you look into these changes and try to get onto the latest version of express-validator. Given that you have a decent test suite, a passing build is a strong indicator that you can take advantage of these changes by merging the proposed change into your project. Otherwise this branch is a great starting point for you to work on the update.
Commits
The new version differs by 76 commits.
2edcf17
4.0.0
fb1f032
git: remove package-lock.json from ignore list
df22454
docs: add notice before usage example
ad2c521
docs: change syntax from json to js
1155743
Merge pull request #389 from ctavan/v4-docs
83a9a21
docs: describe errors format in validation result API
1452c65
docs: update oneOf behaviour description
5e83e44
docs: add v3 -> v4 upgrade guide
6ce84b9
docs: add details regarding validation execution
0c3b456
docs: add links and extend the TOC
0117709
docs: create base README for v4
60abeb9
EditorConfig: disable trimming in markdown files
31ae765
check/oneOf: set a single error in case any chain fails
98bb61c
check: use param/msg instead of path/message in errors
80ba1f2
check, legacy: add built-in exists validator
There are 76 commits in total.
See the full diff
Not sure how things should work exactly?
There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html) and of course you may always [ask my humans](https://github.com/greenkeeperio/greenkeeper/issues/new).Your Greenkeeper Bot :palm_tree: