Skip to content

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

Bun 8 min read Release mediumAdept

Bun v1.0.3

Bun v1.0.3 adds support for TypeScript's emitDecoratorMetadata, which makes Nest.js and TypeORM-style decorator reflection work out of the box. It also implements Node's module.parent, console.Console and dns.lookupService. Fixes to fetch, including spec-aligned redirects, 100-continue handling and longer redirect URLs, let bun install work with private registries like Azure Artifacts and JFrog Artifactory, configured through bunfig.toml with environment-variable credentials. Other changes cut console.log depth from 8 to 2 to match Node, silence the env-loaded message by default, make empty env vars return an empty string, and fix bunx so it honours @version tags.

Related posts

  • Bun v1.1.18

    Bun mediumAdept

    Bun v1.1.18 adds .npmrc support so bun install can use existing private registry and scoped package configuration, alongside package-lock.json migration. The transpiler now inlines TypeScript const enum values, constant-folds bitwise and string operations using JavaScriptCore-consistent semantics, and merges duplicate TypeScript namespaces like tsc. Fixes cover bun install binary linking (deterministic alphabetical order, all package copies, CRLF shebang normalization), a tarball-URL overrides crash, a SIMD escapeHTML assertion, dns.lookup crashes with Node-matching errors, and a JavaScriptCore upgrade.

  • Bun v1.2.14

    Bun mediumAdept

    Bun v1.2.14 adds dependency catalogs to `bun install`, letting monorepos define shared versions once in the root package.json and reference them with the `catalog:` protocol, which is rewritten to concrete versions on publish. The release also adds zstd decompression in fetch plus `Bun.zstdCompress`/`zstdDecompress` APIs, a `--react` flag for `bun init`, method-specific routes in `Bun.serve()`, and a default TypeScript `"module": "Preserve"` setting. Fixes include an HTTPS proxy hang affecting Codex, `worker_threads` emitting real `Error` objects instead of stringified events, and `node:http2` support for `maxSendHeaderBlockLength` and `setNextStreamID`.

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

    Bun mediumAdept

    Bun v1.3.10 replaces its npm-based REPL with a native Zig REPL that supports top-level await, imports, history and tab completion. It also adds full TC39 stage-3 standard decorators, self-contained HTML output via `--compile --target=browser`, native Windows ARM64, and a global `--retry` flag for `bun test`. Bundler changes include barrel-file import optimization (automatic for `sideEffects: false` packages) and leaner module wrappers that cut 11% of heap objects on a large React app. Runtime changes include mTLS keepalive pooling, a JavaScriptCore upgrade (168x faster deep rope slicing, a faster `endsWith`), and structuredClone fast paths up to 25x faster for dense primitive arrays.

  • Bun v0.7.2

    Bun mediumAdept

    Bun v0.7.2 adds node:worker_threads, node:diagnostics_channel and a global BroadcastChannel, lets structuredClone/postMessage clone Error objects, and adds `bun .` to run a project's main file. At runtime Bun stops honoring the "browser" and "module" package.json exports conditions, now resolving only bun, worker, node and default (plus import/require), which fixes breakage in Astro, axios and tslib-dependent packages. Two memory leaks are fixed: a ~16-byte leak in native strong references affecting fetch, Bun.spawn, napi and streams, and a double header clone in response.clone(). Large TypedArray creation gets up to 40x faster, and moving builtins from ESM to CommonJS cuts "crypto" import start time by about 30%.

The quest for software engineering knowledge.

Look:
Layout: