Skip to content

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

Bun 5 min read Release mediumAdept

Bun v1.0.10

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.

Assumes: Node.js http modulelibc and system calls

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

    Bun mediumAdept

    Bun v1.2.5 fixes 75 bugs, adds 69 passing Node.js tests, and nearly rewrites its Node-API implementation, which now passes 98% of Node's js-native-api suite. The Node-API work gives each module its own napi_env, adds null-pointer error handling and detects module API versions. node:crypto Sign/Verify are reimplemented in C++ on BoringSSL (about 34x faster), and Hash/Hmac are now native. The release also adds Bun.CSRF, CSS modules, a Svelte plugin and a rewritten HMR system with import.meta.hot.accept, along with many node:net, timers and child_process compatibility fixes.

  • Bun v1.2.11

    Bun mediumAdept

    Bun v1.2.11 fixes 62 bugs and adds process.ref/process.unref, util.parseArgs negative options (allowNegative) with process.argv defaulting, and a BUN_INSPECT_PRELOAD environment variable equivalent to --preload. Google's Highway SIMD library now selects the best SIMD implementation at runtime, narrowing the gap between baseline and non-baseline builds, and inline sourcemap lexing is ~40% faster. Node.js compatibility work covers a reimplemented node:crypto KeyObject hierarchy with structuredClone support, HTTP/2 option validation, TLSSocket allowHalfOpen semantics and readline/promises error propagation. Fixes also land for minifier dead-code elimination in comma expressions, DevServer crashes and the PostgreSQL flush method.

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

The quest for software engineering knowledge.

Look:
Layout: