github yewstack/yew 0.16.0
v0.16.0

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

Changelog

  • ⚡️ Features

    • Added optional id, class, and placeholder properties to the Select component. [@Stigjb, #1187]

    • Re-export web-sys from Yew. This allows projects to use web-sys without adding it to their Cargo.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 and get_component methods to ComponentLink to allow access to parent component state. [@jstarry, #1151]

  • 🛠 Fixes

    • Fixed bug that caused html class attributes to be set to an empty string. [@liquidblock, #1085]
    • Fixed Private worker lifecycle event sending. [@joaquindk, #1146]
  • 🚨 Breaking changes

    • Bumped minimum supported Rust version (MSRV) to 1.40.0. [@jstarry, #1152]

Don't miss a new yew release

NewReleases is sending notifications on new releases.