coil-kt/coil (io.coil-kt.coil3:coil-bom)
### [`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 this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
3.0.0-alpha07
->3.0.0-alpha08
Release Notes
coil-kt/coil (io.coil-kt.coil3:coil-bom)
### [`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 this update again.
This PR has been generated by Mend Renovate. View repository job log here.