v0.2.4

DioxusLabs/dioxusv0.2.4May 3, 2022by jkelleyrtp

AI Summary

A minor feature update introducing LiveView and Dioxus Native core, along with improvements to props and RSX error messages.

Key Highlights

  • Option<T> in props are now optional by default.
  • Active class for router links.
  • Improved RSX error messages.
  • Introduce LiveView and Dioxus Native (core bits).

New Features

  • Active class for Links
  • Improve rsx! errors
  • Introduce LiveView
  • Introduce Dioxus Native core
  • use_eval for running JS

Full Release Notes

## Releasing Diouxs v0.2.4

This update is just a minor bump to Dioxus. A ton of bugs were fixed, and a few new features were added.

Notably
- Option<T> in props are now optional by default
- Active_class for Links
- Improve rsx! errors
- Fix some bugs in hydration
- Introduce a very young version of Liveview
- Introduce a very young version of Dioxus Native (just the core bits)
- use_eval for running JS

A bunch of bugs were fixed too!

Overall, this release will improve the stability, performance, and usability of Dioxus without any major breaking changes.

## What's Changed
* Added active class to router link by @maccesch in https://github.com/DioxusLabs/dioxus/pull/294
* active_class prop for Router by @maccesch in https://github.com/DioxusLabs/dioxus/pull/309
* fix: Filter prevent default for buttons in Dioxus Desktop by @jkelleyrtp in https://github.com/DioxusLabs/dioxus/pull/310
* Remove release_max_level features from several Cargo.toml log dependencies by @naturalethic in https://github.com/DioxusLabs/dioxus/pull/314
* Update setup.md by @imbolc in https://github.com/DioxusLabs/dioxus/pull/323
* Improve `rsx!` errors by @overlisted in https://github.com/DioxusLabs/dioxus/pull/322
* Option<...> props are optional by default. by @maccesch in https://github.com/DioxusLabs/dioxus/pull/315
* Capture correct radio button value in a form input event by @naturalethic in https://github.com/DioxusLabs/dioxus/pull/320
* fix: setnode method for rehydration code by @jkelleyrtp in https://github.com/DioxusLabs/dioxus/pull/316
* `#[inline_props]` generics by @overlisted in https://github.com/DioxusLabs/dioxus/pull/324
* tui bugfixes and text modifier elements by @Demonthos in https://github.com/DioxusLabs/dioxus/pull/302
* fix: instantly resolving futures should not use popping by @jkelleyrtp in https://github.com/DioxusLabs/dioxus/pull/330
* Convert all logs to trace by @naturalethic in https://github.com/DioxusLabs/dioxus/pull/334
* Fix form value collecting from form element instead of input element by @naturalethic in https://github.com/DioxusLabs/dioxus/pull/333
* Fixed Docs Problem by @mrxiaozhuox in https://github.com/DioxusLabs/dioxus/pull/336
* Minor improvements to the guide by @kdwarn in https://github.com/DioxusLabs/dioxus/pull/335
* fix: diff_lazynodes bug adding children by @Demonthos in https://github.com/DioxusLabs/dioxus/pull/331
* Eval stuff by @overlisted in https://github.com/DioxusLabs/dioxus/pull/318
* Include optional public-url flag in build instruction within getting … by @TimboTambo in https://github.com/DioxusLabs/dioxus/pull/343
* Fix typo in docs for NodeFactory.bump by @autarch in https://github.com/DioxusLabs/dioxus/pull/350
* fix: inline props should look for attributes by @jkelleyrtp in https://github.com/DioxusLabs/dioxus/pull/347
* Update mobile.md by @erlend-sh in https://github.com/DioxusLabs/dioxus/pull/349
* Fixed example by @mrxiaozhuox in https://github.com/DioxusLabs/dioxus/pull/356
* Fixed Document by @mrxiaozhuox in https://github.com/DioxusLabs/dioxus/pull/357
* feat: allow customizing the index and head by @jkelleyrtp in https://github.com/DioxusLabs/dioxus/pull/353
* Fix query parsing by @mirichan in https://github.com/DioxusLabs/dioxus/pull/358
* feat: Add a use_state equivalent for Fermi by @jkelleyrtp in https://github.com/DioxusLabs/dioxus/pull/341
* Removed alerts when right click is disabled. by @blemelin in https://github.com/DioxusLabs/dioxus/pull/363
* Add PartialEq to events::KeyCode by @freopen in https://github.com/DioxusLabs/dioxus/pull/365
* add benchmark, headless mode, and shutdown context to tui by @Demonthos in https://github.com/DioxusLabs/dioxus/pull/362
* Liveview Axum Integration + Example updates by @WIGGLES-dev in https://github.com/DioxusLabs/dioxus/pull/366
* fix: unmarking component as dirty in silent write by @koptan in https://github.com/DioxusLabs/dioxus/pull/378
* fix: export useeffect in hooks module by @koptan in https://github.com/DioxusLabs/dioxus/pull/379
* Remove `cli` docs by @mrxiaozhuox in https://github.com/DioxusLabs/dioxus/pull/380
* FEAT: Allow starting live view apps with props by @WIGGLES-dev in https://github.com/DioxusLabs/dioxus/pull/377
* Fix cfg conditions for wasm by @DusterTheFirst in https://github.com/DioxusLabs/dioxus/pull/382
* Convert web_sys Events to html Data by @oovm in https://github.com/DioxusLabs/dioxus/pull/240
* change with_ctrl_c_quit to without_ctrl_c_quit for tui config by @Demonthos in https://github.com/DioxusLabs/dioxus/pull/388
* Tui Lazy Attributes and Layout by @Demonthos in https://github.com/DioxusLabs/dioxus/pull/329

## New Contributors
* @maccesch made their first contribution in https://github.com/DioxusLabs/dioxus/pull/294
* @naturalethic made their first contribution in https://github.com/DioxusLabs/dioxus/pull/314
* @imbolc made their first contribution in https://github.com/DioxusLabs/dioxus/pull/323
* @Demonthos made their first contribution in https://github.com/DioxusLabs/dioxus/pull/302
* @kdwarn made their first contribution in https://github.com/DioxusLabs/dioxus/pull/335
* @TimboTambo made their first contribution in https://github.com/DioxusLabs/dioxus/pull/343
* @erlend-sh made their first contribution in https://github.com/DioxusLabs/dioxus/pull/349
* @mirichan made their first contribution in https://github.com/DioxusLabs/dioxus/pull/358
* @freopen made their first contribution in https://github.com/DioxusLabs/dioxus/pull/365
* @WIGGLES-dev made their first contribution in https://github.com/DioxusLabs/dioxus/pull/366
* @koptan made their first contribution in https://github.com/DioxusLabs/dioxus/pull/378
* @DusterTheFirst made their first contribution in https://github.com/DioxusLabs/dioxus/pull/382

**Full Changelog**: https://github.com/DioxusLabs/dioxus/compare/v0.2.0...v0.2.4