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

Bun v1.2.15 adds `bun audit`, which checks dependencies in bun.lock against the same advisory endpoint npm audit uses, and `bun pm view` for inspecting npm package metadata. A new `BUN_OPTIONS` environment variable prepends shell-parsed flags to every Bun invocation, similar to NODE_OPTIONS. Node.js compatibility grows with `vm.SourceTextModule`, `Worker.getHeapSnapshot` and `perf_hooks.createHistogram`. The release also includes a JavaScriptCore upgrade and bundler, runtime and TypeScript type fixes.

Related posts

  • Bun v1.2.16

    Bun mediumAdept

    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.

  • Bun v1.2.23

    Bun mediumAdept

    Bun v1.2.23 fixes 119 issues. It adds automatic migration from pnpm-lock.yaml and pnpm workspaces to bun.lock, `--cpu`/`--os` filtering of optionalDependencies, and Pub/Sub in the built-in Redis client. bun test gains `test.concurrent`/`describe.concurrent` (default max 20 concurrent tests), `--randomize` with reproducible seeds, chained qualifiers, stricter CI behaviour and a rewritten execution order aligned with Vitest. Other changes include Node.js compatibility fixes, `--use-system-ca`, Authenticode signature stripping for Windows compiled executables, a `jsx` config object in Bun.build, `sql.array` for Postgres arrays and top-level await fixes for cyclic modules.

  • Bun v1.3.2

    Bun mediumAdept

    Bun 1.3.2 restores hoisted installs as the default for existing workspaces and adds a lockfile configVersion field so future default changes don't break existing projects. New projects using workspaces still default to isolated installs. The release speeds up bun install by smarter postinstall script handling, reported as 6x faster in a Next.js plus Vite repo. It also adds --cpu-prof CPU profiling in Chrome DevTools format, an onTestFinished test hook, a ServerWebSocket subscriptions getter and a spawnSync isolated event loop. Many Node.js, N-API, TLS, CSS and install compatibility bugs are fixed.

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

    Bun mediumAdept

    Bun v1.0.12 fixes 24 bugs and adds `bun -e` for evaluating inline scripts (with TypeScript, JSX and top-level await), `--env-file` for choosing which .env files to load, `server.url`, `import.meta.env`, and `expect.unreachable()` in bun:test. Macros can now import builtin modules like node:fs and node:child_process at bundle time, and `mock.module` now handles default exports and re-exports. Two fixes include root-cause explanations: a bun:sqlite `.get()` hang came from a wrong JavaScriptCore JSType tag that misled the DFG JIT, and a `require()` crash came from source code being garbage collected before an exception was thrown. As a result, Bun's debug builds now run JavaScriptCore with assertions enabled.

The quest for software engineering knowledge.

Look:
Layout: