Bun v1.3.9
5 hours ago
- #JavaScript
- #Performance
- #Bun
- Installation methods for Bun include curl, npm, PowerShell, scoop, brew, and Docker.
- Bun can be upgraded using the command 'bun upgrade'.
- Run multiple package.json scripts concurrently or sequentially with 'bun run --parallel' or 'bun run --sequential'.
- HTTP/2 Connection Upgrades via net.Server now work correctly.
- Symbol.dispose support for mock() and spyOn() enables automatic restoration of mocks.
- NO_PROXY is now respected for explicit proxy options in fetch() and WebSocket.
- Bun supports the '--cpu-prof-interval' flag for CPU profiling.
- ESM bytecode in '--compile' is now supported.
- Fixed crashes on older ARM64 processors due to mimalloc emitting LSE atomic instructions.
- Faster Markdown-to-HTML rendering with SIMD-accelerated scanning.
- Faster Bun.markdown.react() with cached HTML tag strings.
- Faster AbortSignal.abort() when there are no listeners.
- JavaScriptCore upgrade includes RegExp SIMD acceleration and other optimizations.
- Bugfixes include Node.js compatibility improvements, Bun APIs, Web APIs, and TypeScript types.