Get the latest tech news

Bun v1.1.22 – Bun Blog


Fixes 79 bugs (addressing 93 👍). Express is now 3x faster in Bun, ES modules load faster on Windows, 10% faster Bun.serve() at POST requests, source maps in `bun build --compile`. Memory usage reductions to `--hot`, Bun.serve(), and imports. `Uint8Array.toBase64()`, `Uint8Array.toHex()`, and lots of Node.js compatibiltiy improvements and bugfixes.

requiring a CommonJS module computing line offsets in source maps transpiling more than 64 files, concurrently creating a large number of setTimeout() or setInterval() timers To reduce the memory and file-size cost of sourcemaps, we compress the input source code with zstd and serialize into a custom binary format. No longer creating unnecessary DOMException objects when HTTP requests fail or are aborted Fixed a bug where throwing an error when consuming a ReadableStream via async iterators could cause an uncatchable global error to be thrown Unnecessarily abrupt TLS shutdown caused clients to not receive a WebSocket close frame in some cases Serving a Bun.file() in certain cases would omit the trailing newline from the response body A crash that could occur when abruptly stopping a Bun.serve() server while there are still open HTTP requests has been fixed

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Bun Blog

Bun Blog