Tools
Bun 1.4.2 fixes an AsyncLocalStorage leak and a same-week bun build regression that broke Elysia
Released 2026-09-05, one day after 1.4.1, Bun 1.4.2 fixes a variable-collision regression introduced in 1.4.1 where nested `var` declarations were renamed to collide with a `let` in the same block, emitting `var exports2 = exports2;` and failing Elysia builds with a shadowing SyntaxError. It also fixes an AsyncLocalStorage memory leak where timers, immediates or promises created inside `store.exit()` or a nested `store.run()` kept outer store values alive, and a `worker_threads` `'online'` event ordering bug that hung `@discordjs/ws`. The release folds in roughly 350 upstream WebKit commits and adds CMYK/YCCK JPEG decoding to `Bun.Image`.
Source
↳ Follow the thread