Coil v2.0.0-alpha07 Release Notes

Release Date: 2022-01-30 // about 2 years ago
    • ๐ŸŽ Significantly improve AsyncImage performance and split AsyncImage into AsyncImage and SubcomposeAsyncImage. (#1048)
      • SubcomposeAsyncImage provides loading/success/error/content slot APIs and uses subcomposition which has worse performance.
      • AsyncImage provides placeholder/error/fallback arguments to overwrite the Painter that's drawn when loading or if the request is unsuccessful. AsyncImage does not use subcomposition and has much better performance than SubcomposeAsyncImage.
      • Remove AsyncImagePainter.State argument from SubcomposeAsyncImage.content. Use painter.state if needed.
      • Add onLoading/onSuccess/onError callbacks to both AsyncImage and SubcomposeAsyncImage.
    • ๐Ÿ—„ Deprecate LocalImageLoader. (#1101)
    • โž• Add support for ImageRequest.tags. (#1066)
    • ๐Ÿšš Move isGif, isWebP, isAnimatedWebP, isHeif, and isAnimatedHeif in DecodeUtils into coil-gif. Add isSvg to coil-svg. (#1117)
    • Convert FetchResult and DecodeResult to be non-data classes. (#1114)
    • โœ‚ Remove unused DiskCache.Builder context argument. (#1099)
    • ๐Ÿ›  Fix scaling for bitmap resources with original size. (#1072)
    • ๐Ÿ›  Fix failing to close ImageDecoder in ImageDecoderDecoder. (#1109)
    • ๐Ÿ›  Fix incorrect scaling when converting a drawable to a bitmap. (#1084)
    • โšก๏ธ Update Compose to 1.1.0-rc03.
    • โšก๏ธ Update accompanist-drawablepainter to 0.22.1-rc.
    • โšก๏ธ Update androidx.appcompat:appcompat-resources to 1.4.1.