Bun 1.2
Bun 1.2 makes a major push on Node.js compatibility by porting thousands of files from the Node.js test suite into Bun's CI, with stubbed internal bindings and assertions on error name/code rather than message text. It adds a node:http2 server, node:dgram, node:cluster, a native rewrite of node:zlib with Brotli, V8 C++ addon API support implemented on JavaScriptCore, and V8 heap snapshots. It also introduces a native S3 client (Bun.s3) with presigned URLs, multipart writers and s3:// support in Bun.file and fetch, a built-in Postgres client (Bun.sql), and a text-based bun.lock lockfile. Claimed numbers include Express up to 3x faster than Node.js, HTTP/2 serving 2x faster, and S3 downloads 5x faster than @aws-sdk/client-s3.
Related posts
- Bun v1.1.43
Bun mediumAdept
Bun v1.1.43 adds a first-class S3 client with a Blob/Response-style API that works against any S3-compatible store, experimental HTML bundling in bun build, V8-format heap snapshots generated from its JavaScriptCore fork, and new bun install options including --filter, --lockfile-only and --peer. Node.js compatibility improves: node:path passes 100% of Node's tests, node:zlib passes 98%, and fixes land for process.kill, Node-API error codes and process.memoryUsage().arrayBuffers, which differs because JavaScriptCore owns typed-array buffers differently from V8. Parser fixes replace hard SIGILL crashes on deeply nested code with recoverable stack overflow errors by removing recursion and splitting a 1,300-line visitor function.
- Bun v1.1.31
Bun mediumAdept
Bun v1.1.31 adds a node:http2 server and gRPC server support via @grpc/grpc-js, with node:http2 benchmarked at 128,879 req/s versus 52,785 req/s on Node v23 (2.4x). It also brings CA/cafile configuration for bun install, a --drop flag to strip calls like console.* at build or run time, Bun.inspect.table, iterable bun:sqlite queries, TC39 iterator helpers, Promise.try and a 9x faster Error.captureStackTrace. Node.js compatibility fixes cover Buffer.copyBytesFrom, Node-API edge cases, UV_THREADPOOL_SIZE, fs.open and an instanceof regression from a WebKit upgrade.
- 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.2.18
Bun mediumAdept
Bun v1.2.18 fixes 52 issues and adds ReadableStream .text()/.json()/.bytes()/.blob(), ReadableStream stdin for Bun.spawn, permessage-deflate compression for the WebSocket client, and Math.sumPrecise. Large fetch() and S3 uploads now apply backpressure, pausing stream reads while the socket is busy so memory stays flat, and S3 writer.flush() resolves after each part uploads. Native addon performance improves: napi_create_buffer skips zero-initialization for about 30% faster large allocations, and sliced strings are no longer cloned. Node.js compatibility work includes reporting as Node v24.3.0, fs.glob matching directories by default, and http2 remoteSettings and net error-handling fixes.
- Bun v1.1.22
Bun mediumAdept
Bun v1.1.22 fixes 79 bugs and makes Express 3x faster than on Node.js through node:http improvements. Concurrent transpilation now works on Windows, so ES modules load up to 4x faster (lodash-es imports in 39ms vs 82ms before). Bun.serve() handles POST requests that ignore the body about 10% faster. Memory leaks around --hot reloading, garbage-collected modules, source maps and timers are fixed, and `bun build --compile` now supports zstd-compressed sourcemaps. The release also adds Uint8Array base64/hex methods, more Node.js compatibility APIs such as NODE_EXTRA_CA_CERTS and util.aborted, and bundler fixes for CommonJS and DCE annotations.