Bun 1.4 版本在 Vercel Functions 中可用

Bun’s pursuit of simple, fast & open is the perfect match for Vercel and how we think about the ...

精选理由

Vercel 宣布 Bun 1.4 版本支持其 Functions,能跑 WebSocket 和 Bun.serve(),还兼容 Next.js 等框架,比之前更方便了。

AI 摘要

Bun 1.4 版本现已支持 Vercel Functions。该版本支持 WebSockets 和 Bun.serve()。它兼容 Next.js、Elysia、Hono 等框架。运行在 Fluid 上,采用按活跃 CPU 计费模式。用户需在 vercel.json 中设置 bunVersion 为 1.4.x 来启用。

原文 · Guillermo Rauch

Bun’s pursuit of simple, fast & open is the perfect match for Vercel and how we think about the ...

Bun’s pursuit of simple, fast & open is the perfect match for Vercel and how we think about the world. Congrats @jarredsumner on shipping! Vercel Developers @vercel_dev Bun 1.4 is available in Vercel Functions. • Supports WebSockets and 𝙱𝚞𝚗.𝚜𝚎𝚛𝚟𝚎() • Supports Next.js, Elysia, Hono and others • Runs on Fluid with Active CPU billing Set "bunVersion": "1.4.x" in vercel.json to u vercel.com/changelog/bun-… pmCe8qZF 🔗 View Quoted Tweet 💬 2 🔄 2 ❤️ 14 👀 1544 📊 3 ⚡