clusteer
clusteer copied to clipboard
Bump express from 4.22.1 to 5.2.1
Bumps express from 4.22.1 to 5.2.1.
Release notes
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#6933Full 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- Refactor: simplify
acceptsLanguagesimplementation using spread operator by@Ayoub-Mabroukin expressjs/express#6137- increased code coverage of utils.js file by
@ashish3011in expressjs/express#6386- chore: remove duplicate word by
@dufucunin expressjs/express#6456- build(deps): bump github/codeql-action from 3.28.13 to 3.28.16 by
@dependabot[bot] in expressjs/express#6498- build(deps): bump actions/setup-node from 4.3.0 to 4.4.0 by
@dependabot[bot] in expressjs/express#6497- build(deps): bump actions/download-artifact from 4.2.1 to 4.3.0 by
@dependabot[bot] in expressjs/express#6496- ci: add node.js 24 to test matrix by
@Phillip9587in expressjs/express#6504- ci: update codeql config by
@Phillip9587in expressjs/express#6488- chore: wider range for query test skip by
@jonchurchin expressjs/express#6512- chore: fix typos in test by
@noritaka1166in expressjs/express#6535- ci: disable credential persistence for checkout actions by
@mertssmnogluin expressjs/express#6522- ci: allow manual triggering of workflow by
@shivarmin expressjs/express#6515- test: add coverage for app.listen() variants by
@kgarg1in expressjs/express#6476- docs: move documentation and charters to the discussions and .github … by
@bjohansebasin expressjs/express#6427- build(deps): bump github/codeql-action from 3.28.16 to 3.28.18 by
@dependabot[bot] in expressjs/express#6549- build(deps): bump ossf/scorecard-action from 2.4.1 to 2.4.2 by
@dependabot[bot] in expressjs/express#6548- chore: enforce explicit
Bufferimport and add lint rule by@shivarmin expressjs/express#6525- chore: use node protocol for querystring by
@shivarmin expressjs/express#6520- chore: fix typo by
@mountdiskin expressjs/express#6609- build(deps): bump github/codeql-action from 3.28.18 to 3.29.2 by
@dependabot[bot] in expressjs/express#6618- add deprecation warnings for redirect arguments undefined by
@bjohansebasin expressjs/express#6405- ci: run CI when the markdown changes by
@bjohansebasin expressjs/express#6632- doc: fix CONTRIBUTING link by
@jonchurchin expressjs/express#6653- doc: update contributing guidelines and code of conduct links by
@ShubhamOulkarin expressjs/express#6601- build(deps-dev): bump morgan from 1.10.0 to 1.10.1 by
@dependabot[bot] in expressjs/express#6679- build(deps-dev): bump cookie-session from 2.1.0 to 2.1.1 by
@dependabot[bot] in expressjs/express#6678- lint: add --fix flag to automatic fix linting issue by
@shivarmin expressjs/express#6644- chore: ignore yarn.lock file and update example by
@shivarmin expressjs/express#6588- lib: use req.socket over deprecated req.connection by
@bjohansebasin expressjs/express#6705- doc: update express app example by
@shivarmin expressjs/express#6718- build(deps): bump github/codeql-action from 3.29.2 to 3.29.5 by
@dependabot[bot] in expressjs/express#6675- Remove history.md from being packaged on publish by
@shepluin expressjs/express#6780
... (truncated)
Changelog
Sourced from express's changelog.
5.2.1 / 2025-12-01
- Revert security fix for CVE-2024-51999 (GHSA-pj86-cfqh-vqx6)
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:
[email protected]- deps:
[email protected]5.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: [email protected]
res.redirect('back')andres.location('back')is no longer a supported magic string, explicitly usereq.get('Referrer') || '/'.
... (truncated)
Commits
dbac7415.2.1697547cRevert "sec: security patch for CVE-2024-51999"4007ad1Release: 5.2.0 (#6920)2f64f68sec: security patch for CVE-2024-51999ed0ba3fbuild(deps): bump actions/checkout from 5.0.0 to 6.0.0 (#6928)8eace46build(deps): bump github/codeql-action from 4.31.2 to 4.31.6 (#6929)30bae81build(deps): bump coverallsapp/github-action from 2.3.6 to 2.3.7 (#6930)758d435deps: body-parser@^2.2.1 (#6922)77bcd52docs: update emeritus triagers (#6890)f33caf1Nominate to@efekrsklfor triage team (#6888)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency -
@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)