This pre-release ships a number of bug fixes for Dioxus 0.7 as well as a handful of new features.
- File Dialogs and Drag Events have been fixed after being broken in rc-1
- The Dioxus JS glue is now independent of the window, making it possible to bootstrap webworkers with the primary dioxus wasm bundle
- A number of fixes related to wasm hot-patching
- A number of fixes related to mobile and native hotpatching
- Ability to set response status and headers from within the SSR app
- Ability to capture errors during SSR and render a fallback UI
- Fixes for SSR and hydration
- Middleware support for server functions with
#[middleware]
attribute use_loader
now serializes its contents for hydrationdrag_and_drop
API for web and related xample
What's Changed
- Fix: File dialogs that are not part of a form by @Klemen2 in #4752
- Don't rely on
window
Part 2 by @mohe2015 in #4757 - native: disable debug logs by default by @nicoburns in #4740
- Handle wasm-bindgen wbg_cast helper in wasm hotpatching by @tekacs in #4748
- redirects, middleware,
Transport
, set/capture error status by @jkelleyrtp in #4751 - Fix wasm hotpatching for zero-sized data symbols by @tekacs in #4747
- Fix base path for wasm splitting by @mohe2015 in #4770
- fix collect2 ld error with hotpatching by @jkelleyrtp in #4771
- use
queue_events
instead ofprocess_events
to fix ssr issue by @jkelleyrtp in #4772 - Fix on NixOS by @mohe2015 in #4776
- Don't rely on
window
by @mohe2015 in #4775 - Feat: "dx new" check if given project name is available in filesystem by @thyseus in #4773
- fix: server function custom errors set status codes by @jkelleyrtp in #4782
- Prevent hot patch from leaving devserver in BuildError state by @tekacs in #4784
- more fullstack cleanups: loaders serialize, ServeConfig only by @jkelleyrtp in #4785
- remove --docs cfg to fix docsrs building by @jkelleyrtp in #4788
- datatransfer object, drag_and_drop example, fix drag-and-drop by @jkelleyrtp in #4789
New Contributors
Full Changelog: v0.7.0-rc.1...v0.7.0-rc.2