Skip to content

feat(vercel): support bun runtime - #3678

Merged
pi0 merged 5 commits into
nitrojs:mainfrom
QuiiBz:vercel-preset/bun
Oct 28, 2025
Merged

pi0 merged 5 commits into
nitrojs:mainfrom
QuiiBz:vercel-preset/bun

Conversation

@QuiiBz

@QuiiBz QuiiBz commented Oct 25, 2025 •

Copy link
Copy Markdown
Contributor

❓ Type of change

  • 📖 Documentation (updates to the documentation, readme, or JSdoc annotations)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • 👌 Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • 🧹 Chore (updates to the build process or auxiliary tools and libraries)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

Following our work in vercel/vercel#14130, we'll now support a new runtime value for the Build Output API: bun1.x. This will allow Vercel Functions to use the Bun runtime instead of Node.js

This PR adds the runtime type along with documentation to make sure we output the correct runtime value in the functions' build output. It also adds support for the standard bunVersion field inside vercel.json that's intended to work regardless of the framework

📝 Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

@vercel

vercel Bot commented Oct 25, 2025

Copy link
Copy Markdown

@QuiiBz is attempting to deploy a commit to the Nitro Team on Vercel.

A member of the Team first needs to authorize it.

@pkg-pr-new

pkg-pr-new Bot commented Oct 25, 2025 •

Copy link
Copy Markdown

Open in StackBlitz

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

commit: 137569d

@QuiiBz
QuiiBz marked this pull request as ready for review October 27, 2025 23:59
@QuiiBz
QuiiBz requested a review from pi0 as a code owner October 27, 2025 23:59
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.

2 participants