Skip to content

0.2.4

Latest

Choose a tag to compare

@helpermedia helpermedia released this 03 Jul 06:08
· 277 commits to main since this release

WebView GUI System

What's Changed

WebView GUI for AU and VST3

The headline of this release: plugins can now ship a modern web-based UI rendered
by the OS-native engine (WKWebView on macOS), across AUv2, AUv3 and VST3 from a
single codebase.

  • Custom URL scheme serves embedded HTML/CSS/JS assets straight from the plugin bundle
  • Bidirectional IPC (invoke/emit) for parameter sync and custom messages between
    Rust and the web UI
  • Authoritative display text and plain values driven by Rust parameter formatters,
    so the UI and host always agree
  • Configurable background color to prevent the white flash during content load
  • cargo xtask build orchestration plus a React/Vite demo (see the new
    webview-demo example)

Host Compatibility and WebView Lifecycle

  • Logic Pro editor support, with AUv3 resize-on-reopen and editor sizing fixes
  • Multi-plugin coexistence in the same host process (unique scheme handlers and
    per-instance asset storage)
  • Hardened WebView startup and host compatibility
  • CoreGraphics-based background color handling

Real-Time Safety (Audio Thread)

  • Eliminated heap allocations from MIDI event cloning on the audio thread
  • Eliminated mutex contention in the parameter access path
  • Prevented a stack overflow in MidiBuffer on the audio thread

Correctness and API Hygiene

  • Fixed f32 precision loss in AU parameter display
  • Fixed descriptor lifetime, type and formatting issues
  • Addressed safety and API hygiene issues across core, vst3 and webview

Breaking Changes

  • The editor API was renamed to gui: has_editor is now has_gui and
    editor_size is now gui_size. Update any references.
  • gui_size is required when the GUI is enabled.

Documentation and Other Changes

  • New pan parameter and improved webview UI in the examples
  • Reusable React hooks and a circular knob/slider component extracted
  • Docs updated for the webview system, including Phase 2A/2B specs
  • Note: This release is macOS-only. Windows support is planned but not yet started.

Full Changelog: v0.2.3...v0.2.4