Bun v1.3.12
Bun v1.3.12 adds Bun.WebView, a built-in headless browser automation API with WebKit and Chrome (CDP) backends. It dispatches OS-level trusted input events and waits for elements to be actionable, Playwright-style. Other additions are terminal Markdown rendering via `bun ./file.md` and Bun.markdown.ansi(), an in-process Bun.cron() scheduler that never overlaps runs and fires in UTC, and async stack traces for native APIs. The release also fixes UDP ICMP error handling and truncation detection, aligns unix socket lifecycle with Node.js, and embeds standalone Linux executables in an ELF section so execute-only binaries work. A JavaScriptCore upgrade brings `using` declarations and JIT improvements, and benchmarks show URLPattern up to 2.3x faster, SIMD-accelerated stripANSI/stringWidth up to ~11x faster, and faster bun build on low-core machines.
Related posts
- 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.
- Bun v1.3.11
Bun mediumAdept
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.markdown.render list callbacks now receive richer metadata, with a fixed object shape kept for monomorphic inline caches. bun test gains --path-ignore-patterns, and Windows ARM64 gets a native .bin shim. The release also fixes macOS dgram UDP bugs caused by hardcoded Linux errno values, an http2 WINDOW_UPDATE stall, a TLS SNI loss with custom DNS lookups, and many Node.js compatibility crashes.
- 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 1.1
Bun mediumAdept
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. A new `.bunx` file format acts as a cross-filesystem symlink so scripts launch without shebangs, `.cmd`/`.ps1` permutations or "Terminate batch job?" prompts. Other changes include a content-addressable transpiler cache for files over 50KB that roughly doubles startup for large tools like tsc, and the cross-platform Bun Shell (`Bun.$`) with argument escaping against command injection. The release also adds new APIs (Glob, Semver, stringWidth) and closes Node.js compatibility gaps: an HTTP/2 client, Date parsing ported from V8, recursive readdir, Bun–Node IPC, and undocumented internals used by Express and Astro.
- Bun v0.8.0
Bun mediumAdept
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. Other changes include Jest `test.each`/`describe.each`, a SIMD-optimized `Buffer.toString("hex")` that is 40x faster, and a fix for a DOMJIT crash in Buffer functions introduced by a JavaScriptCore upgrade. For fast streaming, `type: "direct"` ReadableStreams are still recommended for now.