Sourced from express's releases.
4.22.0
Important: Security
- Security fix for CVE-2024-51999 (GHSA-pj86-cfqh-vqx6)
What's Changed
- Refactor: improve readability by
@sazk07in expressjs/express#6190- ci: add support for Node.js@23.0 by
@UlisesGasconin expressjs/express#6080- Method functions with no path should error by
@wesleytoddin expressjs/express#5957- ci: updated github actions ci workflow by
@Phillip9587in expressjs/express#6323- ci: reorder
npm isteps to fix ci for older node versions by@Phillip9587in expressjs/express#6336- Backport: ci: add node.js 24 to test matrix by
@Phillip9587in expressjs/express#6506- chore(4.x): wider range for query test skip by
@jonchurchin expressjs/express#6513- use tilde notation for certain dependencies by
@UlisesGasconin expressjs/express#6905- deps: qs@6.14.0 by
@UlisesGasconin expressjs/express#6909- deps: use tilde notation for
qsby@Phillip9587in expressjs/express#6919- Release: 4.22.0 by
@UlisesGasconin expressjs/express#6921Full Changelog: https://github.com/expressjs/express/compare/4.21.2...4.22.0
4.21.2
What's Changed
- Add funding field (v4) by
@bjohansebasin expressjs/express#6065- deps: path-to-regexp@0.1.11 by
@blakeembreyin expressjs/express#5956- deps: bump path-to-regexp@0.1.12 by
@jonchurchin expressjs/express#6209- Release: 4.21.2 by
@UlisesGasconin expressjs/express#6094Full Changelog: https://github.com/expressjs/express/compare/4.21.1...4.21.2
4.21.1
What's Changed
- Backport a fix for CVE-2024-47764 to the 4.x branch by
@joshbukerin expressjs/express#6029- Release: 4.21.1 by
@UlisesGasconin expressjs/express#6031Full Changelog: https://github.com/expressjs/express/compare/4.21.0...4.21.1
4.21.0
What's Changed
- Deprecate
"back"magic string in redirects by@blakeembreyin expressjs/express#5935- finalhandler@1.3.1 by
@wesleytoddin expressjs/express#5954- fix(deps): serve-static@1.16.2 by
@wesleytoddin expressjs/express#5951- Upgraded dependency qs to 6.13.0 to match qs in body-parser by
@agadzinski93in expressjs/express#5946New Contributors
@agadzinski93made their first contribution in expressjs/express#5946
... (truncated)
Sourced from express's changelog.
4.22.0 / 2025-12-01
- Security fix for CVE-2024-51999 (GHSA-pj86-cfqh-vqx6)
- deps: use tilde notation for dependencies
- deps: qs@6.14.0
4.21.2 / 2024-11-06
- deps: path-to-regexp@0.1.12
- Fix backtracking protection
- deps: path-to-regexp@0.1.11
- Throws an error on invalid path values
4.21.1 / 2024-10-08
- Backported a fix for CVE-2024-47764
4.21.0 / 2024-09-11
- Deprecate
res.location("back")andres.redirect("back")magic string- deps: serve-static@1.16.2
- includes send@0.19.0
- deps: finalhandler@1.3.1
- deps: qs@6.13.0
4.20.0 / 2024-09-10
- deps: serve-static@0.16.0
- Remove link renderization in html while redirecting
- deps: send@0.19.0
- Remove link renderization in html while redirecting
- deps: body-parser@0.6.0
- add
depthoption to customize the depth level in the parser- IMPORTANT: The default
depthlevel for parsing URL-encoded data is now32(previously wasInfinity)- Remove link renderization in html while using
res.redirect- deps: path-to-regexp@0.1.10
- Adds support for named matching groups in the routes using a regex
- Adds backtracking protection to parameters without regexes defined
- deps: encodeurl@~2.0.0
- Removes encoding of
\,|, and^to align better with URL spec- Deprecate passing
options.maxAgeandoptions.expirestores.clearCookie
- Will be ignored in v5, clearCookie will set a cookie with an expires in the past to instruct clients to delete the cookie
49744ab
4.22.0 (#6921)6e97452
sec: security patch for CVE-2024-519996a23d34
deps: use tilde notation for qs (#6919)8c12cdf
deps: qs@6.14.0 (#6909)7fea74f
deps: use tilde notation for certain dependencies (#6905)dac7a04
chore: wider range for query test skip (#6513)997919b
ci: add node.js 24 to test matrix (#6506)36fb59c
fix(ci): reorder npm i steps to fix ci for older node
versions (#6336)3a5edfa
fix(ci): updated github actions ci workflow (#6323)52d9781
fix(test): add test for method routes without paths #5955