v0.8.0-alpha.3
- Security updates. Dependencies with RustSec advisories are updated, including rustls 0.23.46, h2 0.4.20 (DoS against fullstack servers) and webbrowser 1.2.4. The minimum versions of rustls, webbrowser and plist are raised so downstream projects can't resolve to vulnerable releases (#5938). The discontinued
async-stdis removed from examples and tests (#5939). - Desktop and mobile on tao 0.37 / wry 0.57 (#5936). On Android, toggling dark mode, font scale, density and similar settings no longer re-creates the activity and leaves a blank webview.
manganis::android::with_activitynow tracks the current activity instead of caching the first one. - Native:
NodeHandlemethods such asset_focus,scroll_toandget_client_rectno longer panic with aRefCelldouble borrow when called from tasks, effects or component bodies during a render. Mutations are now buffered and applied after the VirtualDOM runs, as on web and desktop (#5943).use dioxus_native::prelude::*now includes everythingrsx!needs, so thecannot find module htmlerrors from alpha.2 are gone (#5927). - Web logging in
dx serve: web app logs are now plain text at their real level, so DEBUG is hidden unless verbose is on and the stray%cmarkers are gone (#5921). Signal and memo creation no longer adds a span to the browser's performance buffer in debug builds (#5930). - Core: fixed placement of fragment siblings, a regression from #5554 (#5924, by @rdeaton).
dx new/dx init: cargo-generate 0.25 (#5944).dx new --yeswithout--subtemplatepicks the first sub-template instead of failing withnot a terminal, and hook scripts are no longer left in the generated project. Inside an existing workspace,dx newno longer duplicates members already covered by a glob (#5947), no longer adds a project that has its own[workspace]to the outer workspace (#5948), and no longer reformats the root manifest.dx translate --componentno longer emits a stray)(#5926, by @toastmod, their first contribution).- Dependency upgrades and cleanup: reqwest 0.13 with a single tungstenite 0.29 (#5935), blitz 0.3.0-beta.4 and keyboard-types 0.8 (#5934), toml 1.1 / toml_edit 0.25 / cargo_toml 1.0 (#5937), ratatui 0.30 (#5954), gloo-net 0.7 (#5957), gloo-timers 0.4, and lightningcss without its unused default features (#5942). Many duplicate crate versions are gone from the tree.
- docs.rs:
dioxus-serverdocumentation builds again; it had failed since 0.7.10 (#5923).
- keyboard-types 0.8 (#5934): named keys moved to a separate enum, so
Key::EnterbecomesKey::Named(NamedKey::Enter).NamedKeyis re-exported next toKeyfromdioxus::prelude,dioxus-htmlanddioxus_native::prelude. - Custom renderers (#5945):
WriteMutations::set_attributenow takesBorrowedAttributeValue<'_>instead of&AttributeValue.Textborrows a&str, and there is noListenervariant. dioxus-desktop(#5934, #5936): thelinux-libxdofeature is removed, because muda and tray-icon no longer use libxdo, andlibxdo-devis no longer needed on Linux. Thetransparentandfullscreenfeatures are kept but now do nothing (wry always enables them). In the re-exported tao,Event::Suspended/Resumedmoved toWindowEvent. tao and wry now usewindows0.62, which drops Windows 7.- Fullstack, native targets (#5935):
dioxus::launchinstalls ring as the process-wide rustls crypto provider unless one is already installed. To use a different provider, install it before callinglaunch.axum-serveris now 0.8 andaxum-extra0.12. - Fullstack, web (#5957):
ClientRequest::new_gloo_requestreturns a gloo-net 0.7RequestBuilder. - Native (#5943): code that runs during a render now sees the document as it was before that render, as on web.
- Android (#5936):
manganis::android::with_activityreturnsNonewhen no activity has been set.
- dioxus-server: drop stale docs.rs features so docs build again by @nicoburns in https://github.com/DioxusLabs/dioxus/pull/5923
- dioxus-native: re-export
htmland element prelude frompreludeby @nicoburns in https://github.com/DioxusLabs/dioxus/pull/5927 - fix(cli): Remove ')' from
dx translate --componentby @toastmod in https://github.com/DioxusLabs/dioxus/pull/5926 - Add release-alpha agent skill by @nicoburns in https://github.com/DioxusLabs/dioxus/pull/5928
- signals: record signal and memo spans at trace level by @nicoburns in https://github.com/DioxusLabs/dioxus/pull/5930
- Replace
tracing-wasmwith a custom implementation by @nicoburns in https://github.com/DioxusLabs/dioxus/pull/5921 - fix(core): read fragment siblings through their current mount views d… by @rdeaton in https://github.com/DioxusLabs/dioxus/pull/5924
- Upgrade
global-hotkey,muda,tray-icon,keyboard-types, andzipby @nicoburns in https://github.com/DioxusLabs/dioxus/pull/5934 - Upgrade reqwest to 0.13, unify tungstenite on 0.29, bump axum companions by @nicoburns in https://github.com/DioxusLabs/dioxus/pull/5935
- Upgrade toml to 1.1, toml_edit to 0.25 and cargo_toml to 1.0 by @nicoburns in https://github.com/DioxusLabs/dioxus/pull/5937
- Update dependencies with security advisories by @nicoburns in https://github.com/DioxusLabs/dioxus/pull/5938
- Drop libxdo-dev, replace async-std in examples, bump gloo-timers by @nicoburns in https://github.com/DioxusLabs/dioxus/pull/5939
- Upgrade tao to 0.37 and wry to 0.57 by @nicoburns in https://github.com/DioxusLabs/dioxus/pull/5936
- ci: prune stale cargo artifacts before saving caches, and only save caches on main by @nicoburns in https://github.com/DioxusLabs/dioxus/pull/5950
- core: pass a borrowed attribute value to
WriteMutations::set_attributeby @nicoburns in https://github.com/DioxusLabs/dioxus/pull/5945 - dx new: don't add a workspace member already covered by a glob by @nicoburns in https://github.com/DioxusLabs/dioxus/pull/5947
- dx new: don't add a workspace-root project to an outer workspace by @nicoburns in https://github.com/DioxusLabs/dioxus/pull/5948
- native: buffer mutations and apply them after the vdom has run by @nicoburns in https://github.com/DioxusLabs/dioxus/pull/5943
- Upgrade cargo-generate to 0.25.0 and console-subscriber to 0.5.0 by @nicoburns in https://github.com/DioxusLabs/dioxus/pull/5944
- Trim lightningcss features and upgrade sqlx to 0.9 in examples by @nicoburns in https://github.com/DioxusLabs/dioxus/pull/5942
- Upgrade ratatui to 0.30 and related TUI crates by @nicoburns in https://github.com/DioxusLabs/dioxus/pull/5954
- CI: Use local cache action. Cache Windows via GitHub by @nicoburns in https://github.com/DioxusLabs/dioxus/pull/5951
- CI: Don't rerun CI for a PR title/description edit by @nicoburns in https://github.com/DioxusLabs/dioxus/pull/5956
- Upgrade gloo-net to 0.7 by @nicoburns in https://github.com/DioxusLabs/dioxus/pull/5957
- Bump versions for 0.8.0-alpha.3 release by @nicoburns in https://github.com/DioxusLabs/dioxus/pull/5958
- @toastmod made their first contribution in https://github.com/DioxusLabs/dioxus/pull/5926
Full Changelog: https://github.com/DioxusLabs/dioxus/compare/v0.8.0-alpha.2...v0.8.0-alpha.3
v0.8.0-alpha.2
- New template and rendering internals (#5554):
- Dioxus no longer uses comment-node placeholders and markers, either at runtime or during hydration. Elements that treat their children as text, such as
textarea, now render correctly. rsx!now expands to a const builder API, which you can also use directly.- HTML elements are trait-based, and you can define your own with
dioxus::html::define_elements!. - Core now supports renderer IDs. These lay the groundwork for portals and multiple windows sharing one runtime.
- Dioxus no longer uses comment-node placeholders and markers, either at runtime or during hydration. Elements that treat their children as text, such as
- Dioxus Native is updated to Blitz
0.3.0-beta.3(#5780, #5909). This release also fixes a leak where removed nodes were never freed (#5911). A falsy boolean attribute likedisabled: falseis now removed instead of being written as"false"(#5913). Attributes now default to the empty namespace (#5851). - Linux desktop apps no longer link
libxdoby default (#5749). This fixes prebuilt binaries failing to start on distros that ship a differentlibxdosoname. - CLI:
- The bundle application name now comes from
application.nameinDioxus.toml(#5533). - The runtime no-downloads setting is now respected when bundling (#5748).
- Fixed a wasm-opt
SIGABRTwhen stripping binaries (#5736). - Fixed wasm hot-patching with wasm-bindgen 0.2.128 and newer (#5843).
- The dev server proxy now sets
X-Forwarded-Host(#5627).
- The bundle application name now comes from
- HTML elements are no longer namespaced under
dioxus_elements(#5554). Because element builders are now ordinary items, they can clash with other names in scope. For example, writehtml::main {}instead ofmain {}when your crate also has amainfunction. libxdois now opt-in on Linux (#5749). If your app uses the predefined Copy, Cut, Paste or Select All menu items, enable thelinux-libxdofeature ondioxus-desktop. That means addingdioxus-desktopto your dependencies directly, because the feature isn't exposed throughdioxus.
- Lock cargo-msrv installation dependencies in CI by @danielkov in https://github.com/DioxusLabs/dioxus/pull/5728
- Remove CODEOWNERS by @nicoburns in https://github.com/DioxusLabs/dioxus/pull/5727
- Fix leak in manganis iOS FFI wrappers: hold Retained instead of a raw pointer by @nicoburns in https://github.com/DioxusLabs/dioxus/pull/5733
- feat(cli): Set bundle application name from config by @adamgreg in https://github.com/DioxusLabs/dioxus/pull/5533
- feat(desktop): make libxdo opt-in on Linux via
linux-libxdoby @nabbisen in https://github.com/DioxusLabs/dioxus/pull/5749 - fix(bundle): honor runtime no-downloads setting by @subotac in https://github.com/DioxusLabs/dioxus/pull/5748
- Fix manganis-macro resolve_missing_file_path test on Windows by @jkelleyrtp in https://github.com/DioxusLabs/dioxus/pull/5762
- Markerless placeholders/Portals/Multiwindow/const builder/optimized templates by @ealmloff in https://github.com/DioxusLabs/dioxus/pull/5554
- Upgrade to Blitz 0.3.0-beta.2 by @nicoburns in https://github.com/DioxusLabs/dioxus/pull/5780
- Skip stable fragment edge scans when no children need placement by @ealmloff in https://github.com/DioxusLabs/dioxus/pull/5802
- Set X-Forwarded-Host in the proxy by @paholg in https://github.com/DioxusLabs/dioxus/pull/5627
- fix(rsx):
quote_spanned!->quote!. Resolves clippy::useless_format lints. by @scottfones in https://github.com/DioxusLabs/dioxus/pull/5636 - Fix windows-hotpatch-fullstack flake: route LaunchedRoot through Subsecond; remove SymbolData probe log spam by @nicoburns in https://github.com/DioxusLabs/dioxus/pull/5790
- cli: mirror Cargo's implicit strip default when manually stripping binaries (fixes wasm-opt SIGABRT) by @nicoburns in https://github.com/DioxusLabs/dioxus/pull/5736
- lychee: exclude freyaui.dev (403 from bot protection) by @nicoburns in https://github.com/DioxusLabs/dioxus/pull/5844
- fix(liveview): don't double the
?and#when reading the browser location by @Dev-next-gen in https://github.com/DioxusLabs/dioxus/pull/5836 - Use the empty namespace by default on HTML attributes by @hovinen in https://github.com/DioxusLabs/dioxus/pull/5851
- Introduce a function to create a synthetic form event by @hovinen in https://github.com/DioxusLabs/dioxus/pull/5750
- ci: fix Linux apt package install (stale apt lists + poisoned cache), fix
cargo msrv findby @nicoburns in https://github.com/DioxusLabs/dioxus/pull/5873 - fix(router-macro): omit
?and stray&when query arguments are empty by @nicoburns in https://github.com/DioxusLabs/dioxus/pull/5845 - cli: fix wasm hot-patch fat builds with wasm-bindgen 0.2.128 / Rust beta (Playwright CI) by @nicoburns in https://github.com/DioxusLabs/dioxus/pull/5843
- fix: Filter crates that are not in target by @nicoburns in https://github.com/DioxusLabs/dioxus/pull/5903
- Eliminate
quote/proc-macro2deps fromdioxus-config-macrocrate by @nicoburns in https://github.com/DioxusLabs/dioxus/pull/5868 - Sync Dioxus Native (Blitz 0.3.0-beta.3) by @nicoburns in https://github.com/DioxusLabs/dioxus/pull/5909
- Drop nodes removed by Dioxus in dioxus-native-dom by @nicoburns in https://github.com/DioxusLabs/dioxus/pull/5911
- Remove unused attributes.rs from core-types by @nicoburns in https://github.com/DioxusLabs/dioxus/pull/5910
- Playwright: don't walk hot-patch temp
targetdirs during test collection by @nicoburns in https://github.com/DioxusLabs/dioxus/pull/5914 - fix(native): remove falsy boolean attributes instead of writing "false" by @nicoburns in https://github.com/DioxusLabs/dioxus/pull/5913 (originally #5846 by @ethanstoner)
- @adamgreg made their first contribution in https://github.com/DioxusLabs/dioxus/pull/5533
- @nabbisen made their first contribution in https://github.com/DioxusLabs/dioxus/pull/5749
- @subotac made their first contribution in https://github.com/DioxusLabs/dioxus/pull/5748
- @paholg made their first contribution in https://github.com/DioxusLabs/dioxus/pull/5627
- @scottfones made their first contribution in https://github.com/DioxusLabs/dioxus/pull/5636
- @Dev-next-gen made their first contribution in https://github.com/DioxusLabs/dioxus/pull/5836
Full Changelog: https://github.com/DioxusLabs/dioxus/compare/v0.8.0-alpha.1...v0.8.0-alpha.2
v0.8.0-alpha.1
- Implement support for selection events by @ealmloff in https://github.com/DioxusLabs/dioxus/pull/5570
- fix: release pins on git2 to fix non --locked cli installs by @jkelleyrtp in https://github.com/DioxusLabs/dioxus/pull/5575
- remove v0.7 asset fallback by @jkelleyrtp in https://github.com/DioxusLabs/dioxus/pull/5576
- Pin rhai_codegen by @ealmloff in https://github.com/DioxusLabs/dioxus/pull/5593
- fix(autofmt): formatting idempotency for long if/else attrs, empty bodies, and split_line_attributes by @micahkepe in https://github.com/DioxusLabs/dioxus/pull/5509
- fix: propagate response body read errors by @nanookclaw in https://github.com/DioxusLabs/dioxus/pull/5595
- fix: ReadStore from MappedMutSignal requires Lens: Readable by @MonaMayrhofer in https://github.com/DioxusLabs/dioxus/pull/5607
- Implement support for beforeinput event by @danielkov in https://github.com/DioxusLabs/dioxus/pull/5581
- Bump anyrender_vello_hybrid by @ealmloff in https://github.com/DioxusLabs/dioxus/pull/5609
- feat: expose pasted data on clipboard events by @danielkov in https://github.com/DioxusLabs/dioxus/pull/5611
- fix(router): preserve query and hash segments on child routes by @JOSEPHGILBY in https://github.com/DioxusLabs/dioxus/pull/5613
- Fix hotpatching wasm with new v0 symbol mangling in beta linux builds by @ealmloff in https://github.com/DioxusLabs/dioxus/pull/5622
- Allow using generated assets by @skreborn in https://github.com/DioxusLabs/dioxus/pull/5490
- fix(ssr): translate initial_value/checked/selected to HTML equivalents by @costajohnt in https://github.com/DioxusLabs/dioxus/pull/5493
- native-dom: Add a way to generate synthetic click events by @hovinen in https://github.com/DioxusLabs/dioxus/pull/5658
- CLI: log build failure errors by @nicoburns in https://github.com/DioxusLabs/dioxus/pull/5667
- Sync Blitz/Native (Blitz v0.3.0-beta.1) by @nicoburns in https://github.com/DioxusLabs/dioxus/pull/5673
- fix: create cargo bin dir if it does not exist by @hardliner66 in https://github.com/DioxusLabs/dioxus/pull/5696
- fix(fullstack): allow the server URL to be set more than once by @SilasMarvin in https://github.com/DioxusLabs/dioxus/pull/5704
- Pin kstring and bump the lightningcss minimum to fix ci by @ealmloff in https://github.com/DioxusLabs/dioxus/pull/5708
- fix(cli): prevent duplicate SSG output on rebuild by @sanmaxdev in https://github.com/DioxusLabs/dioxus/pull/5702
- Fix css_module stylesheets missing from SSR head after the first request by @nicoburns in https://github.com/DioxusLabs/dioxus/pull/5707
- fix(bundle): support copying resource dirs for the bundler by @photino in https://github.com/DioxusLabs/dioxus/pull/5619
- fix: avoid Google Fonts in dev templates by @cyphercodes in https://github.com/DioxusLabs/dioxus/pull/5664
- fix(manganis): support 32-bit Android targets in JNI callback by @costajohnt in https://github.com/DioxusLabs/dioxus/pull/5641
- Fix memory leak when passing mapped stores as component props by @ealmloff in https://github.com/DioxusLabs/dioxus/pull/5711
- Run Playwright tests on macOS (stable + beta) by @jkelleyrtp in https://github.com/DioxusLabs/dioxus/pull/5718
- Fix hotpatching when the bin target's crate name differs from the package name by @nicoburns in https://github.com/DioxusLabs/dioxus/pull/5719
- Bump versions for 0.8.0-alpha.1 release by @nicoburns in https://github.com/DioxusLabs/dioxus/pull/5721
- @micahkepe made their first contribution in https://github.com/DioxusLabs/dioxus/pull/5509
- @nanookclaw made their first contribution in https://github.com/DioxusLabs/dioxus/pull/5595
- @MonaMayrhofer made their first contribution in https://github.com/DioxusLabs/dioxus/pull/5607
- @JOSEPHGILBY made their first contribution in https://github.com/DioxusLabs/dioxus/pull/5613
- @skreborn made their first contribution in https://github.com/DioxusLabs/dioxus/pull/5490
- @hovinen made their first contribution in https://github.com/DioxusLabs/dioxus/pull/5658
- @hardliner66 made their first contribution in https://github.com/DioxusLabs/dioxus/pull/5696
- @SilasMarvin made their first contribution in https://github.com/DioxusLabs/dioxus/pull/5704
- @sanmaxdev made their first contribution in https://github.com/DioxusLabs/dioxus/pull/5702
- @cyphercodes made their first contribution in https://github.com/DioxusLabs/dioxus/pull/5664
Full Changelog: https://github.com/DioxusLabs/dioxus/compare/v0.8.0-alpha.0...v0.8.0-alpha.1
v0.7.10
- [v0.7] Fix hotpatching when the bin target's crate name differs from the package name by @nicoburns in https://github.com/DioxusLabs/dioxus/pull/5720
Full Changelog: https://github.com/DioxusLabs/dioxus/compare/v0.7.9...v0.7.10
v0.8.0-alpha.0
This release is the first in the 0.8 series. We've merged a number of breaking changes to internal APIs and slight behavior changes that improve reliability and performance of the CLI and Signals.
We also are shipping a huge quality upgrade to dioxus-native, with lots more rendering capabilities, incremental rendering, custom elements, and more.
Make sure to check out the blitz talk from Rustweek 2026 for more updates on blitz!
Blitz rendering the rustweek talk schedule in the new browser app:
This is the first of the 0.8 cycle, expect more feature-packed releases coming soon.
Note that due to changes upstream, the cli must be installed via --locked if you wish to build from source. We hope to have this resolved soon.
- Port dioxus to use
objc2for interacting with macOS/iOS platform apis by @nicoburns in https://github.com/DioxusLabs/dioxus/pull/5101 - Add non-exhaustive to the derived props in #[component] by @ealmloff in https://github.com/DioxusLabs/dioxus/pull/5422
- Switch to a const hash instead of comparing pointers for template diffing by @ealmloff in https://github.com/DioxusLabs/dioxus/pull/5276
- Fix dropped store comparison when coercing into a readsignal by @ealmloff in https://github.com/DioxusLabs/dioxus/pull/5312
- Enforce method and field visibility in store derives with visibility witness types by @ealmloff in https://github.com/DioxusLabs/dioxus/pull/5425
- update to edition 2024 by @jkelleyrtp in https://github.com/DioxusLabs/dioxus/pull/5502
- Sync 0.8.x versions of
dioxus-nativeanddioxus-native-domfrom Blitz repo by @nicoburns in https://github.com/DioxusLabs/dioxus/pull/5507 - Add retention days to bundle smoke workflow by @ealmloff in https://github.com/DioxusLabs/dioxus/pull/5520
- port js bundle regression fix by @jkelleyrtp in https://github.com/DioxusLabs/dioxus/pull/5521
- clippy fixes for rust 1.95 by @jkelleyrtp in https://github.com/DioxusLabs/dioxus/pull/5522
- Fix bundling on aarch64 Alpine Linux by @hadeutscher in https://github.com/DioxusLabs/dioxus/pull/5524
- Fix macos signing/notarization by @nicoburns in https://github.com/DioxusLabs/dioxus/pull/5527
- feat:Add opt‑in navigation handler for external URLs by @martinmr in https://github.com/DioxusLabs/dioxus/pull/5531
- fix (desktop): Preserve non-bubbling desktop event forwarding by @WhaleFromMars in https://github.com/DioxusLabs/dioxus/pull/5487
- fix: remove "rust-lld" as custom linker on windows by @alex-ds13 in https://github.com/DioxusLabs/dioxus/pull/5242
- enable hotpatch by default, hotreload cargo.toml, dynamic file watcher by @jkelleyrtp in https://github.com/DioxusLabs/dioxus/pull/5506
- Fix: Lifetime unsafety in
ReadableExt::deref_implby @bushrat011899 in https://github.com/DioxusLabs/dioxus/pull/4801 - Revert "Fix: Lifetime unsafety in
ReadableExt::deref_impl" by @jkelleyrtp in https://github.com/DioxusLabs/dioxus/pull/5538 - Trigger rebuilds on both [web.watcher].watch_path (in the config but not wired up) and cargo's depinfo by @tekacs in https://github.com/DioxusLabs/dioxus/pull/5042
- docs: fix image link in translations into files by @WuMingDao in https://github.com/DioxusLabs/dioxus/pull/5550
- Respect https for ssg static routes by @ealmloff in https://github.com/DioxusLabs/dioxus/pull/5553
- fix wasm hotpatching with c deps by @jkelleyrtp in https://github.com/DioxusLabs/dioxus/pull/5556
- Fix respect
NPM_CONFIG_REGISTRYwhile downloadingesbuildby @LLukas22 in https://github.com/DioxusLabs/dioxus/pull/5558 - fix: include missing attributes in html source tag by @mroetsc in https://github.com/DioxusLabs/dioxus/pull/5559
- Sync Dioxus Native (Blitz 0.3.0-alpha.4) by @nicoburns in https://github.com/DioxusLabs/dioxus/pull/5563
- chore: bump wry from 0.53.5 to 0.54.4 by @emilbonnek in https://github.com/DioxusLabs/dioxus/pull/5544
- @WhaleFromMars made their first contribution in https://github.com/DioxusLabs/dioxus/pull/5487
- @alex-ds13 made their first contribution in https://github.com/DioxusLabs/dioxus/pull/5242
- @bushrat011899 made their first contribution in https://github.com/DioxusLabs/dioxus/pull/4801
- @WuMingDao made their first contribution in https://github.com/DioxusLabs/dioxus/pull/5550
- @mroetsc made their first contribution in https://github.com/DioxusLabs/dioxus/pull/5559
- @emilbonnek made their first contribution in https://github.com/DioxusLabs/dioxus/pull/5544
Full Changelog: https://github.com/DioxusLabs/dioxus/compare/v0.7.6...v0.8.0-alpha.0
v0.7.9
This release fixes an issue where dx --version would use an outdated git SHA, and dioxus-cli installed from cargo install would not have a version at all, preventing self-update from functioning properly.
Full Changelog: https://github.com/DioxusLabs/dioxus/compare/v0.7.8...v0.7.9
v0.7.8
This release fixes a few small bugs discovered while working on v0.8. We decided the backport these to bring out fixes faster.
- Fix macos signing/notarization (0.7 backport) by @nicoburns in https://github.com/DioxusLabs/dioxus/pull/5528
- fix: toctou in wasm hotpatch apply_patch causing UB by @jkelleyrtp in https://github.com/DioxusLabs/dioxus/pull/5534
- backport iframe fix to v0.7 by @jkelleyrtp in https://github.com/DioxusLabs/dioxus/pull/5535
Full Changelog: https://github.com/DioxusLabs/dioxus/compare/v0.7.7...v0.7.8
v0.7.7
This release fixes a regression with JS bundling where DX would always bundle JS snippets as ESM, even though they might be CJS, UMD, or a generic JS snippet. We now properly detect the js module type and then run esbuild with the appropriate flags.
- autodetect js module type - only bundle esm by @jkelleyrtp in https://github.com/DioxusLabs/dioxus/pull/5515
Full Changelog: https://github.com/DioxusLabs/dioxus/compare/v0.7.6...v0.7.7
v0.7.6
This release solves a large number of bugs and adds a few new features! We intend for it to be the final release of 0.7 - our git repo will now ship breaking changes in prep for 0.8.
- Shell-completions for
dxusingdx completions - Much faster dev server starts for
dx serve --hotpatch - Dioxus web apps that panic while handling events will no longer brick the webpage
- 20+ new code examples
- cursor editor debug support
- Windows app icon bundling in
dx serveanddx bundle
- Fix too restrictive Clone bounds in props with generics by @Gohla in https://github.com/DioxusLabs/dioxus/pull/5451
- fix: ensure file type bit is set for rpm bundle by @acrilique in https://github.com/DioxusLabs/dioxus/pull/5459
- Fix autofill event downcast - ignore events of the wrong type by @ealmloff in https://github.com/DioxusLabs/dioxus/pull/5379
- Add shell-completions for
dxby @sermuns in https://github.com/DioxusLabs/dioxus/pull/5232 - fix(autofmt): add support for handling comments in various expression types by @jkelleyrtp in https://github.com/DioxusLabs/dioxus/pull/5461
- fix: Content-hash-based filename when bundling with wasm_split by @SuperKenVery in https://github.com/DioxusLabs/dioxus/pull/5340
- feat: add blanket IntoAttributeValue impl for references by @tmchow in https://github.com/DioxusLabs/dioxus/pull/5447
- feat: support Cursor editor as debug session option by @faysou in https://github.com/DioxusLabs/dioxus/pull/5205
- feat(html): add
inertglobal HTML attribute by @tmchow in https://github.com/DioxusLabs/dioxus/pull/5476 - Fix: notify parent store when child is marked dirty by @dunkyl in https://github.com/DioxusLabs/dioxus/pull/5365
- Remove bevy from the workspace by @nicoburns in https://github.com/DioxusLabs/dioxus/pull/5471
- fix: workspace hotpatch cache thrashing, feat: add compile profiling, cleanup + refactor + document cli request.rs file by @jkelleyrtp in https://github.com/DioxusLabs/dioxus/pull/5479
- Fix resize and visible type conversion for web by @ealmloff in https://github.com/DioxusLabs/dioxus/pull/5483
- make Action partialeq by @jkelleyrtp in https://github.com/DioxusLabs/dioxus/pull/5488
- Minor fixes for tests by @martin-hughes in https://github.com/DioxusLabs/dioxus/pull/4686
- fix(cli): display user-specified address in serve output by @costajohnt in https://github.com/DioxusLabs/dioxus/pull/5481
- fix: more panic resilience by @jkelleyrtp in https://github.com/DioxusLabs/dioxus/pull/5489
- Add FreeBSD target detection for esbuild by @Servus-Altissimi in https://github.com/DioxusLabs/dioxus/pull/5498
- Manganis: Don't double borrow primitive JNI args by @LLukas22 in https://github.com/DioxusLabs/dioxus/pull/5499
- update the dioxus cratesio readme, add many more examples by @jkelleyrtp in https://github.com/DioxusLabs/dioxus/pull/5501
- fix(autofmt): preserve indentation of commented-out RSX blocks by @seflue in https://github.com/DioxusLabs/dioxus/pull/5464
- feat: windows app icon by @Klemen2 in https://github.com/DioxusLabs/dioxus/pull/3753
- @Gohla made their first contribution in https://github.com/DioxusLabs/dioxus/pull/5451
- @acrilique made their first contribution in https://github.com/DioxusLabs/dioxus/pull/5459
- @SuperKenVery made their first contribution in https://github.com/DioxusLabs/dioxus/pull/5340
- @tmchow made their first contribution in https://github.com/DioxusLabs/dioxus/pull/5447
- @faysou made their first contribution in https://github.com/DioxusLabs/dioxus/pull/5205
- @dunkyl made their first contribution in https://github.com/DioxusLabs/dioxus/pull/5365
- @martin-hughes made their first contribution in https://github.com/DioxusLabs/dioxus/pull/4686
- @Servus-Altissimi made their first contribution in https://github.com/DioxusLabs/dioxus/pull/5498
- @LLukas22 made their first contribution in https://github.com/DioxusLabs/dioxus/pull/5499
- @seflue made their first contribution in https://github.com/DioxusLabs/dioxus/pull/5464
Full Changelog: https://github.com/DioxusLabs/dioxus/compare/v0.7.5...v0.7.6
v0.7.5
This release fixes a critical issue where Dioxus wouldn't compile if your Cargo.lock specified too-old versions dependencies like futures-unordered. This was caused by the Dioxus Cargo.toml specifying versions like futures="0.3" when in fact 0.3.32 was required.
Note that the dioxus crate was not updated - only its dependencies that use these versions - so we recommend running cargo update manually.
We also fixed a few other bugs related to hotpatching, autoformatting, and bundling.
- fix(autofmt): remove extra whitespace before commas in for-loop tuple patterns by @costajohnt in https://github.com/DioxusLabs/dioxus/pull/5384
- fix(server): don't redirect error responses from #[get] server functions by @costajohnt in https://github.com/DioxusLabs/dioxus/pull/5429
- Forward
-Blinker search path in thin/patch link args on Linux by @Wilovy09 in https://github.com/DioxusLabs/dioxus/pull/5443 - Add support for aarch64 Windows platform in wasm_opt by @hadeutscher in https://github.com/DioxusLabs/dioxus/pull/5442
- Fixed issue #5438: Added FIPS Compliance flag to candle.exe command by @MasterTemple in https://github.com/DioxusLabs/dioxus/pull/5439
- Check minimum versions in CI by @ealmloff in https://github.com/DioxusLabs/dioxus/pull/5437
- @Wilovy09 made their first contribution in https://github.com/DioxusLabs/dioxus/pull/5443
- @hadeutscher made their first contribution in https://github.com/DioxusLabs/dioxus/pull/5442
- @MasterTemple made their first contribution in https://github.com/DioxusLabs/dioxus/pull/5439
Full Changelog: https://github.com/DioxusLabs/dioxus/compare/v0.7.4...v0.7.5