github yewstack/yew 0.12.0
v0.12.0

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

Happy (belated) Valentine's Day for all who ♥️ Yew! Yew ♥️'s you too! This release, as always, packs a bunch of fixes and features from the Yew community. Take special care of the few breaking changes.

  • ⚡️ 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 for ChildrenRenderer to allow children comparison. [@jstarry, #916]
    • Reduced restrictions on ComponentLink methods to improve Future support. [@jplatte, #931]
    • Added referrer, referrer_policy and integrity to FetchOptions. [@leo-lb, #931]
  • 🛠 Fixes

  • 🚨 Breaking changes

    • Switched from using failure to anyhow and thiserror for Yew errors. [@daxpedda, #863]
    • Removed cancel method from Task trait in favor of relying on Drop. [@kakoc, #899]
    • Renamed NodeRef.try_into to NodeRef.cast to avoid trait conflicts. [@jstarry, #917]

Don't miss a new yew release

NewReleases is sending notifications on new releases.