Bun v1.1.2
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.
Related posts
- Bun v1.1.1
Bun mediumAdept
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.
- 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.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.0.18
Bun mediumAdept
Bun v1.0.18 fixes 27 bugs, including a process.stdin hang that froze create-vite and create-next-app at the second prompt. The hang came from calling cancel instead of releaseLock on the underlying ReadableStream, plus a stale "in use" state that kept the process alive. Lifecycle scripts no longer fail with "node" or "node-gyp" not found: Bun symlinks node to bun and node-gyp to bunx node-gyp. On Linux, Bun now falls back to ioctl_ficlone reflinks when copy_file_range is disabled (e.g. under gVisor), which speeds up bun install and fs.copyFile/cp. The release also fixes tsconfig wildcard path suffixes and makes expect().rejects.toThrow accept a promise as Jest does.
- Bun v1.2.20
Bun mediumAdept
Bun v1.2.20 fixes 141 issues and cuts idle CPU usage by no longer over-scheduling the garbage collector. AbortSignal.timeout is 40x faster because it now shares setTimeout's implementation. bun install migrates yarn.lock v1 files automatically, and bun:test adds return-value matchers, Vitest-compatible expectTypeOf and mock.clearAllMocks. Other changes include automatic ETag/304 handling for Bun.serve static routes, Windows long-path support via an application manifest, streaming WebAssembly compilation, recursive workspace support in bun outdated and bun update, and many crash fixes across Node compatibility, the bundler, the dev server and Bun.SQL.