Skip to content

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

Bun 14 min read Release mediumAdept

Bun v1.1.43

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.

Related posts

  • Bun 1.2

    Bun mediumAdept

    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.

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

    Bun mediumAdept

    Bun v0.6.12 makes runtime errors more readable by patching JavaScriptCore to format Error.prototype.stack like V8, hiding internal builtin frames, and automatically sourcemapping stacks back to original (pre-transpile) source. It also improves CommonJS/ESM interop by inserting the __esModule annotation on require of ES modules and stops using package.json's "module" field at runtime to match Node.js resolution. Other changes include SQLite FTS5 full-text search, a new Bun.file(path).exists() method, node:http and node:stream fixes that unblock Google Maps and ytdl-core packages, a minifier rewrite of obj["a"] to obj.a, and several bundler 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 v0.3.0

    Bun mediumAdept

    Bun v0.3.0 focuses on stability and Node.js/Web API compatibility, cutting memory use 3-5x under load by scheduling garbage collection in coordination with the event loop and speeding up TextEncoder.encodeInto() 3x via simdutf. New Node.js APIs include node:child_process, process stdio streams, Error.captureStackTrace and fs streams, alongside automatic npm package installs on import when no node_modules exists. Other additions are a native Next.js-style FileSystemRouter, console as an AsyncIterable for reading stdin, threadsafe bun:ffi callbacks, new bun:test matchers with a faster toEqual(), and a long list of fetch, spawn and crash fixes.

The quest for software engineering knowledge.

Look:
Layout: