yew v0.12 Release Notes

Release Date: 2020-02-16 // about 4 years ago
    • ⚡️ 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

      • Fixed touch event listeners. [[@AlephAlpha], #872]
      • Fixed bad behavior when setting a ref on a Component. [[@jstarry], #913]
      • Fixed ResizeTask cancellation. [[@jstarry], #915]
    • 🚨 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]