首页›Bun Blog›文章

Bun v1.3.14

2026年5月13日

AI 摘要 AI 生成,可能有误

Bun v1.3.14 修复了 92 个问题,并推出了内置图像处理 API Bun.Image,同时为 fetch() 提供实验性的 HTTP/2 和 HTTP/3 客户端,并在 Bun.serve() 中支持 HTTP/3(QUIC)。该版本还带来了多项改进:借助隔离链接器的全局存储,暖安装速度提升 7 倍;重写了 Linux 和 macOS 上的 fs.watch();通过 ConPTY 在 Windows 上提供 Bun.Terminal;并新增了 FreeBSD 和 Android 构建版本。其他改进还包括 --no-orphans 命令行标志、process.execve()、共享 SSL_CTX 缓存、更小的二进制文件,以及大量 Node.js 兼容性修复。

Fixes 92 issues (addressing 380 👍). Bun.Image — a built-in image processing API, 7x faster warm installs with the isolated linker's global store, experimental HTTP/2 and HTTP/3 clients for fetch(), HTTP/3 (QUIC) in Bun.serve(), rewritten fs.watch() on Linux and macOS, --no-orphans CLI flag, process.execve(), Bun.Terminal on Windows via ConPTY, FreeBSD and Android builds, shared SSL_CTX cache, smaller binaries, and many bugfixes and Node.js compatibility improvements.

继续阅读全文

为了尊重作者,这里只展示开头几段。你可以去原文阅读,或者在 HorizonReader 里读:划线做笔记、让 AI 帮忙。

更多来自 Bun Blog

Bun v1.4.5

This is a security release. It updates lsquic, c-ares, SQLite, llhttp and BoringSSL.

Bun v1.4.4

AI 摘要Bun v1.4.4 fixes 271 issues and introduces bun fmt, a Prettier-compatible formatter that is 3x to 6x faster than oxfmt, along with significantly faster bun check and hoisted installs. The release also adds Yarn Berry lockfile migration, bun pm fetch, bun publish --recursive, and improvements to Bun.SQL, bun:sqlite, and WebSocket behavior. Additionally, it includes a JavaScriptCore upgrade with major performance gains, a redesigned dev server error overlay, and numerous Node.js compatibility fixes.

Bun v1.4.3

AI 摘要Bun v1.4.3 fixes 166 issues and introduces bun check, a built-in TypeScript type checker that is 3x to 6.4x faster than tsc, along with an experimental Bun.ModuleGraph, Bun.FetchSession, and 67–89% lower idle CPU usage. The release also brings performance improvements such as faster node:http responses, a JavaScriptCore upgrade speeding up JSON.parse, faster startup for compiled bytecode, and lower memory usage for bun build with many entry points. Additionally, it includes numerous bug fixes and Node.js compatibility improvements.

Bun v1.4.2

This release fixes two regressions impacting Elysia and AsyncLocalStorage, a hang in @discordjs/ws, CMYK JPEG decoding in Bun.Image, a rare JIT crash, and a GC crash on musl.

Bun v1.4.1

AI 摘要Bun v1.4.1 fixes 202 issues and introduces major features such as HTTP/2 support in Bun.serve, Bun.write() streaming Response bodies to disk, self-contained workspace node_modules, and bun install --offline/--prefer-offline. It also adds WebSocket pause() and resume(), crypto.argon2, tree-shaking via dynamic import(), smarter CommonJS-to-ESM default import conversion, and --compile --bytecode support when cross-compiling. Performance is significantly improved with faster startup, up to 9x faster Buffer reads/writes, 2x faster AsyncLocalStorage, and smaller, quicker-starting compiled executables, along with many bugfixes and Node.js compatibility enhancements.