Dioxus 0.6.1: Bug fixes
This patch release fixes a number of issues during the 1st week of Dioxus 0.6 release.
Make sure you update your dioxus-cli
!
cargo binstall dioxus-cli --version 0.6.1 --force
Also make sure to run cargo update
to take advantage of the fixes in your app itself.
A list of the fixes
- The CLI now installs the proper wasm-bindgen version dynamically instead of requiring a new download of dx
- Our asset hot-reload is more resilient on web, fixing an issue where we accidentally broke some query parameters
- Windows asset canonicalization is fixed (unc paths!) with manganis, fixing asset hot-reload
- Our docs.rs build was failing due to our platform support list being wrong, this is fixed now
- Android asset hot-reloading has been fixed/improved. The old version relied on the emulator being launched with su while the new one uses the /tmp directory to store hot-reloaded assets.
- Occasionally toasts would be triggered but not inside the Dioxus runtime, leading to some panics
- The "starting rebuild" toast wasn't being sent in some cases, this is fixed.
- Sometimes the CLI would swallow
cargo
logs - this is fixed - The CLI now suggest to toggle trace mode for more information
- The CLI now suggests to run the tailwind CLI if your project uses tailwind
- Occasionally links in liveview would cause a full reload, this is fixed
- We fixed a frame clipping issue with the CLI inline viewport
- onmounted no longer fires multiple times
What's Changed
- Fix hot reloading stylesheets with an existing query parameter by @ealmloff in #3315
- Fix enable_out_of_order_streaming doc example and manganis macro remote example by @ealmloff in #3317
- Fix: Windows Manganis Asset Hot Reload by @DogeDark in #3330
- fix: drop target list to make docsrs build happy by @jkelleyrtp in #3329
- feat: android asset hotreloading by @jkelleyrtp in #3332
- Always run toast eval inside the runtime by @ealmloff in #3313
- fix: toasts not being sent on rebuild by @jkelleyrtp in #3333
- fix: print
error:
messages and their contents from cargo by @jkelleyrtp in #3336 - Fix client side liveview links by @ealmloff in #3341
- Feat: CLI
wasm-bindgen-cli
Installer by @DogeDark in #3335 - Fix: unwraps while ignoring log lines by @jkelleyrtp in #3370
- fix space remaining mis calc in cli frame causing tears by @jkelleyrtp in #3371
- Fix space remaining (again) by @jkelleyrtp in #3377
- fix: throw error when asset is empty by @jkelleyrtp in #3379
- add helpful message for obscure cargo failures by @jkelleyrtp in #3380
- fix peek() example by @spookyvision in #3375
- Revision: Add more info to template creation message. by @DogeDark in #3320
- Fix onmounted event triggering many times by @ealmloff in #3346
- Improve the second example in the read write same scope warning by @ealmloff in #3374
- Add a guide for releasing Dioxus by @jkelleyrtp in #3384
Full Changelog: v0.6.0...v0.6.1