Skip to content

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

Bun 7 min read Release mediumAdept

Bun v1.1.23

Bun v1.1.23 fixes 27 bugs and adds TextEncoderStream/TextDecoderStream, the TextDecoder stream option, Float16Array, and truncation of large arrays in console.log after 100 elements. console.log(string) is 50% faster: a single-string fast path that still needed extra writes for the newline and ANSI reset was dropped in favor of buffered writes. Bun now throws proper errors instead of crashing or truncating when Blob/Request/Response bodies or fs.readFile exceed JavaScriptCore's 2^32-1 length limit. Other fixes cover duplicate sends caused by mishandled backpressure in the ws module, Bun-to-Node IPC on Windows, JIT crashes in node:vm contexts, bundler hoisting of tagged template literals, and >4GB responses from Bun.serve.

Assumes: JavaScript runtimesWeb Streams API

Related posts

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

  • Bun v1.2.12

    Bun mediumAdept

    Bun v1.2.12 adds a `--console` flag (and `development.console` option in `Bun.serve()`) that streams browser console.log/error output to the terminal over the existing HMR WebSocket, prefixed with `[browser]`. The frontend dev server's memory use drops from 272 MB to 150 MB in a React hot-reload benchmark through sourcemap-related architecture changes, and startup is 30μs faster. Node.js compatibility gains include vm `cachedData` support, `net.BlockList`, http Agent fixes and 98.4% of Node's timers tests passing, plus WHATWG-conformant TextDecoder fixes and a fix for global postinstall scripts with trustedDependencies.

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

The quest for software engineering knowledge.

Look:
Layout: