Vercel Functions Now Support Bun 1.4
Key point
Vercel Functions have officially started supporting Bun 1.4, a version rewritten in Rust.
Details
Vercel Functions officially support the Bun 1.4 release. This update is a version of Bun rewritten from Zig to Rust, with over 2,900 issues resolved and more than 1,500 additional Node.js compatibility tests passing.
Key features and characteristics include:
- Execution in a Fluid compute environment with an Active CPU pricing model
- Support for WebSockets and
Bun.serve() - Support for major frameworks such as Next.js, Elysia, and Hono
To upgrade from previous versions, set the bunVersion field in the vercel.json file to 1.4.x. Since Bun 1.4 includes several breaking changes, you must review the changes and modify your application before upgrading.
This summary was generated automatically by AI. Check the original for the author's claims and context. Copyright belongs to the original author.
Our guide explains how the AI works. Report summary errors, attribution issues, or removal requests via Contact.