Skip to content

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

Bun 4 min read Release mediumAdept

Bun v1.0.14

Bun v1.0.14 adds Bun.Glob, a Zig-implemented glob API with scan() for async file iteration and match() for string matching, claimed to match strings 3x faster than fast-glob or micromatch. It fixes a bun install race condition where non-unique temporary extraction paths let concurrent extractions of different versions of the same package overwrite each other. Inside node_modules Bun now prefers .js over .ts files to avoid untranspilable TypeScript sources. ESM/CommonJS mixing errors are now caught at build time with clearer messages, and the release also improves build and import error output, console.log class names, and process.kill support for SIGKILL/SIGSTOP.

Related posts

  • Bun v1.1.7

    Bun mediumAdept

    Bun v1.1.7 fixes 28 bugs and adds glob patterns in package.json workspaces (via Bun.Glob), asymmetric matcher support in expect.extend's this.equals, and a working bunx --version. Several fixes come with root causes: a SIMD invalid memory access in Zig's std.mem.indexOfScalarPos crashing Windows startup, a misassumed 8-byte alignment of FILE_DIRECTORY_INFORMATION, threadlocal destructors running during std::quick_exit with live Workers, an uninitialized C++ integer corrupting stacktrace line numbers, and a memory leak from unread Bun.serve() request bodies since v1.0.30. Smaller changes include WebSocket close code 1015 on TLS failures, a ServerWebSocket shrink from 32 to 24 bytes, and adding clang-analyzer to CI.

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

    Bun mediumAdept

    Bun v1.1.17 fixes four bugs and makes two small macOS performance improvements. A `bun repl` crash came from Bun mutating an immutable string, which only worked by accident until Zig 0.13 moved such strings into `.rodata`. `fs.readdirSync` is 5% faster in small directories because Bun now checks the XNU `getdirentries64` EOF flag instead of making an extra syscall. Also fixed: the `ws` send callback never firing, and crashes on corrupted `bun.lockb` files, now guarded by bounds and overflow checks. Waking the macOS event loop no longer allocates memory per message, using code borrowed from libxev.

The quest for software engineering knowledge.

Look:
Layout: