Skip to content

superui v0.3.4 (bevy 0.19)

Choose a tag to compare

@strowk strowk released this 20 Sep 19:52
· 213 commits to main since this release

This is a semver-patch release following schema of 0.3.x for bevy 0.19, but the JavaScript engine swap is a behavioral change worth reading before you upgrade.

JavaScript engine: Boa → V8 (native) / browser (web)

superui no longer ships the Boa engine. JavaScript now runs on:

  • V8 (via deno_core) on native targets, and
  • the browser's own engine on wasm.
  • will probably not run at all if you build for android/ios and other targets where v8 cannot be built easily.

superui auto-selects the backend by target - native gets V8, wasm gets the browser engine, no config needed.

First native build downloads V8. deno_core pulls a prebuilt rusty_v8 static library on first build — a one-time network fetch and a noticeably longer initial compile. CI and offline builds need network access on that first run.

Mouse-wheel scrolling

overflow: scroll nodes now scroll under the pointer on wheel events, scrolling the nearest scrollable ancestor. The previous "scrolling is not supported" caveat is retired.

Fixes

  • Reordered keyed rows stay dispatchable.

Compatibility

superui bevy
0.3.x 0.19

It is big and complex change with no backports: the 0.2.x (Bevy 0.18) and 0.1.x (Bevy 0.17) maintenance branches do not receive this release and starting forward 0.19+ only would be supported.