Skip to content

v0.8.0-alpha.4

Pre-release
Pre-release

Choose a tag to compare

@nicoburns nicoburns released this 27 Nov 14:15
· 1 commit to main since this release
736f4ae

Highlights

  • New dioxus-core facade. Libraries can now depend on the renderer-agnostic UI layer (VirtualDOM, rsx!, signals, hooks, stores, HTML, document) without the dioxus umbrella. Its default features cover everything except ssr and wasm-split. The VirtualDOM crate that was published as dioxus-core through 0.7 is now dioxus-vdom (#6021, #6024).
  • Pointer capture. MountedData::set_pointer_capture / release_pointer_capture let sliders, color pickers and drag-and-drop keep receiving pointer events while the pointer leaves the element. Supported on web, desktop and Dioxus Native (#6121, #6135, #6154).
  • onresize in Dioxus Native (#6152). Native is now on Blitz 0.3.0-beta.6 (#6153).
  • dx fixes for newer cargo: fingerprint busting works with cargo's new build-dir layout and build.build-dir (#6137). Projects and worktrees that share a target dir no longer clobber each other (#6140). Fat-link archiving is more robust (#6138).
  • Faster asset! compile times: const evaluation of asset metadata is about 13x faster per asset (#6111).
  • Linux binaries run on older systems: static musl dx builds are back, and the gnu builds now need glibc 2.35. install.sh picks musl automatically on older systems (#6052).
  • Android: libraries are linked with 16 KB page alignment (#6051).

Breaking changes

  • Crate renames: dioxus-core → dioxus-vdom, dioxus-core-macro → dioxus-vdom-macro, dioxus-core-template → dioxus-vdom-template (#6021). dioxus-core is now the new facade crate (#6024). dioxus::dioxus_core moves to dioxus::dioxus_vdom. dioxus::core and dioxus::core_macro keep their names. dioxus-const-vec is renamed const-array-vec (#6144), and dioxus-dx-wire-format is renamed dx-wire-format (#6055).
  • New dx-env crate: the generic dx-to-app env vars now live in dx-env. dioxus-cli-config re-exports them, so existing imports keep working (#6056).
  • Env var renames: generic DIOXUS_* env vars are renamed to DX_* (e.g. DX_DEVSERVER_IP, DX_ASSET_ROOT). dx still sets both names, and apps still read the old names as a fallback (#6057).
  • dioxus-base-types removed: event_bubbles moves to dioxus_html, and HotReloadingContext moves to dioxus_rsx_hotreload. manganis and manganis-core lose their dioxus feature, AnyFmtMarker is removed, and dioxus-html's hot-reload-context feature is renamed to hot-reload (#6054).
  • Router: dioxus-router no longer depends on dioxus-fullstack-core, and its streaming feature is removed (#6022).
  • Native pointer IDs: BlitzPointerId is now a struct with a PointerKind (#6153).
  • dioxus-web's dioxus-devtools dependency is now optional (#6028).

What's Changed

New Contributors

Full Changelog: v0.8.0-alpha.3...v0.8.0-alpha.4