Coil v0.13.0 Release Notes

Release Date: 2020-09-03 // over 1 year ago
    • Important: Launch the Interceptor chain on the main thread by default. (#513)
      • This largely restores the behaviour from 0.11.0 and below where the memory cache would be checked synchronously on the main thread.
      • To revert to using the same behaviour as 0.12.0 where the memory cache is checked on ImageRequest.dispatcher, set ImageLoader.Builder.launchInterceptorChainOnMainThread(false).
      • See launchInterceptorChainOnMainThread for more information.

    • ๐Ÿ›  Fix: Fix potential memory leak if request is started on a ViewTarget in a detached fragment. (#518)
    • ๐Ÿ›  Fix: Use ImageRequest.context to load resource URIs. (#517)
    • ๐Ÿ›  Fix: Fix race condition that could cause subsequent requests to not be saved to the disk cache. (#510)
    • ๐Ÿ›  Fix: Use blockCountLong and blockSizeLong on API 18.

    • ๐Ÿ‘‰ Make ImageLoaderFactory a fun interface.
    • โž• Add ImageLoader.Builder.addLastModifiedToFileCacheKey which allows you to enable/disable adding the last modified timestamp to the memory cache key for an image loaded from a File.

    • โšก๏ธ Update Kotlin to 1.4.0.
    • โšก๏ธ Update Coroutines to 1.3.9.
    • โšก๏ธ Update Okio to 2.8.0.