yew v0.14 Release Notes

Release Date: 2020-03-14 // about 4 years ago
  • ๐Ÿš€ 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 from stdweb to web-sys so quickly and uncovering these issues!

    ๐Ÿ”„ Changelog

    • โšก๏ธ Features

      • Implemented Clone for WebSocketStatus. [[@kellytk], #1023]
      • Improved ergonomics for message APIs by accepting Into<Msg>. [[@captain-yossarian], #999]
      • html! improved compiler messages and flexible syntax for with props. [[@captain-yossarian], #960]
    • ๐Ÿ›  #### ๐Ÿ›  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 updating gloo. [[@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]
    • ๐Ÿšจ Breaking changes

      • FetchError::FetchFailed enum variant now wraps a String to hold the failure reason. [[@jstarry], #1025]
      • Message APIs now accept Into<Msg>, so calling msg.into() will cause compile errors. [[@captain-yossarian], #999]