Bun 1.4 now available in Vercel Functions
Vercel Functions now support Bun 1.4, a major rewrite from Zig to Rust with over 2,900 resolved issues, improved Node.js compatibility, and new features. Update requires explicitly setting bunVersion to 1.4.x in vercel.json and reviewing breaking changes.
Vercel Functions now support the new , a rewrite of Bun from Zig to Rust, with over 2,900 issues resolved, more than 1,500 additional Node.js compatibility tests passing, and new features and performance improvements.Bun 1.4 release
Bun on Vercel Functions:
To update from the previous Bun version, set to in . bunVersion1.4.xvercel.json
Upgrading is an explicit opt-in because Bun 1.4 has several . Review the breaking changes and update your application before upgrading.breaking changes
Learn more about using Bun on Vercel in the .runtime documentation
Runs on Fluid compute with Active CPU pricing
Supports and WebSockets
Bun.serve()Supports common frameworks such as Next.js, Elysia, and Hono
Source: original entry ↗