Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency express-validator to v7 #1981

Closed
wants to merge 2 commits into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 17, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
express-validator (source) ^6.14.2 -> ^7.0.0 age adoption passing confidence

⚠ Dependency Lookup Warnings ⚠

Warnings were logged while processing this repo. Please check the logs for more information.


Release Notes

express-validator/express-validator

v7.0.1

Compare Source

  • Fixed checkSchema() warning that known validators are unknown when its value is false - #​1223

v7.0.0

Compare Source

🚀 🙌 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 and express-validator/filter
    • Sanitization-only middlewares (e.g. sanitize(), sanitizeBody(), etc)
    • Deprecated TypeScript types (ValidationParamSchema and ValidationSchema)
  • isObject() validator now assumes options.strict = true by default
  • Validation errors changed shape
    • Field validation errors param property has been renamed to path
    • oneOf() validation errors no longer have a param: '_error' property
  • (TypeScript only) The ValidationError type is now a discriminated union, it might be necessary to use switch or if statements to check that you're dealing with the type that you want to debug/format
  • oneOf() signature changed: from oneOf(chains, message) to oneOf(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 ✨

Bug fixes 🐛

New Contributors

Full Changelog: express-validator/express-validator@v6.15.0...v7.0.0

v6.15.0

Compare Source

What's Changed

Full Changelog: express-validator/express-validator@v6.14.3...v6.15.0

v6.14.3

Compare Source

What's Changed

New Contributors

Full Changelog: express-validator/express-validator@v6.14.2...v6.14.3


Configuration

📅 Schedule: Branch creation - "after 9am every weekday,before 5pm every weekday" in timezone Europe/London, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot requested a review from a team as a code owner April 17, 2023 03:51
@renovate renovate bot force-pushed the renovate-express-validator-7.x branch from bc39517 to a56eddd Compare April 17, 2023 08:40
@renovate renovate bot force-pushed the renovate-express-validator-7.x branch 4 times, most recently from 80a4ab6 to ab570fa Compare April 26, 2023 08:15
@renovate renovate bot force-pushed the renovate-express-validator-7.x branch from ab570fa to b456c03 Compare April 27, 2023 15:59
@renovate renovate bot force-pushed the renovate-express-validator-7.x branch 3 times, most recently from 5644369 to b9834af Compare June 5, 2023 09:59
@rgforsyth rgforsyth force-pushed the renovate-express-validator-7.x branch from b9834af to fdc5263 Compare June 5, 2023 10:06
@renovate
Copy link
Contributor Author

renovate bot commented Jun 5, 2023

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@rgforsyth rgforsyth closed this Jan 9, 2025
Copy link
Contributor Author

renovate bot commented Jan 9, 2025

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 7.x releases. But if you manually upgrade to 7.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate renovate bot deleted the renovate-express-validator-7.x branch January 9, 2025 10:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant