Skip to content

Releases: expressjs/express

v5.2.1

01 Dec 20:54

Choose a tag to compare

What's Changed

Important

The prior release (5.2.0) included an erroneous breaking change related to the extended query parser. There is no actual security vulnerability associated with this behavior (CVE-2024-51999 has been rejected). The change has been fully reverted in this release.

Full Changelog: v5.2.0...v5.2.1

v5.2.0

01 Dec 16:21
4007ad1

Choose a tag to compare

Important: Security

What's Changed

New Contributors

Full Changelog: v5.1.0...v5.2.0

v4.22.1

01 Dec 20:55

Choose a tag to compare

What's Changed

Important

The prior release (4.22.0) included an erroneous breaking change related to the extended query parser. There is no actual security vulnerability associated with this behavior (CVE-2024-51999 has been rejected). The change has been fully reverted in this release.

Full Changelog: 4.22.0...v4.22.1

4.22.0

01 Dec 16:19
49744ab

Choose a tag to compare

Important: Security

What's Changed

Full Changelog: 4.21.2...4.22.0

5.0.1

08 Oct 19:41
d14b2de

Choose a tag to compare

What's Changed

Full Changelog: v5.0.0...5.0.1

v5.1.0

31 Mar 14:04

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 5.0.1...v5.1.0

4.21.2

05 Dec 22:41
1faf228

Choose a tag to compare

What's Changed

Full Changelog: 4.21.1...4.21.2

4.21.1

08 Oct 18:38
8e229f9

Choose a tag to compare

What's Changed

Full Changelog: 4.21.0...4.21.1

4.21.0

11 Sep 22:34

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 4.20.0...4.21.0

5.0.0

10 Sep 04:51

Choose a tag to compare

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

  • Node.js version support: Dropped support for Node.js versions before v18.
  • Routing changes: Updated to path-to-regexp@8.x, removing sub-expression regex patterns for security reasons (ReDoS mitigation).
  • Promise support: Middleware can now return rejected promises, caught by the router as errors.
  • body-parser changes: Several improvements including the ability to customize urlencoded body depth and defaulting extended to false.
  • Deprecated API methods removed: Removed old, deprecated API method signatures from Express v3/v4.

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

New Contributors

Full Changelog: v5.0.0-beta.3...v5.0.0