Skip to content

Update coil3 to v3.4.0#88

Open
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/coil3
Open

Update coil3 to v3.4.0#88
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/coil3

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate bot commented Jul 29, 2025

This PR contains the following updates:

Package Change Age Confidence
io.coil-kt.coil3:coil-network-okhttp 3.2.03.4.0 age confidence
io.coil-kt.coil3:coil-network-ktor3 3.2.03.4.0 age confidence
io.coil-kt.coil3:coil 3.2.03.4.0 age confidence
io.coil-kt.coil3:coil-compose 3.2.03.4.0 age confidence

Release Notes

coil-kt/coil (io.coil-kt.coil3:coil-network-okhttp)

v3.4.0

Compare Source

  • New: Add ConcurrentRequestStrategy to support combining in-flight network requests for the same key. (#​2995, #​3326)
    • DeDupeConcurrentRequestStrategy enables this behavior and lets waiters wait for the results of an in-flight network request.
      • This behavior is experimental and is currently disabled by default.
      • Currently, requests are always combined based on their diskCacheKey.
    • OkHttpNetworkFetcherFactory, KtorNetworkFetcherFactory, and NetworkFetcher.Factory now accept concurrentRequestStrategy.
  • New: Decode images on JS/WASM using a web worker to avoid blocking the browser main thread. (#​3305)
  • New: Add support for Linux native targets (linuxX64 and linuxArm64) for non-Compose multiplatform artifacts. (#​3054)
  • New: Add Compose-only APIs to improve transitions between subsequent requests. (#​3141, #​3175)
    • ImageRequest.Builder.useExistingImageAsPlaceholder enables crossfading from the previous image when no placeholder is set.
    • ImageRequest.Builder.preferEndFirstIntrinsicSize lets CrossfadePainter prefer the end painter's intrinsic size.
  • New: Add ImageLoader.Builder.repeatCount(Int) in coil-gif to set a global animated image repeat count. (#​3143)
  • New: Add support for preferring embedded video thumbnails in coil-video. (#​3107)
  • New: Publish coil-lint with coil-core and add a lint check to catch accidental kotlin.error() calls in ImageRequest.Builder blocks. (#​3304)
  • Set Kotlin language version to 2.1. (#​3302)
  • Make BitmapFetcher available in common code. (#​3286)
  • Use applicationContext when creating the singleton ImageLoader on Android. (#​3246)
  • Cache eligible non-2xx HTTP responses by default (e.g. 404) and stop caching non-cacheable responses (e.g. 500). (#​3137, #​3139)
  • Fix potential race condition when consuming OkHttp response bodies. (#​3186)
  • Fix maxBitmapSize edge case to prevent oversized bitmap crashes on Android. (#​3259)
  • Update Kotlin to 2.3.10.
  • Update Compose to 1.9.3.
  • Update Okio to 3.16.4.
  • Update Skiko to 0.9.22.2.
  • Update kotlinx-io-okio to 0.9.0.
  • Update androidx.core to 1.16.0.
  • Update androidx.lifecycle to 2.9.4.
  • Update androidx.exifinterface to 1.4.2.

v3.3.0

Compare Source

  • New: Introduce a new API to limit MemoryCache.maxSize on Android while the app is backgrounded.
    • If ImageLoader.Builder.memoryCacheMaxSizePercentWhileInBackground is set, the ImageLoader's memory cache will be limited to a percent of its max size while the app is backgrounded. This setting is currently disabled by default.
    • Images will be trimmed from the memory cache to reach the limited max size when the app is backgrounded, however the memory cache's weak references to recently trimmed images are unaffected. This means if an image is currently referenced elsewhere (e.g. AsyncImage, ImageView, etc.) it will still be present in the memory cache.
    • This API is useful to reduce background memory usage, keep your app from being killed earlier, and help reduce memory pressure on your users' devices.
  • New: Add an Svg.Parser argument to SvgDecoder.
    • This enables using custom SVG parsers if the default SVG parser doesn't meet your needs.
  • Add a density argument to SvgDecoder to support providing a custom density multiplier.
  • Add Uri.Builder to support copying and modifying Uris.
  • Add ImageLoader.Builder.mainCoroutineContext to support overriding Coil's Dispatchers.main.immediate usage in tests.
  • Fix CrossfadePainter.intrinsicSize changing when the start image is dereferenced at the end of the animation. This aligns with the behaviour of CrossfadeDrawable.
  • Fix ImageLoaders.executeBlocking being inaccessible from Java.
  • Use kotlinx.io's Okio interop module in coil-network-ktor3.
  • Update kotlinx-datetime to 0.7.1.
    • This release includes binary incompatible changes that only affect the coil-network-cache-control module. See here for more info.
  • Update Kotlin to 2.2.0.
  • Update Compose to 1.8.2.
  • Update Okio to 3.15.0.
  • Update Skiko to 0.9.4.2.

Configuration

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

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

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


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/coil3 branch from 5af7da3 to 435d5ba Compare March 3, 2026 21:50
@renovate renovate bot changed the title Update coil3 to v3.3.0 Update coil3 to v3.4.0 Mar 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants