Releases: sycamore-rs/sycamore
Releases · sycamore-rs/sycamore
✨ 0.4.1
Changelog
-
🛠 Fixes
- Fix
Keyed
iteration (swapping and inserting not at the end) [[@lukechu10], #73]
- Fix
-
📃 Documentation Fixes
- Fix typo in
README.md
[[@iwburns], #64]] - Add discord server link to issue template [[@lukechu10], #68]
- Fix typo in
-
🎁 Example Fixes
- Fix filter links in TodoMVC example [[@lukechu10], #65]
✨ 0.4.0
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 usingIndexed
which can iterate over aSignal<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 aNodeRef
[[@lukechu10], #57]
- Iteration using
-
🛠 Fixes
- Fix debug assertions in
Keyed
[[@lukechu10], #53]
- Fix debug assertions in
-
🛠 Internal Fixes and Improvements
- Setup integration tests [[@lukechu10], #51]
-
🎁 Examples
- Complete spec conforming TodoMVC implementation [[@lukechu10], #60]
✨ 0.3.1
Changelog
-
⚡️ Features
- More types in
template!
macro.template!
can now be nested [[@lukechu10], #45] - Component lifecycle using
on_cleanup
[[@lukechu10], #24]
- More types in
-
🛠 Fixes
- Add some badges to
README.md
[[@lukechu10], #44 and #48]
- Add some badges to
✨ 0.3.0
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 rootOwner
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
- Parse html root as an
HtmlTree
[[@lukechu10], #25] - Recreate effect dependencies on each re-run [[@lukechu10], #29]
- Parse html root as an
-
🛠 Internal Fixes and Improvements
- Remove double boxing of
Computation
[[@Kestrer], #31] - Create
CODE_OF_CONDUCT.md
[[@lukechu10], #33] - Add some preliminary benchmarks for signals and effects [[@lukechu10], #35]
- Add clippy to CI workflow [[@Kestrer], #42]
- Remove double boxing of
-
⚠ BREAKING CHANGES
-
📢 Announcements
- New documentation website: https://maple-rs.netlify.app/ [[@lukechu10], #26 and #40]