Bun v1.0.21 introduces fixes for bugs, improved memory usage, and new features. It includes support for console.table() and more detailed error messages in bun:sqlite. It also reduces memory usage in bun:sqlite and fixes memory leaks in Bun.file() and Bun.write(). Additionally, it addresses various crashes and issues related to
Table of contents
console.table() is now supportedbun:sqlite has more detailed error messagesCopy-on-write file uploads on LinuxHash file uploads from FormData with Bun.CryptoHasherexpect(...).toBeObject is a new matcher in bun:testFixed: Memory leak in Bun.file()Fixed: Memory leak in Bun.write()Fixed: Memory leak in errors from node:fsFixed: bun build now supports --public-pathFixed: Crash in fetch() after redirect in certain casesFixed: Crash in WebSocket client when the server responds with a non-101 status codeFixed: Crash in WebSocket client when TLS handshake failsFixed: Crash in Bun.listen & Bun.connect when TLS handshake failsFixed: Possible crash in bun test with invalid surrogate pairs in error messagesFixed: Extraneous terminating chunk in Bun.serveFixed: "call" property missing in console.log() outputFixed: expect(error).toStrictEqual() compares only message & nameThanks to 20 contributors!1 Comment
Sort: