0.15.0
版本发布时间: 2020-04-25 19:27:25
yewstack/yew最新发布版本:yew-v0.21.0(2023-09-29 19:14:55)
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
-
🛠 Fixes
- Split class names on whitespace when passed within
tuple
orVec
. [@bryanjswift, #1084]
- Split class names on whitespace when passed within
-
🚨 Breaking changes
- The
components
module has been moved outyew
and intoyew-components
. [@jstarry, #1132] - Replaced
mounted
component lifecycle method withrendered
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]
- The