Skip to content

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

Bun 3 min read Release mediumAdept

Bun v1.1.32

Bun v1.1.32 adds Node's one-shot crypto.hash() (backed by Bun.CryptoHasher.hash()) and fixes 7 bugs. The most notable fix addresses a require(esm) regression that broke Vite configs in "type": "module" projects. Bun now patches JavaScriptCore module namespace objects so __esModule can be set to true without reintroducing the wrapper object that broke spread and JSON.stringify. Other fixes cover Next.js 15 startup warnings caused by read-only node:crypto exports, a debugger connection regression, and crashes from HMAC with BoringSSL-unsupported algorithms and from invalid TLS certificates in Bun.serve().

Assumes: CommonJS and ES modules interopNode.js crypto module

Related posts

  • Bun v1.2.5

    Bun mediumAdept

    Bun v1.2.5 fixes 75 bugs, adds 69 passing Node.js tests, and nearly rewrites its Node-API implementation, which now passes 98% of Node's js-native-api suite. The Node-API work gives each module its own napi_env, adds null-pointer error handling and detects module API versions. node:crypto Sign/Verify are reimplemented in C++ on BoringSSL (about 34x faster), and Hash/Hmac are now native. The release also adds Bun.CSRF, CSS modules, a Svelte plugin and a rewritten HMR system with import.meta.hot.accept, along with many node:net, timers and child_process compatibility fixes.

  • Bun v0.6.7

    Bun mediumAdept

    Bun v0.6.7 fixes Node.js compatibility bugs in Node-API, node:http, undici, WebSocket, node:net and CommonJS/ESM interop, which lets Prisma, Discord.js and Puppeteer run in Bun. It also roughly doubles node:crypto hashing speed on small inputs and fixes regressions from the native CommonJS rewrite, including a scope-lifetime crash and incorrect __dirname/__filename injection. Two known CommonJS differences from Node.js remain: module evaluation order, and Bun's runtime-based detection of named exports instead of static analysis. Bundler fixes cover __esModule handling, jsx vs jsxDEV selection, bun build --compile and JSON default imports.

  • Bun v1.1.44

    Bun mediumAdept

    Bun v1.1.44 adds experimental HTML imports (behind --experimental-html) so Bun.serve() can bundle and serve frontend apps on demand alongside API routes, with no hot module reloading yet. It also adds xxHash32/64/3 to Bun.hash for fast non-cryptographic hashing, lets bun.lock and other JSONC files be read via import, and adds a bunx --no-install flag. The release fixes 43 bugs, including node:dns now passing over 90% of Node's tests, broader node:fs compatibility, S3 client fixes, private npm registry auth in .npmrc, and expect.extend regressions.

  • Bun v1.2.6

    Bun mediumAdept

    Bun v1.2.6 fixes 74 bugs and rewrites more of node:crypto (Cipheriv/Decipheriv, DiffieHellman, ECDH, randomBytes) in native code on BoringSSL, with benchmarks showing AES-256-GCM going from ~1.15 ms to ~3.5 µs per iteration and scrypt from 365 ms to 47 ms. node:http compatibility work makes Express 9% and Fastify 5.4% faster. Other changes include hkdf and prime functions, initial node:test support backed by bun:test, a timeout option for Bun.spawn, PostgreSQL connections over Unix sockets in Bun.SQL, vm.compileFunction, module.children, and many Node.js compatibility fixes.

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

The quest for software engineering knowledge.

Look:
Layout: