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 to BitmapDrawables by SvgDecoder. This makes SVGs significantly less expensive to render on the main thread. Also SvgDecoder now requires a Context in its constructor.
    • ๐Ÿ’ฅ Breaking: SparseIntArraySet extension functions have moved to the coil.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 from compileOnly to implementation for coil-base.