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.3.12 adds Bun.WebView, a built-in headless browser automation API with WebKit and Chrome (CDP) backends.
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.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 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.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.15 adds `bun audit`, which checks dependencies in bun.lock against the same advisory endpoint npm audit uses, and `bun pm view` for inspecting npm package metadata.
Bun v1.2.12 adds a `--console` flag (and `development.console` option in `Bun.serve()`) that streams browser console.log/error output to the terminal over the existing HMR WebSocket, prefixed with `[browser]`.
Bun v1.1.37 fixes 62 bugs and adds realtime runtime error reporting in VSCode's Problems tab without a debugger, self-referencing package imports via the exports field, and npm_package_config_ and npm_lifecycle environment variables for bun run.
Bun v1.1.33 fixes 8 bugs, mostly in `bun install`. The default maximum of simultaneous network connections drops from 256 to 64 to avoid install slowdowns, `optional = false` in bunfig.toml now actually skips optional dependencies, and failed optional-dependency postinstall scripts are ignored and their half-installed directories removed.
Bun v1.1.30 adds an experimental CSS parser and bundler, a LightningCSS port rewritten from Rust to Zig.
Bun v1.1.5 adds cross-compilation of standalone executables via `bun build --compile --target` (Linux x64/arm64, Windows x64, macOS arm64), so CI can build binaries for every platform from one machine.
Bun v1.1.5 replaces unsymbolicated crash output with a compact ~150-byte bun.report URL that encodes platform, subcommand, commit SHA, a 64-bit feature-usage bitfield, crash type and message, and ASLR-adjusted stack addresses as base64 VLQs, with no personal information.
Bun v1.1.2 focuses on Windows fixes: EBUSY errors when saving bun.lockb or running next dev/vite dev, caused by holding file handles open too long and requesting wrong permissions, are resolved. fs.watch on Windows was rewritten to deduplicate watched paths, and tarball extraction race conditions and invalid-filename handling were fixed.
Bun 1.1 adds Windows 10+ support, passing 98% of the macOS/Linux test suite, and reports `bun install` 18x faster than yarn and 30x faster than npm on Windows.
Bun Shell is an experimental embedded shell language and interpreter in Bun (v1.0.24+) that runs cross-platform shell scripts from JavaScript and TypeScript via the `$` tagged template.
Bun v1.0.14 adds Bun.Glob, a Zig-implemented glob API with scan() for async file iteration and match() for string matching, claimed to match strings 3x faster than fast-glob or micromatch.
Bun v1.0.12 fixes 24 bugs and adds `bun -e` for evaluating inline scripts (with TypeScript, JSX and top-level await), `--env-file` for choosing which .env files to load, `server.url`, `import.meta.env`, and `expect.unreachable()` in bun:test.
Bun v0.8.0 adds a debugger via WebKit's Inspector Protocol (`--inspect` with a web UI at debug.bun.sh), a `bun update` command, streaming `fetch()` response bodies, and true streaming of ReadableStream responses in `Bun.serve()`, which previously buffered them. `node:tty` ReadStream/WriteStream and `process.stdin.setRawMode()` now work, unblocking interactive prompt libraries such as inquirer, and SvelteKit and the Nuxt dev server now run.
Bun now ships a native bundler in beta, exposed as the `bun build` CLI and the `Bun.build()` JavaScript API.