Bump express from 4.21.2 to 5.2.1
Brought to you by:
tomkozak
Originally created by: dependabot[bot]
Bumps express from 4.21.2 to 5.2.1.
Sourced from express's releases.
v5.2.1
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.
- Release: 5.2.1 by
@UlisesGasconin expressjs/express#6933](https://github.com/href="https://redirect.github.com/expressjs/express/pull/6933">expressjs/express/issues/6933)Full Changelog: https://github.com/expressjs/express/compare/v5.2.0...v5.2.1
v5.2.0
Important: Security
- Security fix for CVE-2024-51999 (GHSA-pj86-cfqh-vqx6)
What's Changed
- build(deps): bump github/codeql-action from 3.28.11 to 3.28.13 by
@dependabot[bot] in expressjs/express#6429](https://github.com/href="https://redirect.github.com/expressjs/express/pull/6429">expressjs/express/issues/6429)- Refactor: simplify
acceptsLanguagesimplementation using spread operator by@Ayoub-Mabroukin expressjs/express#6137](https://github.com/href="https://redirect.github.com/expressjs/express/pull/6137">expressjs/express/issues/6137)- increased code coverage of utils.js file by
@ashish3011in expressjs/express#6386](https://github.com/href="https://redirect.github.com/expressjs/express/pull/6386">expressjs/express/issues/6386)- chore: remove duplicate word by
@dufucunin expressjs/express#6456](https://github.com/href="https://redirect.github.com/expressjs/express/pull/6456">expressjs/express/issues/6456)- build(deps): bump github/codeql-action from 3.28.13 to 3.28.16 by
@dependabot[bot] in expressjs/express#6498](https://github.com/href="https://redirect.github.com/expressjs/express/pull/6498">expressjs/express/issues/6498)- build(deps): bump actions/setup-node from 4.3.0 to 4.4.0 by
@dependabot[bot] in expressjs/express#6497](https://github.com/href="https://redirect.github.com/expressjs/express/pull/6497">expressjs/express/issues/6497)- build(deps): bump actions/download-artifact from 4.2.1 to 4.3.0 by
@dependabot[bot] in expressjs/express#6496](https://github.com/href="https://redirect.github.com/expressjs/express/pull/6496">expressjs/express/issues/6496)- ci: add node.js 24 to test matrix by
@Phillip9587in expressjs/express#6504](https://github.com/href="https://redirect.github.com/expressjs/express/pull/6504">expressjs/express/issues/6504)- ci: update codeql config by
@Phillip9587in expressjs/express#6488](https://github.com/href="https://redirect.github.com/expressjs/express/pull/6488">expressjs/express/issues/6488)- chore: wider range for query test skip by
@jonchurchin expressjs/express#6512](https://github.com/href="https://redirect.github.com/expressjs/express/pull/6512">expressjs/express/issues/6512)- chore: fix typos in test by
@noritaka1166in expressjs/express#6535](https://github.com/href="https://redirect.github.com/expressjs/express/pull/6535">expressjs/express/issues/6535)- ci: disable credential persistence for checkout actions by
@mertssmnogluin expressjs/express#6522](https://github.com/href="https://redirect.github.com/expressjs/express/pull/6522">expressjs/express/issues/6522)- ci: allow manual triggering of workflow by
@shivarmin expressjs/express#6515](https://github.com/href="https://redirect.github.com/expressjs/express/pull/6515">expressjs/express/issues/6515)- test: add coverage for app.listen() variants by
@kgarg1in expressjs/express#6476](https://github.com/href="https://redirect.github.com/expressjs/express/pull/6476">expressjs/express/issues/6476)- docs: move documentation and charters to the discussions and .github … by
@bjohansebasin expressjs/express#6427](https://github.com/href="https://redirect.github.com/expressjs/express/pull/6427">expressjs/express/issues/6427)- build(deps): bump github/codeql-action from 3.28.16 to 3.28.18 by
@dependabot[bot] in expressjs/express#6549](https://github.com/href="https://redirect.github.com/expressjs/express/pull/6549">expressjs/express/issues/6549)- build(deps): bump ossf/scorecard-action from 2.4.1 to 2.4.2 by
@dependabot[bot] in expressjs/express#6548](https://github.com/href="https://redirect.github.com/expressjs/express/pull/6548">expressjs/express/issues/6548)- chore: enforce explicit
Bufferimport and add lint rule by@shivarmin expressjs/express#6525](https://github.com/href="https://redirect.github.com/expressjs/express/pull/6525">expressjs/express/issues/6525)- chore: use node protocol for querystring by
@shivarmin expressjs/express#6520](https://github.com/href="https://redirect.github.com/expressjs/express/pull/6520">expressjs/express/issues/6520)- chore: fix typo by
@mountdiskin expressjs/express#6609](https://github.com/href="https://redirect.github.com/expressjs/express/pull/6609">expressjs/express/issues/6609)- build(deps): bump github/codeql-action from 3.28.18 to 3.29.2 by
@dependabot[bot] in expressjs/express#6618](https://github.com/href="https://redirect.github.com/expressjs/express/pull/6618">expressjs/express/issues/6618)- add deprecation warnings for redirect arguments undefined by
@bjohansebasin expressjs/express#6405](https://github.com/href="https://redirect.github.com/expressjs/express/pull/6405">expressjs/express/issues/6405)- ci: run CI when the markdown changes by
@bjohansebasin expressjs/express#6632](https://github.com/href="https://redirect.github.com/expressjs/express/pull/6632">expressjs/express/issues/6632)- doc: fix CONTRIBUTING link by
@jonchurchin expressjs/express#6653](https://github.com/href="https://redirect.github.com/expressjs/express/pull/6653">expressjs/express/issues/6653)- doc: update contributing guidelines and code of conduct links by
@ShubhamOulkarin expressjs/express#6601](https://github.com/href="https://redirect.github.com/expressjs/express/pull/6601">expressjs/express/issues/6601)- build(deps-dev): bump morgan from 1.10.0 to 1.10.1 by
@dependabot[bot] in expressjs/express#6679](https://github.com/href="https://redirect.github.com/expressjs/express/pull/6679">expressjs/express/issues/6679)- build(deps-dev): bump cookie-session from 2.1.0 to 2.1.1 by
@dependabot[bot] in expressjs/express#6678](https://github.com/href="https://redirect.github.com/expressjs/express/pull/6678">expressjs/express/issues/6678)- lint: add --fix flag to automatic fix linting issue by
@shivarmin expressjs/express#6644](https://github.com/href="https://redirect.github.com/expressjs/express/pull/6644">expressjs/express/issues/6644)- chore: ignore yarn.lock file and update example by
@shivarmin expressjs/express#6588](https://github.com/href="https://redirect.github.com/expressjs/express/pull/6588">expressjs/express/issues/6588)- lib: use req.socket over deprecated req.connection by
@bjohansebasin expressjs/express#6705](https://github.com/href="https://redirect.github.com/expressjs/express/pull/6705">expressjs/express/issues/6705)- doc: update express app example by
@shivarmin expressjs/express#6718](https://github.com/href="https://redirect.github.com/expressjs/express/pull/6718">expressjs/express/issues/6718)- build(deps): bump github/codeql-action from 3.29.2 to 3.29.5 by
@dependabot[bot] in expressjs/express#6675](https://github.com/href="https://redirect.github.com/expressjs/express/pull/6675">expressjs/express/issues/6675)- Remove history.md from being packaged on publish by
@shepluin expressjs/express#6780](https://github.com/href="https://redirect.github.com/expressjs/express/pull/6780">expressjs/express/issues/6780)
... (truncated)
Sourced from express's changelog.
5.2.1 / 2025-12-01
- Revert security fix for CVE-2024-51999 (GHSA-pj86-cfqh-vqx6)
- 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.
5.2.0 / 2025-12-01
- Security fix for CVE-2024-51999 (GHSA-pj86-cfqh-vqx6)
- deps:
body-parser@^2.2.1- A deprecation warning was added when using
res.redirectwith undefined arguments, Express now emits a warning to help detect calls that pass undefined as the status or URL and make them easier to fix.5.1.0 / 2025-03-31
- Add support for
Uint8Arrayinres.send()- Add support for ETag option in
res.sendFile()- Add support for multiple links with the same rel in
res.links()- Add funding field to package.json
- perf: use loop for acceptParams
- refactor: prefix built-in node module imports
- deps: remove
setprototypeof- deps: remove
safe-buffer- deps: remove
utils-merge- deps: remove
methods- deps: remove
depd- deps:
debug@^4.4.0- deps:
body-parser@^2.2.0- deps:
router@^2.2.0- deps:
content-type@^1.0.5- deps:
finalhandler@^2.1.0- deps:
qs@^6.14.0- deps:
server-static@2.2.0- deps:
type-is@2.0.15.0.1 / 2024-10-08
- Update
cookiesemver lock to address CVE-2024-477645.0.0 / 2024-09-10
- remove:
path-is-absolutedependency - usepath.isAbsoluteinstead- breaking:
res.status()accepts only integers, and input must be greater than 99 and less than 1000
- will throw a
RangeError: Invalid status code: ${code}. Status code must be greater than 99 and less than 1000.for inputs outside this range- will throw a
TypeError: Invalid status code: ${code}. Status code must be an integer.for non integer inputs- deps: send@1.0.0
... (truncated)
dbac741 5.2.1697547c Revert "sec: security patch for CVE-2024-51999"4007ad1 Release: 5.2.0 (#6920](https://github.com/href="https://redirect.github.com/expressjs/express/issues/6920">/issues/6920))2f64f68 sec: security patch for CVE-2024-51999ed0ba3f build(deps): bump actions/checkout from 5.0.0 to 6.0.0 (#6928](https://github.com/href="https://redirect.github.com/expressjs/express/issues/6928">/issues/6928))8eace46 build(deps): bump github/codeql-action from 4.31.2 to 4.31.6 (#6929](https://github.com/href="https://redirect.github.com/expressjs/express/issues/6929">/issues/6929))30bae81 build(deps): bump coverallsapp/github-action from 2.3.6 to 2.3.7 (#6930](https://github.com/href="https://redirect.github.com/expressjs/express/issues/6930">/issues/6930))758d435 deps: body-parser@^2.2.1 (#6922](https://github.com/href="https://redirect.github.com/expressjs/express/issues/6922">/issues/6922))77bcd52 docs: update emeritus triagers (#6890](https://github.com/href="https://redirect.github.com/expressjs/express/issues/6890">/issues/6890))f33caf1 Nominate to @efekrskl for triage team (#6888](https://github.com/href="https://redirect.github.com/expressjs/express/issues/6888">/issues/6888))You can trigger a rebase of this PR by commenting @dependabot rebase.
Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.