all_image_cache 0.0.7
all_image_cache: ^0.0.7 copied to clipboard
Flutter image cache with memory/disk layers, network/file/bytes sources, SVG support, optional compression, stale fallback, and production-ready widgets.
0.0.7 #
Breaking changes #
NetworkImageSourceis no longerconstbecause request headers are now copied into an immutable snapshot at construction. RemoveconstfromNetworkImageSource(...)calls. Code that attempted to mutatesource.headersmust instead create a new source.- Native HTTP errors now expose only the URL origin in exception messages and
in the attached
Uri. Consumers that inspected the full request path or query from these errors must use their own request context instead.
Changed #
- Coordinated
CachedImageProviderTTL and invalidation with Flutter's decodedImageCachethrough bounded, deterministic provider identity tokens. - Added generation-safe
evictSourceandrefresh; old in-flight work can no longer repopulate or overwrite newer cache state. - Added optional L1 byte limits, network timeout, and maximum download size.
- Added deterministic concurrency stress and hardening regressions.
- Migrated the example status flow to
all_observerwith its official lint preset and lifecycle-safe reactive controller.
0.0.6 #
- Replaced the collision-prone default UUID key algorithm with a local, versioned SHA-256 generator and isolated potentially contaminated legacy cache entries.
- Started raster fades on the first decoded frame and SVG fades after successful parsing, while preserving the placeholder during decode.
- Added source-aware visual keys plus configurable fade-out duration and curve.
- Included
manageridentity inCachedImageProviderequality and hash code. - Documented animated
imageBuildercompositions andImageProvideranimation limitations.
0.0.5 #
- Relaxed
all_boxconstraint to accept versions>=0.6.0 <2.0.0.
0.0.4 #
- Updated
all_boxto^0.6.0.
0.0.3 #
- Added optional positive-cache TTL per request, default TTL, and TTL resolver.
- Documented TTL usage for images that can change while keeping the same URL.
- Fixed README image and language links for pub.dev rendering.
0.0.2 #
- Updated dependency constraints.
0.0.1 #
- TODO: Describe initial release.