Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Bun 28 min read Release mediumAdept

Bun 1.1

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.

Related posts

  • Bun v1.1.2

    Bun easyNovice

    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 Shell gains seq, yes, basename and dirname, bun install --production now works without a lockfile, and a WebKit upgrade makes `{ ...obj }` cloning about 5x faster (105ns to 20ns in a microbenchmark). A TypeScript `infer ... extends` parsing edge case was also fixed.

  • Bun v1.3.10

    Bun mediumAdept

    Bun v1.3.10 replaces its npm-based REPL with a native Zig REPL that supports top-level await, imports, history and tab completion. It also adds full TC39 stage-3 standard decorators, self-contained HTML output via `--compile --target=browser`, native Windows ARM64, and a global `--retry` flag for `bun test`. Bundler changes include barrel-file import optimization (automatic for `sideEffects: false` packages) and leaner module wrappers that cut 11% of heap objects on a large React app. Runtime changes include mTLS keepalive pooling, a JavaScriptCore upgrade (168x faster deep rope slicing, a faster `endsWith`), and structuredClone fast paths up to 25x faster for dense primitive arrays.

  • Bun v1.3.12

    Bun mediumAdept

    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.

  • Bun v1.1.28

    Bun mediumAdept

    Bun v1.1.28 fixes 40 bugs and adds compiling and running C directly from JavaScript to use native system libraries without a separate build step, a 30x faster `path.resolve`, and named pipe support on Windows. Node.js compatibility changes include `process._exiting` defaulting to false, `workerData` defaulting to null, missing `perf_hooks` constants, `timers.promises`, and `child_process` resolving relative executables from the target `cwd`. Other fixes cover napi handle-scope crashes affecting `sqlite3`, `os`/`cpu` filtering in `bun install`, IPC through `bun run`, and Windows file reads. Bun's JSX inlining optimization is disabled because React 19 changed its element symbol, and DOMJIT typed-array calls are disabled after crashes in `TextDecoder`.

  • Bun v1.2.16

    Bun mediumAdept

    Bun v1.2.16 fixes 73 issues and adds 119 passing Node.js tests. Headline changes are serving files directly through Bun.serve routes, an install.linkWorkspacePackages bunfig option that installs workspace dependencies from the registry (useful in CI), bun outdated support for catalog dependencies, and Bun.hash.rapidhash. Node.js compatibility improves through a node:net rework, vm.SyntheticModule, an llhttp-backed HTTPParser binding and AbortController handling in timers/promises. The release also fixes memory leaks in N-API handle scopes and unread Bun.spawn stdio, plus assorted TLS, HTTP/2, CSS parser and Windows bugs.

The quest for software engineering knowledge.

Look:
Layout: