Coil v1.4.0 Release Notes

Release Date: 2021-10-06 // over 2 years ago
    • 🆕 New: Add ImageResult to ImagePainter.State.Success and ImagePainter.State.Error. (#887)
      • This is a binary incompatible change to the signatures of ImagePainter.State.Success and ImagePainter.State.Error, however these APIs are marked as experimental.
    • Only execute CrossfadeTransition if View.isShown is true. Previously it would only check View.isVisible. (#898)
    • 🛠 Fix potential memory cache miss if scaling multiplier is slightly less than 1 due to a rounding issue. (#899)
    • 👉 Make non-inlined ComponentRegistry methods public. (#925)
    • 🚚 Depend on accompanist-drawablepainter and remove Coil's custom DrawablePainter implementation. (#845)
    • ✂ Remove use of a Java 8 method to guard against desugaring issue. (#924)
    • Promote ImagePainter.ExecuteCallback to stable API. (#927)
    • ⚡️ Update compileSdk to 31.
    • ⚡️ Update Kotlin to 1.5.30.
    • ⚡️ Update Coroutines to 1.5.2.
    • ⚡️ Update Compose to 1.0.3.