Skip to content

Commit

Permalink
Prepare version 3.0.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
colinrtwhite committed Nov 4, 2024
1 parent 5fdcabb commit dc39584
Show file tree
Hide file tree
Showing 16 changed files with 37 additions and 27 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Changelog

## [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/).

[For the full list of improvements and important changes in 3.0.0, check out the upgrade guide](https://coil-kt.github.io/coil/upgrading_to_coil3/).

Changes since `3.0.0-rc02`:

- Remove remaining deprecated methods.

## [3.0.0-rc02] - October 28, 2024

[For the full list of improvements and important changes in 3.x, check out the upgrade guide](https://coil-kt.github.io/coil/upgrading_to_coil3/). Changes since `3.0.0-rc01`:
Expand Down
4 changes: 2 additions & 2 deletions README-ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -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-rc02")
implementation("io.coil-kt.coil3:coil-network-okhttp:3.0.0-rc02")
implementation("io.coil-kt.coil3:coil-compose:3.0.0")
implementation("io.coil-kt.coil3:coil-network-okhttp:3.0.0")
```

画像を読み込むには、`AsyncImage` を使用しますcomposable:
Expand Down
4 changes: 2 additions & 2 deletions README-ko.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
Compose 라이브러리와 [네트워킹 라이브러리](https://coil-kt.github.io/coil/network/ 가져오기:

```kotlin
구현("io.coil-kt.coil3:coil-compose:3.0.0-rc02")
구현("io.coil-kt.coil3:coil-network-okhttp:3.0.0-rc02")
구현("io.coil-kt.coil3:coil-compose:3.0.0")
구현("io.coil-kt.coil3:coil-network-okhttp:3.0.0")
```

이미지를 로드하려면 `AsyncImage`를 사용하세요. 구성 가능:
Expand Down
4 changes: 2 additions & 2 deletions README-ru.md
Original file line number Diff line number Diff line change
Expand Up @@ -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-rc02")
implementation("io.coil-kt.coil3:coil-network-okhttp:3.0.0-rc02")
implementation("io.coil-kt.coil3:coil-compose:3.0.0")
implementation("io.coil-kt.coil3:coil-network-okhttp:3.0.0")
```

Чтобы загрузите изображение, используйте `AsyncImage` composable:
Expand Down
4 changes: 2 additions & 2 deletions README-sv.md
Original file line number Diff line number Diff line change
Expand Up @@ -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-rc02")
implementering("io.coil-kt.coil3:coil-network-okhttp:3.0.0-rc02")
implementering("io.coil-kt.coil3:coil-compose:3.0.0")
implementering("io.coil-kt.coil3:coil-network-okhttp:3.0.0")
```

För att ladda en bild, använd "AsyncImage" komponerbar:
Expand Down
4 changes: 2 additions & 2 deletions README-tr.md
Original file line number Diff line number Diff line change
Expand Up @@ -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-rc02")
implementation("io.coil-kt.coil3:coil-network-okhttp:3.0.0-rc02")
implementation("io.coil-kt.coil3:coil-compose:3.0.0")
implementation("io.coil-kt.coil3:coil-network-okhttp:3.0.0")
```

Bir görüntüyü yüklemek için, `AsyncImage` bileşenini kullanın:
Expand Down
4 changes: 2 additions & 2 deletions README-zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -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-rc02")
implementation("io.coil-kt.coil3:coil-network-okhttp:3.0.0-rc02")
implementation("io.coil-kt.coil3:coil-compose:3.0.0")
implementation("io.coil-kt.coil3:coil-network-okhttp:3.0.0")
```

要加载图像,请使用 `AsyncImage`可组合:
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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-rc02")
implementation("io.coil-kt.coil3:coil-network-okhttp:3.0.0-rc02")
implementation("io.coil-kt.coil3:coil-compose:3.0.0")
implementation("io.coil-kt.coil3:coil-network-okhttp:3.0.0")
```

To load an image, use the `AsyncImage` composable:
Expand Down
2 changes: 1 addition & 1 deletion coil-compose/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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-rc02")
implementation("io.coil-kt.coil3:coil-compose:3.0.0")
```

Then use the `AsyncImage` composable to load and display an image:
Expand Down
2 changes: 1 addition & 1 deletion coil-gif/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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-rc02")
implementation("io.coil-kt.coil3:coil-gif:3.0.0")
```

And that's it! The `ImageLoader` will automatically detect any GIFs using their file headers and decode them correctly.
Expand Down
6 changes: 3 additions & 3 deletions coil-network-core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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-rc02") // Only available on Android/JVM.
implementation("io.coil-kt.coil3:coil-network-ktor2:3.0.0-rc02")
implementation("io.coil-kt.coil3:coil-network-ktor3:3.0.0-rc02")
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")
```

If you use OkHttp, that's it. Once imported, network URLs like `https://www.example.com/image.jpg` will automatically be supported. If you use Ktor, you need to add supported engines for each platform:
Expand Down
2 changes: 1 addition & 1 deletion coil-svg/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
To add SVG support, import the extension library:

```kotlin
implementation("io.coil-kt.coil3:coil-svg:3.0.0-rc02")
implementation("io.coil-kt.coil3:coil-svg:3.0.0")
```

And that's it! The `ImageLoader` will automatically detect and decode any SVGs. Coil detects SVGs by looking for the `<svg ` marker in the first 1 KB of the file, which should cover most cases. If the SVG is not automatically detected, you can set the `Decoder` explicitly for the request:
Expand Down
2 changes: 1 addition & 1 deletion coil-test/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
To use the testing support classes, import the extension library:

```kotlin
testImplementation("io.coil-kt.coil3:coil-test:3.0.0-rc02")
testImplementation("io.coil-kt.coil3:coil-test:3.0.0")
```

`coil-test` includes a `FakeImageLoaderEngine`, which can be added to your `ImageLoader` to intercept all incoming `ImageRequest`s and return a custom `ImageResult`. This is useful for testing as it makes loading images synchronous (from the main thread) and consistent. By using `FakeImageLoaderEngine` the `ImageLoader` will avoid all the memory caching, thread jumping, disk/network I/O fetching, and image decoding that's typically done to load an image. Here's an example:
Expand Down
2 changes: 1 addition & 1 deletion coil-video/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
To add video frame support, import the extension library:

```kotlin
implementation("io.coil-kt.coil3:coil-video:3.0.0-rc02")
implementation("io.coil-kt.coil3:coil-video:3.0.0")
```

And add the decoder to your component registry when constructing your `ImageLoader`:
Expand Down
8 changes: 4 additions & 4 deletions docs/getting_started.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
A typical Compose UI project will want to import:

```kotlin
implementation("io.coil-kt.coil3:coil-compose:3.0.0-rc02")
implementation("io.coil-kt.coil3:coil-network-okhttp:3.0.0-rc02")
implementation("io.coil-kt.coil3:coil-compose:3.0.0")
implementation("io.coil-kt.coil3:coil-network-okhttp:3.0.0")
```

!!! Note
Expand All @@ -26,8 +26,8 @@ AsyncImage(
If you use Android Views instead of Compose UI import:

```kotlin
implementation("io.coil-kt.coil3:coil:3.0.0-rc02")
implementation("io.coil-kt.coil3:coil-network-okhttp:3.0.0-rc02")
implementation("io.coil-kt.coil3:coil:3.0.0")
implementation("io.coil-kt.coil3:coil-network-okhttp:3.0.0")
```

After that's imported you can load images from the network using the `ImageView.load` extension function:
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ SONATYPE_HOST=DEFAULT
RELEASE_SIGNING_ENABLED=true

POM_GROUP_ID=io.coil-kt.coil3
POM_VERSION=3.0.0-SNAPSHOT
POM_VERSION=3.0.0

POM_DESCRIPTION=An image loading library for Android and Compose Multiplatform.
POM_INCEPTION_YEAR=2019
Expand Down

0 comments on commit dc39584

Please sign in to comment.