NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
A sealed class and its subclasses representing phases of an asynchronous operation.
Last release 9 months ago
20 Dec 2025
Ships fairly regularly
a new release about every 3 months
Nearly every release is documented
notes for 14 of 14 stable releases
Nothing withdrawn
no release was ever pulled
4 years old
14 releases · first in 2022
One column per quarter.
Update the minimum Dart SDK version to 3.6.2.
Improve method signatures for better auto-completion of callback parameters.
Add rethrowIfError() to AsyncPhase.
rethrowIfError() to AsyncPhase.onComplete and onError callbacks.Improve when() and whenOrNull() so that the data parameter of each callback (except for the error callback) follows the nullability of the generic typ
when() and whenOrNull() so that the data parameter of each
callback (except for the error callback) follows the nullability of the
generic type.- Add convert().
convert().Change return type of callback of AsyncPhase.from() from FutureOr to Future.
AsyncPhase.from() from FutureOr to Future.
error of AsyncError required.error and stackTrace of AsyncError to be non-nullable.AsyncComplete having data redundantly in both this._data and super.data.AsyncPhase.from() so that resulting phase is not affected by error thrown
in onComplete or onError callback.rethrowError() to AsyncError.Change onError function of AsyncPhase.from() to receive data.
onError function of AsyncPhase.from() to receive data.AsyncPhase.from().
fallbackData to optional.onComplete.when() to use destructured fields.- Add copyWith(). - Minor refactorings.
copyWith().- Update dependencies.
Raise minimum Dart SDK version to 3.0.0.
sealed.final.Raise minimum Dart SDK version to 2.19.0.
Improve data of AsyncComplete to be non-null if T is not nullable.
data of AsyncComplete<T> to be non-null if T is not nullable.error and stackTrace in AsyncPhase and make them only available
in AsyncError.data is of type Object? instead of dynamic when the type is unknown.- Initial version.
- Update README.
Your coding agent can read these notes before it upgrades. Set up the MCP server →