Skip to content

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

Bun 6 min read Release mediumAdept

Bun v1.0.34

Bun v1.0.34 makes cross-filesystem fs.cp and fs.copyFile about 50% faster on Linux by adding sendfile to its copy syscalls, which also speeds up bun install on Docker and WSL where renameat(2) across overlayfs or remote mounts isn't available. It fixes a crash in cyclical CommonJS/ESM imports, caused by an ES module evaluating after its Promise reference went stale, and coalesces fetched module imports into a single event-loop task. On macOS, bunx now replaces its own process, saving roughly 120 MB of RAM versus npx. Other fixes cover devDependency hoisting, negative Bun.sleep values, and several Windows issues ahead of v1.1, with 94.53% of the test suite passing.

Assumes: Node.js module systemsnpm package installation

Related posts

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

    Bun mediumAdept

    Bun v0.7.1 makes ES Module loading 30%–250% faster by running its transpiler concurrently for import statements and dynamic imports, though CommonJS require is still sequential. Module resolution now happens only once, at runtime. The release also cuts vite dev startup on Linux by 90%, speeds up bun:sqlite row returns by 10%, and fixes getaddrinfo handling so private registries like Verdaccio work. Node.js compatibility fixes cover fs.watch thread usage, fs.stat truncation on large files, a GC bug in fs.readdir, and making the event loop wait for WebAssembly, Atomics and Web Crypto work, alongside new MessageChannel, fetch file: URLs and Promise.withResolvers support.

  • Bun v1.0.16

    Bun mediumAdept

    Bun v1.0.16 fixes 49 bugs and rewrites Bun.file IO on Linux to use epoll instead of io_uring, fixing EBADF errors in Docker (which disabled io_uring by default) and on hosts like Vercel and Cloud Run. Concurrent Bun.file().text() and Bun.write() get roughly 3.3x and 3.9x faster in hyperfine benchmarks. Bun.write now creates missing parent directories by default (opt out with createPath: false), expect.extend works in test preload files, and napi_create_object is 2.5x faster. Also fixed: package.json "imports" aliasing that broke Astro v4 and p-limit, plus several console.log, stdin and transpiler bugs.

  • Bun v0.6.5

    Bun mediumAdept

    Bun reimplements CommonJS as native runtime support instead of transpiler-only wrapping. Detected CJS modules are wrapped in a (module, exports, require) function, evaluated, and their exports appended as named ES Module exports, which fixes `export * from`, sloppy-mode code and packages like Vue, Winston and viem. The release also improves CJS-to-ESM conversion in Bun.build(), adds $npm_lifecycle_event to bun run, and ignores SIGPIPE to stop crashes when streaming files to disconnected clients. It also fixes node:net createConnection argument parsing and a transpiler bug that turned Symbol["for"] into undefined.

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

The quest for software engineering knowledge.

Look:
Layout: