Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Bun 6 min read Release mediumAdept

Bun v1.1.6

Bun v1.1.6 adds UDP socket support via a new `udpSocket` API and an implementation of Node's `node:dgram`, and makes DataDog's dd-trace and the ClickHouse Node.js client work. A JavaScriptCore upgrade makes Array.prototype.sort 15–135% faster. Fixes include a node:http error-propagation regression from v1.1.5, fetch ignoring overridden getters on Request subclasses (breaking SvelteKit), macOS DNS lookups exiting before their callbacks because microtasks weren't drained, a Bun.write() memory leak, and TOML/JSON requires wrongly going through CommonJS-to-ESM conversion.

Related posts

  • Bun v0.8.1

    Bun mediumAdept

    Bun v0.8.1 adds unix domain socket support to Bun.serve() via a new `unix` option and fixes a 2.8x request-body throughput regression from v0.8.0 (about 38.6k to 110k req/s). The regression came from microtasks not being drained after reading request bodies, which became unbalanced once v0.8.0 started draining HTTP-server microtasks per request. Other fixes cover reporting native memory for Headers, Blob and fetch() to the garbage collector, runtime inlining of statically failing require() calls that broke napi packages, a 24-byte metadata header leaking into inline sourcemaps under --inspect, stale package.json scripts in the binary lockfile, and node:http proxy URLs.

  • 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.1.34

    Bun mediumAdept

    Bun v1.1.34 fixes 64 bugs and adds Bun.randomUUIDv7() for sortable, database-friendly IDs, more aggressive garbage collection while idle in the event loop to cut memory in long-running processes, and Node-API type tagging (napi_type_tag_object/napi_check_object_type_tag) that unblocks tree-sitter. Secrets in bunfig.toml and .npmrc error logs are now redacted, and bun build --compile inlines process.versions.bun so native addons can be bundled statically. Fixes include ReadableStream spec issues pulled from WebKit, HTTP/1.1 header compliance via uWebSockets, an Amazon Linux 2 regression caused by a newer-glibc powf dependency (now guarded by a glibc 2.27 symbol test), and several bun install and Node.js compatibility bugs.

  • 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 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.

The quest for software engineering knowledge.

Look:
Layout: