Skip to content

Releases: sycamore-rs/sycamore

✨ 0.4.1

31 Mar 22:49
ffab9c3
Compare
Choose a tag to compare

Changelog

  • 🛠 Fixes

    • Fix Keyed iteration (swapping and inserting not at the end) [[@lukechu10], #73]
  • 📃 Documentation Fixes

  • 🎁 Example Fixes

✨ 0.4.0

26 Mar 18:06
d36bbc7
Compare
Choose a tag to compare

Changelog

  • ⚡️ Features

    • Iteration using SignalVec. This is more of an experiment and there are some bugs. This will most likely be removed in a future version [[@lukechu10], #49]
    • Keyed iteration using Keyed and non-keyed iteration using Indexed which can iterate over a Signal<Vec>. This is the recommended way to iterate over a list of values [[@lukechu10], #51, #53 and #54]
    • Node references. Use the ref attribute to bind an HTML element to a NodeRef [[@lukechu10], #57]
  • 🛠 Fixes

  • 🛠 Internal Fixes and Improvements

  • 🎁 Examples

    • Complete spec conforming TodoMVC implementation [[@lukechu10], #60]

✨ 0.3.1

16 Mar 16:45
Compare
Choose a tag to compare

Changelog

  • ⚡️ Features

    • More types in template! macro. template! can now be nested [[@lukechu10], #45]
    • Component lifecycle using on_cleanup [[@lukechu10], #24]
  • 🛠 Fixes

✨ 0.3.0

13 Mar 20:49
fc320a3
Compare
Choose a tag to compare

Changelog

  • ⚡️ Features

    • Nested effects. Inner effects are destroyed and recreated when outer effects re-run [[@lukechu10], #29]
    • cloned! macro for making it easier to clone items into a new scope [[@lukechu10], #34]
    • Effects are created inside a reactivity root (using create_root). When the root Owner is dropped, all effects are also destroyed [[@lukechu10], 37]
    • Nested templates. Using this, it is also possible to build simple if/else control flow although there will be a more polished version [[@lukechu10], #41]
  • 🛠 Fixes

  • 🛠 Internal Fixes and Improvements

  • BREAKING CHANGES

    • Replaced create_signal with Signal::new(...) and return Signal instead of getter/setter functions for increased type safety [[@Kestrer], #20]
  • 📢 Announcements

✨ 0.2.0

08 Mar 05:05
Compare
Choose a tag to compare

Changelog

  • ⚡️ Features

    • Components! In maple they are simply plain old functions that take their props via their parameters [#9]
    • Event listeners now have access to the Event object [#16]
  • 🛠 Changes

    • The template! macro now returns a TemplateResult instead of raw DOM nodes for increased type safety [#10]

✨ 0.1.1

07 Mar 17:42
Compare
Choose a tag to compare

Changelog

  • ⚡️ Features

    • New untracked utility for explicitly opting out of automatic dependency detection in reactive contexts [#8]
  • 🛠 Fixes

    • Only subscribe to a dependency once in an effect, even if it is called multiple times [#7]

✨ 0.1.0

07 Mar 02:51
Compare
Choose a tag to compare

Changelog

  • ⚡️ Features

    • Initial release!
    • Added template! macro.
    • Added reactivity primitives.