Bun v0.6.2
Bun v0.6.2 pulls in JavaScriptCore performance work: number toLocaleString() is 79x faster, JSON.parse is up to 20% faster and JSON.stringify 15% faster on shallow objects, Proxy get/set is 2x or more faster, and Object.assign with empty sources and returning arguments are each 2x faster. Microbenchmarks on an M1 Max show JSON.parse dropping from 1.45µs to 1.1µs, versus 2.44µs on Node 20. It also fixes a minifier bug with rope strings in template literals, a bundler bug where imported assets were never copied to the output directory, and a bug where warnings incorrectly failed builds.
Related posts
- 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.
- Bun v1.1.19
Bun mediumAdept
Bun v1.1.19 enables JavaScriptCore's FTL JIT on Windows for the first time in nine years, making Object.entries about 20% faster and cutting Array.map overhead roughly in half. The release fixes 54 bugs: crashes with optional peer dependencies in bun install, non-recursive comma-expression folding that fixes stack overflows with aws-cdk-lib, nested TypeScript namespace transpilation, and memory leaks in new Request(request) and fs.readdir withFileTypes. It also fixes an AbortSignal issue where a BoringSSL option ignored TCP shutdowns on HTTPS. Other changes include restored Raspberry Pi 4 support, statically linked UCRT on Windows, preserved package.json indentation and .npmrc _auth support.
- 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 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.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.