From 0e8e6683f534ac6339afb8ad0d9ea4727d26089c Mon Sep 17 00:00:00 2001 From: Colin White Date: Thu, 7 Nov 2024 00:05:10 -0800 Subject: [PATCH] Prepare version 3.0.1. --- CHANGELOG.md | 5 +++++ README-ja.md | 4 ++-- README-ko.md | 4 ++-- README-ru.md | 4 ++-- README-sv.md | 4 ++-- README-tr.md | 4 ++-- README-zh.md | 4 ++-- README.md | 4 ++-- coil-compose/README.md | 2 +- coil-gif/README.md | 2 +- coil-network-core/README.md | 6 +++--- coil-svg/README.md | 2 +- coil-test/README.md | 2 +- coil-video/README.md | 2 +- docs/getting_started.md | 8 ++++---- docs/upgrading_to_coil3.md | 2 +- gradle.properties | 2 +- 17 files changed, 33 insertions(+), 28 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 94cc7f056a..257a5fce99 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## [3.0.1] - November 7, 2024 + +- Fix crash when calling `Image.toBitmap` with a hardware bitmap-backed `BitmapImage`. +- Fix `AsyncImageModelEqualityDelegate.Default` comparing equality incorrectly for non-`ImageRequest` models. + ## [3.0.0] - November 4, 2024 Coil 3.0.0 is the next major release of Coil with full support for [Compose Multiplatform](https://www.jetbrains.com/compose-multiplatform/). diff --git a/README-ja.md b/README-ja.md index 37f95733c6..ec36c544cf 100644 --- a/README-ja.md +++ b/README-ja.md @@ -14,8 +14,8 @@ Coil は、**Co**routine **I**mage **L**oader の頭字語です。 Compose ライブラリと [ネットワーク ライブラリ](https://coil-kt.github.io/coil/network/) をインポートします: ```kotlin -implementation("io.coil-kt.coil3:coil-compose:3.0.0") -implementation("io.coil-kt.coil3:coil-network-okhttp:3.0.0") +implementation("io.coil-kt.coil3:coil-compose:3.0.1") +implementation("io.coil-kt.coil3:coil-network-okhttp:3.0.1") ``` 画像を読み込むには、`AsyncImage` を使用しますcomposable: diff --git a/README-ko.md b/README-ko.md index 0c90ecd3be..b504f71d55 100644 --- a/README-ko.md +++ b/README-ko.md @@ -14,8 +14,8 @@ Compose 라이브러리와 [네트워킹 라이브러리](https://coil-kt.github.io/coil/network/ 가져오기: ```kotlin -구현("io.coil-kt.coil3:coil-compose:3.0.0") -구현("io.coil-kt.coil3:coil-network-okhttp:3.0.0") +구현("io.coil-kt.coil3:coil-compose:3.0.1") +구현("io.coil-kt.coil3:coil-network-okhttp:3.0.1") ``` 이미지를 로드하려면 `AsyncImage`를 사용하세요. 구성 가능: diff --git a/README-ru.md b/README-ru.md index 0c98368e29..2644b2541d 100644 --- a/README-ru.md +++ b/README-ru.md @@ -14,8 +14,8 @@ Coil — это аббревиатура от: **Co**routine **I**mage **L**load Импортируйте библиотеку Compose и [сетевую библиотеку](https://coil-kt.github.io/coil/network/): ```kotlin -implementation("io.coil-kt.coil3:coil-compose:3.0.0") -implementation("io.coil-kt.coil3:coil-network-okhttp:3.0.0") +implementation("io.coil-kt.coil3:coil-compose:3.0.1") +implementation("io.coil-kt.coil3:coil-network-okhttp:3.0.1") ``` Чтобы загрузите изображение, используйте `AsyncImage` composable: diff --git a/README-sv.md b/README-sv.md index b4ab97a262..8834d81014 100644 --- a/README-sv.md +++ b/README-sv.md @@ -14,8 +14,8 @@ Spole är en akronym för: **Co**rutin **I**bild **L**loader. Importera Compose-biblioteket och ett [nätverksbibliotek](https://coil-kt.github.io/coil/network/): ```kotlin -implementering("io.coil-kt.coil3:coil-compose:3.0.0") -implementering("io.coil-kt.coil3:coil-network-okhttp:3.0.0") +implementering("io.coil-kt.coil3:coil-compose:3.0.1") +implementering("io.coil-kt.coil3:coil-network-okhttp:3.0.1") ``` För att ladda en bild, använd "AsyncImage" komponerbar: diff --git a/README-tr.md b/README-tr.md index 2e53240a76..8955f3aba8 100644 --- a/README-tr.md +++ b/README-tr.md @@ -14,8 +14,8 @@ Coil, **Co**routine **I**mage **L**oader'ın kısaltmasıdır. Compose kütüphanesini ve bir [ağ kütüphanesini](https://coil-kt.github.io/coil/network/) içe aktarın: ```kotlin -implementation("io.coil-kt.coil3:coil-compose:3.0.0") -implementation("io.coil-kt.coil3:coil-network-okhttp:3.0.0") +implementation("io.coil-kt.coil3:coil-compose:3.0.1") +implementation("io.coil-kt.coil3:coil-network-okhttp:3.0.1") ``` Bir görüntüyü yüklemek için, `AsyncImage` bileşenini kullanın: diff --git a/README-zh.md b/README-zh.md index d2b52a2ef1..6b8b79772b 100644 --- a/README-zh.md +++ b/README-zh.md @@ -14,8 +14,8 @@ Coil 是 Co**routine **I**mage **L**oader 的缩写。 导入 Compose 库和 [网络库](https://coil-kt.github.io/coil/network/): ```kotlin -implementation("io.coil-kt.coil3:coil-compose:3.0.0") -implementation("io.coil-kt.coil3:coil-network-okhttp:3.0.0") +implementation("io.coil-kt.coil3:coil-compose:3.0.1") +implementation("io.coil-kt.coil3:coil-network-okhttp:3.0.1") ``` 要加载图像,请使用 `AsyncImage`可组合: diff --git a/README.md b/README.md index 0ff19ae6b6..4be415d612 100644 --- a/README.md +++ b/README.md @@ -16,8 +16,8 @@ Translations: [日本語](README-ja.md), [한국어](README-ko.md), [Русск Import the Compose library and a [networking library](https://coil-kt.github.io/coil/network/): ```kotlin -implementation("io.coil-kt.coil3:coil-compose:3.0.0") -implementation("io.coil-kt.coil3:coil-network-okhttp:3.0.0") +implementation("io.coil-kt.coil3:coil-compose:3.0.1") +implementation("io.coil-kt.coil3:coil-network-okhttp:3.0.1") ``` To load an image, use the `AsyncImage` composable: diff --git a/coil-compose/README.md b/coil-compose/README.md index 72764f44c5..b87d6212a9 100644 --- a/coil-compose/README.md +++ b/coil-compose/README.md @@ -3,7 +3,7 @@ To add support for [Compose UI](https://www.jetbrains.com/compose-multiplatform/), import the extension library: ```kotlin -implementation("io.coil-kt.coil3:coil-compose:3.0.0") +implementation("io.coil-kt.coil3:coil-compose:3.0.1") ``` Then use the `AsyncImage` composable to load and display an image: diff --git a/coil-gif/README.md b/coil-gif/README.md index ca375ede3e..217202f153 100644 --- a/coil-gif/README.md +++ b/coil-gif/README.md @@ -7,7 +7,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.coil3:coil-gif:3.0.0") +implementation("io.coil-kt.coil3:coil-gif:3.0.1") ``` And that's it! The `ImageLoader` will automatically detect any GIFs using their file headers and decode them correctly. diff --git a/coil-network-core/README.md b/coil-network-core/README.md index ace29405a8..09e937f5a4 100644 --- a/coil-network-core/README.md +++ b/coil-network-core/README.md @@ -5,9 +5,9 @@ By default, Coil 3.x does not include support for loading images from the networ To add support for fetching images from the network import **only one of the following**: ```kotlin -implementation("io.coil-kt.coil3:coil-network-okhttp:3.0.0") // Only available on Android/JVM. -implementation("io.coil-kt.coil3:coil-network-ktor2:3.0.0") -implementation("io.coil-kt.coil3:coil-network-ktor3:3.0.0") +implementation("io.coil-kt.coil3:coil-network-okhttp:3.0.1") // Only available on Android/JVM. +implementation("io.coil-kt.coil3:coil-network-ktor2:3.0.1") +implementation("io.coil-kt.coil3:coil-network-ktor3:3.0.1") ``` If you use OkHttp, that's it. Once imported, network URLs like `https://example.com/image.jpg` will automatically be supported. If you use Ktor, you need to add supported engines for each platform (see below). diff --git a/coil-svg/README.md b/coil-svg/README.md index 6fff345931..a149ebc03c 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.coil3:coil-svg:3.0.0") +implementation("io.coil-kt.coil3:coil-svg:3.0.1") ``` And that's it! The `ImageLoader` will automatically detect and decode any SVGs. Coil detects SVGs by looking for the `