Coil v0.8.0 Release Notes
Release Date: 2019-10-22 // over 4 years ago-
- ๐ฅ Breaking:
SvgDrawable
has been removed. Instead, SVGs are now prerendered toBitmapDrawable
s bySvgDecoder
. This makes SVGs significantly less expensive to render on the main thread. AlsoSvgDecoder
now requires aContext
in its constructor. - ๐ฅ Breaking:
SparseIntArraySet
extension functions have moved to thecoil.extension
package.
- ๐ New: Support setting per-request network headers. See here for more info.
- ๐ New: Add new
Parameters
API to support passing custom data through the image pipeline. - ๐ New: Support individual corner radii in RoundedCornersTransformation. Thanks @khatv911.
- ๐ New: Add
ImageView.clear()
to support proactively freeing resources. - ๐ New: Support loading resources from other packages.
- ๐ New: Add
subtractPadding
attribute to ViewSizeResolver to enable/disable subtracting a view's padding when measuring. - ๐ New: Improve HttpUrlFetcher MIME type detection.
- ๐ New: Add Animatable2Compat support to MovieDrawable and CrossfadeDrawable.
- ๐ New: Add
RequestBuilder<*>.repeatCount
to set the repeat count for a GIF. - ๐ New: Add BitmapPool creation to the public API.
- ๐ New: Annotate Request.Listener methods with
@MainThread
.
- ๐ Fix: Make CoilContentProvider visible for testing.
- ๐ Fix: Include night mode in the resource cache key.
- ๐ Fix: Work around ImageDecoder native crash by temporarily writing the source to disk.
- ๐ Fix: Correctly handle contact display photo uris.
- ๐ Fix: Pass tint to CrossfadeDrawable's children.
- ๐ Fix: Fix several instances of not closing sources.
- ๐ Fix: Add a blacklist of devices with broken/incomplete hardware bitmap implementations.
- Compile against SDK 29.
- โก๏ธ Update Kotlin Coroutines to 1.3.2.
- โก๏ธ Update OkHttp to 3.12.6.
- โก๏ธ Update Okio to 2.4.1.
- ๐ Change
appcompat-resources
fromcompileOnly
toimplementation
forcoil-base
.
- ๐ฅ Breaking: