Bun v1.3.13 ships a large set of new features and fixes. Key additions include `bun test --isolate` and `--parallel` for faster test suites with per-file isolation, `--shard` for splitting tests across CI jobs, and `--changed` to run only tests affected by git changes. `bun install` now streams tarballs to disk using 17x less memory. Source maps are rearchitected to use 8x less memory. gzip compression is up to 5.5x faster via zlib-ng. `Bun.serve()` gains Range request support for file-backed responses. SHA3 hash algorithms are added to WebCrypto and node:crypto. WebSocket clients now support ws+unix:// and wss+unix:// schemes. The JavaScriptCore engine is upgraded with 1,316 upstream commits. Dozens of Node.js compatibility fixes, crash fixes, and memory leak patches are also included.
Table of contents
bun test --isolate and bun test --parallelbun test --shard=M/N for splitting tests across CI jobsbun test --changedbun install streams tarballs to diskFaster bun install with isolated linkerSource maps use up to 8x less memoryBun's runtime uses 5% less memoryUpgraded JavaScriptCore engineFaster addEventListener , dispatchEvent , and DOM eventsUp to 5.5x faster gzip compression with zlib-ngFaster array iteration in Bun's internalsSHA3 support in WebCrypto and node:cryptoX25519 deriveBits support in SubtleCryptoWebSocket client: support ws+unix:// and wss+unix://Standalone HTML now inlines file-loader assets imported from JSbunx claude and bunx @anthropic-ai/claude-code fixBugfixesSort: