Bun v1.4.4
Bun v1.4.4 adds `bun fmt`, a built-in Prettier-compatible formatter ported from Prettier and oxc_formatter that reads existing Prettier/oxfmt configs and covers more than 20 languages.
Bun v1.4.4 adds `bun fmt`, a built-in Prettier-compatible formatter ported from Prettier and oxc_formatter that reads existing Prettier/oxfmt configs and covers more than 20 languages.
Bun v1.4.1 fixes 202 issues and ships runtime, install and bundler improvements.
Bun v1.3.14 adds Bun.Image, a built-in, sharp-compatible image pipeline that benchmarks 1.2–1.4× faster than sharp on resize/encode thanks to fixed-point SIMD resize kernels and JPEG IDCT downscaling.
Bun v1.3.10 replaces its npm-based REPL with a native Zig REPL that supports top-level await, imports, history and tab completion.
Bun v1.3.8 adds Bun.markdown, a built-in CommonMark-compliant Markdown parser written in Zig as a port of md4c.
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.
Bun v1.3.5 adds a Bun.Terminal API that attaches pseudo-terminals to subprocesses spawned with Bun.spawn, so programs like vim, htop and interactive shells can run with a real TTY on Linux and macOS.
Bun 1.3.2 restores hoisted installs as the default for existing workspaces and adds a lockfile configVersion field so future default changes don't break existing projects.
Bun v1.3.1 makes `bun build` up to 2x faster for symlink-heavy projects (isolated linker, pnpm).
Bun v1.2.23 fixes 119 issues. It adds automatic migration from pnpm-lock.yaml and pnpm workspaces to bun.lock, `--cpu`/`--os` filtering of optionalDependencies, and Pub/Sub in the built-in Redis client. bun test gains `test.concurrent`/`describe.concurrent` (default max 20 concurrent tests), `--randomize` with reproducible seeds, chained qualifiers, stricter CI behaviour and a rewritten execution order aligned with Vitest.
Bun v1.2.22 adds async stack traces that include awaited caller frames, a fast path making postMessage and structuredClone up to ~240x faster for plain objects of primitives, and Bun.YAML.stringify.
Bun's package manager installs dependencies roughly 7× faster than npm, 4× faster than pnpm and 17× faster than yarn because it treats installation as a systems programming problem: the bottleneck on modern NVMe hardware is system call and thread-coordination overhead, not I/O wait. strace benchmarks show bun making ~166k syscalls versus ~1M for npm and ~4M for yarn, with almost no futex contention, because its Zig code calls the kernel directly instead of going through Node's libuv thread pool.
Bun v1.2.21 extends Bun.SQL into a unified, zero-dependency client for MySQL/MariaDB (via a driver written in Zig), SQLite and PostgreSQL using the same tagged-template API.
Bun v1.2.20 fixes 141 issues and cuts idle CPU usage by no longer over-scheduling the garbage collector.
Bun v1.2.19 adds pnpm-style isolated installs (`--linker=isolated`) for monorepos, `bun update --interactive`, `bun pm pkg` for editing package.json, `bun why` for tracing dependency chains, and a fixed dependency-group priority order.
Bun v1.2.17 adds ahead-of-time bundling for HTML imports in server code, so `bun build --target=bun` or `--compile` can produce a full-stack build or a single self-contained executable with no runtime bundling.
Bun v1.2.14 adds dependency catalogs to `bun install`, letting monorepos define shared versions once in the root package.json and reference them with the `catalog:` protocol, which is rewritten to concrete versions on publish.
Bun v1.2.4 makes Bun.build up to 60% faster on macOS by using a dedicated I/O threadpool for file operations on macOS and Windows machines with more than 3 logical CPUs, which reduces filesystem contention.
Bun v1.1.44 adds experimental HTML imports (behind --experimental-html) so Bun.serve() can bundle and serve frontend apps on demand alongside API routes, with no hot module reloading yet.
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.
Bun v1.1.41 fixes 12 bugs and improves node:vm compatibility so JSDOM (runScripts, runInContext) and happy-dom work more reliably. bun build --compile gains Windows-only --windows-icon and --windows-hide-console flags, Bun.build adds throw: true, and bun install supports --omit=dev|optional|peer plus include/exclude in .npmrc and bunfig.toml.
Bun v1.1.40 fixes 14 bugs and adds an `install.saveTextLockfile` option in bunfig.toml so the text-based `bun.lock` format can be the default ahead of Bun v1.2.
Bun v1.1.39 introduces bun.lock, a JSONC text lockfile enabled via `bun install --save-text-lockfile`, replacing the hard-to-review binary bun.lockb and planned as the default in Bun v1.2.
Bun v1.1.39 introduces bun.lock, a human-readable text lockfile that improves git diffs and works with tools like Dependabot and Renovate, and makes cached bun install 30% faster.