Bun v1.4.3
Bun v1.4.3 adds `bun check`, a TypeScript type checker ported from typescript-go that passes all 51,210 of TypeScript 7.0.2's conformance tests and runs 3x to 6.4x faster than tsc 7 with 2.2x to 4.9x less memory.
Bun v1.4.3 adds `bun check`, a TypeScript type checker ported from typescript-go that passes all 51,210 of TypeScript 7.0.2's conformance tests and runs 3x to 6.4x faster than tsc 7 with 2.2x to 4.9x less memory.
Bun v1.4.2 is a patch release fixing two v1.4.1 regressions: a `bun build` renaming bug that made nested `var` collide with a `let` (breaking Elysia builds or silently miscomputing), and an `AsyncLocalStorage` leak where timers or promises created in `store.exit()` or nested `run()` kept outer store values alive.
Bun v1.4.1 fixes 202 issues and ships runtime, install and bundler improvements.
Bun 1.4 adds 1,517 newly passing Node.js test-suite tests, fixes over 2,900 issues, and rewrites Bun from Zig to Rust.
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.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.
Bun v1.3.12 adds Bun.WebView, a built-in headless browser automation API with WebKit and Chrome (CDP) backends.
Bun v1.3.11 adds Bun.cron, a cross-platform API that registers OS-level cron jobs (crontab, launchd, Task Scheduler) and parses cron expressions, plus Bun.sliceAnsi, an ANSI- and grapheme-aware string slicer that replaces slice-ansi and cli-truncate using a SIMD ASCII fast path and single-pass streaming.
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.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`.
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.7 upgrades JavaScriptCore, which brings faster async/await (35%), Array.from, padStart/padEnd, array.flat and better ARM64 codegen using ccmp/ccmn chains.
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.4 adds the URLPattern Web API (passing 408 Web Platform Tests), Jest-style fake timers in bun:test, custom proxy headers in fetch() and a %j console format specifier.
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 1.3 turns Bun into a full-stack JavaScript runtime. Bun.serve() now includes a built-in frontend dev server with HMR and React Fast Refresh, parameterized routing, and standalone executables for full-stack apps.
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 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.21 makes postMessage(string) between workers nearly independent of string size, up to 500x faster with ~22x less peak memory on 3 MB strings (593 ns vs 326,290 ns in 1.2.20).
Bun v1.2.20 fixes 141 issues and cuts idle CPU usage by no longer over-scheduling the garbage collector.
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.