signals 6.0.2 signals: ^6.0.2 copied to clipboard
Reactivity made simple. Do more by doing less. Supports Flutter and any Dart project including HTML/JS, CLI, Shelf Server, VM and more.
6.0.2 #
- Fix cycle error with TrackedSignalMixin and Computed
- Add
AsyncErrorReloading
,AsyncErrorRefreshing
,AsyncDataReloading
,AsyncDataRefreshing
6.0.1 #
- Fix issue with StreamSignal
_stream not initialized
6.0.0 #
- Remove SignalStream controller
- Upgrade SignalsProvider to default import
- Add FlutterSignal to extends ValueNotifier
- Add FlutterComputed/FlutterReadonlySignal to extends ValueListenable
- Removing deprecated methods
- Add more methods to SignalsMixin
- Switching to preact_signals package for core implementation
- Removing old deprecated methods
- Add new mixins: EventSinkSignalMixin, SinkSignalMixin, StreamSignalMixin, SetSignalMixin, ListSignalMixin, MapSignalMixin, QueueSignalMixin, ChangeStackSignalMixin, IterableSignalMixin
- Update AsyncSignal to implement EventSink
- Removing previous/initial value from Signal and Computed in favor of TrackedSignal, TrackedSignalMixin and trackedSignal()
- Update SignalsObserver to include value for signal created (instead of peek())
- Updated examples
- Remove callback to signal
- Remove toSignal extension method (causing unintended casts) in favor of .$ for Object/Object?
- Add WatchBuilder to include a child callback for caching a widget between rebuilds
- Removing ComputedProvider/ReadonlySignalProvider
5.5.0 #
- Fix for hot reload
- Removing deprecation warning for watch/unwatch
5.4.0 #
- Add SignalsMixin to replace .watch, createComputed/createSignal, SignalsAutoDisposeMixin and implementation for Watch
- Signals now render with fewer rebuilds
- Adding new deprecated warnings
- Fix: https://github.com/rodydavis/signals.dart/issues/292
- Update to
signals_core
5.4.0 - Update to
signals_flutter
5.4.0
5.3.0 #
- Add Signal.lazy and lazySignal
- Add signal.isLazy and computed.isLazy
- Add await future to refresh/reload for FutureSignal
- Update to
signals_core
5.3.0 - FIX: https://github.com/rodydavis/signals.dart/issues/279
- Fixing signal/computed not disposing in SignalsAutoDisposeMixin
- createSignal/createComputed now are autoDispose=true by default
- Update to
signals_flutter
5.3.0
5.2.3 #
- FIX: https://github.com/rodydavis/signals.dart/issues/283
- Changing toJson from T to dynamic
- Update to
signals_core
5.2.3 - Update to
signals_flutter
5.2.3
5.2.2 #
- FIX: https://github.com/rodydavis/signals.dart/issues/265
- Update to
signals_core
5.2.2 - FIX: https://github.com/rodydavis/signals.dart/issues/266
- Update to
signals_flutter
5.2.2
5.2.1 #
- FIX: https://github.com/rodydavis/signals.dart/issues/258
- FIX: https://github.com/rodydavis/signals.dart/issues/262
- Update to
signals_core
5.2.0 - Update to
signals_flutter
5.2.1
5.2.0 #
- Update to
signals_flutter
5.2.0 - Update to
signals_core
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.1.0 #
- Update to
signals_flutter
5.1.0 - Fix #247 - element watcher causing effect cycle error
- Fix #245 - unmounted widget causing error on context read
- Adding
InheritedSignalProvider
andReadonlySignalProvider
for Flutter - Update to
signals_core
5.0.1 - Switching
SignalsObserver
to uselog
instead ofprint
- Only setting
SignalsObserver
to useDevToolsSignalsObserver
inkDebugMode
- Changing
SignalProvider
default constructor to usecreate
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
- Adding
createSignal
/createComputed
/createEffect
for Flutter - Adding
SignalsAutoDisposeMixin
for Flutter - Update to
signals_core
5.0.0 - Update to
signals_flutter
5.0.0
4.5.1 #
- Fixing Watch in hot reload with auto dispose signals
- Update to
signals_flutter
4.5.1
4.5.0 #
- Updating documentation comments
- Fixing signals observer bug on effect
- Removing previousValue from value signal
- Add ability to remove an onDispose callback
- Update to
signals_core
4.5.0 - Update to
signals_flutter
4.5.0
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
- Update to
signals_core
4.4.0 - Update to
signals_flutter
4.4.0
4.3.0 #
- Add valueNotifierToSignal, valueListenableToSignal
- Update to
signals_flutter
4.3.0
4.2.3 #
- FIX: https://github.com/rodydavis/signals.dart/issues/171
- Update to
signals_core
4.2.1 - Update to
signals_flutter
to 4.2.3
4.2.2 #
- Updating
signals_core
package to 4.2.0 - Update to
signals_flutter
to 4.2.2
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.2 #
- Adding SignalsWriteAfterDisposeError/SignalsReadAfterDisposeError for better error handling
4.0.1 #
- Fix for listen causing multiple callbacks on non static methods
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
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
2.1.10 #
- Updating
signals_flutter
package to 1.0.8 - Updating
signals_core
package to 1.0.6
2.1.9 #
- Updating
signals_core
package to 1.0.5
2.1.8 #
- Updating
signals_core
package to 1.0.4
2.1.7 #
- Updating
signals_flutter
package to 1.0.7
2.1.6 #
- Updating
signals_flutter
package to 1.0.6
2.1.5 #
- Updating
signals_flutter
package to 1.0.5 - Updating
signals_core
package to 1.0.3
2.1.4 #
- Updating
signals_flutter
package to 1.0.4 - Updating
signals_core
package to 1.0.2
2.1.3 #
- Updating
signals_flutter
package to 1.0.3
2.1.2 #
- Updating
signals_flutter
package to 1.0.2
2.1.1 #
- Updating
signals_flutter
package to 1.0.1
2.1.0 #
- Moving core api from
signals
package tosignals_core
package - Moving Flutter extensions from
signals
package tosignals_flutter
package - Reexporting
signals
package tosignals_core
andsignals_flutter
packages - Depending on
signals_core
package 1.0.1 - Depending on
signals_flutter
package 1.0.0
2.0.4 #
- Fixing
AsyncState
on void signals - Fixing
FutureSignal
with void Future
2.0.3 #
- Rename
AsyncSignalState
toAsyncState
- Rename
AsyncSignalStateLoading
toAsyncLoading
- Rename
AsyncSignalStateError
toAsyncError
- Rename
AsyncSignalStateLoaded
toAsyncLoaded
- Deprecate
AsyncSignalState
(and subclasses) in favor ofAsyncState
2.0.2 #
- Exporting
AsyncSignalState
forAsyncSignal
state - Fixing
FutureSignal
reloading state not triggering
2.0.1 #
- Fixing issue with
StreamSignal
onresetStream
2.0.0 #
- Refactor
AsyncSignal
- Adding back
FutureSignal
andStreamSignal
asAsyncSignal
subclasses - Adding
AsyncSignalState
sealed class forAsyncSignal
state - Adding
reload
toAsyncSignal
- Adding
refresh
toAsyncSignal
1.5.11 #
- Adding
disableSignalsDevTools
to disable the dev tools extension in debug/profile mode - Adding
getSignalListenSubscriberCount
for testing - Adding
getSignalWatchSubscriberCount
for testing - Fixing watch/listen extension to dedupe signals by context
- Performance improvements based on benchmark examples by context_watch
- Adding
debugLabel
to effect - Adding
unwatch
,unlisten
signals extension to stop watching a signal for watch/listen - Adding
unwatchSignal
,unlistenSignal
andunwatchElement
1.5.10 #
- Updating
signal_devtools
to 0.0.6
1.5.9 #
- Updating
signal_devtools
to 0.0.5 which now works with hot reload (adding effect remove) - Signal
watch
andlisten
can now call the cleanup method on hot reload if anyWatch
widgets are used
1.5.8 #
- Updating
signal_devtools
to 0.0.4 with graph view updated colors and debug label
1.5.7 #
- Fixing Computed bug in debug mode
- Updating
signal_devtools
to 0.0.3 with graph view showing effects - Adding
toAsyncSignal
forFuture
andStream
to convert to optional valueAsyncSignal
1.5.6 #
- Adding
debugLabel
toAsyncSignal
1.5.5 #
- Adding
reloading
state to AsyncSignal - Adding
reload
to AsyncSignal
1.5.4 #
- Fixing pubspec Dart filters on pub.dev
- Adding
map
andmaybeMap
toAsyncSignal
- Adding
listen
to signal extensions for Flutter - Adding
listenSignal
for Flutter
1.5.3 #
- Adding
SignalsObserver
andLoggingSignalsObserver
- Updating
signal_devtools
to 0.0.2 with graph view and reactive values
1.5.2 #
- Migrating
TimerSignal
toAsyncSignal
- Fixing
watch(context)
calls insideWatch
widget
1.5.1 #
- Adding
isCompleted
andfuture
toAsyncSignal
to async methods to wait for a signal to complete
1.5.0 #
- Adding
AsyncSignal
with helpersasyncSignalFromFuture
andasyncSignalFromStream
- Adding async example
- Adding
previousValue
to signal - Adding
reloading
state toFutureSignal
andStreamSignal
- Deprecating
FutureSignal
andStreamSignal
in favor ofAsyncSignal
- Moving
forceUpdate
toValueSignal
1.4.2 #
- Adding
Timer
to emitTimerEvent
- Adding
initial
toStreamSignal
to skip loading state and avoid emit null value
1.4.1 #
- Adding
sorted
toListSignal
that returns new list with sorted values (does not mutate original list)
1.4.0 #
- Deprecating
MutableSignal
in favor ofSignal
(abstract class) - Adding
ValueSignal
that can be used in a class and extended (similar to ValueNotifier) - Exposing all classes for value signal and future/stream (for lint issues)
- Rename
to
tofrom
inconnect
1.3.4 #
- Adding inject
<<
,&
fork and|
pipe operators on collections
1.3.3 #
- Adding
requireValue
toFutureSignal
andStreamSignal
which return the value (non null) or throw an error - Switching
Exception
toError
1.3.2 #
- Adding
connect
to make it easier to connect a signal to a set of streams
1.3.1 #
FutureSignal
now implementsReadonlySignal
instead ofSignal
StreamSignal
now implementsReadonlySignal
instead ofSignal
1.3.0 #
- Removing
SignalWidget
since it will cause unnecessary rebuilds if used at the root and too easy to use incorrectly
1.2.2 #
- Fixing
FutureSignal
andStreamSignal
in watch - Adding
Watch
andSignalWidget
1.2.1 #
- Fixing
computed
andsignal
to work the same in debug mode as in release mode - Passing through
debugLabel
to all methods
1.2.0 #
- Fixing public API and removing public classes (Computed, Effect, StreamSignal, etc.)
1.1.1 #
- Migrated to single package
signals
frompreact_signals
andflutter_preact_signals
1.1.0 #
- Updating
preact_signals
to 0.4.1 - Updating
flutter_preact_signals
to 0.4.1
1.0.1 #
- Updating
preact_signals
to 0.3.3
1.0.0 #
- Updating
preact_signals
to 0.3.2 - Updating
flutter_preact_signals
to 0.3.2