Skip to content

Conversation

@javivelasco
Copy link
Contributor

This PR brings a new runtime value to the Vercel adapter experimental_bun1.x so that we can deploy to Vercel using Bun as runtime.

@changeset-bot
Copy link

changeset-bot bot commented Oct 27, 2025

🦋 Changeset detected

Latest commit: 2b5ce56

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@sveltejs/adapter-vercel Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@teemingc teemingc added the pkg:adapter-vercel Pertaining to the Vercel adapter label Oct 27, 2025
* @deprecated
*/
runtime?: `nodejs${number}.x`;
runtime?: `nodejs${number}.x` | `experimental_bun1.x`;
Copy link
Member

Choose a reason for hiding this comment

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

maybe we should change this while we're at it, IIUC we only support 20 and 22. this will give better autocomplete as well as being more accurate

Suggested change
runtime?: `nodejs${number}.x` | `experimental_bun1.x`;
runtime?: `nodejs20.x` | `nodejs22.x` | `experimental_bun1.x`;

Choose a reason for hiding this comment

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

Gonna make a followup PR for improving validation, I agree we can do better

Co-authored-by: Rich Harris <[email protected]>
Co-authored-by: Rich Harris <[email protected]>
@elliott-with-the-longest-name-on-github elliott-with-the-longest-name-on-github marked this pull request as ready for review October 28, 2025 03:27
@elliott-with-the-longest-name-on-github elliott-with-the-longest-name-on-github merged commit 3a5ed2b into sveltejs:main Oct 28, 2025
19 checks passed
@github-actions github-actions bot mentioned this pull request Oct 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pkg:adapter-vercel Pertaining to the Vercel adapter

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants