Bun v1.3.12 ships with a large set of new features and bugfixes. Highlights include native headless browser automation via Bun.WebView (WebKit and Chrome backends), terminal Markdown rendering with `bun ./file.md`, an in-process Bun.cron() scheduler, async stack traces for native errors, 2.3x faster URLPattern, 2x faster Bun.Glob.scan, cgroup-aware parallelism on Linux, TCP_DEFER_ACCEPT for Bun.serve(), HTTPS proxy CONNECT tunnel reuse, SIMD-optimized ANSI string utilities, upgraded JavaScriptCore engine with explicit resource management support, and over 120 bug fixes covering Node.js compatibility, memory leaks, crashes, and security issues.

20m read timeFrom bun.com
Post cover image
Table of contents
Bun.WebView — Headless Browser AutomationRender Markdown in the Terminal with bun ./file.mdAsync stack traces for native errorsIn-process Bun.cron() schedulerUDP Socket: ICMP Error Handling and Truncation DetectionUnix Domain Socket Lifecycle Now Matches Node.jsUpgraded JavaScriptCore EngineImproved standalone executables on LinuxURLPattern is up to 2.3x fasterFaster Bun.stripANSI and Bun.stringWidthFaster bun build on low-core machinesFaster Bun.Glob.scan()Cgroup-aware availableParallelism / hardwareConcurrency on LinuxKeep-Alive for HTTPS Proxy CONNECT TunnelsTCP_DEFER_ACCEPT for Bun.serve() on LinuxBugfixes
2 Comments

Sort: