Skip to content

0.5.0

Compare
Choose a tag to compare
@David-OConnor David-OConnor released this 04 Dec 00:00
· 536 commits to master since this release
  • Added helper seed::canvas(), and seed::canvas_context() helper functions.
  • Fixed Url parsing (resolves issue with hash routing).
  • [BREAKING] From<String> for Url changed to TryFrom<String> for Url.
  • Fixed jumping cursor in inputs (#158) .
  • Added method orders.after_next_render(Option<RenderTimestampDelta>) (#207).
  • Fixed a bug with back/forward routing to the landing page (#296).
  • Deprecated Init struct, replacing it with BeforeMount and AfterMount structs to
    better denote state before and after mounting the App occurs.
  • Added a new function builder which replaces build as part of deprecating Init.
  • Added a new function build_and_start which replaces finish as part of deprecating Init.
  • Added IntoInitand IntoAfterMount traits. It is possible to use these
    in place of a closure or function to produce the corresponding Init and AfterMount structs.
  • Messages sent from IntoAfterMount will now be run after the routing message.
  • Added example app_builder.
  • events::Listener is included in prelude.
  • ()s have been replaced with structs - e.g. GMs = () => GMs = UndefinedGMs.
  • WindowEvents alias changed to WindowEventsFn for consistency with other *Fn.
  • Commented builder and helper methods.