Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update coil to v3.1.0 #1921

Merged
merged 8 commits into from
Feb 6, 2025
Merged

Update coil to v3.1.0 #1921

merged 8 commits into from
Feb 6, 2025

Conversation

slack-oss-bot
Copy link
Collaborator

This PR contains the following updates:

Package Type Update Change
io.coil-kt.coil3:coil-test dependencies minor 3.0.4 -> 3.1.0
io.coil-kt.coil3:coil-network-okhttp dependencies minor 3.0.4 -> 3.1.0
io.coil-kt.coil3:coil-network-ktor3 dependencies minor 3.0.4 -> 3.1.0
io.coil-kt.coil3:coil-compose-core dependencies minor 3.0.4 -> 3.1.0
io.coil-kt.coil3:coil dependencies minor 3.0.4 -> 3.1.0

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

coil-kt/coil (io.coil-kt.coil3:coil-test)

v3.1.0

Compare Source

  • Improve AsyncImage performance.
    • Runtime performance is improved by 25% to 40% depending on if the composable is being instantiated or reused. Allocations are also reduced by 35% to 48%. More info here.
  • Add ColorImage and deprecate FakeImage.
    • ColorImage is useful for returning a fake value in tests and previews. It solves the same use case as FakeImage, but is more easily accessible in coil-core instead of coil-test.
  • Remove coil-compose-core's dependency on Dispatchers.Main.immedate.
    • This also fixes a case where AsyncImagePainter would not execute ImageRequests synchronously in Paparazzi and Roborazzi screenshot tests.
  • Add support for data URIs with the format: data:[<mediatype>][;base64],<data>
  • Add AnimatedImageDecoder.ENCODED_LOOP_COUNT to support using the encoded repeat count in a GIF's metadata.
  • Add Extras to NetworkRequest to support custom extensions.
  • Add DiskCache.Builder.cleanupCoroutineContext and deprecate DiskCache.Builder.cleanupDispatcher.
  • Add ImageLoader.Builder.imageDecoderEnabled to optionally disable using android.graphics.ImageDecoder on API 29 and above.
  • Log a warning if there is no registered Keyer for an ImageRequest's data type.
  • Make CrossfadePainter public.
  • Support Transformations on all multiplatform targets.
  • Support 0 as Expires header value in CacheControlCacheStrategy.
  • Fix AsyncImage/SubcomposeAsyncImage/rememberAsyncImage not launching a new ImageRequest if its ContentScale changes to/from None.
  • Update to Kotlin 2.1.10.
    • NOTE: This release requires compiling with Kotlin 2.1.0 or greater if you use Kotlin native due to an LLVM update.
  • Update to Compose 1.7.3.

Configuration

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

🚦 Automerge: Enabled.

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 has been generated by Renovate Bot.

@ZacSweers
Copy link
Collaborator

Needs #1897

@github-actions github-actions bot added the lfs-detected! Warning Label for use when LFS is detected in the commits of a Pull Request label Feb 6, 2025
Copy link

github-actions bot commented Feb 6, 2025

Possible file(s) that should be tracked in LFS detected: 🚨

The following file(s) are tracked in LFS and were likely accidentally checked in:

  • samples/star/src/test/snapshots/images/com.slack.circuit.star.petlist.PetListSnapshotTest.petList_filtersSheet[darkMode=false].png
  • samples/star/src/test/snapshots/images/com.slack.circuit.star.petlist.PetListSnapshotTest.petList_filtersSheet[darkMode=true].png
  • samples/star/src/test/snapshots/images/com.slack.circuit.star.petlist.PetListSnapshotTest.petList_show_list_for_success_state[darkMode=false].png
  • samples/star/src/test/snapshots/images/com.slack.circuit.star.petlist.PetListSnapshotTest.petList_show_list_for_success_state[darkMode=true].png
  • samples/star/src/test/snapshots/images/com.slack.circuit.star.petlist.PetListSnapshotTest.petList_show_message_for_no_animals_state[darkMode=false].png
  • samples/star/src/test/snapshots/images/com.slack.circuit.star.petlist.PetListSnapshotTest.petList_show_message_for_no_animals_state[darkMode=true].png

Copy link

github-actions bot commented Feb 6, 2025

Possible file(s) that should be tracked in LFS detected: 🚨

The following file(s) are tracked in LFS and were likely accidentally checked in:

  • samples/star/src/test/snapshots/images/com.slack.circuit.star.petlist.PetListSnapshotTest.petList_filtersSheet[darkMode=false].png
  • samples/star/src/test/snapshots/images/com.slack.circuit.star.petlist.PetListSnapshotTest.petList_filtersSheet[darkMode=true].png
  • samples/star/src/test/snapshots/images/com.slack.circuit.star.petlist.PetListSnapshotTest.petList_show_list_for_success_state[darkMode=false].png
  • samples/star/src/test/snapshots/images/com.slack.circuit.star.petlist.PetListSnapshotTest.petList_show_list_for_success_state[darkMode=true].png
  • samples/star/src/test/snapshots/images/com.slack.circuit.star.petlist.PetListSnapshotTest.petList_show_message_for_no_animals_state[darkMode=false].png
  • samples/star/src/test/snapshots/images/com.slack.circuit.star.petlist.PetListSnapshotTest.petList_show_message_for_no_animals_state[darkMode=true].png

@github-actions github-actions bot removed the lfs-detected! Warning Label for use when LFS is detected in the commits of a Pull Request label Feb 6, 2025
@slack-oss-bot slack-oss-bot added this pull request to the merge queue Feb 6, 2025
Merged via the queue into main with commit e718f8a Feb 6, 2025
5 checks passed
@slack-oss-bot slack-oss-bot deleted the renovate/coil branch February 6, 2025 05:10
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.

2 participants