signals_core 6.0.0-rc.0 signals_core: ^6.0.0-rc.0 copied to clipboard
The signals library exposes four core functions which are the building blocks to model any business logic you can think of.
6.0.0 #
- Switching to preact_signals package for core implementation
- Removing old deprecated methods
5.5.0 #
- Fix for hot reload
- Removing deprecation warning for watch/unwatch
5.4.0 #
- Adding SignalsMixin to replace SignalsAutoDisposeMixin, bindSignal, bindComputed, etc.
- Signals now render with fewer rebuilds
- Adding new deprecated warnings
- Fix: https://github.com/rodydavis/signals.dart/issues/292
5.3.0 #
- Add Signal.lazy and lazySignal
- Add signal.isLazy and computed.isLazy
- Add await future to refresh/reload for FutureSignal
5.2.3 #
- FIX: https://github.com/rodydavis/signals.dart/issues/283
- Changing toJson from T to dynamic
5.2.0 #
5.1.0 #
- Sync core implementation with
@preactjs/signals
package - Allow mutations in computed
- Share peek implementation for signal/computed
- Inline various methods for performance
5.0.1 #
- Switching
SignalsObserver
to uselog
instead ofprint
- Only setting
SignalsObserver
to useDevToolsSignalsObserver
inkDebugMode
5.0.0 #
- Adding
previousValue
/initialValue
toSignal
- Removing
SignalEquality
- Deprecating
ValueSignal
in favor ofSignal
- Deprecating
.forceUpdate
in favor of.set(..., force: true)
- Removing old deprecated methods
- Adding more inline code documentation
- ListSignal/SetSignal now extends IterableSignal
- Fixing ChangeStackSignal getters for history/redos to return an iterable list
- Fixing async signal isCompleted race condition
4.5.0 #
- Updating documentation comments
- Fixing signals observer bug on effect
- Removing previousValue from value signal
- Add ability to remove an onDispose callback
4.4.0 #
- adding overrideWith
- fix autoDispose not passed in for some signals
- fix equality not being passed in for some signals
- fix for completed not being reset on async signal
4.2.0 #
- FIX: https://github.com/rodydavis/signals.dart/issues/156
- FIX: https://github.com/rodydavis/signals.dart/issues/162
- Add onDispose callback for effect
- Fixing computed not updating on signal forced change
4.1.0 #
- Fix bug in auto dispose where signal dispose causes cycle
- Dispose does not reset to initial value and will read the last value with a warning
4.0.3 #
- Removing SignalsReadAfterDisposeError in favor of debug print warning
4.0.1 #
- Adding SignalsWriteAfterDisposeError/SignalsReadAfterDisposeError for better error handling
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
3.0.0 #
- adding readonlySignalContainer to be existing signalContainer API
- updating signalContainer to allow for mutable signals
- adding SignalEquality to allow override of ==
- adding
select
for signals to return a computed value - fix memory leak on signal container
- adding ChangeStackSignal
1.0.6 #
- Adding
onDone
for passed stream inStreamSignal
1.0.5 #
- Adding
SignalContainer
remove
and adding Signal generic
1.0.4 #
- Adding
SignalContainer
/signalContainer
to create signals with args
1.0.3 #
- Adding
dispose
forFutureSignal
,StreamSignal
andAsyncSignal
1.0.2 #
- Adding
dispose
methods forsignal
,computed
andeffect
- Adding
initialValue
getter forsignal
andcomputed
1.0.1 #
- Exposing
reloadSignalsDevTools
for hot reload support
1.0.0 #
- Moving core api from
signals
package tosignals_core
package