Skip to content

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

Bun 4 min read Release mediumAdept

Bun v0.6.14

Bun v0.6.14 expands Node.js `process` compatibility with `memoryUsage()`, `cpuUsage()`, signal and exit/beforeExit events, `process.kill`, uid/gid getters, and the deprecated `process.assert` and undocumented `reallyExit` used by some npm packages. It also fixes TypeScript decorators on anonymous default exports, `fetch()` with slashless URLs, class display in `console.log`, and two `Error.captureStackTrace` crashes. One crash came from uninitialized memory reaching the sourcemapper; the other came from GC allocations during fast-path array construction of `CallSite` objects. Smaller fixes cover `node:fs` `throwIfNoEntry`, non-deterministic symbol renaming in `bun build`, `randomUUID()` metadata bits, and several stream and crypto bugs.

Related posts

  • Bun v0.3.0

    Bun mediumAdept

    Bun v0.3.0 focuses on stability and Node.js/Web API compatibility, cutting memory use 3-5x under load by scheduling garbage collection in coordination with the event loop and speeding up TextEncoder.encodeInto() 3x via simdutf. New Node.js APIs include node:child_process, process stdio streams, Error.captureStackTrace and fs streams, alongside automatic npm package installs on import when no node_modules exists. Other additions are a native Next.js-style FileSystemRouter, console as an AsyncIterable for reading stdin, threadsafe bun:ffi callbacks, new bun:test matchers with a faster toEqual(), and a long list of fetch, spawn and crash fixes.

  • Bun v1.1.34

    Bun mediumAdept

    Bun v1.1.34 fixes 64 bugs and adds Bun.randomUUIDv7() for sortable, database-friendly IDs, more aggressive garbage collection while idle in the event loop to cut memory in long-running processes, and Node-API type tagging (napi_type_tag_object/napi_check_object_type_tag) that unblocks tree-sitter. Secrets in bunfig.toml and .npmrc error logs are now redacted, and bun build --compile inlines process.versions.bun so native addons can be bundled statically. Fixes include ReadableStream spec issues pulled from WebKit, HTTP/1.1 header compliance via uWebSockets, an Amazon Linux 2 regression caused by a newer-glibc powf dependency (now guarded by a glibc 2.27 symbol test), and several bun install and Node.js compatibility bugs.

  • Bun v1.0.31

    Bun mediumAdept

    Bun v1.0.31 adds `bun --print` (Node-compatible eval with top-level await, TypeScript and JSX), running code from stdin via `bun run -`, `bun add --trust` plus `bun pm untrusted`/`trust` for managing blocked postinstall scripts, and `fetch()`/`node:http` support for Unix and Linux abstract domain sockets. A 100% CPU bug in `Bun.spawn()` on pre-5.10 Linux kernels came from the SIGCHLD fallback never reading its eventfd, which also masked a broken signal handler; a CPU-time regression test now guards it. A build mistake that statically linked all of ICU on macOS, inflating the binary from 47.7 MB to 80.4 MB, is fixed. Streaming file I/O and process spawning were reimplemented to avoid blocking the main thread without a threadpool, alongside Node.js compatibility and bunx/install fixes.

  • Bun v1.2.2

    Bun mediumAdept

    Bun v1.2.2 fixes 38 bugs and cuts idle JavaScript memory usage by 10–30% (28% for Next.js, 11% for Elysia). The fix integrates JavaScriptCore's garbage collector timers into Bun's event loop, and on Linux GC thread suspension moves from SIGUSR1 to SIGPWR so it no longer conflicts with applications that use SIGUSR1. The release also fixes a vite build regression caused by an event-loop bug in async file writes, and improves reliability of Bun.SQL prepared statements, S3 multipart uploads and the CSS parser. Node.js compatibility additions include fs.glob, NODE_PATH resolution, and fixes for fs.Dir, createRequire on virtual paths, pnpm, and DuckDB native modules.

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

The quest for software engineering knowledge.

Look:
Layout: