All Versions
Latest Version
Avg Release Cycle
54 days
Latest Release

Changelog History
Page 2

  • v0.4.0 Changes

    July 28, 2019
    • ElContainer, imported in prelude, renamed to View. (Breaking)
    • πŸ”¨ Internal refactor of El: Now wrapped in Node, along with
      Empty and Text. Creation macros return Node(Element). (Breaking)
    • πŸ”„ Changed the way special attributes like disabled, autofocus, and
      checked are handled (Breaking)
    • MessageMapper now accepts closures
    • Orders is a trait now instead of a struct. (Breaking)
    • Significant changes to MessageMapper
    • Orders has new methods, clone_app and msg_mapper which can allow access to app instance.
    • βž• Added more SVG element macros
    • πŸ›  Several minor bux fixes
    • ⚑️ Examples updated to reflect these changes
    • πŸ‘Œ Improvements to Fetch API, especially regarding error handling
      and deserialization
  • v0.3.7 Changes

    June 22, 2019
    • routes now accepts Url instead of &Url (Breaking)
    • πŸ‘Œ Improvements to fetch API
    • Added raw!, md!, and plain! macros that alias El::from_html, El::from_markdown,
      and El::new_text respectively
    • πŸ’… Attrs! and Style! macros can now use commas and whitespace as separators,
      in addition to semicolons
    • πŸ›  Fixed typos in a few attributes (Breaking)
    • πŸ›  Fixed a bug where an HTML namespace was applied to raw html/markdown elements
    • πŸ†• New conditional syntax added in class! macro, similar to Elm's classList
    • Listener now implements MessageMapper
    • El methods add_child, add_style, add_attr, and set_text now return the elements,
      πŸ‘ allowing chaining
    • Fixed a bug with set_text. Renamed to replace_text. Added add_text, which adds
      🚚 a text node, but doesn't remove existing ones. Added add_class. (Breaking)
  • v0.3.6 Changes

    June 09, 2019
    • Fetch module and API heavily changed (breaking)
    • βž• Added support for request​Animation​Frame, which improves render performance, especially for animations
    • πŸ’… Styles no longer implicitly add px. Added unit! macro in its place
    • Map can now be used directly in elements, without needing to annotate type and collect (ie for child Elements, and Listeners)
    • Significant changes to MessageMapper
    • Orders hs new methods, clone_app and msg_mapper that allow access to app instance.
    • πŸ›  Fixed a bug where empty elements at the top-level were rendering in the wrong order
    • βž• Added an empty! macro, which is similar to seed::empty
    • πŸ’… Attributes and style now retain order
  • v0.3.5 Changes

    May 28, 2019
    • πŸ›  Fixed a bug where view functions returning Vec<El> weren't rendering properly
    • πŸ›  Fixed a type with the viewBox attribute
  • v0.3.4 Changes

    • ⚑️ The update fn now accepts a (new) Orders struct, and returns nothing. Renders occur implicitly, with the option to skip rendering, update with an additional message, or perform an asynchronous action. (Breaking)
    • πŸ—„ .mount() now accepts elements. Deprecated .mount_el()
    • 🌲 The log function and macro now support items which implement Debug
    • βœ‚ Removed deprecated routing::push_path function (breaking)
  • v0.3.3 Changes

    • βž• Added seed::update function, which allows custom events, and updates from JS
  • v0.3.2 Changes

    • Top level view functions can now return Vec<El<Ms>>, El<Ms>, or something else implementing the new ElContainer trait
  • v0.3.1 Changes

    • Top level view functions now return Vec<El<Ms>> instead of El<Ms>, mounted directly to the mount point. (Breaking)
    • push_route() can now accept a Vec<&str>, depreciating push_path()
    • πŸ›  Fixed a bug where window events couldn't be enabled on initialization
  • v0.3.0 Changes

    • ⚑️ update function now takes a mutable ref of the model. (Breaking)
    • ⚑️ Update (update's return type) is now a struct. (Breaking)
    • Async, etc events are now handled through messages, instead of passing App through the view func. (Breaking)
    • πŸ›  Fixed some bugs with empty elements
    • Internal code cleanup
    • βž• Added commented-out release command to example build files
    • βž• Added more tests
  • v0.2.10 Changes

    • Routing can be triggered by clicking any element containing a Href attribute with value as a relative link
    • Internal links no longer trigger a page refresh
    • πŸ‘― Models no longer need to implement Clone
    • πŸ›  Fixed a bug introduced in 0.2.9 for select elements