Coil v1.1.0 Release Notes
Release Date: 2020-11-24 // over 3 years ago-
- Important: Change the
CENTER
andMATRIX
ImageView
scale types to resolve toOriginalSize
. (#587)- This change only affects the implicit size resolution algorithm when the request's size isn't specified explicitly.
- This change was made to ensure that the visual result of an image request is consistent with
ImageView.setImageResource
/ImageView.setImageURI
. To revert to the old behaviour set aViewSizeResolver
when constructing your request.
- Important: Return the display size from
ViewSizeResolver
if the view's layout param isWRAP_CONTENT
. (#562)- Previously, we would only return the display size if the view has been fully laid out. This change makes the typical behaviour more consistent and intuitive.
- โ Add the ability to control alpha pre-multiplication. (#569)
- ๐ Support preferring exact intrinsic size in
CrossfadeDrawable
. (#585) - Check for the full GIF header including version. (#564)
- โ Add an empty bitmap pool implementation. (#561)
- ๐ Make
EventListener.Factory
a functional interface. (#575) - Stabilize
EventListener
. (#574) - โ Add
String
overload forImageRequest.Builder.placeholderMemoryCacheKey
. - โ Add
@JvmOverloads
to theViewSizeResolver
constructor. - ๐ Fix: Mutate start/end drawables in
CrossfadeDrawable
. (#572) - ๐ Fix: Fix GIF not playing on second load. (#577)
- โก๏ธ Update Kotlin (1.4.20) and migrate to the
kotlin-parcelize
plugin. - โก๏ธ Update Coroutines (1.4.1).
- Important: Change the