4.0.0
- StreamSignal now will rebuild with signals are read in the callback to create the stream
- Stream/Future signal both can take an optional list of dependencies to rebuild on
- FutureSignal now extends StreamSignal
- StreamSignal can now rebuild/refresh
- StreamSignal can now pause/resume
- Adding computedAsync/computedFrom for similar API to angular
- Adding
.set(..., force: true)
to Signal/Computed to force a rebuild - Adding
.recompute()
for Computed to recall the callback - Adding autoDispose for Signal/Computed
- Adding some helper signals not included in the default export
- Signals for WidgetsBinding and SchedulerBinding
- Signals for Theme/MediaQuery
- TickerSignal for Flutter animations
What's Changed
- Preact Signals by @rodydavis in #1
- Optimize web example and add doc comments by @jinyus in #3
- Add FutureSignal that wraps futures by @jinyus in #7
- Adding DevTools extension by @rodydavis in #8
- Creating signals for Map, Set, Iterable, List by @rodydavis in #9
- docs: clarify effect(fn) docs by @MisterJimson in #14
- [Dart Demo] Pipe Refill by @Solido in #16
- Future / Stream signal fix by @rodydavis in #18
- Migrate to single "signals" package for Dart / Flutter by @rodydavis in #20
- Create Astro site using Starlight by @rodydavis in #22
- expose debugLabel by @Solido in #24
- Watch/SignalWidget by @rodydavis in #28
- Adding requireValue by @rodydavis in #30
- Make more idiomatic with elvis operator by @jinyus in #31
- <<, &, | operators on Signals collections by @Solido in #32
- Rename Connect
to
from
by @Solido in #38 - v1.4.0 by @rodydavis in #39
- adding fireImmediately. by @takewoy in #46
- 1.4.2 Initial value on Stream and Timer by @Solido in #45
- Fix memory leak in Connect.from() by @jinyus in #51
- Adding signal methods by @rodydavis in #55
- 1.5.1 by @rodydavis in #56
- Patch/debug label by @Solido in #61
- FIX: Doc comment package imports by @rydmike in #64
- 1.5.7 by @rodydavis in #66
- 1.5.11 by @rodydavis in #77
- Refactor AsyncSignal by @rodydavis in #78
- ColorBand by @Solido in #84
- Demo ValueSignal by @Solido in #92
- Add shopping cart example w/tests by @jinyus in #93
- Update watch.md by @mafreud in #94
- Add helpful comment and fix typo by @jinyus in #95
- add AppLifecycleSignal by @lukepighetti in #102
- Add full app testing to shopping cart example by @jinyus in #110
- [Memleak] Remove signal from cache when it's disposed. by @jinyus in #113
- 3.0 by @rodydavis in #109
- Make Stacktrace optional by @jinyus in #125
- fix: error in pattern matching example by @oravecz-jpmc in #126
- [Fix] memory leak and add feat. in toStream() extension by @jinyus in #127
- Tie lifecycle of exported valuenotifier to origin signal by @jinyus in #129
- Correct typo in documentation for read-only signals by @taiseidev in #133
- Refactor toStream extension to cache streams by @jinyus in #136
- [Minor] Remove unnecessary casts by @jinyus in #137
- Add Methods section to Map and Set docs by @kalafut in #139
- Specify non-nullability in
AsyncData
andAsyncError
by @mernen in #141 - v4 by @rodydavis in #121
New Contributors
- @rodydavis made their first contribution in #1
- @jinyus made their first contribution in #3
- @MisterJimson made their first contribution in #14
- @Solido made their first contribution in #16
- @takewoy made their first contribution in #46
- @rydmike made their first contribution in #64
- @mafreud made their first contribution in #94
- @lukepighetti made their first contribution in #102
- @oravecz-jpmc made their first contribution in #126
- @taiseidev made their first contribution in #133
- @kalafut made their first contribution in #139
- @mernen made their first contribution in #141
Full Changelog: https://github.com/rodydavis/signals.dart/commits/v4.0.0