Bun v1.0.19 introduces bug fixes, performance improvements, and new features. Notable changes include the introduction of @types/bun, compatibility improvements for bcrypt and argon2 packages, improved timer performance, and fixes to various bugs and issues.

18m read timeFrom bun.sh
Post cover image
Table of contents
Re-introducing @types/bun (formerly bun-types )bcrypt & argon2 packages now workFixed: "lockfile had changes, but is frozen" bugsetTimeout & setInterval get 4x higher throughputBetter error for using await outside an async functionOptimized Bun.spawnSync for large input on LinuxBun.peek() gets 90x fasterexpect(map1).toEqual(map2) gets 100x fastermodule mocks in bun:test resolve specifiersLog slow postinstall scriptsFixed: potential hang when running post-install scriptsbun install --verbose now streams post-install script outputFixed: missing progress bar in post-install script outputFixed: stringifying SHA1, SHA256, MD5 hashes sometimes output too long of a stringUpgraded SQLite from v3.38.5 to v3.44.2Fixed: TypeScript parser edgecaseFixed: crash in bun initFixed: regression with $NODE_ENVFixed: printing bug with holey arraysNew matcher in bun:test expect().toContainEqual()Credits

Sort: