Skip to content

Commit

Permalink
Update coil to v2.6.0 (#1234)
Browse files Browse the repository at this point in the history
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [io.coil-kt:coil-test](https://togithub.com/coil-kt/coil) |
dependencies | minor | `2.5.0` -> `2.6.0` |
| [io.coil-kt:coil-compose](https://togithub.com/coil-kt/coil) |
dependencies | minor | `2.5.0` -> `2.6.0` |
| [io.coil-kt:coil](https://togithub.com/coil-kt/coil) | dependencies |
minor | `2.5.0` -> `2.6.0` |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>coil-kt/coil (io.coil-kt:coil-test)</summary>

###
[`v2.6.0`](https://togithub.com/coil-kt/coil/blob/HEAD/CHANGELOG.md#260---February-23-2024)

[Compare
Source](https://togithub.com/coil-kt/coil/compare/2.5.0...2.6.0)

- Make `rememberAsyncImagePainter`, `AsyncImage`, and
`SubcomposeAsyncImage` [restartable and
skippable](https://developer.android.com/jetpack/compose/performance/stability#functions).
This should improve performance by avoiding recomposition unless one of
the composable's arguments changes.
- Add an optional `modelEqualityDelegate` argument to
`rememberAsyncImagePainter`, `AsyncImage`, and `SubcomposeAsyncImage` to
control whether the `model` will trigger a recomposition.
-   Update `ContentPainterModifier` to implement `Modifier.Node`.
- Fix: Lazily register component callbacks and the network observer on a
background thread. This fixes slow initialization that would often occur
on the main thread.
- Fix: Avoid relaunching a new image request in
`rememberAsyncImagePainter`, `AsyncImage`, and `SubcomposeAsyncImage` if
`ImageRequest.listener` or `ImageRequest.target` change.
-   Fix: Don't observe the image request twice in `AsyncImagePainter`.
-   Update Kotlin to 1.9.22.
-   Update Compose to 1.6.1.
-   Update Okio to 3.8.0.
-   Update `androidx.collection` to 1.4.0.
-   Update `androidx.lifecycle` to 2.7.0.

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://togithub.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMTIuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIxMi4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
  • Loading branch information
slack-oss-bot authored Feb 25, 2024
1 parent 7470a1c commit 0440540
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ agp = "8.2.2"
anvil = "2.4.9"
atomicfu = "0.23.2"
benchmark = "1.2.3"
coil = "2.5.0"
coil = "2.6.0"
coil3 = "3.0.0-alpha04"
compose-animation = "1.6.2"
# Pre-release versions for testing Kotlin previews can be found here
Expand Down

0 comments on commit 0440540

Please sign in to comment.