Coil v2.0.0-alpha05 Release Notes

Release Date: 2021-11-28 // over 2 years ago
    • Important: Refactor Size to support using the image's original size for either dimension.
      • Size is now composed of two Dimension values for its width and height. Dimension can either be a positive pixel value or Dimension.Original.
      • This change was made to better support unbounded width/height values (e.g. wrap_content, Constraints.Infinity) when one dimension is a fixed pixel value.
    • ๐Ÿ›  Fix: Support inspection mode (preview) for AsyncImage.
    • ๐Ÿ›  Fix: SuccessResult.memoryCacheKey should always be null if imageLoader.memoryCache is null.
    • Convert ImageLoader, SizeResolver, and ViewSizeResolver constructor-like invoke functions to top level functions.
    • ๐Ÿ‘‰ Make CrossfadeDrawable start and end drawables public API.
    • Mutate ImageLoader placeholder/error/fallback drawables.
    • โž• Add default arguments to SuccessResult's constructor.
    • Depend on androidx.collection instead of androidx.collection-ktx.
    • โšก๏ธ Update Okhttp to 4.9.3.