yew v0.16 Release Notes
Release Date: 2020-05-09 // almost 4 years ago-
๐ Changelog
โก๏ธ Features
- Added optional
id
,class
, andplaceholder
properties to theSelect
component. [[@Stigjb], #1187] - Re-export
web-sys
from Yew. This allows projects to useweb-sys
without adding it to theirCargo.toml
. [[@D4nte], #1176] - Added support for
Option
wrapped class names. [[@liquidblock], #1085]
The following code is now supported:
let color: &Option<String> = &self.color; html! { <div class=("btn", color)></div> }
- Added
get_parent
andget_component
methods toComponentLink
to allow access to parent component state. [[@jstarry], #1151]
- Added optional
๐ #### ๐ Fixes
๐จ Breaking changes
- Bumped minimum supported Rust version (MSRV) to 1.40.0. [[@jstarry], #1152]