Skip to content

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

Bun 13 min read Release mediumAdept

Bun v1.3.6

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.

Related posts

  • Bun v1.1.22

    Bun mediumAdept

    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.

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

    Bun mediumAdept

    Bun v1.3.7 upgrades JavaScriptCore, which brings faster async/await (35%), Array.from, padStart/padEnd, array.flat and better ARM64 codegen using ccmp/ccmn chains. It also speeds up Buffer.from() with arrays by up to 50% and Buffer.swap16/swap64 by 1.8x and 3.6x through CPU intrinsics. New APIs include Bun.wrapAnsi (33–88x faster than the wrap-ansi npm package), native JSON5 parsing and imports, and Bun.JSONL with streaming parseChunk. For diagnostics there is Markdown CPU and heap profile output, --heap-prof heap snapshots and the node:inspector Profiler API. Compatibility fixes cover header case preservation in fetch, S3 presign options, bun pm pack lifecycle scripts, Indic grapheme clustering and Next.js 16 timer internals.

  • The Bun Bundler

    Bun mediumAdept

    Bun now ships a native bundler in beta, exposed as the `bun build` CLI and the `Bun.build()` JavaScript API. It shares one plugin API with the runtime, returns Blob-compatible build artifacts, can compile standalone executables, and supports browser, bun and node targets. Bundles built for the bun target carry a `// @bun` pragma so the runtime skips re-transpilation. It includes tree shaking (sideEffects, __PURE__, NODE_ENV/--define, ESM and limited CommonJS-to-ESM conversion), source maps and a new minifier, and it benchmarks at 1.75x faster than esbuild and 220x faster than Webpack on a three.js workload. Only ESM output is supported for now, and its architecture follows esbuild's design.

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