Skip to content

Chore(deps): Bump io.coil-kt:coil-compose from 2.5.0 to 2.7.0#760

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/gradle/io.coil-kt-coil-compose-2.7.0
Open

Chore(deps): Bump io.coil-kt:coil-compose from 2.5.0 to 2.7.0#760
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/gradle/io.coil-kt-coil-compose-2.7.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Jan 12, 2026

Bumps io.coil-kt:coil-compose from 2.5.0 to 2.7.0.

Release notes

Sourced from io.coil-kt:coil-compose's releases.

2.7.0

See CHANGELOG.md.

2.6.0

See CHANGELOG.md.

Changelog

Sourced from io.coil-kt:coil-compose's changelog.

[2.7.0] - July 17, 2024

  • Slightly optimize internal coroutines usage to improve the performance of ImageLoader.execute, AsyncImage, SubcomposeAsyncImage, and rememberAsyncImagePainter. (#2205)
  • Fix duplicate network calls for chunked responses. (#2363)
  • Update Kotlin to 2.0.0.
  • Update Compose UI to 1.6.8.
  • Update Okio to 3.9.0.

[3.0.0-alpha08] - July 8, 2024

  • 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 on JVM. If it's not imported then ImageRequests won't be dispatched immediately and will have one frame of delay before setting the ImageRequest.placeholder or resolving from the memory cache.

[3.0.0-alpha07] - June 26, 2024

  • BREAKING: AsyncImagePainter no longer waits for onDraw by default and instead uses Size.ORIGINAL.
  • BREAKING: Refactor the multiplatform Image API. Notably, asCoilImage has been renamed to asImage.
  • BREAKING: AsyncImagePainter.state has been changed to StateFlow<AsyncImagePainter.State>. Use collectAsState to observe its value. This improves performance.
  • BREAKING: AsyncImagePainter.imageLoader and AsyncImagePainter.request have been combined into StateFlow<AsyncImagePainter.Inputs>. Use collectAsState to observe its value. This improves performance.
  • BREAKING: Remove support for android.resource://example.package.name/drawable/image URIs as it prevents resource shrinking optimizations.
  • New: Introduce AsyncImagePreviewHandler to support controlling AsyncImagePainter's preview rendering behavior.
    • Use LocalAsyncImagePreviewHandler to override the preview behavior.
    • As part of this change and other coil-compose improvements, AsyncImagePainter now attempts to execute execute the ImageRequest by default instead of defaulting to displaying ImageRequest.placeholder. Requests that use the network or files are expected to fail in the preview environment, however Android resources should work.
  • New: Support extracting video image by frame index. (#2183)
  • New: Support passing CoroutineContext to any CoroutineDispatcher methods. (#2241).
  • New: Support the weak reference memory cache on JS and WASM JS.
  • Don't dispatch to Dispatchers.Main.immediate in Compose. As a side-effect, kotlinx-coroutines-swing no longer needs to be imported on JVM.
  • Don't call async and create a disposable in Compose to improve performance (thanks @​mlykotom!). (#2205)
  • Fix passing global ImageLoader extras to Options. (#2223)
  • Fix crossfade(false) not working on non-Android targets.
  • Fix VP8X feature flags byte offset (#2199).
  • Convert SvgDecoder on non-Android targets to render to a bitmap instead of render the image at draw-time. This improves performance.
    • This behavior can be controlled using SvgDecoder(renderToBitmap).
  • Move ScaleDrawable from coil-gif to coil-core.
  • Update Kotlin to 2.0.0.
  • Update Compose to 1.6.11.
  • Update Okio to 3.9.0.
  • Update Skiko to 0.8.4.
  • For the full list of important changes in 3.x, check out the upgrade guide.

[3.0.0-alpha06] - February 29, 2024

[3.0.0-alpha05] - February 28, 2024

... (truncated)

Commits

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [io.coil-kt:coil-compose](https://github.com/coil-kt/coil) from 2.5.0 to 2.7.0.
- [Release notes](https://github.com/coil-kt/coil/releases)
- [Changelog](https://github.com/coil-kt/coil/blob/main/CHANGELOG.md)
- [Commits](coil-kt/coil@2.5.0...2.7.0)

---
updated-dependencies:
- dependency-name: io.coil-kt:coil-compose
  dependency-version: 2.7.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Jan 12, 2026
@greptile-apps
Copy link
Copy Markdown
Contributor

greptile-apps bot commented Jan 12, 2026

Greptile Summary

This PR upgrades the Coil image loading library from version 2.5.0 to 2.7.0 in the compose_app sample application.

Changes in Coil 2.7.0:

  • Performance optimizations for ImageLoader.execute and AsyncImage composables
  • Fix for duplicate network calls for chunked responses
  • Updated to Kotlin 2.0.0 (backward compatible)
  • Updated Compose UI to 1.6.8
  • Updated Okio to 3.9.0

Impact Analysis:

  • Only affects the samples/compose_app module - the main SDK and xml_app are not impacted
  • The compose app uses AsyncImage with ImageRequest.Builder in AssistantTranscriptBottomSheet.kt (lines 155-163 and 332-343)
  • All APIs used (AsyncImage, ImageRequest.Builder, crossfade) are stable and unchanged between versions
  • No breaking changes in 2.7.0 (breaking changes are only in 3.0.0-alpha releases)
  • The project uses Kotlin 1.9.23 while Coil 2.7.0 is compiled with Kotlin 2.0.0, but this is backward compatible
  • Compose BOM version 2024.04.01 is compatible with Coil 2.7.0

Benefits:

  • Performance improvements for image loading operations
  • Bug fix for duplicate network calls
  • Security and stability updates from dependency updates

This is a safe, low-risk upgrade that brings performance improvements and bug fixes to the sample application.

Copy link
Copy Markdown
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No files reviewed, no comments

Edit Code Review Agent Settings | Greptile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file java Pull requests that update Java code

Development

Successfully merging this pull request may close these issues.

0 participants