async_cubits
A set of cubits that can be used to handle async operations in a simple, consistent way.
0.7.1
jarekb123/async_cubits
What this package is like to depend on
Last release 1 months ago
03 Jul 2026
Release timing varies
gaps range from 3 weeks to 2.2 years
Nearly every release is documented
notes for 9 of 10 stable releases
Nothing withdrawn
no release was ever pulled
3 years old
10 releases · first in 2024
7 releases in the last 12 months
see the full history below
Release timeline
10 releases · Jan 2024 to Jul 2026
2025
2026
Releases
latest 10-
0.7.103 Jul 2026Release notes
Open source →- Added
AsyncCubitsTrace.currentto retrieve the current trace request id from theAsyncCubitsTracezone
- Added
-
0.7.003 Jul 2026Release notes
Open source →- Added
AsyncCubitsTrace.generate()to create a trace request id, passed down throughFutureCubit.performLoad/performRefreshandMutationCubit.invokeintoAsyncCubitsLoggercalls (AsyncCubitLoggerInfo/AsyncCubitLoggerErrorgain an optionaltraceIdparameter)
- Added
-
0.6.017 Mar 2026Release notes
Open source →- Breaking:
MutationSuccess<T>is nowMutationSuccess<I, T>— holds both theinputpassed toinvokeand theresult - Breaking:
onSuccess(T result)is nowonSuccess(I input, T result) - Breaking:
MutationStatefactory constructors removed — use concrete classes directly (MutationIdle(),MutationLoading(),MutationSuccess(input, result),MutationFailure(error, stackTrace))
- Breaking:
-
0.5.117 Mar 2026Release notes
Open source →- Added
AsyncCubitContainer.performDefault<T>()static shorthand forAsyncCubitContainer.defaultInstance.perform<T>()
- Added
-
0.5.017 Mar 2026Release notes
Open source →- Breaking:
AsyncCubitContainer.invalidate<T>()replaced byperform<T>({required runner, filter})— accepts anyBlocBasesubtype and executes an arbitrary asyncrunneron each matching cubit - Breaking:
MutationCubit.invalidate<T>()removed — usecontainer.perform<T>(runner: (c) => c.invalidate())insideonSuccessinstead FutureCubit.invalidategainsoptimisticRefreshparameter: emits an optimistic value immediately before the refresh fetch begins; no-op whenreload: true
- Breaking:
-
0.4.026 Feb 2026Release notes
Open source →AsyncCubitContainernow stores cubits in aList, allowing multiple instances of the same type to be registered simultaneouslyAsyncCubitContainer.invalidate<T>()now invalidates all registered cubits of typeT(previously only one per type); accepts optionalreloadandfilterparameters- Removed
AsyncCubitContainer.get<T>()andinvalidateAll(List<Type>)— useinvalidate<T>()directly
-
0.3.025 Feb 2026Release notes
Open source →- Replaced
freezed-basedAsyncValueandMutationStatewith native Dart sealed classes — removesfreezed_annotationandbuild_runnerdependencies - Merged
FutureWithArgsCubitintoFutureCubit: concrete subclasses now define their ownload/refreshmethods callingperformLoad/performRefresh - Removed
RefreshStreamFutureCubitMixin
- Replaced
-
0.2.004 Jan 2024Release notes
Open source →Add
MutationCubitused to invoke async operations by some side effect (eg. form submit) -
0.1.0+102 Jan 2024Nothing published for this version
-
0.1.0+202 Jan 2024