Skip to content

v1.15.1

Released 2026-03-05.

New Features

  • Introduced first-class WebGPU support across macOS, Windows, and Linux.
  • Standalone GPU windows. A new GpuWindow class lets you open a window whose contents are rendered entirely with raw WGPU from Bun — no webview, no HTML, no JavaScript bridge. You attach WGPUViews 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 wgpu directly 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-wgpu template, a Three.js template, a Babylon.js template, and a wgpu-ml machine-learning template.
  • Improved <electrobun-webview/wgpu> tag resize performance.
  • The tray-app template 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 archiver dependency.
  • The package readme is now published to npm.