Skip to content

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

Bun 9 min read Release mediumAdept

Bun v1.0.19

Bun v1.0.19 fixes 26 bugs and replaces bun-types with @types/bun, which re-exports the real @types/node to avoid type conflicts. Timers get 4x higher throughput on Linux by swapping a timerfd-per-timer for a timer heap from libxev. Bun.spawnSync uses in-memory file descriptors instead of pipes for 50% faster large-output handling, and Bun.peek is 90x faster via a JavaScriptCore bytecode intrinsic. --frozen-lockfile now compares a hash of sorted package names and versions rather than filesystem input. The release also adds N-API fixes that let bcrypt and argon2 work, mock.module specifier resolution, and an embedded SQLite upgrade to 3.44.2.

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

    Bun mediumAdept

    Bun v1.0.23 adds importing SQLite databases via import attributes (`with {type: "sqlite"}`), with an `embed: "true"` option that bakes the database into `bun build --compile` single-file executables. NAPI `.node` addons can also be embedded in executables, and the bundler gains Resource Management (`using`/`await using`) via a polyfill plus partial JavaScriptCore support. TCP sends on Linux are about 4% faster because the event loop now makes fewer syscalls, dropping repeated timerfd_settime/epoll_ctl calls and draining sockets with non-blocking recvfrom loops, as strace output shows. The release also fixes 40 bugs, including `--target=node` require handling, peer dependency resolution, semver comparison, and a Bun.spawn IPC file-descriptor leak, and adds Node.js compatibility APIs such as events.on, FileHandle and import.meta.dirname.

  • Bun v1.3.9

    Bun mediumAdept

    Bun v1.3.9 adds `bun run --parallel` and `--sequential` for running package.json scripts with prefixed output across workspaces, along with Node-compatible HTTP/2 connection upgrades via `net.Server`, `Symbol.dispose` support for test mocks, `NO_PROXY` handling for explicit proxies, `--cpu-prof-interval`, and ESM bytecode in `--compile`. A JavaScriptCore upgrade brings SIMD-accelerated RegExp prefix search on ARM64 and x86_64, JIT compilation of fixed-count parenthesized subpatterns (~3.9x faster), DFG/FTL intrinsics for `startsWith`, `Set/Map#size` (2.2-2.7x) and `trim`, and rope-returning `String#replace`. Fixes include SIGILL crashes on ARMv8.0 CPUs caused by mimalloc LSE atomics, a chunked-encoding request smuggling bug, and keep-alive hangs for proxy-style requests.

The quest for software engineering knowledge.

Look:
Layout: