Skip to content

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

Bun 11 min read Release mediumAdept

Bun v1.1.5

Bun v1.1.5 adds cross-compilation of standalone executables via `bun build --compile --target` (Linux x64/arm64, Windows x64, macOS arm64), so CI can build binaries for every platform from one machine. Other additions: text, json, toml and file import attributes; tolerance of comments and trailing commas in package.json; multi-certificate SNI in Bun.serve; embedding native libraries for bun:ffi in compiled executables; and a compact crash reporter, bun.report. The release fixes 64 bugs, including `bun run --filter` exiting 0 on failure, pidfd_open error handling and a race in Bun.spawn on Linux, Windows readline issues caused by duplicate uv_tty_t handles, and several Node.js compatibility gaps in fs, child_process, crypto and worker_threads.

Related posts

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

    Bun mediumAdept

    Bun v1.3.1 makes `bun build` up to 2x faster for symlink-heavy projects (isolated linker, pnpm). It also adds sourcemaps for legal comments and inlines `import.meta` fields as CommonJS equivalents when building with `--format=cjs`. `bun test` gains a global Vitest-compatible `vi`, `--pass-with-no-tests` and `--only-failures`. `bun install` drops an unnecessary peer-dependency sleep, supports `:email` in `.npmrc` and selective hoisting via `publicHoistPattern`/`hoistPattern`. The release also adds `FileHandle.readLines()` and a long list of fixes, including fuzzer-found memory-safety bugs reported by Cloudflare, a MySQL TLS busy-loop, and determinism issues in isolated installs.

  • Bun 1.1

    Bun mediumAdept

    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.

  • Bun v1.2.4

    Bun mediumAdept

    Bun v1.2.4 makes Bun.build up to 60% faster on macOS by using a dedicated I/O threadpool for file operations on macOS and Windows machines with more than 3 logical CPUs, which reduces filesystem contention. It also fixes Mach-O handling so single-file executables built with `bun build --compile` can be codesigned. The release fixes v1.2.3 regressions affecting Hono default exports, Buffer.indexOf with byte offsets, and invalid JSON imports, along with Node.js compatibility bugs in net.Socket errors, stdin pause hangs and process.argv in eval mode. Smaller changes include net.SocketAddress, PostgreSQL binary type handling, a faster native Array.prototype.includes from WebKit, and SQLite 3.49.1.

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