Skip to content

Dioxus v0.6.3

Choose a tag to compare

@jkelleyrtp jkelleyrtp released this 08 Feb 00:47
· 580 commits to main since this release
fc1f1c2

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

New Contributors

Full Changelog: v0.6.1...v0.6.3