Bun v1.3.13
Bun v1.3.13 adds per-file test isolation (--isolate), parallel test workers with work stealing (--parallel), CI sharding (--shard=M/N), and git-aware test selection (--changed) built on the import graph. bun install now streams tarballs to disk while downloading, cutting memory 17x in a large repo, and the isolated linker drops a peer-heavy monorepo install from 20.5s to 2.4s. Source maps move to a bit-packed binary format at ~2.4 bytes per mapping instead of 20, making decode nearly free while lookups cost ~6% more. The release also switches to zlib-ng for up to 5.5x faster gzip, upgrades mimalloc and JavaScriptCore, adds Range requests in Bun.serve, SHA3 and X25519 deriveBits in WebCrypto, and ws+unix:// WebSocket support.
Related posts
- Bun v1.3.1
Bun mediumAdept
Bun v1.3.1 makes `bun build` up to 2x faster for symlink-heavy projects (isolated linker, pnpm). It also adds sourcemaps for legal comments and inlines `import.meta` fields as CommonJS equivalents when building with `--format=cjs`. `bun test` gains a global Vitest-compatible `vi`, `--pass-with-no-tests` and `--only-failures`. `bun install` drops an unnecessary peer-dependency sleep, supports `:email` in `.npmrc` and selective hoisting via `publicHoistPattern`/`hoistPattern`. The release also adds `FileHandle.readLines()` and a long list of fixes, including fuzzer-found memory-safety bugs reported by Cloudflare, a MySQL TLS busy-loop, and determinism issues in isolated installs.
- 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.10
Bun mediumAdept
Bun v1.3.10 replaces its npm-based REPL with a native Zig REPL that supports top-level await, imports, history and tab completion. It also adds full TC39 stage-3 standard decorators, self-contained HTML output via `--compile --target=browser`, native Windows ARM64, and a global `--retry` flag for `bun test`. Bundler changes include barrel-file import optimization (automatic for `sideEffects: false` packages) and leaner module wrappers that cut 11% of heap objects on a large React app. Runtime changes include mTLS keepalive pooling, a JavaScriptCore upgrade (168x faster deep rope slicing, a faster `endsWith`), and structuredClone fast paths up to 25x faster for dense primitive arrays.
- Bun v1.1.16
Bun mediumAdept
Bun v1.1.16 fixes 41 bugs and adds lcov output for `bun test --coverage`, configurable in bunfig.toml. It also adds SSH-authenticated installs from private git repositories such as GitLab and Bitbucket, and a `--sourcemap=linked` option for `bun build`. Switching base64 decoding to simdutf makes `Buffer.from(string, "base64")` 6x–30x faster on large inputs. Other fixes cover N-API modules that reassign `module.exports`, `bun:sqlite` returning a wrong `changes` count from prepared statements, WebSocket error messages and crashes, and transpiler handling of non-ASCII and zero-width characters. Internally, Bun moved to Zig 0.13, which brings a WTF-16 path fix on Windows and a cross-platform `zig-check` build target.
- Bun v1.0.22
Bun mediumAdept
Bun v1.0.22 fixes 29 bugs, most notably a `bun install` failure on Vercel. The parallel lifecycle-script change relied on `posix_spawn_file_actions_addchdir_np`, which needs glibc 2.29 while Vercel ships 2.26, and the failure went unchecked; a posix_spawn-like polyfill for Linux now handles it. New APIs include `performance.mark()`/`measure()` with `PerformanceObserver`, extra stdio pipes in `child_process` (groundwork for Playwright), Brotli decoding in `fetch` (now statically linked), `worker_threads` argv/execArgv, and new `bun:test` matchers. Performance changes make `Buffer.concat` 15–400% faster and `new Headers(object)` 10–15% faster, and fixes cover `console.table` emoji width, IPv6 binding on 0.0.0.0, and HTTP method casing.