Bun v1.0.9
Bun v1.0.9 fixes regressions introduced by the v1.0.8 move from a hand-written Makefile to CMake and Ninja: "Illegal instruction" crashes on older x86 and some arm64 CPUs, and "symbol not found" errors on glibc older than 2.28 that broke Vercel. New CI jobs will test on an older CPU and fail any build that requires too new a glibc. `Bun.spawn`'s `exited` now always returns a number (128 + signal number when a signal kills the process) and no longer hangs in an edge case. Peer dependencies now reuse the version already in the project, as npm does, and a JSX transpiler panic is fixed; it was caused by a scope-creating `key` prop being visited out of parse order.
Related posts
- 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.0.22
Bun mediumAdept
Bun v1.0.22 fixes 29 bugs, most notably a `bun install` failure on Vercel. The parallel lifecycle-script change relied on `posix_spawn_file_actions_addchdir_np`, which needs glibc 2.29 while Vercel ships 2.26, and the failure went unchecked; a posix_spawn-like polyfill for Linux now handles it. New APIs include `performance.mark()`/`measure()` with `PerformanceObserver`, extra stdio pipes in `child_process` (groundwork for Playwright), Brotli decoding in `fetch` (now statically linked), `worker_threads` argv/execArgv, and new `bun:test` matchers. Performance changes make `Buffer.concat` 15–400% faster and `new Headers(object)` 10–15% faster, and fixes cover `console.table` emoji width, IPv6 binding on 0.0.0.0, and HTTP method casing.
- 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.0.7
Bun mediumAdept
Bun v1.0.7 fixes 59 bugs and adds support for optional peer dependencies in `bun install`, so packages marked optional in `peerDependenciesMeta` are no longer installed unless the root project lists them. Notable fixes include sorting registry versions before semver matching (some registries don't return them in order), a non-deterministic `bun.lockb` on Linux, a napi memory leak caused by a refcount starting at 1, `child_process` IPC reliability, and a Docker "port in use" error fixed by falling back from IPv6 to IPv4 binding. The build system is also moving from a large Makefile to cmake and ninja ahead of regular Windows builds.
- Bun v1.0.31
Bun mediumAdept
Bun v1.0.31 adds `bun --print` (Node-compatible eval with top-level await, TypeScript and JSX), running code from stdin via `bun run -`, `bun add --trust` plus `bun pm untrusted`/`trust` for managing blocked postinstall scripts, and `fetch()`/`node:http` support for Unix and Linux abstract domain sockets. A 100% CPU bug in `Bun.spawn()` on pre-5.10 Linux kernels came from the SIGCHLD fallback never reading its eventfd, which also masked a broken signal handler; a CPU-time regression test now guards it. A build mistake that statically linked all of ICU on macOS, inflating the binary from 47.7 MB to 80.4 MB, is fixed. Streaming file I/O and process spawning were reimplemented to avoid blocking the main thread without a threadpool, alongside Node.js compatibility and bunx/install fixes.