Skip to content

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

Bun 50 min read Release mediumAdept

Bun v1.3.14

Bun v1.3.14 adds Bun.Image, a built-in, sharp-compatible image pipeline that benchmarks 1.2–1.4× faster than sharp on resize/encode thanks to fixed-point SIMD resize kernels and JPEG IDCT downscaling. It also adds an experimental global virtual store for isolated installs that replaces per-file clonefileat calls with per-package symlinks, cutting a warm 1,400-package install from 841 ms to 115 ms on macOS. Other additions include experimental HTTP/3 (via lsquic) in Bun.serve, experimental HTTP/2 and HTTP/3 clients for fetch() with RFC 9113 hardening against CONTINUATION floods and PING reflection, a rewritten fs.watch() on inotify/FSEvents/kqueue, and a --no-orphans mode built on PR_SET_PDEATHSIG and kqueue NOTE_EXIT.

Assumes: JavaScript runtimesHTTP/2 and HTTP/3 basicsnpm package installation

Related posts

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

    Bun mediumAdept

    Bun v1.3.6 adds a built-in Bun.Archive API for creating and extracting tar/gzip archives, a native Bun.JSONC parser, and new Bun.build options for esbuild-compatible metafiles, virtual in-memory files, local cross-compile executables and React Fast Refresh. Performance work makes Response.json() 3.5x faster by hitting JavaScriptCore's SIMD FastStringifier path and makes Buffer.indexOf up to 2x faster with SIMD. Bun.hash.crc32 is about 20x faster via hardware CRC instructions, and a spawnSync regression on Linux ARM64 is fixed by correctly defining the close_range syscall. Other changes include WebSocket proxy support, S3 Requester Pays, fake-timer fixes for testing-library, sql() INSERT handling of undefined values, and Node.js compatibility bugfixes.

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

    Bun mediumAdept

    Bun v1.1.21 fixes 72 bugs and speeds up gzip/deflate decompression in fetch() by 30% on Linux x64 by switching to libdeflate, which also speeds up the WebSocket server. A new --fetch-preconnect flag and fetch.preconnect() API open the DNS/TCP/TLS connection before user code runs, cutting a first request from about 52ms to 8ms in the shown example. Linker, compiler and LTO changes shrink the Linux binary by 4 MB to 92 MB and trim 1ms from startup. The bundler adds --packages=external and content-aware code-splitting hashes, alongside many Node.js compatibility and crash fixes.

The quest for software engineering knowledge.

Look:
Layout: