-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
refactor: Upgrade express from 4.21.2 to 5.1.0 #9752
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
base: release-7.x.x
Are you sure you want to change the base?
refactor: Upgrade express from 4.21.2 to 5.1.0 #9752
Conversation
Snyk has created this PR to upgrade express from 4.21.2 to 5.1.0. See this package in npm: express See this project in Snyk: https://app.snyk.io/org/acinader/project/fe36ba29-7b23-4655-9807-441cf85f2203?utm_source=github&utm_medium=referral&page=upgrade-pr
I will reformat the title to use the proper commit message syntax. |
🚀 Thanks for opening this pull request! |
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
🎉 Snyk checks have passed. No issues have been found so far.✅ security/snyk check is complete. No issues have been found. (View Details) |
Snyk has created this PR to upgrade express from 4.21.2 to 5.1.0.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 14 versions ahead of your current version.
The recommended version was released a month ago.
Release notes
Package name: express
What's Changed
methods
dependency with standard library by @ jonkoops in #6196utils-merge
dependency - use spread syntax instead by @ Phillip9587 in #6091depd
dependency by @ jonkoops in #6197Invalid action input 'persist-credentials'
foractions/setup-node@v4
inci.yml
by @ hamirmahal in #6256normalizeTypes
function by @ Ayoub-Mabrouk in #6097debug
to ^4.4.0 by @ Phillip9587 in #6313https
instead ofhttp
by @ Phillip9587 in #6338New Contributors
Full Changelog: 5.0.1...v5.1.0
What's Changed
cookie
semver lock to address CVE-2024-47764 by @ joshbuker in #6017Full Changelog: v5.0.0...5.0.1
Express v5.0.0
🎉 Express v5 is finally here! 🎉
After years of development, the long-awaited Express v5 has been officially released. This version focuses on simplifying the codebase, improving security, and dropping support for older Node.js versions to enable better performance and maintainability.
For detailed information, please check out the official Express v5 release blog post.
Most relevant details
Major Changes in v5
[email protected]
, removing sub-expression regex patterns for security reasons (ReDoS mitigation).body-parser
changes: Several improvements including the ability to customizeurlencoded
body depth and defaultingextended
tofalse
.For a complete list of breaking changes and API deprecations, see the migration guide.
Security Updates
This release includes important security fixes, including improvements to prevent ReDoS attacks and mitigation for CVE-2024-45590. Full details can be found in the security release notes.
Migration
Be sure to check out our migration guide for instructions on how to update your applications from Express v4 to v5.
Security Guidance
For best practices, we recommend reviewing the Threat Model which outlines Express' approach to securing your applications, including tips for user input validation and other critical aspects.
What's Changed
http-errors
,expressjs.com
,morgan
,cors
,body-parser
by @ jonchurch in #5587