Skip to content

Upgrade Express v4 to v5 - #189

Merged
lbroudoux merged 2 commits into
masterfrom
copilot/upgrade-express-v4-to-express-v5
Sep 4, 2026
Merged

Upgrade Express v4 to v5#189
lbroudoux merged 2 commits into
masterfrom
copilot/upgrade-express-v4-to-express-v5

Conversation

Copilot AI commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Migrates the runtime wrapper to Express 5, a major release with breaking changes (notably path-to-regexp route syntax and the removal of the bundled body parser).

Changes

  • Dependency bump: express 4.22.15.2.1 in package.json, with package-lock.json regenerated.

Compatibility notes

Express usage is confined to app.js and requires no code changes under v5:

  • Routes use named params only (/health, /tests/:testResultId) — unaffected by the stricter path syntax.
  • Body parsing already relies on the standalone body-parser@2.2.2 dependency, which Express 5 also depends on internally and dedupes.
  • express(), app.use, app.listen, and graceful-shutdown handling are unchanged between v4 and v5.

Copilot AI linked an issue Sep 1, 2026 that may be closed by this pull request
Co-authored-by: lbroudoux <1538635+lbroudoux@users.noreply.github.com>
Copilot AI changed the title [WIP] Upgrade Express v4 to Express v5 Upgrade Express v4 to v5 Sep 1, 2026
Copilot AI requested a review from lbroudoux September 1, 2026 20:15
@lbroudoux lbroudoux added this to the 0.8.0 milestone Sep 4, 2026
@lbroudoux
lbroudoux marked this pull request as ready for review September 4, 2026 13:01

@lbroudoux lbroudoux left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@lbroudoux
lbroudoux merged commit 607872e into master Sep 4, 2026
3 of 4 checks passed
@lbroudoux
lbroudoux deleted the copilot/upgrade-express-v4-to-express-v5 branch September 4, 2026 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Upgrade Express v4 to Express v5

2 participants