PackageTrack
Sign in Get early access

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
Release Pre-release

Releases

latest 10
  1. 0.7.1 03 Jul 2026
    Release notes
    • Added AsyncCubitsTrace.current to retrieve the current trace request id from the AsyncCubitsTrace zone
    Open source →
  2. 0.7.0 03 Jul 2026
    Release notes
    • Added AsyncCubitsTrace.generate() to create a trace request id, passed down through FutureCubit.performLoad/performRefresh and MutationCubit.invoke into AsyncCubitsLogger calls (AsyncCubitLoggerInfo/AsyncCubitLoggerError gain an optional traceId parameter)
    Open source →
  3. 0.6.0 17 Mar 2026
    Release notes
    • Breaking: MutationSuccess<T> is now MutationSuccess<I, T> — holds both the input passed to invoke and the result
    • Breaking: onSuccess(T result) is now onSuccess(I input, T result)
    • Breaking: MutationState factory constructors removed — use concrete classes directly (MutationIdle(), MutationLoading(), MutationSuccess(input, result), MutationFailure(error, stackTrace))
    Open source →
  4. 0.5.1 17 Mar 2026
    Release notes
    • Added AsyncCubitContainer.performDefault<T>() static shorthand for AsyncCubitContainer.defaultInstance.perform<T>()
    Open source →
  5. 0.5.0 17 Mar 2026
    Release notes
    • Breaking: AsyncCubitContainer.invalidate<T>() replaced by perform<T>({required runner, filter}) — accepts any BlocBase subtype and executes an arbitrary async runner on each matching cubit
    • Breaking: MutationCubit.invalidate<T>() removed — use container.perform<T>(runner: (c) => c.invalidate()) inside onSuccess instead
    • FutureCubit.invalidate gains optimisticRefresh parameter: emits an optimistic value immediately before the refresh fetch begins; no-op when reload: true
    Open source →
  6. 0.4.0 26 Feb 2026
    Release notes
    • AsyncCubitContainer now stores cubits in a List, allowing multiple instances of the same type to be registered simultaneously
    • AsyncCubitContainer.invalidate<T>() now invalidates all registered cubits of type T (previously only one per type); accepts optional reload and filter parameters
    • Removed AsyncCubitContainer.get<T>() and invalidateAll(List<Type>) — use invalidate<T>() directly
    Open source →
  7. 0.3.0 25 Feb 2026
    Release notes
    • Replaced freezed-based AsyncValue and MutationState with native Dart sealed classes — removes freezed_annotation and build_runner dependencies
    • Merged FutureWithArgsCubit into FutureCubit: concrete subclasses now define their own load/refresh methods calling performLoad/performRefresh
    • Removed RefreshStreamFutureCubitMixin
    Open source →
  8. 0.2.0 04 Jan 2024
    Release notes

    Add MutationCubit used to invoke async operations by some side effect (eg. form submit)

    Open source →
  9. 0.1.0+1 02 Jan 2024

    Nothing published for this version

  10. 0.1.0+2 02 Jan 2024
    Release notes

    Create async_cubits package

    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive