Skip to content

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

Bun 11 min read Release mediumAdept

Bun v1.1.22

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.

Related posts

  • Bun v1.1.27

    Bun mediumAdept

    Bun v1.1.27 fixes 130 bugs and rewrites node:zlib in native code, roughly doubling streaming deflate/gzip throughput over v1.1.26 and beating Node 22 on streams, though sync compression still trails Node. It adds `bun pm pack` as an npm pack replacement and extends Bun.serve() with static routes, streaming request/response clone(), ReadableStream cancel on abort, per-request timeouts, and a faster buffered-body path (65k vs 29k req/s). Fixes explain several root causes: signal propagation in `bun run`, a strong Promise reference leaking memory in Request, and missing V8-style handle scopes in N-API, which let JavaScriptCore's stack-scanning GC free heap-allocated values early.

  • Bun v1.2.16

    Bun mediumAdept

    Bun v1.2.16 fixes 73 issues and adds 119 passing Node.js tests. Headline changes are serving files directly through Bun.serve routes, an install.linkWorkspacePackages bunfig option that installs workspace dependencies from the registry (useful in CI), bun outdated support for catalog dependencies, and Bun.hash.rapidhash. Node.js compatibility improves through a node:net rework, vm.SyntheticModule, an llhttp-backed HTTPParser binding and AbortController handling in timers/promises. The release also fixes memory leaks in N-API handle scopes and unread Bun.spawn stdio, plus assorted TLS, HTTP/2, CSS parser and Windows bugs.

  • Bun v1.1.8

    Bun mediumAdept

    Bun v1.1.8 fixes 54 bugs and adds support for process.on("uncaughtException") and process.on("unhandledRejection"), Brotli compression in node:zlib (which also restores axios compatibility), and [Symbol.dispose] on Bun.spawn, Bun.serve, Bun.connect and Bun.listen for use with the `using` syntax. JSON.parse gets faster via JavaScriptCore improvements, a build-flag bug causing Illegal instruction crashes on older Windows CPUs is fixed, and numerous Node.js compatibility and crash fixes land across console, fs, net, http, os and bun install workspaces.

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

The quest for software engineering knowledge.

Look:
Layout: