github yewstack/yew 0.15.0
v0.15.0

latest releases: yew-v0.21.0, yew-agent-macro-v0.2.0, yew-router-v0.18.0...
4 years ago

Attention!

yew now uses web-sys by default. If your project uses web-sys, you can now drop the "web_sys" feature from your yew dependency.
Don't worry stdweb users, we have created a new alias crate for y'all called yew-stdweb. In order to use it, update your Cargo.toml yew dependency to the following:

yew = { version = "0.15", package = "yew-stdweb" }

Dev Survey Results

Thank you to everyone that took the time to fill out the Yew Dev Survey! 🙇‍♂️

Results have been posted here: https://github.com/yewstack/yew/wiki/Dev-Survey-%5BSpring-2020%5D

New Chatroom

We moved from Gitter to Discord! Join us: https://discord.gg/VQck8X4

Changelog

  • ⚡️ Features

    • Add support for single use callbacks (useful for TimeoutService). [@lukerandall, #1125]
    • Updated scheduler to eagerly destroy components to avoid unnecessary renders. [@jstarry, #1072]
    • Add support key attribute to improve rendering performance. [@mrh0057, #1076]
  • 🛠 Fixes

    • Split class names on whitespace when passed within tuple or Vec. [@bryanjswift, #1084]
  • 🚨 Breaking changes

    • The components module has been moved out yew and into yew-components. [@jstarry, #1132]
    • Replaced mounted component lifecycle method with rendered which is called after each render. [@jstarry, #1072]
    • Components must now implement the change method (forgetting this was a very common issue). [@jstarry, #1071]
    • Yew now builds with web-sys by default. [@jstarry, #1092]

Don't miss a new yew release

NewReleases is sending notifications on new releases.