v0.6.3

DioxusLabs/dioxusv0.6.3Feb 8, 2025by jkelleyrtp

AI Summary

A patch release focused on stabilizing the mobile tooling and fixing critical bundling and translation bugs introduced in the 0.6 major version.

Key Highlights

  • Fixes html to rsx translation
  • Fixes bundling .exe on Windows
  • Proper handling of gitignored manganis assets
  • Support for Android device hot-reloading over adb

New Features

  • Android hot-reload support over adb

Full Release Notes

This release fixes a number of bugs and cleans up the internal implementations of a few APIs.

Notably
- Fixes in `dx` html -> rsx translation
- Fixes for bundling .exe on windows
- Proper handling of gitignored manganis assets
- Support for android device hot-reloading over `adb`
- Fixes to template partialeq that enable view transitions in the router

To upgrade:
- run `cargo update`
- install the new CLI with `cargo binstall dioxus-cli --force` 

## What's Changed
* Make the file engine feature in the html crate a no-op by @ealmloff in https://github.com/DioxusLabs/dioxus/pull/3392
* Fix event closure invoked recursively by @ealmloff in https://github.com/DioxusLabs/dioxus/pull/3405
* Don't panic if the duration is negative in try_get_or_insert by @ealmloff in https://github.com/DioxusLabs/dioxus/pull/3413
* fix copy assets progress by moving fetch_add out of trace!(). by @liigo in https://github.com/DioxusLabs/dioxus/pull/3385
* Assume the virtual dom is not rendering while not diffing components by @ealmloff in https://github.com/DioxusLabs/dioxus/pull/3406
* Fix path to image in README.md by @flba-eb in https://github.com/DioxusLabs/dioxus/pull/3443
* Return None in autodetect_on_cargo_feature on other platforms by @rhaskia in https://github.com/DioxusLabs/dioxus/pull/3445
* Keep rebuilding toast alive longer by @liigo in https://github.com/DioxusLabs/dioxus/pull/3455
* Make `Routable` derive macro hygienic by @MrGVSV in https://github.com/DioxusLabs/dioxus/pull/3437
* Fixed asset path resolver to use the second segment instead of first. by @sjud in https://github.com/DioxusLabs/dioxus/pull/3472
* fix: pin cargo-msrv to older version by @jkelleyrtp in https://github.com/DioxusLabs/dioxus/pull/3486
* remove version pin on tao by @sehnryr in https://github.com/DioxusLabs/dioxus/pull/3485
* the main exe to be bundled should have '.exe' extension on windows by @liigo in https://github.com/DioxusLabs/dioxus/pull/3482
* Use a better default browser list and fail gracefully when css parsing fails by @ealmloff in https://github.com/DioxusLabs/dioxus/pull/3509
* Add Persian Translation by @Mehrbod2002 in https://github.com/DioxusLabs/dioxus/pull/3387
* Fix the event handler memory leak by @ealmloff in https://github.com/DioxusLabs/dioxus/pull/3508
* fix(cli): Log errors when `adb` command fails by @Plebshot in https://github.com/DioxusLabs/dioxus/pull/3493
* fix: bump futures-channel to prevent locked versions from conflicting by @jkelleyrtp in https://github.com/DioxusLabs/dioxus/pull/3510
* Fix compiler error in examples/fullstack-auth by @ywiyogo in https://github.com/DioxusLabs/dioxus/pull/3359
* Dioxus Playground Hot Reload Support by @DogeDark in https://github.com/DioxusLabs/dioxus/pull/3098
* Get server address from cli in fullstack-auth example.  by @charles-r-earp in https://github.com/DioxusLabs/dioxus/pull/3494
* fix(cli): get ip addr & port number from config by @wiseaidev in https://github.com/DioxusLabs/dioxus/pull/3369
* feat: Reexport the `Warning` trait in dioxus-signals by @marc2332 in https://github.com/DioxusLabs/dioxus/pull/3321
* feat: document and re-export dioxus-cli-config by @jkelleyrtp in https://github.com/DioxusLabs/dioxus/pull/3515
* Fix Routable::parent with hash segments and query params by @ealmloff in https://github.com/DioxusLabs/dioxus/pull/3484
* Fix hydration of suspense fragments that contain text nodes by @ealmloff in https://github.com/DioxusLabs/dioxus/pull/3287
* Fix mounted event after initial hydration by @ealmloff in https://github.com/DioxusLabs/dioxus/pull/3480
* Improve error message when dx is called on a virtual or library package by @ealmloff in https://github.com/DioxusLabs/dioxus/pull/3505
* Fix dx bundle fails when no assets are copied by @BleemIs42 in https://github.com/DioxusLabs/dioxus/pull/3519
* fix: Handle unicode in webview events. by @tdomhan in https://github.com/DioxusLabs/dioxus/pull/3386
* fix: add additional lock when calling wait_for_work on android by @jkelleyrtp in https://github.com/DioxusLabs/dioxus/pull/3524
* Fix the test_stream function running after the stream is closed by @ealmloff in https://github.com/DioxusLabs/dioxus/pull/3396
* Fix: Asset Cache On Windows & Asset Status by @DogeDark in https://github.com/DioxusLabs/dioxus/pull/3525
* fix: viewBox translation by not accidentally stringifying literals by @jkelleyrtp in https://github.com/DioxusLabs/dioxus/pull/3527
* Fix ssg race condition by @ealmloff in https://github.com/DioxusLabs/dioxus/pull/3521
* Fix opening fullstack and server crash logging in the CLI by @ealmloff in https://github.com/DioxusLabs/dioxus/pull/3488
* Remove empty doctor command by @ealmloff in https://github.com/DioxusLabs/dioxus/pull/3536
* Fix pointer provenance in const serialize with zero sized type enum variants by @ealmloff in https://github.com/DioxusLabs/dioxus/pull/3532
* Fix: Enable `keep_fn_names` In SWC Mangling by @DogeDark in https://github.com/DioxusLabs/dioxus/pull/3539
* docs: demonstrate extending both global and element attributes by @Plebshot in https://github.com/DioxusLabs/dioxus/pull/3555
* fix: cli package name search by @Anakael in https://github.com/DioxusLabs/dioxus/pull/3561
* Fixed the multiple window closing issue, where the two multiwindow examples weren't working. by @sertschgi in https://github.com/DioxusLabs/dioxus/pull/3499
* Add server context to suspense resolution by @Houndie in https://github.com/DioxusLabs/dioxus/pull/3552
* Fix rsx expression autocomplete by @ealmloff in https://github.com/DioxusLabs/dioxus/pull/3568
* fix: don't accidentally generate .d.ts files with wasm-bindgen by @jkelleyrtp in https://github.com/DioxusLabs/dioxus/pull/3577
* Fix outdir not work when run dx bundle --platform web --outdir mydir by @BleemIs42 in https://github.com/DioxusLabs/dioxus/pull/3572
* feat(cli): add feature to disable downloads by @CathalMullan in https://github.com/DioxusLabs/dioxus/pull/3465
* Fix repeated subscription to dropped scope leak by @ealmloff in https://github.com/DioxusLabs/dioxus/pull/3569
* fix: window state preservation by soft-killing the process by @jkelleyrtp in https://github.com/DioxusLabs/dioxus/pull/3579
* Fix: Only Resize WebView Associated With Window by @CryZe in https://github.com/DioxusLabs/dioxus/pull/3584
* Simplify fullstack auth example by @ealmloff in https://github.com/DioxusLabs/dioxus/pull/3598
* Fix fullstack hackernews example instructions by @ealmloff in https://github.com/DioxusLabs/dioxus/pull/3597
* feat: device hot-reload, tools-relative adb, auto port bind by @jkelleyrtp in https://github.com/DioxusLabs/dioxus/pull/3586
* fix: don't gitignore manganis assets during hot-reload by @jkelleyrtp in https://github.com/DioxusLabs/dioxus/pull/3606
* fix: don't send hot-reload if app is building by @jkelleyrtp in https://github.com/DioxusLabs/dioxus/pull/3607
* feat: android bundling, red/blue exe names, session cache by @jkelleyrtp in https://github.com/DioxusLabs/dioxus/pull/3608
* Fix: `always-on-top` setting by @DogeDark in https://github.com/DioxusLabs/dioxus/pull/3347
* fix: dont unwrap as much in desktop by @jkelleyrtp in https://github.com/DioxusLabs/dioxus/pull/3609
* Fix hot reload diffing to empty rsx by @ealmloff in https://github.com/DioxusLabs/dioxus/pull/3567
* Remove the todo list from the examples readme by @ealmloff in https://github.com/DioxusLabs/dioxus/pull/3613
* docs: update translations/ja-jp/README.md by @eltociear in https://github.com/DioxusLabs/dioxus/pull/3615
* fix: too much padding for small frames by @jkelleyrtp in https://github.com/DioxusLabs/dioxus/pull/3616
* fix: don't have Rc cycles in DioxusElement or Queries by @jkelleyrtp in https://github.com/DioxusLabs/dioxus/pull/3618
* Optimize wasm bindgen asset with manganis by @ealmloff in https://github.com/DioxusLabs/dioxus/pull/3531
* fix: use a different temp path to not confuse image opt by @jkelleyrtp in https://github.com/DioxusLabs/dioxus/pull/3620
* CryptoProvider error. by @vgobbo in https://github.com/DioxusLabs/dioxus/pull/3619
* fix: pass off env vars to android apps by @jkelleyrtp in https://github.com/DioxusLabs/dioxus/pull/3621
* Use the launch builder instead of web launch in the fullstack auth example by @ealmloff in https://github.com/DioxusLabs/dioxus/pull/3640
* Fix web eval return by @ealmloff in https://github.com/DioxusLabs/dioxus/pull/3656
* Ignore write while rendering warning in memo lazy recompute by @ealmloff in https://github.com/DioxusLabs/dioxus/pull/3647
* Fix the pwa example by @ealmloff in https://github.com/DioxusLabs/dioxus/pull/3664
* fix: Downgrade publish ci to ubuntu 22.04 by @marc2332 in https://github.com/DioxusLabs/dioxus/pull/3663
* fix: don't emit hash fragment for internal links if hash is empty by @jkelleyrtp in https://github.com/DioxusLabs/dioxus/pull/3660
* remove html! macro mentioning by @jonaspleyer in https://github.com/DioxusLabs/dioxus/pull/3654
* feat: Allow using `NavigationTarget` outside router by @marc2332 in https://github.com/DioxusLabs/dioxus/pull/3633
* Allow to connect to the dev server from a physical Android device by @Andrew15-5 in https://github.com/DioxusLabs/dioxus/pull/3634
* Fix additional attributes for js renderers by @ealmloff in https://github.com/DioxusLabs/dioxus/pull/3625
* Add examples for LaunchBuilder methods by @vishwamartur in https://github.com/DioxusLabs/dioxus/pull/3629
* Remove the stylesheet component by @ealmloff in https://github.com/DioxusLabs/dioxus/pull/3176
* feat(examples): add Context API state management example  by @Danish903 in https://github.com/DioxusLabs/dioxus/pull/3657
* Fix serving desktop+fullstack apps that have not set a server url by @ealmloff in https://github.com/DioxusLabs/dioxus/pull/3701
* fix onload and onerror parsing error by @sehnryr in https://github.com/DioxusLabs/dioxus/pull/3707
* use main exe name without extension for bundler on windows by @oletf in https://github.com/DioxusLabs/dioxus/pull/3696
* Allow Missing Prop Docs by @DogeDark in https://github.com/DioxusLabs/dioxus/pull/3692
* Fix: Stop Failing Silently When Bundling Windows by @DogeDark in https://github.com/DioxusLabs/dioxus/pull/3682
* Feat: Ability To Disable File Drop Handler by @DogeDark in https://github.com/DioxusLabs/dioxus/pull/3680
* docs: improved issue templates by @Andrew15-5 in https://github.com/DioxusLabs/dioxus/pull/3698
* Hash and compare templates by value in debug mode by @ealmloff in https://github.com/DioxusLabs/dioxus/pull/3630

## New Contributors
* @liigo made their first contribution in https://github.com/DioxusLabs/dioxus/pull/3385
* @flba-eb made their first contribution in https://github.com/DioxusLabs/dioxus/pull/3443
* @rhaskia made their first contribution in https://github.com/DioxusLabs/dioxus/pull/3445
* @sjud made their first contribution in https://github.com/DioxusLabs/dioxus/pull/3472
* @sehnryr made their first contribution in https://github.com/DioxusLabs/dioxus/pull/3485
* @Mehrbod2002 made their first contribution in https://github.com/DioxusLabs/dioxus/pull/3387
* @Plebshot made their first contribution in https://github.com/DioxusLabs/dioxus/pull/3493
* @ywiyogo made their first contribution in https://github.com/DioxusLabs/dioxus/pull/3359
* @charles-r-earp made their first contribution in https://github.com/DioxusLabs/dioxus/pull/3494
* @wiseaidev made their first contribution in https://github.com/DioxusLabs/dioxus/pull/3369
* @tdomhan made their first contribution in https://github.com/DioxusLabs/dioxus/pull/3386
* @Anakael made their first contribution in https://github.com/DioxusLabs/dioxus/pull/3561
* @sertschgi made their first contribution in https://github.com/DioxusLabs/dioxus/pull/3499
* @Houndie made their first contribution in https://github.com/DioxusLabs/dioxus/pull/3552
* @CathalMullan made their first contribution in https://github.com/DioxusLabs/dioxus/pull/3465
* @CryZe made their first contribution in https://github.com/DioxusLabs/dioxus/pull/3584
* @jonaspleyer made their first contribution in https://github.com/DioxusLabs/dioxus/pull/3654
* @vishwamartur made their first contribution in https://github.com/DioxusLabs/dioxus/pull/3629
* @Danish903 made their first contribution in https://github.com/DioxusLabs/dioxus/pull/3657
* @oletf made their first contribution in https://github.com/DioxusLabs/dioxus/pull/3696

**Full Changelog**: https://github.com/DioxusLabs/dioxus/compare/v0.6.1...v0.6.3