Changelog History
Page 2
-
v0.15 Changes
April 25, 2020Attention!
0๏ธโฃ
yew
now usesweb-sys
by default. If your project usesweb-sys
, you can now drop the"web_sys"
feature from your yew dependency. โก๏ธ Don't worrystdweb
users, we have created a new alias crate for y'all calledyew-stdweb
. In order to use it, update yourCargo.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
-
v0.14.3 Changes
April 04, 2020๐ Fixes
- โ Remove
html!
component validation to allow generic components. [@mankinskin, #1065] - ๐ Improve
Debug
formatting forVTag
andVText
. [@dancespiele, #1059] - 0๏ธโฃ Implement
Default
forCallback
. [@TheNeikos, #1043]
- โ Remove
-
v0.14.1 Changes
March 14, 2020๐ Fixes
Connected
message was only called for first bridge creation. [@nicklaswj, #1029]
-
v0.14 Changes
March 14, 2020๐ Happy ๐ฅง (PI) Day! This release brings a number of bug fixes for
web-sys
apps and ergonomic improvements to the API. Huge thanks to the community for diving into the migration fromstdweb
toweb-sys
so quickly and uncovering these issues!๐ Changelog
โก๏ธ Features
๐ #### ๐ Fixes
- Fixed panic in
stdweb
ResizeService
event handling. [[@nicklaswj], #1014] - Removed build check for OS compatibility. [[@jstarry], #1019]
- Fixed interval and timer usage in
web-sys
workers by updatinggloo
. [[@jstarry], #1018] - Send
Connected
message for Public agents. [[@TheNeikos], #1007] - Fixed
web-sys
Public / Private agent initialization. [[@jstarry], #1006] - Fixed websocket 'text' message handling for
web-sys
agents. [[@jstarry], #1005]
- Fixed panic in
๐จ Breaking changes
-
v0.13.2 Changes
March 05, 2020 -
v0.13.1 Changes
March 04, 2020 -
v0.13 Changes
March 01, 2020๐
web-sys
support has arrived! [@daxpedda] spear-headed the effort and courageously integratedweb-sys
while maintaining support forstdweb
through no small amount ofcfg
macro usage. We chose to continue support for apps built withstdweb
because the dev experience is still quite a bit better (Unfortunatelycargo-web
is incompatible withweb-sys
). However, the Yew team recognizes that the future ofcargo-web
ofstdweb
are uncertain. For this reason, we recommend devs start making the switch over toweb-sys
andwasm-bindgen
. We will likely invest in improving the dev experience with these tools so that switching over is eventually a no-brainer. Please reach out with ideas and feedback for this migration through Github issues and in our Gitter chatroom!After upgrading to v0.13, devs will now have to opt in to either
stdweb
orweb-sys
by using either the"web_sys"
or"std_web"
on theyew
crate in theirCargo.toml
. -
v0.12.1 Changes
April 26, 2020- ๐ #### ๐ Fixes
- Fix infinite rerender bug in 'Router' component. (Thanks @dancespiele)
- ๐ #### ๐ Fixes
-
v0.12 Changes
February 16, 2020โก๏ธ Features
- Improved ergonomics for
html! { for .. }
. [[@jstarry], #875] - Added
#[props(default = "fn_path")]
for specifying a default property value. [[@AlephAlpha], #881] - Exposed the macros for creating format types. [[@ctm], #883]
- Added support for binary-only and text-only formats in
WebSocketService
. [[@ctm], #851] - Implemented
PartialEq
forChildrenRenderer
to allowchildren
comparison. [[@jstarry], #916] - Reduced restrictions on
ComponentLink
methods to improveFuture
support. [[@jplatte], #931] - Added
referrer
,referrer_policy
andintegrity
toFetchOptions
. [[@leo-lb], #931]
- Improved ergonomics for
๐ #### ๐ Fixes
๐จ Breaking changes