solidart
A simple State Management solution for Dart applications inspired by SolidJS
2.8.6
4.0K downloads/mo
#4199 most downloaded on pub.dev
nank1ro/solidart
What this package is like to depend on
Last release 1 months ago
30 Jun 2026
Release timing varies
gaps range from 1 weeks to 5 months
Nearly every release is documented
notes for 55 of 55 stable releases
Nothing withdrawn
no release was ever pulled
4 years old
69 releases · first in 2023
16 releases in the last 12 months
see the full history below
Release timeline
69 releases · Jan 2023 to Jun 2026Releases
latest 60 of 69-
3.0.0-dev.130 Jun 2026 pre-releaseRelease notes
Open source →- BREAKING:
SolidartConfig.autoDisposenow defaults tofalse— auto-dispose is opt-in from v3. Enable it globally (SolidartConfig.autoDispose = true) or perSignal/Computed/Effectvia theautoDisposeparameter. - FIX:
Effectnow honours its per-instanceautoDisposeflag (defaulted fromSolidartConfig.autoDisposeat creation), consistent withSignalandComputed. Previously an effect only auto-disposed when the globalSolidartConfig.autoDisposewas enabled, ignoring a per-instanceautoDispose: true. - CHORE: Upgrade
alien_signalsto^2.3.1and adapt the internal reactive adapter to its preset/system APIs. - FIX: A lazy nullable
Signal(e.g.Signal<int?>.lazy()) now notifies when it is first set tonull; previously theNone→Some(null)transition was treated as "no change". - FIX: Disposing a signal now fully unlinks its subscribers on both sides of each dependency link — and does so regardless of
SolidartConfig.autoDispose(a disposed signal is destroyed, likeEffect/Computeddisposal) — so a later write to the disposed signal can no longer propagate into an already-detached computed. - FIX:
Computed.listenerCountnow reports the number of subscribers instead of the number of dependencies. This also correctsResource's source cleanup, which useslistenerCountto decide whether to dispose aComputedpassed as itssource. - FIX: Disposing a
Computednow unlinks all of its subscribers instead of only the first (leaving no dangling links back to it) and offers each subscriber the chance to auto-dispose, matching signal disposal. - REFACTOR:
ReactiveSystem,reactiveSystem, and theMayDisposeDependenciesextension are no longer exported from the publicsolidart.dartbarrel — they expose internalalien_signalstypes and are implementation detail. Sibling packages consume them viapackage:solidart/solidart_internal.dart.
Release notes
Open source →- BREAKING:
SolidartConfig.autoDisposenow defaults tofalse— auto-dispose is opt-in from v3. Enable it globally (SolidartConfig.autoDispose = true) or perSignal/Computed/Effectvia theautoDisposeparameter. - FIX:
Effectnow honours its per-instanceautoDisposeflag (defaulted fromSolidartConfig.autoDisposeat creation), consistent withSignalandComputed. Previously an effect only auto-disposed when the globalSolidartConfig.autoDisposewas enabled, ignoring a per-instanceautoDispose: true. - CHORE: Upgrade
alien_signalsto^2.3.1and adapt the internal reactive adapter to its preset/system APIs. - FIX: A lazy nullable
Signal(e.g.Signal<int?>.lazy()) now notifies when it is first set tonull; previously theNone→Some(null)transition was treated as "no change". - FIX: Disposing a signal now fully unlinks its subscribers on both sides of each dependency link — and does so regardless of
SolidartConfig.autoDispose(a disposed signal is destroyed, likeEffect/Computeddisposal) — so a later write to the disposed signal can no longer propagate into an already-detached computed. - FIX:
Computed.listenerCountnow reports the number of subscribers instead of the number of dependencies. This also correctsResource's source cleanup, which useslistenerCountto decide whether to dispose aComputedpassed as itssource. - FIX: Disposing a
Computednow unlinks all of its subscribers instead of only the first (leaving no dangling links back to it) and offers each subscriber the chance to auto-dispose, matching signal disposal. - REFACTOR:
ReactiveSystem,reactiveSystem, and theMayDisposeDependenciesextension are no longer exported from the publicsolidart.dartbarrel — they expose internalalien_signalstypes and are implementation detail. Sibling packages consume them viapackage:solidart/solidart_internal.dart.
- BREAKING:
-
2.8.621 May 2026Release notes
Open source →What's Changed
Full Changelog: flutter_solidart-v2.7.3...solidart-v2.8.6
Release notes
Open source →- FIX: Prevent effect re-entrancy when a signal is written during the effect's first run. The write no longer re-enters the running effect mid-execution, which could throw
LateInitializationError.
- FIX: Prevent effect re-entrancy when a signal is written during the effect's first run. The write no longer re-enters the running effect mid-execution, which could throw
-
2.8.514 Apr 2026Release notes
Open source →What's Changed
Full Changelog: flutter_solidart-v2.7.2...solidart-v2.8.5
Release notes
Open source →- FIX: Return up-to-date value from
Computed.untrackedValueafter dependency changes.
- FIX: Return up-to-date value from
-
2.8.413 Apr 2026Release notes
Open source →- FIX: Prevent
LateInitializationErrorwhen accessingComputed.untrackedValuebefore firstvalueaccess.hasValuenow triggers lazy computation, anduntrackedValueasserts with a clear message if accessed before computation.
- FIX: Prevent
-
2.8.320 Nov 2025Release notes
Open source →- FIX: Handle race conditions in Resource that caused multiple calls to
resolve.
- FIX: Handle race conditions in Resource that caused multiple calls to
-
2.8.217 Nov 2025Release notes
Open source →- REFACTOR: Improve the Solidart DevTools extension by giving any signal an id and omit overriding the same signal by name.
-
2.8.103 Nov 2025 -
2.8.023 Oct 2025Release notes
Open source →- REFACTOR: Deprecate
maybeOnandonmethods ofResourceState. UsemaybeWhenandwheninstead.
- REFACTOR: Deprecate
-
2.7.107 Oct 2025 -
2.7.025 Sep 2025Release notes
Open source →- FEAT: Add
thenextension method toFutureOr. This allows you to use thethenmethod on bothFutureandFutureOrvalues seamlessly. Mainly needed to simplify the usage ofReadableSignal.untilandResource.untilReadymethods.final count = Signal(10); count.until((value) => value > 5).then((value) { print('The count is now greater than 5: $value'); });
- FEAT: Add
-
2.6.122 Sep 2025Release notes
Open source →- FIX: Fix auto disposal of
Computedwhich happened even ifautoDisposewas set to false.
- FIX: Fix auto disposal of
-
2.6.019 Sep 2025 -
2.5.010 Sep 2025Release notes
Open source →- FEAT: Add
runmethod toComputedto manually trigger an update of its value. - FEAT: Add
runmethod toEffectto manually re-run the effect. - CHORE: Detect if
Effectdidn't track any reactive value and throw anEffectWithoutDependenciesError.
- FEAT: Add
-
2.4.108 Sep 2025 -
2.4.002 Sep 2025Release notes
Open source →- FEAT: Add
Debouncerutility class to easily debounce operations anddebounceDelaytoResourceto debounce source changes if they fire very often.
- FEAT: Add
-
2.3.029 Aug 2025Release notes
Open source →- FEAT: Allow extending signal, computed, resource, list-signal, set-signal and map-signal.
-
2.2.026 Aug 2025Release notes
Open source →- FEAT: Add
timeoutparameter toSignal.untilmethod to specify a timeout duration. If the condition is not met within the specified duration, the returned future will complete with aTimeoutException.
- FEAT: Add
-
2.1.131 Jul 2025Release notes
Open source →- CHORE: Bump the
alien_signalsdependency to^0.5.1for slight performance improvements (thanks to @medz).
- CHORE: Bump the
-
2.1.1+101 Aug 2025 -
2.1.031 Jul 2025Release notes
Open source →- REFACTOR: Update
alien_signalsdependency from^0.2.1to^0.4.3with significant performance improvements (thanks to @medz). - REFACTOR: Replace custom reactive node implementations with
alien.ReactiveNodefor better compatibility and performance (thanks to @medz). - REFACTOR: Simplify signal, computed and effect implementations by leveraging new
alien_signalsAPI (thanks to @medz). - PERFORMANCE: Improve performance by removing redundant tracking operations in the reactive system (thanks to @medz).
- FIX: Add proper cleanup for disposed nodes to prevent memory leaks (thanks to @medz).
- FIX: Fix potential memory leaks in auto-dispose scenarios (thanks to @medz).
- FIX: Clear queued flag when running effects in
ReactiveSystemto ensure proper effect execution (thanks to @medz). - CHORE: Reorder dev_dependencies in pubspec.yaml for improved organization and readability (thanks to @medz).
- REFACTOR: Update
-
2.0.120 Jun 2025 -
2.0.003 Jun 2025Release notes
Open source →- CHORE: Improve the performance by using
alien_signalsfor the reactive system. - FEAT: Expose
untracked. - REFACTOR: Updated the reactive system from scratch, improving the performances.
- BREAKING CHANGE: Remove
setandcallmethods from Signals (Use an extension to have them back). - FEAT: Add
useRefreshingtoResourceto decide whether to update the current state withisRefreshing(defaults to true). If you set it to false, when refreshing, the resource will go directly to the loading state. - FEAT: Add
Signal.lazyto allow the creation of a signal without an initial value. Be aware, the signal will throw an error if you try to read its value before it has been initialized. - CHORE: Remove deprecated
createSignal,createComputed,createEffectandcreateResourcehelpers. - CHORE: Remove
SignalOptionsandResourceOptionsclasses. - FEAT: Add
batchfunction to execute a callback that will not side-effect until its top-most batch is completed. See docs here - CHORE: Add
trackInDevToolstoSignalOptionsandResourceOptionsto disable the DevTools tracking for specific signals and resources, defaults toSolidartConfig.devToolsEnabled.
- CHORE: Improve the performance by using
-
2.0.0-dev.525 Feb 2025 pre-release -
2.0.0-dev.418 Feb 2025 pre-releaseRelease notes
Open source →- REFACTOR: Updated the reactive system from scratch, improving the performances.
- BREAKING CHANGE: Remove
setandcallmethods from Signals (Use an extension to have them back). - FEAT: Add
useRefreshingtoResourceto decide whether to update the current state withisRefreshing(defaults to true). If you set it to false, when refreshing, the resource will go directly to the loading state.
-
2.0.0-dev.319 Aug 2024 pre-releaseRelease notes
Open source →- FEAT: Add
Signal.lazyto allow the creation of a signal without an initial value. Be aware, the signal will throw an error if you try to read its value before it has been initialized.
- FEAT: Add
-
2.0.0-dev.205 Aug 2024 pre-releaseRelease notes
Open source →- CHORE: Remove deprecated
createSignal,createComputed,createEffectandcreateResourcehelpers. - CHORE: Remove
SignalOptionsandResourceOptionsclasses.
- CHORE: Remove deprecated
-
2.0.0-dev.130 May 2024 pre-releaseRelease notes
Open source →- FEAT: Add
batchfunction to execute a callback that will not side-effect until its top-most batch is completed. See docs here - CHORE: Add
trackInDevToolstoSignalOptionsandResourceOptionsto disable the DevTools tracking for specific signals and resources, defaults toSolidartConfig.devToolsEnabled.
- FEAT: Add
-
1.5.430 Dec 2023Release notes
Open source →- CHORE: Add
devToolsEnabledoption to manually disable the DevTools extension that defaults tokDebugMode
- CHORE: Add
-
1.5.319 Dec 2023Release notes
Open source →- BUGFIX: Fix an auto dispose issue of Signals that have some active observations.
-
1.5.219 Dec 2023 -
1.5.118 Dec 2023 -
1.5.018 Dec 2023 -
1.4.109 Dec 2023Release notes
Open source →- BUGFIX: The method
didUpdateSignalofSolidartObserverwas not triggered for collections.
- BUGFIX: The method
-
1.4.009 Dec 2023Release notes
Open source →- FEAT: Create
SolidartConfigwhich you can use to customize theautoDisposeof all the tracking system and andobservers. - BUGFIX: Removed the internal
ResourceUnresolvedstate so you can easily use theResourceStatesealed class.
- FEAT: Create
-
1.3.030 Nov 2023 -
1.2.224 Nov 2023Release notes
Open source →- BUGFIX: Fix the
updatemethod of aResourcethat triggeredreportObserved.
- BUGFIX: Fix the
-
1.2.123 Nov 2023Release notes
Open source →- BUGFIX: Fix the
updateValuemethod of aSignalthat triggeredreportObserved. (thanks to @9dan)
- BUGFIX: Fix the
-
1.2.023 Oct 2023Release notes
Open source →-
FEAT: Add 3 new signals:
ListSignal,SetSignalandMapSignal. Now you can easily be notified of every change of a list, set or map. Before:final list = Signal([1, 2]); // this doesn't work list.add(3); // instead you have to provide a new list instance list.value = [...list, 3];Now:
final list = ListSignal([1, 2]); // this now works as expected list.add(3); -
CHORE: Rename the
firstWheremethod of aReadSignalintountil -
CHORE: Rename the
firstWhereReadymethod of aResourceintountilReady -
CHORE: Rename the
updatemethod of aSignalintoupdateValue -
CHORE: Deprecate
createSignal,createComputed,createEffectandcreateResource
-
-
1.1.003 Oct 2023Release notes
Open source →- BUGFIX: Fix a bug in the
Resourcewhere the stream subscription was not disposed correctly
- BUGFIX: Fix a bug in the
-
1.0.106 Sep 2023 -
1.0.004 Aug 2023Release notes
Open source →The core of the library has been rewritten in order to support automatic dependency tracking like SolidJS.
-
FEAT: Add automatic dependency tracking
-
BREAKING CHANGE: To create derived signals now you should use
createComputedinstead ofsignalName.selectThis allows you to derive from many signals instead of only 1.Before:
final count = createSignal(0); final doubleCount = count.select((value) => value * 2);Now:
final count = createSignal(0); final doubleCount = createComputed(() => count() * 2); -
FEAT: The
createEffectno longer needs asignalsarray, it automatically track each signal.Before:
final effect = createEffect(() { print('The counter is now ${counter.value}'); }, signals: [counter]);Now:
final disposeFn = createEffect((disposeFn) { print('The counter is now ${counter.value}'); }) -
BREAKING CHANGE: The
fireImmediatelyfield on effects has been removed. Now an effect runs immediately by default. -
FEAT: Add
observemethod onSignal. Use it to easily observe the previous and current value instead of creating an effect.final count = createSignal(0); final disposeFn = count.observe((previousValue, value) { print('The counter changed from $previousValue to $value'); }, fireImmediately: true); -
FEAT: Add
firstWheremethod onSignal. It returns a future that completes when the condition evaluates to true and it returns the current signal value.final count = createSignal(0); // wait until the count is greater than 5 final value = await count.firstWhere((value) => value > 5); -
FEAT: Add
firstWhereReadymethod onResource. Now you can wait until the resource is ready.final resource = createResource(..); final data = await resource.firstWhereReady(); -
FEAT: The
Resourcenow acceptsResourceOptions. You can customize thelazyvalue of the resource (defaults to true), if you want your resource to resolve immediately. -
CHORE:
ResourceValuehas been renamed intoResourceState. Now you can get the state of the resource with thestategetter. -
CHORE: Move
refreshingfromResourceWidgetBuilderinto theResourceState. (thanks to @manuel-plavsic) -
FEAT: Add
hasPreviousValuegetter toReadSignal. (thanks to @manuel-plavsic) -
FEAT Before, only the
fetcherreacted to thesource. Now also thestreamreacts to thesourcechanges by subscribing again to the stream. In addition, thestreamparameter of the Resource has been changed fromStreaminto aStream Function()in order to be able to listen to a new stream if it changed. -
FEAT: Add the
selectmethod on theResourceclass. Theselectfunction allows filtering theResource's data by reading only the properties that you care about. The advantage is that you keep handling the loading and error states. -
FEAT: Make the
Resourceto auto-resolve when accessing itsstate. -
CHORE: The
refetchmethod of aResourcehas been renamed torefresh. -
FEAT: You can decide whether to use
createSignal()or directly theSignal()constructor, now the're equivalent. The same applies to all the othercreatefunctions.
-
-
1.0.0+121 Aug 2023 -
1.0.0+221 Aug 2023 -
1.0.0+321 Aug 2023 -
1.0.0+421 Aug 2023 -
1.0.0-dev814 Jul 2023 pre-releaseRelease notes
Open source →- FEAT: Add the select method on the Resource class. The select function allows filtering the Resource's data by reading only the properties that you care about. The advantage is that you keep handling the loading and error states.
- FEAT: Make the Resource to auto-resolve when accessing its state
-
1.0.0-dev706 Jul 2023 pre-releaseRelease notes
Open source →- CHORE:
createComputednow returns aComputedclass instead of aReadSignal.
- CHORE:
-
1.0.0-dev601 Jul 2023 pre-releaseRelease notes
Open source →- FEAT Before, only the
fetcherreacted to thesource. Now also thestreamreacts to thesourcechanges by subscribing again to the stream. In addition, thestreamparameter of the Resource has been changed fromStreaminto aStream Function()in order to be able to listen to a new stream if it changed
- FEAT Before, only the
-
1.0.0-dev522 Jun 2023 pre-releaseRelease notes
Open source →- BUGFIX Refactor the core of the library in order to fix issues with
previousValueandhasPreviousValueofComputedand simplify the logic.
- BUGFIX Refactor the core of the library in order to fix issues with
-
1.0.0-dev417 Jun 2023 pre-releaseRelease notes
Open source →- Move
refreshingfromResourceWidgetBuilderinto theResourceState. (thanks to @manuel-plavsic) - Add
hasPreviousValuegetter toReadSignal. (thanks to @manuel-plavsic)
- Move
-
1.0.0-dev308 Jun 2023 pre-releaseRelease notes
Open source →- Deprecate
valuegetter in theResource. Usestateinstead. - Remove
wheremethod fromReadSignal.
- Deprecate
-
1.0.0-dev205 Jun 2023 pre-releaseRelease notes
Open source →-
Rename
untilintofirstWhere -
Rename
untilReadyintofirstWhereReady -
FEAT: add
wheremethod toSignal. It returns a newReadSignalwith the values filtered bycondition. Use it to filter the value of another signal, e.g.:final loggedInUser = user.where((value) => value != null);The initial value may be null because a
Signalmust always start with an initial value. The following values will always satisfy the condition. The returnedReadSignalwill automatically dispose when the parent signal disposes.
-
-
1.0.0-dev119 May 2023 pre-releaseRelease notes
Open source →This is a development preview of the 1.0.0 release of solidart. The core of the library has been rewritten in order to support automatic dependency tracking like SolidJS.
-
FEAT: Add automatic dependency tracking
-
BREAKING CHANGE: To create derived signals now you should use
createComputedinstead ofsignalName.selectThis allows you to derive from many signals instead of only 1.Before:
final count = createSignal(0); final doubleCount = count.select((value) => value * 2);Now:
final count = createSignal(0); final doubleCount = createComputed(() => count() * 2); -
FEAT: The
createEffectno longer needs asignalsarray, it automatically track each signal.Before:
final effect = createEffect(() { print('The counter is now ${counter.value}'); }, signals: [counter]);Now:
final disposeFn = createEffect((disposeFn) { print('The counter is now ${counter.value}'); }) -
BREAKING CHANGE: The
createEffectmethod no longer returns anEffect, you cannot pause or resume it anymore. Instead it returns aDisposecallback which you can call when you want to stop it. You can also dispose an effect from the inside of the callback. -
BREAKING CHANGE: The
fireImmediatelyfield on effects has been removed. Now an effect runs immediately by default. -
FEAT: Add
observemethod onSignal. Use it to easily observe the previous and current value instead of creating an effect.final count = createSignal(0); final disposeFn = count.observe((previousValue, value) { print('The counter changed from $previousValue to $value'); }, fireImmediately: true); -
FEAT: Add
untilmethod onSignal. It returns a future that completes when the condition evaluates to true and it returns the current signal value.final count = createSignal(0); // wait until the count is greater than 5 final value = await count.until((value) => value > 5); -
FEAT: Add
untilReadymethod onResource. Now you can wait until the resource is ready.final resource = createResource(..); final data = await resource.untilReady(); -
FEAT: The
Resourcenow acceptsResourceOptions. You can customize thelazyvalue of the resource (defaults to true), if you want your resource to resolve immediately. -
CHORE:
ResourceValuehas been renamed intoResourceState. Now you can get the state of the resource with thestategetter.
-
-
0.3.031 Mar 2023Release notes
Open source →- BUGFIX: Listening to the
sourceof a Resource was not stopped when thesourcedisposed. - BUGFIX: A
Resourcewould not perform the asynchronous operation until someone called thefetchmethod, typically theResourceBuilderwidget. This did not apply to thestreamwhich was listened to when the resource was created. Now the behaviour has been merged and thefetchmethod has been renamed intoresolve. - CHORE: Renamed
ReadableSignalintoReadSignal. - CHORE: Renamed the
readablemethod of aSignalintotoReadSignal()
- BUGFIX: Listening to the
-
0.2.419 Mar 2023Release notes
Open source →- Add assert to resource
fetchmethod to prevent multiple fetches of the same resource.
- Add assert to resource
-
0.2.307 Mar 2023Release notes
Open source →- The
selectmethod of a signal now can take a customoptionsparameter to customize its behaviour. - Fixed an invalid assert in the
ResourceBuilderwidget that happens for resources without a fetcher.
- The
-
0.2.220 Feb 2023Release notes
Open source →createResourcenow accepts astreamand can be used to wrap a Stream and correctly handle its state.
-
0.2.120 Feb 2023 -
0.2.019 Feb 2023Release notes
Open source →- Documentation improvements
- Refactor Resource, now the
createResourcemethod takes only 1 generic, the type of the future result.// before final resource = createResource<SourceValueType, FetcherValueType>(fetcher: fetcher, source: source); // now final resource = createResource<FetcherValueType>(fetcher: fetcher, source: source); // the FetcherValueType can be inferred by Dart >=2.18.0, so you can omit it
-
0.2.0+119 Feb 2023