steady_async 0.3.1
steady_async: ^0.3.1 copied to clipboard
Flutter widgets and controllers for async loading, retries, actions, and pagination.
0.3.1 #
- Made finite streams leave loading when they complete without a new value.
- Paused obsolete stream subscriptions before replacement and reported asynchronous cancellation failures through Flutter diagnostics.
- Moved paged sliver auto-loading into a mounted widget lifecycle.
- Added release-mode validation for retry, timeout, transition, progress, and pagination prefetch configuration.
- Gated trusted publishing on format, analysis, tests, and a publish dry-run.
- Kept the PowerShell release verifier working around a Pana Windows sandbox regression.
0.3.0 #
- Added typed failure metadata, sanitized observer failure metadata, retry policies, per-operation timeouts, real cancellable-operation factories, UTC request timestamps, and staleness APIs.
- Added payload-free lifecycle observation for request, cancellation, source, and optimistic transaction events.
- Added application error mapping for default async, action, and pagination UI.
- Added seeded pagination hydration and atomic clear/retain source replacement.
- Added immediate insert/update and transactional optimistic insert/update/remove with refresh/append rebasing and stale-handle invalidation.
- Added optimistic action execution across drop, latest-wins, and sequential concurrency policies.
- Added
SteadyPagedSliverGridand item-threshold prefetch for paged slivers. - Preserved raw error access and existing Future factories for 0.x migration.
- Made request start, cancellation, reset, source replacement, and disposal safe against synchronous callback and listener reentrancy.
- Preserved loader identity across retry attempts and retained successful attempt metadata.
- Made optimistic handles single-resolution transactions and ordered latest-wins rollback before replacement apply.
- Refreshed seeded slivers automatically and preserved initial-load retry metadata.
0.2.2 #
- Made request cancellation leave loading by restoring retained data or idle.
- Preserved the latest stream value when a later stream event fails.
- Made synchronous stream-factory failures rebuild through the guarded error path.
- Preserved
appendErrorwhen omitted from paged-state copies while still clearing it withclearError. - Made list, grid, and sliver pagination use the append-loading surface consistently for empty non-terminal pages.
- Applied updated success-visibility durations to owned action controllers.
- Made async-controller configuration and reset calls safe after disposal.
0.2.1 #
- Prevented sequential actions queued before disposal from executing afterward.
- Made
keepPreviousData: falsehide retained content as documented. - Preserved the original loader-delay deadline across progress updates.
- Continued list and grid pagination when a page does not fill the viewport.
- Continued list, grid, and sliver pagination past empty non-terminal pages.
- Stopped list, grid, and sliver prefetch from retrying failed appends until the retry action is invoked.
- Kept refresh errors visible alongside retained items with retry support.
- Added a dedicated inline
refreshErrorBuilderso existing full-screenerrorBuilderimplementations keep their original layout contract. - Handled list scroll-controller and async-controller replacement correctly.
- Avoided auto-starting non-idle external controllers while preserving
reloadOnLoaderChangeduring controller replacement. - Detected repeated cursor cycles across a pagination session.
0.2.0 #
- Hardened paged-controller disposal, reset, refresh, and stale-result behavior.
- Added non-advancing cursor detection and controller-replacement loading.
- Added
removeWhereandremoveByKeywith stale-result invalidation. - Added custom loading and error builders for list, grid, and sliver pagination.
0.1.0 #
- Initial release with Future and Stream builders that manage loader timing.
- Added immutable async state, explicit controllers, actions, and pagination.
- Added Material 3 defaults, reduced-motion handling, and nine locales.