v1.15.1
Released 2026-03-05.
New Features
- Introduced first-class WebGPU support across macOS, Windows, and Linux.
- Standalone GPU windows. A new
GpuWindowclass lets you open a window whose contents are rendered entirely with raw WGPU from Bun — no webview, no HTML, no JavaScript bridge. You attachWGPUViews directly to the window and own the render loop yourself. - WGPU surfaces inside webviews. Drop an
<electrobun-wgpu>tag (or the<electrobun-webview/wgpu>variant) into a webview to composite a native WGPU surface alongside your HTML. - FFI bindings are generated for WebGPU so you can call into
wgpudirectly from Bun. - Added GPU keyboard and mouse input handling and got texture readback working on macOS.
- Added new templates that demonstrate WGPU end-to-end: a raw
bunny-wgputemplate, a Three.js template, a Babylon.js template, and awgpu-mlmachine-learning template. - Improved
<electrobun-webview/wgpu>tag resize performance. - The
tray-apptemplate now demonstrates configuring window-close behaviour.
Bug Fixes
- Fix WGPU edge cases on Windows, including running with
bundleCEF: false. - Fix WGPU templates on Windows and Linux.
- Look for the DirectX shader compiler in the right place on Windows.
- Fix the template keycode enum mapping on macOS.
- Handle template lock files more reliably.
- Fix a race in
electrobun —watch.
Other Changes
- Removed the
archiverdependency. - The package readme is now published to npm.