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

Bun v1.2.16 fixes 73 issues and adds 119 passing Node.js tests. Headline changes are serving files directly through Bun.serve routes, an install.linkWorkspacePackages bunfig option that installs workspace dependencies from the registry (useful in CI), bun outdated support for catalog dependencies, and Bun.hash.rapidhash. Node.js compatibility improves through a node:net rework, vm.SyntheticModule, an llhttp-backed HTTPParser binding and AbortController handling in timers/promises. The release also fixes memory leaks in N-API handle scopes and unread Bun.spawn stdio, plus assorted TLS, HTTP/2, CSS parser and Windows bugs.

Related posts

  • Bun v1.0.2

    Bun mediumAdept

    Bun v1.0.2 makes `bun --watch` reload immediately instead of enqueuing a reload task behind blocking work on the event loop, and makes `bunx package@latest` always query the npm registry rather than reuse a cached copy in /tmp. Date parsing now uses V8's parser to match Chrome and Node.js. The release also adds `URL.canParse`, `URLSearchParams.prototype.size` and `os.availableParallelism`, and makes all `node:fs` functions concurrent. Many Node.js compatibility fixes target `node:stream`, `node:http` set-cookie headers (breaking Express), `require.cache` including unevaluated ESM (breaking Fastify), `node:dns`, `node:readline` and `Bun.serve()` crashes.

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

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

    Bun mediumAdept

    Bun v0.5 adds npm workspaces support (installing the Remix monorepo in about 500ms, claimed 28x faster than npm), a Bun.dns lookup API backed by c-ares, node:readline, and socket support via node:net and node:tls that lets database drivers like Postgres.js, mysql2 and node-redis run for the first time. Performance changes include 10x faster Buffer instantiation by removing Object.setPrototypeOf from construction and 50x faster crypto.createHash by switching from pure JS to BoringSSL. Module resolution now ignores the package.json browser field and honors the node export condition, and the release adds HTTPS_PROXY support, custom WebSocket handshake headers, more Jest-compatible test APIs, and many bun install fixes.

  • Bun v1.1.4

    Bun mediumAdept

    Bun v1.1.4 adds `bun --filter` for running workspace scripts in parallel across a monorepo using glob patterns, and makes `bun install` reinstalls up to 50% faster (1.54x on a 450 MB node_modules) by moving deletion of old package files to a separate thread. It also fixes a CI race where child dependencies could install before their parent finished, and stops aliased packages from being installed twice. bun:sqlite gains `using` support for automatic cleanup, `fileControl`, `close(throwOnError)` and closing on garbage collection, plus a fix for duplicate column names in JOINs. Other fixes cover a Web Streams memory leak that affected Next.js, TLS 1.2 renegotiation for fetch() clients, Node.js `fs` semantics and several Windows issues.

The quest for software engineering knowledge.

Look:
Layout: