---
title: "Bun v1.3.12"
description: "Bun v1.3.12 adds Bun.WebView, a built-in headless browser automation API with WebKit and Chrome (CDP) backends."
url: "https://swe.quest/articles/bun-v1-3-12-6739a38ec397eac1"
canonical: "https://bun.com/blog/bun-v1.3.12"
source: "Bun"
published: "2026-04-09"
difficulty: "medium"
kind: "Release"
reading_minutes: 18
tags: ["javascript","runtimes","performance","developer-tools"]
---

# Bun v1.3.12

A post on [Bun](https://swe.quest/sources/bun.md), published 2026-04-09, 18 min read, Release. Original: [https://bun.com/blog/bun-v1.3.12](https://bun.com/blog/bun-v1.3.12)

## Summary

Bun v1.3.12 adds Bun.WebView, a built-in headless browser automation API with WebKit and Chrome (CDP) backends. It dispatches OS-level trusted input events and waits for elements to be actionable, Playwright-style. Other additions are terminal Markdown rendering via \`bun ./file.md\` and Bun.markdown.ansi(), an in-process Bun.cron() scheduler that never overlaps runs and fires in UTC, and async stack traces for native APIs. The release also fixes UDP ICMP error handling and truncation detection, aligns unix socket lifecycle with Node.js, and embeds standalone Linux executables in an ELF section so execute-only binaries work. A JavaScriptCore upgrade brings \`using\` declarations and JIT improvements, and benchmarks show URLPattern up to 2.3x faster, SIMD-accelerated stripANSI/stringWidth up to ~11x faster, and faster bun build on low-core machines.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [JavaScript](https://swe.quest/tags/javascript.md) (Languages)
- [Runtimes & VMs](https://swe.quest/tags/runtimes.md) (Compilers & runtimes)
- [Performance engineering](https://swe.quest/tags/performance.md) (Reliability & operations)
- [Developer tools](https://swe.quest/tags/developer-tools.md) (Engineering practices)

## Prerequisites

- JavaScript runtimes ([easy posts on JavaScript](https://swe.quest/tags/javascript.md?difficulty=easy))
- Node.js APIs ([easy posts on JavaScript](https://swe.quest/tags/javascript.md?difficulty=easy))

## Keywords

Bun, Bun.WebView, JavaScriptCore, Chrome DevTools Protocol, URLPattern, Bun.cron, SIMD

## Related posts

- [Bun v1.3.9](https://swe.quest/articles/bun-v1-3-9-b7a8e766ebce7857.md): Bun · 2026-02-08 · Medium · 8 min read · JavaScript, Runtimes & VMs, Performance engineering, Compilers
  Bun v1.3.9 adds \`bun run --parallel\` and \`--sequential\` for running package.json scripts with prefixed output across workspaces, along with Node-compatible HTTP/2 connection upgrades via \`net.Server\`, \`Symbol.dispose\` support for test mocks, \`NO\_PROXY\` handling for explicit proxies, \`--cpu-prof-interval\`, and ESM bytecode in \`--compile\`.
- [Bun v1.3.11](https://swe.quest/articles/bun-v1-3-11-a3ea138e27b08142.md): Bun · 2026-03-18 · Medium · 15 min read · JavaScript, Runtimes & VMs, Testing, Networking
  Bun v1.3.11 adds Bun.cron, a cross-platform API that registers OS-level cron jobs (crontab, launchd, Task Scheduler) and parses cron expressions, plus Bun.sliceAnsi, an ANSI- and grapheme-aware string slicer that replaces slice-ansi and cli-truncate using a SIMD ASCII fast path and single-pass streaming.
- [Bun v0.3.0](https://swe.quest/articles/bun-v0-3-0-ce34b4df06ef614a.md): Bun · 2022-12-07 · Medium · 8 min read · JavaScript, Runtimes & VMs, Performance engineering
  Bun v0.3.0 focuses on stability and Node.js/Web API compatibility, cutting memory use 3-5x under load by scheduling garbage collection in coordination with the event loop and speeding up TextEncoder.encodeInto() 3x via simdutf.
- [Bun 1.1](https://swe.quest/articles/bun-1-1-d019ca09ea7e158e.md): Bun · 2024-04-01 · Medium · 28 min read · JavaScript, Runtimes & VMs, Developer tools, Performance engineering
  Bun 1.1 adds Windows 10+ support, passing 98% of the macOS/Linux test suite, and reports \`bun install\` 18x faster than yarn and 30x faster than npm on Windows.
- [Bun v0.8.0](https://swe.quest/articles/bun-v0-8-0-6b987fd4a933f802.md): Bun · 2023-08-24 · Medium · 11 min read · JavaScript, Runtimes & VMs, Developer tools
  Bun v0.8.0 adds a debugger via WebKit's Inspector Protocol (\`--inspect\` with a web UI at debug.bun.sh), a \`bun update\` command, streaming \`fetch()\` response bodies, and true streaming of ReadableStream responses in \`Bun.serve()\`, which previously buffered them. \`node:tty\` ReadStream/WriteStream and \`process.stdin.setRawMode()\` now work, unblocking interactive prompt libraries such as inquirer, and SvelteKit and the Nuxt dev server now run.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
