Bun 1.4 introduced Bun.WebView, enabling browser automation via JavaScript with WebKit and Chromium support, reducing memory usage by up to 35% and speeding startup by 50%, which matters for MENA teams building scraping and analysis tools with fewer resources.

1 min read

Bun 1.4 Launches Bun.WebView: Browser Automation via JavaScript with Lower Resources

Overview of Bun 1.4 Release

The Bun team released version 1.4 on August 20, 2026, the first stable version since the Rust rewrite months ago. It includes features like Bun.Image, Bun.WebView, Bun.markdown, and Bun.cron(), fixing over 2,900 issues and adding 1,517 Node.js compatibility tests.

FAQ

What is Bun.WebView in Bun 1.4?

Bun.WebView is a new feature in Bun 1.4 that enables direct browser automation via JavaScript, either using WebKit on macOS or controlling Chromium via the CDP protocol.

How does Bun.WebView compare to tools like Playwright or Puppeteer?

Bun.WebView offers a built-in, lightweight alternative, with a prototype JSON API service requiring only 192-256MB to run a full Chrome, compared to heavier tools, and it's integrated into Bun core.

Should MENA teams adopt Bun 1.4 now?

Yes, especially for projects relying on browser automation or web scraping, as it reduces operational costs and improves performance, but testing compatibility with existing systems is recommended first.

Source: Simon Willison (LLM & tools)

AI-assisted content, human-reviewed.