cargo dioxus 0.8.0-alpha.1
v0.8.0-alpha.1

latest releases: 0.8.0-alpha.3, 0.8.0-alpha.2
3 months ago

Highlights

  • New event data:
    • onbeforeinput is a new event that fires before an editable element changes. It can be cancelled with prevent_default() (#5581).
    • Clipboard events now expose the pasted text and files through data_transfer() and files() (#5611).
    • onselect events now include the selection from the associated input or textarea (#5570).
  • Generated assets: asset!() can now include files generated at build time, e.g. asset!(concat!(env!("OUT_DIR"), "/generated.txt")) (#5490).
  • Dioxus Native is updated to Blitz 0.3.0-beta.1 (#5673). It also adds a way to create synthetic click events for testing (#5658).
  • Fixes:
    • Memory leak when passing mapped stores as component props (#5711).
    • Router child routes dropping query and hash segments (#5613).
    • Fullstack: set_server_url can now be called more than once (#5704).
    • SSR: #[css_module] stylesheets were missing from the head after the first request (#5707).
    • SSR: initial_value, initial_checked and initial_selected now render as value, checked and selected (#5493).
    • Manganis now builds for 32-bit Android targets (#5641).
  • CLI:
    • Hot-patching works when the bin target's crate name differs from the package name (#5719).
    • Hot-patching works with the new v0 symbol mangling on Linux beta (#5622).
    • Fixed duplicate SSG output on rebuild (#5702).
    • Resource directories are now copied when bundling (#5619).
    • The dev overlay no longer loads Google Fonts (#5664).
    • Build failures now log their errors (#5667).

Compatibility

  • The 0.7 asset format fallback has been removed (#5576). The 0.8 CLI can't run apps built with Dioxus older than 0.7.2.

What's Changed

New Contributors

Full Changelog: v0.8.0-alpha.0...v0.8.0-alpha.1

Don't miss a new dioxus release

NewReleases is sending notifications on new releases.