Bun v1.1.1
Bun v1.1.1 fixes 20 bugs, mostly in bun install on Windows. The causes include a race in the Zig standard library's retry-on-ERROR_DELETE_PENDING loop, mishandled ERROR_SHARING_VIOLATION from mismatched file sharing modes, a bunx cache invalidation bug that compared npm publish-time file creation dates, and git dependencies relying on a stale cwd file descriptor instead of `git -C`. Bun Shell gains subshells and $0–$9 positional arguments, which fixes sharp installs on Windows. A JavaScriptCore upgrade brings faster RegExp, Float32Array and string operations, and error source previews are now truncated to 1024 bytes per line for minified code.
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.1.3
Bun mediumAdept
Bun v1.1.3 makes bun install up to 50% faster on Windows (about 1.6x in a hyperfine benchmark on a Next/SvelteKit project) by parallelizing some file copying and hardlinking. It also fixes five bugs: a rare install deadlock when many packages finish extracting at once, spurious "Install failed" errors with nested node_modules, missing non-zero exit codes on some filesystem-permission errors, cmd.exe console mode not being reset on exit, and a crash when loading unreadable modules. Windows builds still use ReleaseSafe mode, and the team plans to switch to ReleaseFast once bug reports decline.
- Bun v1.1.7
Bun mediumAdept
Bun v1.1.7 fixes 28 bugs and adds glob patterns in package.json workspaces (via Bun.Glob), asymmetric matcher support in expect.extend's this.equals, and a working bunx --version. Several fixes come with root causes: a SIMD invalid memory access in Zig's std.mem.indexOfScalarPos crashing Windows startup, a misassumed 8-byte alignment of FILE_DIRECTORY_INFORMATION, threadlocal destructors running during std::quick_exit with live Workers, an uninitialized C++ integer corrupting stacktrace line numbers, and a memory leak from unread Bun.serve() request bodies since v1.0.30. Smaller changes include WebSocket close code 1015 on TLS failures, a ServerWebSocket shrink from 32 to 24 bytes, and adding clang-analyzer to CI.
- Bun v1.0.32
Bun mediumAdept
Bun v1.0.32 fixes 13 bugs, several of them regressions from the I/O rewrite in v1.0.31 done in preparation for Windows support. bun install could hang in GitHub Actions because the active lifecycle-script counter was never decremented. --frozen-lockfile and --production still installed packages, and Bun Shell hung on && and || because a file descriptor was left open. Node.js compatibility improves: the ws package can send and receive ping/pong, FileHandle read/write return correct results, util.promisify works on the timer functions, Subprocess.kill(undefined) coerces to SIGTERM, and a new --shell flag selects the bun or system shell for package.json scripts.
- 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.