Bun v1.1.9
Bun v1.1.9 fixes 67 bugs and adds a subset of the Happy Eyeballs algorithm, so connections to dual-stack hosts (localhost, VPNs) race IPv4 and IPv6 addresses instead of failing. It also introduces asynchronous DNS resolution with an in-memory cache of up to 255 records for 30 seconds, deduplicated across in-flight requests, plus new dns.prefetch() and dns.getCacheStats() APIs. simdutf makes atob() 8x faster and base64url encoding 5x faster. Other changes fix bun install workspaces, sourcemap loading and a 24-byte offset bug, Windows junction, symlink and UNC path resolution, and several Node.js compatibility gaps such as msw, http.Agent and net.connect.
Related posts
- Bun v1.3.9
Bun mediumAdept
Bun v1.3.9 adds `bun run --parallel` and `--sequential` for running package.json scripts with prefixed output across workspaces, along with Node-compatible HTTP/2 connection upgrades via `net.Server`, `Symbol.dispose` support for test mocks, `NO_PROXY` handling for explicit proxies, `--cpu-prof-interval`, and ESM bytecode in `--compile`. A JavaScriptCore upgrade brings SIMD-accelerated RegExp prefix search on ARM64 and x86_64, JIT compilation of fixed-count parenthesized subpatterns (~3.9x faster), DFG/FTL intrinsics for `startsWith`, `Set/Map#size` (2.2-2.7x) and `trim`, and rope-returning `String#replace`. Fixes include SIGILL crashes on ARMv8.0 CPUs caused by mimalloc LSE atomics, a chunked-encoding request smuggling bug, and keep-alive hangs for proxy-style requests.
- Bun v1.0.10
Bun mediumAdept
Bun v1.0.10 makes node:http 14% faster by building Node.js headers, rawHeaders and url strings directly in native code. The old path went through web-standard Headers objects and parsed absolute URLs twice. The change also fixes multiple Set-Cookie headers not reaching JavaScript and spurious errors on non-URL request targets like "*". Separately, Bun calls Linux syscalls directly but its Linux ARM64 error handling wrongly assumed libc errno, which caused bogus EBADF and install failures in Docker; that is now fixed. The release also fixes SQLite extension loading on macOS and a semver pre-release parsing crash in bun install.
- Bun v0.1.12
Bun mediumAdept
Bun v0.1.12 fixes stability problems in `bun install` that caused crashes or hangs roughly once per 80,000 cold package installs on Linux. Four bugs were behind them: a threadpool deadlock, an HTTP client suspend/resume bug, an empty-JSON crash, and DNS failure crashes. The fixes were a lock-free MPSC queue, eventfd/machport readiness notification instead of a futex, and an HTTP client rewrite on uSockets and getaddrinfo. `fetch()` now reaches 155,000 req/s on Linux x64, which is 24x Node v18.9 and 4.5x Deno. The release also adds `read` helpers to `bun:ffi`, with a breaking change to a 52-bit integer pointer representation via a WebKit DOMJIT change, picks up 2x faster `String.prototype.replace` from WebKit, and moves `crypto.getRandomValues` to BoringSSL.
- Bun v1.4.1
Bun mediumAdept
Bun v1.4.1 fixes 202 issues and ships runtime, install and bundler improvements. JavaScriptCore now discards JIT code after idle periods, sharply cutting RSS (Next.js SSR 222 MB to 142 MB), and Bun.serve gains HTTP/2 on the same port via ALPN with large throughput gains over node:http2. Buffer read/write methods are JIT-inlined (up to 9x faster), AsyncLocalStorage avoids per-await allocations, Bun.write streams response bodies to disk, and WebSocket gets pause/resume for TCP backpressure. fetch now verifies TLS against the URL hostname rather than the Host header, closing an insecure default. bun build tree-shakes through `export * as` and dynamic import(), shrinking zod bundles by about 79%.
- Bun v0.5
Bun mediumAdept
Bun v0.5 adds npm workspaces support (installing the Remix monorepo in about 500ms, claimed 28x faster than npm), a Bun.dns lookup API backed by c-ares, node:readline, and socket support via node:net and node:tls that lets database drivers like Postgres.js, mysql2 and node-redis run for the first time. Performance changes include 10x faster Buffer instantiation by removing Object.setPrototypeOf from construction and 50x faster crypto.createHash by switching from pure JS to BoringSSL. Module resolution now ignores the package.json browser field and honors the node export condition, and the release adds HTTPS_PROXY support, custom WebSocket handshake headers, more Jest-compatible test APIs, and many bun install fixes.