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

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.

Related posts

  • Bun v1.0.3

    Bun mediumAdept

    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.

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

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

    Bun mediumAdept

    Bun v1.1.8 fixes 54 bugs and adds support for process.on("uncaughtException") and process.on("unhandledRejection"), Brotli compression in node:zlib (which also restores axios compatibility), and [Symbol.dispose] on Bun.spawn, Bun.serve, Bun.connect and Bun.listen for use with the `using` syntax. JSON.parse gets faster via JavaScriptCore improvements, a build-flag bug causing Illegal instruction crashes on older Windows CPUs is fixed, and numerous Node.js compatibility and crash fixes land across console, fs, net, http, os and bun install workspaces.

  • Bun v1.1.30

    Bun mediumAdept

    Bun v1.1.30 adds an experimental CSS parser and bundler, a LightningCSS port rewritten from Rust to Zig. It flattens @import chains and CSS imported from JS/TS module graphs into one file per entrypoint. `bun build --bytecode` precompiles to JavaScriptCore bytecode for about 2x faster startup, at the cost of files up to 8x larger, with source kept as a fallback for async functions, generators and eval. Other changes include `bun publish` as a drop-in for `npm publish` with workspace version rewriting, CommonJS output, BoringSSL-backed RSA functions that run 30x faster, zombie-process cleanup on `bun test` timeouts, and a prototype-pollution mitigation that makes native APIs ignore Object.prototype.

The quest for software engineering knowledge.

Look:
Layout: