Bun v1.1.14
Bun v1.1.14 fixes 63 bugs and adds `bun patch`, which clones a dependency out of the global cache for local edits and saves the changes as a standard diff under `patches/` that `bun install` applies automatically. `bun:sqlite` gains `query.as(Class)` for prototype-based result mapping without constructors, a `strict` mode for unprefixed bindings, `run()` returning `changes` and `lastInsertRowid`, and `safeIntegers` for 64-bit BigInt results. `BUN_CONFIG_VERBOSE_FETCH=curl` logs fetch and node:http traffic as copy-pasteable curl commands. Other fixes cover bun install exit codes and workspace `--production` handling, Windows terminal state, and WebSocket over TLS with large payloads.
Related posts
- Bun v1.1.4
Bun mediumAdept
Bun v1.1.4 adds `bun --filter` for running workspace scripts in parallel across a monorepo using glob patterns, and makes `bun install` reinstalls up to 50% faster (1.54x on a 450 MB node_modules) by moving deletion of old package files to a separate thread. It also fixes a CI race where child dependencies could install before their parent finished, and stops aliased packages from being installed twice. bun:sqlite gains `using` support for automatic cleanup, `fileControl`, `close(throwOnError)` and closing on garbage collection, plus a fix for duplicate column names in JOINs. Other fixes cover a Web Streams memory leak that affected Next.js, TLS 1.2 renegotiation for fetch() clients, Node.js `fs` semantics and several Windows issues.
- Bun v1.0.26
Bun mediumAdept
Bun v1.0.26 fixes 30 bugs and adds multi-statement queries to bun:sqlite via db.run() and db.exec(), though not query or prepare. bun --watch now reliably closes file descriptors on reload, using close_range(2) on Linux and POSIX_SPAWN_CLOEXEC_DEFAULT on macOS, and resets signal handlers. Other fixes address Bun.FileSystemRouter failing past 64 routes (a JavaScriptCore inline-property assertion), V8 stack-trace API compatibility (undefined error.stack, negative CallSite line numbers, default Error.prepareStackTrace), toStrictEqual with deleted properties, and undrained microtask queues in websockets, spawn and IPC that caused memory growth. Windows support is targeted for February 15.
- 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.1.16
Bun mediumAdept
Bun v1.1.16 fixes 41 bugs and adds lcov output for `bun test --coverage`, configurable in bunfig.toml. It also adds SSH-authenticated installs from private git repositories such as GitLab and Bitbucket, and a `--sourcemap=linked` option for `bun build`. Switching base64 decoding to simdutf makes `Buffer.from(string, "base64")` 6x–30x faster on large inputs. Other fixes cover N-API modules that reassign `module.exports`, `bun:sqlite` returning a wrong `changes` count from prepared statements, WebSocket error messages and crashes, and transpiler handling of non-ASCII and zero-width characters. Internally, Bun moved to Zig 0.13, which brings a WTF-16 path fix on Windows and a cross-platform `zig-check` build target.
- 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.