Skip to content

feat(vercel): add back node entry format under a flag#3709

Merged
pi0 merged 2 commits into
mainfrom
feat/vercel-node-server
Oct 30, 2025
Merged

feat(vercel): add back node entry format under a flag#3709
pi0 merged 2 commits into
mainfrom
feat/vercel-node-server

Conversation

@pi0
Copy link
Copy Markdown
Member

@pi0 pi0 commented Oct 30, 2025

Nitro v3 migrated to web-api first and for runtimes not supporting it, we use srx/node compatibility layer.

With vercel web API handler format (not srvx), req.node.{req,res} context is unavailable which makes issues in some cases like express streaming support.

This PR adds back node.js handler format support under a flag vercel.entryFormat: "node" | "web" to allow switching. (cc @nitrojs/vercel)


TODO for later: one test if failing with runtime proxy, have to investigate later but likely is a setup issue i guess (+ a windows issue which is unrelavant)

@vercel
Copy link
Copy Markdown

vercel Bot commented Oct 30, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
nitro.build Ready Ready Preview Comment Oct 30, 2025 8:56pm

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented Oct 30, 2025

Open in StackBlitz

npm i https://pkg.pr.new/nitrojs/nitro@3709

commit: c8a783e

@pi0 pi0 merged commit b9690b9 into main Oct 30, 2025
7 checks passed
@pi0 pi0 deleted the feat/vercel-node-server branch October 30, 2025 21:09
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