Coil v1.2.0 Release Notes
Release Date: 2021-04-12 // almost 3 years ago-
- Important: Use an SVG's view bounds to calculate its aspect ratio in
SvgDecoder
. (#688)- Previously,
SvgDecoder
used an SVG'swidth
/height
elements to determine its aspect ratio, however this doesn't correctly follow the SVG specification. - To revert to the old behaviour set
useViewBoundsAsIntrinsicSize = false
when constructing yourSvgDecoder
.
- Previously,
- ๐ New: Add
VideoFrameDecoder
to support decoding video frames from any source. (#689) - ๐ New: Support automatic SVG detection using the source's contents instead of just the MIME type. (#654)
- ๐ New: Support sharing resources using
ImageLoader.newBuilder()
. (#653)- Importantly, this enables sharing memory caches between
ImageLoader
instances.
- Importantly, this enables sharing memory caches between
- ๐ New: Add support for animated image transformations using
AnimatedTransformation
. (#659) - ๐ New: Add support for start/end callbacks for animated drawables. (#676)
- ๐ Fix parsing EXIF data for HEIF/HEIC files. (#664)
- ๐ Fix not using the
EmptyBitmapPool
implementation if bitmap pooling is disabled. (#638)- Without this fix bitmap pooling was still disabled properly, however it used a more heavyweight
BitmapPool
implementation.
- Without this fix bitmap pooling was still disabled properly, however it used a more heavyweight
- ๐ Fix case where
MovieDrawable.getOpacity
would incorrectly return transparent. (#682) - 0๏ธโฃ Guard against the default temporary directory not existing. (#683)
- ๐ Build using the JVM IR backend. (#670)
- โก๏ธ Update Kotlin (1.4.32).
- โก๏ธ Update Coroutines (1.4.3).
- โก๏ธ Update OkHttp (3.12.13).
- โก๏ธ Update
androidx.lifecycle:lifecycle-common-java8
to 2.3.1.
- Important: Use an SVG's view bounds to calculate its aspect ratio in