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. It checks Prettier's repo in 60 ms vs 17 s, runs 3-6x faster than oxfmt, and matches Prettier's own test suite byte-for-byte on 99.1% of cases. The release also makes `bun check` 1.4-7.8x faster (MUI docs memory drops from 11.2 GB to 1.3 GB) and up to 15x faster in multi-project builds via shared declaration and resolution caches. `bun install` gains Yarn Berry lockfile migration, exponential-backoff retries with jitter, and parallel hoisted linking that is up to 3.2x faster from a warm cache.
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 v1.2.23
Bun mediumAdept
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. Other changes include Node.js compatibility fixes, `--use-system-ca`, Authenticode signature stripping for Windows compiled executables, a `jsx` config object in Bun.build, `sql.array` for Postgres arrays and top-level await fixes for cyclic modules.
- Bun v1.1.34
Bun mediumAdept
Bun v1.1.34 fixes 64 bugs and adds Bun.randomUUIDv7() for sortable, database-friendly IDs, more aggressive garbage collection while idle in the event loop to cut memory in long-running processes, and Node-API type tagging (napi_type_tag_object/napi_check_object_type_tag) that unblocks tree-sitter. Secrets in bunfig.toml and .npmrc error logs are now redacted, and bun build --compile inlines process.versions.bun so native addons can be bundled statically. Fixes include ReadableStream spec issues pulled from WebKit, HTTP/1.1 header compliance via uWebSockets, an Amazon Linux 2 regression caused by a newer-glibc powf dependency (now guarded by a glibc 2.27 symbol test), and several bun install and Node.js compatibility bugs.
- Bun v1.0.15
Bun mediumAdept
Bun v1.0.15 adds a global content-addressable transpiler cache for files over 50KB, making TypeScript-based CLIs like tsc start up to 2x faster and Prettier about 40% faster than v1.0.14. The cache can be relocated or disabled via BUN_RUNTIME_TRANSPILER_CACHE_PATH, and disabling it is recommended on ephemeral filesystems such as Docker. The release also ships a WebSocket client that passes the Autobahn suite (except compression), expect.extend() with new asymmetric and mock matchers, syntax-highlighted errors and cleaner stack traces, and a recursive fs.readdir it reports as 40x faster than Node. Further fixes cover N-API bugs blocking TensorFlow.js, a stack overflow in the recursive descent parser on deeply nested binary expressions, and several transpiler issues.
- 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.