Skip to content

feat(api): port to Express 5 - #3860

Merged
mogery merged 1 commit into
mainfrom
mogery/express-5-api
Jun 23, 2026
Merged

mogery merged 1 commit into
mainfrom
mogery/express-5-api

Conversation

@mogery

@mogery mogery commented Jun 23, 2026 •

Copy link
Copy Markdown
Member

Summary

  • upgrade the API package to Express 5.2.1 and matching Express/express-ws type packages
  • handle Express 5 app.listen error callback behavior across API and worker health servers
  • explicitly apply express-ws to v1/v2 routers so compiled routers expose .ws under Express 5
  • force Express 5 type resolution for transitive @types/express users and add a focused Express 5 compatibility snip

Verification

  • pnpm install --frozen-lockfile --ignore-scripts
  • pnpm build
  • direct compiled route import check confirmed { v1ws: 'function', v2ws: 'function' }

Harness was not run per instruction.

@mogery
mogery requested a review from nickscamara as a code owner June 23, 2026 08:13
@superagent-security

Copy link
Copy Markdown

Superagent didn't find any vulnerabilities or security issues in this PR.

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

No issues found across 12 files

Re-trigger cubic

@mogery
mogery force-pushed the mogery/express-5-api branch from be07011 to 6896568 Compare June 23, 2026 08:20
@mogery
mogery merged commit a8cb025 into main Jun 23, 2026
10 checks passed
@mogery
mogery deleted the mogery/express-5-api branch June 23, 2026 08:26
jerbao pushed a commit to jerbao/firecrawl-custom that referenced this pull request Aug 22, 2026
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.

1 participant