Bun v1.3.6 introduces new APIs for tarball creation/extraction (Bun.Archive) and JSONC parsing, adds metafile and virtual files support to Bun.build, and delivers significant performance improvements: Response.json() is 3.5x faster, async/await 15% faster, Promise.race 30% faster, and Bun.hash.crc32 20x faster. The release

15m read timeFrom bun.com
Post cover image
Table of contents
Bun.Archive API creates & extracts tarballsBun.JSONC API for parsing JSON with commentsmetafile in Bun.buildfiles in Bun.buildResponse.json(object) is now 3.5x faster15% faster async/await30% faster Promise.raceFaster Buffer.indexOfFaster embedded .node files on LinuxFaster IPCFaster Bun.spawnSync() on Linux ARM64--grep flag for bun testFaster JSON serialization across Bun APIsFake Timers Now Work with @testing-library/reactsql() INSERT helper now respects undefined valuesBun.hash.crc32 is now 20x fasterS3 Requester Pays SupportHTTP/HTTPS Proxy Support for WebSocketUpdated SQLite to 3.51.2BugfixesThanks to 23 contributors!
1 Comment

Sort: