fix(deps): update rust crate yew to 0.23 #34

Open
renovate-bot wants to merge 1 commit from renovate/yew-0.x into master
Member

This PR contains the following updates:

Package Type Update Change
yew (source) dependencies minor 0.21 -> 0.23

Release Notes

yewstack/yew (yew)

v0.23.0

Compare Source

bumping from 0.22 should require no code changes for most users.

🚨 Breaking changes
  • Performance: use_reducer now skips re-rendering for the same Rc. [@​Pascal Sommer, #​3945]
    NOTE: Whether this is breaking is arguable. It merely breaks the promise that a dispatch will always cause a re-render. For code that wishes to force re-render, use_force_update helps. Please refer to the migration guide for details.
️ Features
  • &str and String can now be used for props of type Option<Html>. [@​Cashew, #​4020]
  • Added a scheduler::flush function to reliably finish rendering. Useful in testing as a replacement for timeouts. [@​Siyuan Yan, #​4044]
🛠 Fixes
⚙️ Improvements
  • Yew's scheduler now yields to the main thread from time to time. This fix will make the web page more responsive and reduce warnings about long tasks in the console. [@​Siyuan Yan, #​4033]

v0.22.1

Compare Source

🛠 Fixes
⚙️ Improvements

v0.22.0

Compare Source

🚨 Breaking changes
️ Features
🛠 Fixes
⚙️ Improvements
📝 Documentation

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [yew](https://yew.rs) ([source](https://github.com/yewstack/yew)) | dependencies | minor | `0.21` -> `0.23` | --- ### Release Notes <details> <summary>yewstack/yew (yew)</summary> ### [`v0.23.0`](https://github.com/yewstack/yew/blob/HEAD/CHANGELOG.md#-yew-0230--2026-03-10-) [Compare Source](https://github.com/yewstack/yew/compare/yew-v0.22.1...yew-v0.23.0) bumping from 0.22 should require no code changes for most users. ##### 🚨 Breaking changes - Performance: use\_reducer now skips re-rendering for the same Rc. \[[@&#8203;Pascal Sommer](https://github.com/Pascal-So), [#&#8203;3945](https://github.com/yewstack/yew/pull/3945)] NOTE: Whether this is breaking is arguable. It merely breaks the promise that a dispatch will always cause a re-render. For code that wishes to force re-render, [use\_force\_update](https://docs.rs/yew/latest/yew/functional/fn.use_force_update.html) helps. Please refer to [the migration guide](https://yew.rs/docs/next/migration-guides/yew/from-0_22_0-to-0_23_0) for details. ##### ⚡️ Features - `&str` and `String` can now be used for props of type `Option<Html>`. \[[@&#8203;Cashew](https://github.com/Casheeew), [#&#8203;4020](https://github.com/yewstack/yew/pull/4020)] - Added a `scheduler::flush` function to reliably finish rendering. Useful in testing as a replacement for timeouts. \[[@&#8203;Siyuan Yan](https://github.com/Madoshakalaka), [#&#8203;4044](https://github.com/yewstack/yew/pull/4044)] ##### 🛠 Fixes - No more broken child re-renders while setting parents' states. \[[@&#8203;Siyuan Yan](https://github.com/Madoshakalaka), [#&#8203;4060](https://github.com/yewstack/yew/pull/4060)] - Ergonomics: Bare `None`s are now allowed for `Option<T>` props in the `html!` macro. \[[@&#8203;Siyuan Yan](https://github.com/Madoshakalaka), [#&#8203;4021](https://github.com/yewstack/yew/pull/4021)] ##### ⚙️ Improvements - Yew's scheduler now yields to the main thread from time to time. This fix will make the web page more responsive and reduce warnings about long tasks in the console. \[[@&#8203;Siyuan Yan](https://github.com/Madoshakalaka), [#&#8203;4033](https://github.com/yewstack/yew/pull/4033)] ### [`v0.22.1`](https://github.com/yewstack/yew/blob/HEAD/CHANGELOG.md#-yew-0221--2026-02-28-) [Compare Source](https://github.com/yewstack/yew/compare/yew-v0.22.0...yew-v0.22.1) ##### 🛠 Fixes - Domslot hydration panic caused by suspension \[[@&#8203;Siyuan Yan](https://github.com/Madoshakalaka), [#&#8203;4003](https://github.com/yewstack/yew/pull/4003)] - Some `Option<T>` and `&T` types can be used as children again. e.g. `Option<AttrValue>` \[[@&#8203;Siyuan Yan](https://github.com/Madoshakalaka), [#&#8203;4005](https://github.com/yewstack/yew/pull/4005)] - Custom hooks now compiles in edition 2024. \[[@&#8203;Siyuan Yan](https://github.com/Madoshakalaka), [#&#8203;3992](https://github.com/yewstack/yew/pull/3992)] - No more stale states in callbacks when multiple events fire rapidly. \[[@&#8203;Siyuan Yan](https://github.com/Madoshakalaka), [#&#8203;3988](https://github.com/yewstack/yew/pull/3988)] - Fixed invisible svg issue on Chrome when included with `from_html_unchecked` \[[@&#8203;Jason Heard](https://github.com/101100), [#&#8203;3970](https://github.com/yewstack/yew/pull/3970)] - Fixed documentation typo in introduction.mdx. \[[@&#8203;devfbe](https://github.com/devfbe), [#&#8203;3417](https://github.com/yewstack/yew/pull/3417)] ##### ⚙️ Improvements - Improved SSR example with meta rendering. \[[@&#8203;Siyuan Yan](https://github.com/Madoshakalaka), [#&#8203;4011](https://github.com/yewstack/yew/pull/4011)] - Replaced once\_cell with std equivalents (LazyLock, OnceLock). \[[@&#8203;Siyuan Yan](https://github.com/Madoshakalaka), [#&#8203;4010](https://github.com/yewstack/yew/pull/4010)] - Updated rust dependencies. ### [`v0.22.0`](https://github.com/yewstack/yew/blob/HEAD/CHANGELOG.md#-yew-0220--2025-12-08-) [Compare Source](https://github.com/yewstack/yew/compare/yew-v0.21.0...yew-v0.22.0) ##### 🚨 Breaking changes - **MSRV raised to 1.84.0.** \[[@&#8203;Siyuan Yan](https://github.com/Madoshakalaka), [#&#8203;3900](https://github.com/yewstack/yew/pull/3900)] - Allow setting JsValue as properties. \[[@&#8203;Elina](https://github.com/ranile), [#&#8203;3458](https://github.com/yewstack/yew/pull/3458)] - Remove deprecated `class=(...)` syntax. \[[@&#8203;Tim Kurdov](https://github.com/its-the-shrimp), [#&#8203;3497](https://github.com/yewstack/yew/pull/3497)] - Remove ToHtml trait. \[[@&#8203;Elina](https://github.com/ranile), [#&#8203;3453](https://github.com/yewstack/yew/pull/3453)] - Make `<textarea>` a void element (no children allowed anymore). \[[@&#8203;Tim Kurdov](https://github.com/its-the-shrimp), [#&#8203;3465](https://github.com/yewstack/yew/pull/3465)] ##### ⚡️ Features - **Add for-loops to `html!` macro.** \[[@&#8203;Tim Kurdov](https://github.com/its-the-shrimp), [#&#8203;3498](https://github.com/yewstack/yew/pull/3498)] - **Rename `#[function_component]` to `#[component]`.** \[[@&#8203;Tim Kurdov](https://github.com/its-the-shrimp), [#&#8203;3885](https://github.com/yewstack/yew/pull/3885)] - Add `serde` feature to yew. \[[@&#8203;Tim Kurdov](https://github.com/its-the-shrimp), [#&#8203;3880](https://github.com/yewstack/yew/pull/3880)] - Add `use_ref` hook. \[[@&#8203;Alex Parrill](https://github.com/ColonelThirtyTwo), [#&#8203;3548](https://github.com/yewstack/yew/pull/3548)] - Better ImplicitClone ergonomics. Fewer ampersands and stars needed in the `html!` macro. \[[@&#8203;Cecile Tonglet](https://github.com/cecton), [#&#8203;3508](https://github.com/yewstack/yew/pull/3508), [#&#8203;3431](https://github.com/yewstack/yew/pull/3431)] \[[@&#8203;Siyuan Yan](https://github.com/Madoshakalaka), [#&#8203;3892](https://github.com/yewstack/yew/pull/3878)] - Preserve camelCase for known SVG elements. \[[@&#8203;Siyuan Yan](https://github.com/Madoshakalaka), [#&#8203;3875](https://github.com/yewstack/yew/pull/3875)] - Add `inert` to the boolean attributes list. \[[@&#8203;Tomoaki Kawada](https://github.com/kawadakk), [#&#8203;3678](https://github.com/yewstack/yew/pull/3678)] - Namespace support for `VRaw`. \[[@&#8203;Finn Bear](https://github.com/finnbear), [#&#8203;3640](https://github.com/yewstack/yew/pull/3640)] - `to_callback` methods and From impls to convert reducer dispatchers and state setters to callbacks. \[[@&#8203;Tim Kurdov](https://github.com/its-the-shrimp), [#&#8203;3519](https://github.com/yewstack/yew/pull/3519)] - Allows converting `ChildrenRenderer<VNode>` and `VChild` to VList. \[[@&#8203;Muhammad Hamza](https://github.com/ranile), [#&#8203;3444](https://github.com/yewstack/yew/pull/3444)] - Add `CallbackRef` that takes ref in argument instead of value. \[[@&#8203;Cecile Tonglet](https://github.com/cecton), [#&#8203;3419](https://github.com/yewstack/yew/pull/3419)] - Allow import of layout\_test into 3rd party crates. \[[@&#8203;rollo-b2c2](https://github.com/rollo-b2c2), [#&#8203;3463](https://github.com/yewstack/yew/pull/3463)] - Add WASI support for server-side rendering. \[[@&#8203;langyo](https://github.com/langyo), [#&#8203;3534](https://github.com/yewstack/yew/pull/3534)] - Make `UseFutureHandle` Clone. \[[@&#8203;Adam Steinberg](https://github.com/AdamSteinberg1), [#&#8203;3529](https://github.com/yewstack/yew/pull/3529)] - Allow `Self` in prop fields. \[[@&#8203;Tim Kurdov](https://github.com/its-the-shrimp), [#&#8203;3569](https://github.com/yewstack/yew/pull/3569)] - Allow boolean in `html!`. \[[@&#8203;Tim Kurdov](https://github.com/its-the-shrimp), [#&#8203;3441](https://github.com/yewstack/yew/pull/3441)] ##### 🛠 Fixes - Fix panic when hydrating components with unstable render order. \[[@&#8203;WorldSEnder](https://github.com/WorldSEnder), [#&#8203;3914](https://github.com/yewstack/yew/pull/3914)] - Fix hydration panic on camelCased elements. \[[@&#8203;Siyuan Yan](https://github.com/Madoshakalaka), [#&#8203;3876](https://github.com/yewstack/yew/pull/3876)] - Fix autocompletion in html macro for rust-analyzer. \[[@&#8203;Moritz Hedtke](https://github.com/mohe2015), [#&#8203;3829](https://github.com/yewstack/yew/pull/3829)] - Fix empty lists hydration failure when they were placed next to suspensions and other components. \[[@&#8203;WorldSEnder](https://github.com/WorldSEnder), [#&#8203;3630](https://github.com/yewstack/yew/pull/3630)] - Silenced non-normalised element name warnings for SVG elements. \[[@&#8203;Tim Kurdov](https://github.com/its-the-shrimp), [#&#8203;3769](https://github.com/yewstack/yew/pull/3769)] - Fixed inconsistent clone() requirement when passing Classes to HTML elements vs. components. \[[@&#8203;Siddhant Shekhar](https://github.com/sshekhar563), [#&#8203;3931](https://github.com/yewstack/yew/pull/3931)] - Fix svg animation always starting immediately. \[[@&#8203;Siyuan Yan](https://github.com/Madoshakalaka), [#&#8203;3892](https://github.com/yewstack/yew/pull/3892)] - Better diagnostics for byte literals in `html!`. \[[@&#8203;Tim Kurdov](https://github.com/its-the-shrimp), [#&#8203;3441](https://github.com/yewstack/yew/pull/3441)] - Concise diagnostics for missing props. \[[@&#8203;Siyuan Yan](https://github.com/Madoshakalaka), [#&#8203;3873](https://github.com/yewstack/yew/pull/3873)] - Use the namespace when xmlns attributes are specified. \[[@&#8203;JasonCG](https://github.com/jasoncg), [#&#8203;3629](https://github.com/yewstack/yew/pull/3629)] - Fix generic type missing errors in hooks. \[[@&#8203;Michael Meyer](https://github.com/Ichmed), [#&#8203;3633](https://github.com/yewstack/yew/pull/3633)] - Better duplicate key diagnostics. \[[@&#8203;WorldSEnder](https://github.com/WorldSEnder), [#&#8203;3785](https://github.com/yewstack/yew/pull/3785)] - Fix autocompletion in html macro for rust-analyzer. \[[@&#8203;Moritz Hedtke](https://github.com/mohe2015), [#&#8203;3829](https://github.com/yewstack/yew/pull/3829)] - `#[hook]`: `clippy::multiple_bound_locations` lint no longer triggered. \[[@&#8203;Tim Kurdov](https://github.com/its-the-shrimp), [#&#8203;3803](https://github.com/yewstack/yew/pull/3803)] ##### ⚙️ Improvements - Avoid unnecessary scheduling. \[[@&#8203;WorldSEnder](https://github.com/WorldSEnder), [#&#8203;3935](https://github.com/yewstack/yew/pull/3935)] - Remove the dependency on `boolinator`. \[[@&#8203;Tim Kurdov](https://github.com/its-the-shrimp), [#&#8203;3420](https://github.com/yewstack/yew/pull/3420)] - Avoid string copy for Key: From<String> implementation. \[[@&#8203;flumm](https://github.com/flumm), [#&#8203;3858](https://github.com/yewstack/yew/pull/3858)] - Switch to tokise from tokio \[[@&#8203;Elina](https://github.com/ranile), [#&#8203;3776](https://github.com/yewstack/yew/pull/3776)] - use\_future\_with: simplify code a bit by using read-only use\_memo rather than use\_state. \[[@&#8203;Léo Gaspard](https://github.com/Ekleog), [#&#8203;3610](https://github.com/yewstack/yew/pull/3610)] ##### 📝 Documentation - website: modernise the Yew usage in the tutorial. \[[@&#8203;Tim Kurdov](https://github.com/its-the-shrimp), [#&#8203;3882](https://github.com/yewstack/yew/pull/3882)] - website: make tutorial testable. \[[@&#8203;Tim Kurdov](https://github.com/its-the-shrimp), [#&#8203;3879](https://github.com/yewstack/yew/pull/3879)] - fix the docs of use\_prepared\_state. \[[@&#8203;Tim Kurdov](https://github.com/its-the-shrimp), [#&#8203;3881](https://github.com/yewstack/yew/pull/3881)] - Update tutorial placeholder image generator. \[[@&#8203;Nashwan Azhari](https://github.com/aznashwan), [#&#8203;3830](https://github.com/yewstack/yew/pull/3830)] - Refactor(NavbarItem): improve readability and maintainability. \[[@&#8203;Brilliantkid](https://github.com/brilliantkid87), [#&#8203;3763](https://github.com/yewstack/yew/pull/3763)] - Fix website search. \[[@&#8203;Muhammad Hamza](https://github.com/ranile), [#&#8203;3522](https://github.com/yewstack/yew/pull/3522)] - Addition and improvements to example crates. \[[@&#8203;Oliver Bilbie](https://github.com/Oliver-Bilbie), [#&#8203;3587](https://github.com/yewstack/yew/pull/3587)] \[[@&#8203;Astariul](https://github.com/astariul), [#&#8203;3631](https://github.com/yewstack/yew/pull/3631)] \[[@&#8203;Yann Dirson](https://github.com/ydirson), [#&#8203;3570](https://github.com/yewstack/yew/pull/3570)] \[[@&#8203;Cecile Tonglet](https://github.com/cecton), [#&#8203;3505](https://github.com/yewstack/yew/pull/3505)] \[[@&#8203;Kaede Hoshikawa](https://github.com/futursolo), [#&#8203;3436](https://github.com/yewstack/yew/pull/3436)] - Wording and typo fixes. \[[@&#8203;Waldir Pimenta](https://github.com/waldyrious), [#&#8203;3754](https://github.com/yewstack/yew/pull/3754)] \[[@&#8203;Jupp56](https://github.com/Jupp56), [#&#8203;3429](https://github.com/yewstack/yew/pull/3429)] \[[@&#8203;Flavio Moreira](https://github.com/fdvmoreira), [#&#8203;3418](https://github.com/yewstack/yew/pull/3418)] \[[@&#8203;ronanM](https://github.com/ronanM), [#&#8203;3413](https://github.com/yewstack/yew/pull/3413)] \[[@&#8203;Waldir Pimenta](https://github.com/waldyrious), [#&#8203;3754](https://github.com/yewstack/yew/pull/3754)] \[[@&#8203;Damien Lachaume](https://github.com/dlachaume), [#&#8203;3790](https://github.com/yewstack/yew/pull/3790)] \[[@&#8203;Edwin Amsler](https://github.com/RandomInsano), [#&#8203;3788](https://github.com/yewstack/yew/pull/3788)] \[[@&#8203;Tushar GH](https://github.com/Tushar12222), [#&#8203;3585](https://github.com/yewstack/yew/pull/3585)] \[[@&#8203;zhengwu](https://github.com/rockyzhengwu), [#&#8203;3574](https://github.com/yewstack/yew/pull/3574)] \[[@&#8203;Raahim Fareed](https://github.com/raahimfareed), [#&#8203;3539](https://github.com/yewstack/yew/pull/3539)] \[[@&#8203;gcmutator](https://github.com/gcmutator), [#&#8203;3628](https://github.com/yewstack/yew/pull/3628)] \[[@&#8203;Raphael Martin Schindler](https://github.com/rmschindler), [#&#8203;3605](https://github.com/yewstack/yew/pull/3605)] \[[@&#8203;Jonathan Picques](https://github.com/JonathanPicques), [#&#8203;3448](https://github.com/yewstack/yew/pull/3448)] \[[@&#8203;Ikko Eltociear Ashimine](https://github.com/eltociear), [#&#8203;3432](https://github.com/yewstack/yew/pull/3432)] \[[@&#8203;Daniel Sousa](https://github.com/moyeah), [#&#8203;3425](https://github.com/yewstack/yew/pull/3425)] </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi41Mi44IiwidXBkYXRlZEluVmVyIjoiNDIuNTIuOCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6WyJyZW5vdmF0ZS1ib3QiXX0=-->
renovate-bot force-pushed renovate/yew-0.x from b953eff7ab to a6c43886ca 2026-03-16 05:13:54 +05:30 Compare
renovate-bot changed title from fix(deps): update rust crate yew to 0.22 to fix(deps): update rust crate yew to 0.23 2026-03-16 05:13:56 +05:30
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/yew-0.x:renovate/yew-0.x
git switch renovate/yew-0.x

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch master
git merge --no-ff renovate/yew-0.x
git switch renovate/yew-0.x
git rebase master
git switch master
git merge --ff-only renovate/yew-0.x
git switch renovate/yew-0.x
git rebase master
git switch master
git merge --no-ff renovate/yew-0.x
git switch master
git merge --squash renovate/yew-0.x
git switch master
git merge --ff-only renovate/yew-0.x
git switch master
git merge renovate/yew-0.x
git push origin master
Sign in to join this conversation.
No description provided.