v0.5.1

DioxusLabs/dioxusv0.5.1Apr 5, 2024by jkelleyrtp

AI Summary

This patch release addresses stability issues including memory leaks and async handling problems following the 0.5.0 launch.

Key Highlights

  • Fixes async polling issues
  • Fixes memory leak in EventHandler
  • Fixes issues with memos and resources
  • Autoformatter updated

Full Release Notes

## 0.5.1: Bug Fixes!

Thanks everyone for the great feedback for the 0.5.0 launch! We're releasing 0.5.1 now with a bunch of bug fixes.

This includes some stuff like fixing async polling, some smalls issues with memos and resources, and a memory leak in EventHandler.

We strongly recommend you upgrade your dioxus project with `cargo update`!

The autoformatter also changed a bit, so if you're using the VSCode extension, you should get the updates automatically.

## What's Changed
* fix: remove misplaced 'a' from cli help text by @simonsan in https://github.com/DioxusLabs/dioxus/pull/2166
* fix(generational-box): polished README.md by @Andrew15-5 in https://github.com/DioxusLabs/dioxus/pull/2168
* fix: Hide launch mod when disabled by @marc2332 in https://github.com/DioxusLabs/dioxus/pull/2171
* fix: Reflect that `create` command was renamed to `new` by @foresterre in https://github.com/DioxusLabs/dioxus/pull/2174
* Fix: Move dioxus_core::diff::node logs from info to trace by @marko-lazic in https://github.com/DioxusLabs/dioxus/pull/2182
* Bump rfd to version 0.14 fixing 2149 by @davidMcneil in https://github.com/DioxusLabs/dioxus/pull/2161
* Fix the mobile feature on the dioxus crate by @ealmloff in https://github.com/DioxusLabs/dioxus/pull/2185
* Fix hydration for static text nodes at the root of the template by @ealmloff in https://github.com/DioxusLabs/dioxus/pull/2184
* Fix child routers with the web history by @ealmloff in https://github.com/DioxusLabs/dioxus/pull/2172
* Make Leptos iteration example equivalent of Dioxus iteration example by @gbj in https://github.com/DioxusLabs/dioxus/pull/2191
* docs: :memo: new readme translated into Turkish by @Tahinli in https://github.com/DioxusLabs/dioxus/pull/2196
* fix: typo by @loverdos in https://github.com/DioxusLabs/dioxus/pull/2202
* Fix for Counters sample code in README by @ekanna in https://github.com/DioxusLabs/dioxus/pull/2209
* chore: Clean up `use_on_destroy` docs by @marc2332 in https://github.com/DioxusLabs/dioxus/pull/2199
* Fix for Counters sample code in Readme by @ekanna in https://github.com/DioxusLabs/dioxus/pull/2213
* Fix typo is style tag removal causing style attributes to not be removed by @jkelleyrtp in https://github.com/DioxusLabs/dioxus/pull/2220
* Fix rendering aborted nodes in SSR by @ealmloff in https://github.com/DioxusLabs/dioxus/pull/2218
* Fix and test spawn_forever by @ealmloff in https://github.com/DioxusLabs/dioxus/pull/2216
* Reuse placeholder nodes on each thread to reduce allocation by @ealmloff in https://github.com/DioxusLabs/dioxus/pull/2217
* Re-export generational box error types from the signals crate by @ealmloff in https://github.com/DioxusLabs/dioxus/pull/2212
* Fix firefox refreshing loop in debug mode by @ealmloff in https://github.com/DioxusLabs/dioxus/pull/2214
* Implement the "Toggle Developer Tools" menu item in desktop by @mullr in https://github.com/DioxusLabs/dioxus/pull/2198
* Fixes to autofmt, make it more aggressive  by @jkelleyrtp in https://github.com/DioxusLabs/dioxus/pull/2230
* Fix hydration for non-bubbling events by @ealmloff in https://github.com/DioxusLabs/dioxus/pull/2234
* Fix: requeue events, process events  by @jkelleyrtp in https://github.com/DioxusLabs/dioxus/pull/2236
* Feat: provide root context as method on virtualdom by @jkelleyrtp in https://github.com/DioxusLabs/dioxus/pull/2243
* Fix: memory leak on listeners for elements by @jkelleyrtp in https://github.com/DioxusLabs/dioxus/pull/2244
* Fix memory leak in owner by @jkelleyrtp in https://github.com/DioxusLabs/dioxus/pull/2245
* Use a VecDequeue instead of a vec for bytes  by @jkelleyrtp in https://github.com/DioxusLabs/dioxus/pull/2246
* Fix recycling on component callbacks by @jkelleyrtp in https://github.com/DioxusLabs/dioxus/pull/2247

## New Contributors
* @simonsan made their first contribution in https://github.com/DioxusLabs/dioxus/pull/2166
* @foresterre made their first contribution in https://github.com/DioxusLabs/dioxus/pull/2174
* @marko-lazic made their first contribution in https://github.com/DioxusLabs/dioxus/pull/2182
* @davidMcneil made their first contribution in https://github.com/DioxusLabs/dioxus/pull/2161
* @gbj made their first contribution in https://github.com/DioxusLabs/dioxus/pull/2191
* @loverdos made their first contribution in https://github.com/DioxusLabs/dioxus/pull/2202
* @ekanna made their first contribution in https://github.com/DioxusLabs/dioxus/pull/2209
* @mullr made their first contribution in https://github.com/DioxusLabs/dioxus/pull/2198

**Full Changelog**: https://github.com/DioxusLabs/dioxus/compare/v0.5.0...v0.5.1