CARVIEW |
Select Language
HTTP/2 200
date: Tue, 29 Jul 2025 02:29:09 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
etag: W/"6650ae5b52033d383d3f259113356cda"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=85UoKK3PAF1qe49OTes1iA%2FnZtF2uicu1xXxrBhi4fNbFNfjaWaFJ%2BZi4d5q6myqjZEIHY5xtQstpw%2FEAPwzvlRfsAq%2B3FFE0rV8zCbLW%2Bzr8TSpdtwfY%2FXQW3KldyR9PRT0oe7fa3rAQKZDKETzmC8yNbLyR%2BzCT2YRpQ0gBr2azfbTDPQjGpCUDU8AlXpTps6D2nxV6W6yaWvA44bjImf9jPuOiuMi8OWcQFq0rU1H2ZDQNs9dnlZvQv73J%2FnlsnSyAKN%2FOzmA6mNrfqtr8Q%3D%3D--aL7nLYuDEZRu%2FPbb--Z0kfnR38r0uklVBNBwkfsg%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.803377129.1753756148; Path=/; Domain=github.com; Expires=Wed, 29 Jul 2026 02:29:08 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Wed, 29 Jul 2026 02:29:08 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 82F4:244FAD:1D7293:2B910E:688831F4
Releases · express-validator/express-validator · GitHub
29 Dec 02:43
Loading
11 Aug 10:37
19 May 02:16
Loading
16 Apr 08:29
Loading
15 Apr 09:31
Loading
16 Feb 16:50
Loading
20 Jan 23:31
Loading
08 Oct 09:41
Loading
22 May 22:42
Loading
11 Dec 11:32
Loading
Skip to content
Navigation Menu
{{ message }}
-
-
Notifications
You must be signed in to change notification settings - Fork 622
Releases: express-validator/express-validator
Releases · express-validator/express-validator
v7.2.1
Compare
- Clone non-primitive replacement values when using
#default()
/#replace()
to avoid object reference reuse (#1316)
Assets 2
4 people reacted
v7.2.0
Compare
v7.1.0
Compare
- Upgraded validator to v13.12.0 (see their release notes: https://github.com/validatorjs/validator.js/releases/tag/13.12.0)
- Added missing fields to
IsURLOptions
(#1258, #1259) - Added
isULID()
validator (#1248) - Several improvements to docs
Assets 2
4 people reacted
v7.0.1
Compare
- Fixed
checkSchema()
warning that known validators are unknown when its value isfalse
- #1223
Assets 2
v7.0.0
Compare
🚀 🙌 First major version in almost 4 years! 🚀 🤯
Thanks everybody for having the patience. Hopefully this version brings many improvements to your developer experience!
Breaking changes 💥
- Minimum supported Node.js version is now 14+
- Removed deprecated APIs - #993
- Import paths
express-validator/check
andexpress-validator/filter
- Sanitization-only middlewares (e.g.
sanitize()
,sanitizeBody()
, etc) - Deprecated TypeScript types (
ValidationParamSchema
andValidationSchema
)
- Import paths
isObject()
validator now assumesoptions.strict = true
by default- Validation errors changed shape
- Field validation errors
param
property has been renamed topath
oneOf()
validation errors no longer have aparam: '_error'
property
- Field validation errors
- (TypeScript only) The
ValidationError
type is now a discriminated union, it might be necessary to useswitch
orif
statements to check that you're dealing with the type that you want to debug/format oneOf()
signature changed: fromoneOf(chains, message)
tooneOf(chains, options: { message, errorType })
oneOf()
default error structure now groups errors by their... validation group!, instead of in a flat list
Checkout the migration guide for examples on how to work around some of these:
https://express-validator.github.io/docs/migration-v6-to-v7
New features ✨
- Added validation for no unknown fields - #558, #578, #612, #1148, #809, #927, #1204
- Added globstars (deep wildcard) support - #790, #1137, #1216
- Added support for multiple custom validators/sanitizers in
checkSchema()
- #552, #1180 - Added request-level bail - #1100, #1214
- Added a
ExpressValidator
class which allows adding "persistent" custom validators, sanitizers, and options - #1077, #1079, #1209 - Added
oneOf()
support to.if()
- #1170 - Added new error types to
oneOf()
- #956, #1022
Bug fixes 🐛
- Validating/sanitizing arrays no longer drops all but the first value - #791, #755, #704, #1002
- Added missing
ko-KR
toMobilePhoneLocale
- #1218, #1219 - Don't silently fail when setting
withMessage
andnot
in schemas - #664
New Contributors
- @Yoowatney made their first contribution in #1219
Full Changelog: v6.15.0...v7.0.0
Assets 2
17 people reacted
v6.15.0
5202222
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
Compare
What's Changed
- chore(deps): bump ua-parser-js from 0.7.32 to 0.7.33 by @dependabot in #1208
- chore(deps): bump eta from 1.12.3 to 2.0.0 by @dependabot in #1211
- chore(deps): bump http-cache-semantics from 4.1.0 to 4.1.1 by @dependabot in #1210
- feat: update to support validator 13.9.0 by @fedeci in #1212
Full Changelog: v6.14.3...v6.15.0
Assets 2
2 people reacted
v6.14.3
Compare
What's Changed
- docs: fixed typo in sanitization chain example by @ankushknr19 in #1195
- fixed infinite recursion when the request has a field called
*
(#1205)
New Contributors
- @ankushknr19 made their first contribution in #1195
Full Changelog: v6.14.2...v6.14.3
Assets 2
v6.14.2
Compare
What's Changed
- correctly run
.matches
when passing regex object by @tonysamperi in #1156
New Contributors
- @tonysamperi made their first contribution in #1156
Full Changelog: v6.14.1...v6.14.2
Assets 2
1 person reacted
v6.14.1
Compare
What's Changed
- Add
validationResult()
for schema validation example by @daenamkim in #1120 - chore(deps): bump shelljs from 0.8.4 to 0.8.5 by @dependabot in #1128
- chore(deps): bump ajv from 6.11.0 to 6.12.6 by @dependabot in #1129
- chore(deps): bump prismjs from 1.25.0 to 1.27.0 by @dependabot in #1135
- docs: remove dependencies status badge by @gustavohenke in #1131
- chore(deps): bump minimist from 1.2.5 to 1.2.6 by @dependabot in #1142
- chore(deps): bump async from 2.6.3 to 2.6.4 by @dependabot in #1147
- Add missing
SK
postal code - #1144
New Contributors
- @daenamkim made their first contribution in #1120
Full Changelog: v6.14.0...v6.14.1
Assets 2
2 people reacted
v6.14.0
Compare
What's Changed
- feat: update
validator
to13.7
by @fedeci in #1115 - chore(deps): bump tmpl from 1.0.4 to 1.0.5 by @dependabot in #1116
- chore(deps): bump path-parse from 1.0.6 to 1.0.7 by @dependabot in #1118
- chore(deps): bump prismjs from 1.24.0 to 1.25.0 by @dependabot in #1117
Full Changelog: v6.13.0...v6.14.0
Assets 2
Previous Next
You can’t perform that action at this time.