skydoves / landscapist

🌻 A pluggable, highly optimized Jetpack Compose and Kotlin Multiplatform image loading library that fetches and displays network images with Glide, Coil, and Fresco.
https://skydoves.github.io/landscapist/
Apache License 2.0
2.12k stars 114 forks source link

Update coil3 to v3.0.0-alpha08 #516

Closed renovate[bot] closed 3 months ago

renovate[bot] commented 3 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
io.coil-kt.coil3:coil-network-ktor 3.0.0-alpha07 -> 3.0.0-alpha08 age adoption passing confidence
io.coil-kt.coil3:coil 3.0.0-alpha07 -> 3.0.0-alpha08 age adoption passing confidence

Release Notes

coil-kt/coil (io.coil-kt.coil3:coil-network-ktor) ### [`v3.0.0-alpha08`](https://togithub.com/coil-kt/coil/blob/HEAD/CHANGELOG.md#300-alpha08---July-8-2024) [Compare Source](https://togithub.com/coil-kt/coil/compare/3.0.0-alpha07...3.0.0-alpha08) - **BREAKING**: Rename `ImageRequest` and `ImageLoader` `dispatcher` methods to `coroutineContext`. For instance, `ImageRequest.Builder.dispatcher` is now `ImageRequest.Builder.coroutineContext`. This was renamed as the method now accepts any `CoroutineContext` and no longer requires a `Dispatcher`. - Fix: Fix `IllegalStateException: Reading a state that was created after the snapshot was taken or in a snapshot that has not yet been applied` which could occur due to a race condition. - NOTE: This reintroduces a soft dependency on `Dispatchers.Main.immediate`. As a result you should re-add a dependency on [`kotlinx-coroutines-swing`](https://kotlinlang.org/api/kotlinx.coroutines/kotlinx-coroutines-swing/) on JVM. If it's not imported then `ImageRequest`s won't be dispatched immediately and will have one frame of delay before setting the `ImageRequest.placeholder` or resolving from the memory cache.

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.



This PR has been generated by Mend Renovate. View repository job log here.