From face4602eae08d3980e5a7f30e937f53ff71c776 Mon Sep 17 00:00:00 2001 From: Colin White Date: Wed, 6 Oct 2021 16:18:10 -0400 Subject: [PATCH] Prepare 1.4.0. --- CHANGELOG.md | 15 +++++++++++++++ README-ko.md | 2 +- README-tr.md | 2 +- README-zh.md | 2 +- README.md | 2 +- coil-compose-singleton/README.md | 2 +- coil-gif/README.md | 2 +- coil-svg/README.md | 2 +- coil-video/README.md | 2 +- gradle.properties | 2 +- 10 files changed, 24 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b2e3cbf0c8..c46655b938 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,20 @@ # Changelog +## [1.4.0] - October 6, 2021 + +- **New**: Add `ImageResult` to `ImagePainter.State.Success` and `ImagePainter.State.Error`. ([#887](https://github.com/coil-kt/coil/pull/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](https://github.com/coil-kt/coil/pull/898)) +- Fix potential memory cache miss if scaling multiplier is slightly less than 1 due to a rounding issue. ([#899](https://github.com/coil-kt/coil/pull/899)) +- Make non-inlined `ComponentRegistry` methods public. ([#925](https://github.com/coil-kt/coil/pull/925)) +- Depend on `accompanist-drawablepainter` and remove Coil's custom `DrawablePainter` implementation. ([#845](https://github.com/coil-kt/coil/pull/845)) +- Remove use of a Java 8 method to guard against desugaring issue. ([#924](https://github.com/coil-kt/coil/pull/924)) +- Promote `ImagePainter.ExecuteCallback` to stable API. ([#927](https://github.com/coil-kt/coil/pull/927)) +- Update compileSdk to 31. +- Update Kotlin to 1.5.30. +- Update Coroutines to 1.5.2. +- Update Compose to 1.0.3. + ## [1.3.2] - August 4, 2021 - `coil-compose` now depends on `compose.ui` instead of `compose.foundation`. diff --git a/README-ko.md b/README-ko.md index e26d8dbd83..703a93246c 100644 --- a/README-ko.md +++ b/README-ko.md @@ -16,7 +16,7 @@ Coil은: **Co**routine **I**mage **L**oader의 약자입니다. Coil은 `mavenCentral()`로 이용 가능합니다. ```kotlin -implementation("io.coil-kt:coil:1.3.2") +implementation("io.coil-kt:coil:1.4.0") ``` ## 빠른 시작 diff --git a/README-tr.md b/README-tr.md index ee32ae20a4..8efafef589 100644 --- a/README-tr.md +++ b/README-tr.md @@ -17,7 +17,7 @@ Coil şunların baş harflerinden oluşur: **Co**routine **I**mage **L**oader. Coil `mavenCentral()`'da mevcuttur. ```kotlin -implementation("io.coil-kt:coil:1.3.2") +implementation("io.coil-kt:coil:1.4.0") ``` ## Hızlı Başlangıç diff --git a/README-zh.md b/README-zh.md index de7bce262c..fd67734852 100644 --- a/README-zh.md +++ b/README-zh.md @@ -16,7 +16,7 @@ Coil 名字的由来:取 **Co**routine **I**mage **L**oader 首字母得来。 Coil 可以在 `mavenCentral()` 下载 ```kotlin -implementation("io.coil-kt:coil:1.3.2") +implementation("io.coil-kt:coil:1.4.0") ``` ## 快速上手 diff --git a/README.md b/README.md index b72aea2538..38819930b5 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ Made with ❤️ at [Instacart](https://www.instacart.com). Translations: [한 Coil is available on `mavenCentral()`. ```kotlin -implementation("io.coil-kt:coil:1.3.2") +implementation("io.coil-kt:coil:1.4.0") ``` ## Quick Start diff --git a/coil-compose-singleton/README.md b/coil-compose-singleton/README.md index af09d9903d..b5a4b44f11 100644 --- a/coil-compose-singleton/README.md +++ b/coil-compose-singleton/README.md @@ -3,7 +3,7 @@ To add support for [Jetpack Compose](https://developer.android.com/jetpack/compose), import the extension library: ```kotlin -implementation("io.coil-kt:coil-compose:1.3.2") +implementation("io.coil-kt:coil-compose:1.4.0") ``` Then use the `rememberImagePainter` function to create an `ImagePainter` that can be drawn by the `Image` composable: diff --git a/coil-gif/README.md b/coil-gif/README.md index 163dfce8f9..0dc936ee87 100644 --- a/coil-gif/README.md +++ b/coil-gif/README.md @@ -5,7 +5,7 @@ Unlike Glide, GIFs are not supported by default. However, Coil has an extension To add GIF support, import the extension library: ```kotlin -implementation("io.coil-kt:coil-gif:1.3.2") +implementation("io.coil-kt:coil-gif:1.4.0") ``` And add the decoders to your component registry when constructing your `ImageLoader`: diff --git a/coil-svg/README.md b/coil-svg/README.md index 03e8099557..3eeb7c376b 100644 --- a/coil-svg/README.md +++ b/coil-svg/README.md @@ -3,7 +3,7 @@ To add SVG support, import the extension library: ```kotlin -implementation("io.coil-kt:coil-svg:1.3.2") +implementation("io.coil-kt:coil-svg:1.4.0") ``` And add the decoder to your component registry when constructing your `ImageLoader`: diff --git a/coil-video/README.md b/coil-video/README.md index 1007e2daba..9974bcf5c4 100644 --- a/coil-video/README.md +++ b/coil-video/README.md @@ -3,7 +3,7 @@ To add video frame support, import the extension library: ```kotlin -implementation("io.coil-kt:coil-video:1.3.2") +implementation("io.coil-kt:coil-video:1.4.0") ``` And add the two fetchers and the decoder to your component registry when constructing your `ImageLoader`: diff --git a/gradle.properties b/gradle.properties index af010f1234..670aef8ffc 100644 --- a/gradle.properties +++ b/gradle.properties @@ -16,7 +16,7 @@ compileSdk=31 # Maven GROUP=io.coil-kt -VERSION_NAME=1.4.0-SNAPSHOT +VERSION_NAME=1.4.0 POM_DESCRIPTION=An image loading library for Android backed by Kotlin Coroutines. POM_INCEPTION_YEAR=2019