Skip to content

Releases: yewstack/yew

yew v0.23.0

10 Mar 11:49

Choose a tag to compare

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-So, #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>. [@Casheeew, #4020]
  • Added a scheduler::flush function to reliably finish rendering. Useful in testing as a replacement for timeouts. [@Madoshakalaka, #4044]

🛠 Fixes

  • No more broken child re-renders while setting parents' states. [@Madoshakalaka, #4060]
  • Ergonomics: Bare Nones are now allowed for Option<T> props in the html! macro. [@Madoshakalaka, #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. [@Madoshakalaka, #4033]

yew-router v0.20.0

10 Mar 11:49

Choose a tag to compare

Yew pinned to 0.23 now.

🛠 Fixes

  • '/' is no longer wrongly encoded in wildcard route segments. [@Siyuan Yan, #4056]
  • Fixed a url corruption issue causing redirection to /basename//basename resulting in a 404. [@Siyuan Yan, #4030]

yew-agent v0.5.0

10 Mar 11:49

Choose a tag to compare

No changes.

Yew pinned to 0.23 now.

yew-v0.22.1

28 Feb 10:04

Choose a tag to compare

YANKED

Patch version bump with a couple of fixes and improvements

🛠 Fixes

  • Domslot hydration panic caused by suspension [@Siyuan Yan, #4003]
  • Some Option<T> and &T types can be used as children again. e.g. Option<AttrValue> [@Siyuan Yan, #4005]
  • Custom hooks now compile in edition 2024. [@Siyuan Yan, #3992]
  • No more stale states in callbacks when multiple events fire rapidly. [@Siyuan Yan, #3988]
  • Fixed invisible svg issue on Chrome when included with from_html_unchecked [@Jason Heard, #3970]
  • Fixed documentation typo in introduction.mdx. [@devfbe, #3417]

⚙️ Improvements

  • Improved SSR example with meta rendering. [@Siyuan Yan, #4011]
  • Replaced once_cell with std equivalents (LazyLock, OnceLock). [@Siyuan Yan, #4010]
  • Updated rust dependencies.

🐛 KNOWN BUGS

  • Calling UseStateHandle::set on a handle passed down from a parent does not re-render the child. #4058

    To avoid this, either uprade to 0.23 or downgrade to 0.22.0

yew v0.22.0, yew-router v0.19.0, yew-agent v0.4.0

08 Dec 08:35

Choose a tag to compare

✨ yew 0.22.0

🚨 Breaking changes

⚡️ Features

🛠 Fixes

⚙️ Improvements

📝 Documentation

✨ yew-router 0.19.0

⚡️ Features

🚨 Breaking changes

✨ yew-agent 0.4.0

🛠 Fixes

  • Fix calls of the disconnect...
Read more

yew-agent-v0.4.0

08 Dec 08:06

Choose a tag to compare

see the main yew v0.22.0 release notes

yew v0.21.0, yew-router v0.18, yew-agent 0.2.0

29 Sep 11:14

Choose a tag to compare

What's Changed

Read more

yew-agent-v0.2.0

28 Nov 19:14

Choose a tag to compare

chore: Release yew-agent version 0.2.0

yew-v0.20.0

25 Nov 13:09

Choose a tag to compare

chore: Release yew version 0.20.0

yew-router-v0.17.0

25 Nov 13:12

Choose a tag to compare

chore: Release yew-router version 0.17.0