Skip to content

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

Bun 5 min read Release mediumAdept

Bun v1.0.18

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.

Related posts

  • 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.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.0.9

    Bun mediumAdept

    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.

  • 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.

  • 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`.

The quest for software engineering knowledge.

Look:
Layout: