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

fix(deps): update coil to v3.0.4 #135

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

fix(deps): update coil to v3.0.4 #135

wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 25, 2024

This PR contains the following updates:

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

Release Notes

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

v3.0.4

Compare Source

  • Fix vector drawables not rendering in the Android Studio preview.
  • Fix potential memory cache miss for requests whose size exceeds maxBitmapSize.
  • Fix FakeImage not rendering on Android.
  • Fix not launching a new image request when the request's Transformations change when used with AsyncImage/rememberAsyncImagePainter/SubcomposeAsyncImage.
  • Fix ScaleDrawable and CrossfadeDrawable not respecting tint states.
  • Allow ImageDecoder to decode partial image sources. This matches the behavior in BitmapFactory.
  • Fix Bitmap.prepareToDraw() not being called after decoding.
  • SvgDecoder should not return isSampled = true for non-rasterized images.
  • Fall back to Dispatchers.Unconfined in Compose if an immediate main dispatcher is unavailable. This is only used in preview/test environments.
  • Update Ktor 2 to 2.3.13.

v3.0.3

Compare Source

  • Fix setting ImageRequest.scale based on an ImageView's ScaleType.
  • Fix edge case where DiskCache would not track removal of an entry after deleting its files.
  • Pass throwable to Logger when logging errors.
  • Don't replace kotlin-stdlib-jdk7 and kotlin-stdlib-jdk8 with kotlin-stdlib.

v3.0.2

Compare Source

  • Fix crash when invoking OkHttpNetworkFetcherFactory with a custom CacheStrategy on Android.
  • Fix CacheControlCacheStrategy computing the age of a cache entry incorrectly.
  • Fix case where ImageRequest.bitmapConfig would only be respected on >= API 28 if it was ARGB_8888 or HARDWARE.

v3.0.1

Compare Source

  • Fix crash when calling Image.toBitmap with a hardware bitmap-backed BitmapImage.
  • Fix AsyncImageModelEqualityDelegate.Default comparing equality incorrectly for non-ImageRequest models.

v3.0.0

Compare Source

Coil 3.0.0 is the next major release of Coil with full support for Compose Multiplatform.

For the full list of improvements and important changes in 3.0.0, check out the upgrade guide.

Changes since 3.0.0-rc02:

  • Remove remaining deprecated methods.

v3.0.0-rc02

Compare Source

For the full list of improvements and important changes in 3.x, check out the upgrade guide. Changes since 3.0.0-rc01:

  • Add BlackholeDecoder. This simplifies disk-cache only preloading.
  • Add remember functions for ConstraintsSizeResolver and DrawScopeSizeResolver.
  • Remove EqualityDelegate as a parameter to AsyncImage. Instead, it should be set through LocalAsyncImageModelEqualityDelegate.
  • Fix AsyncImage not rendering when parent composable uses IntrinsicSize.
  • Fix AsyncImage filling the available constraints when AsyncImagePainter has no child painter.
  • Fix rememberAsyncImagePainter recomposing infinitely when its state is observed due to EqualityDelegate being ignored.
  • Fix parsing File/Path paths with special characters.
  • Fix using custom FileSystem implementations with VideoFrameDecoder.
  • Update Ktor to 3.0.0.
  • Update androidx.annotation to 1.9.0.

v3.0.0-rc01

Compare Source

For the full list of improvements and important changes in 3.x, check out the upgrade guide. Changes since 3.0.0-alpha10:

  • BREAKING Disable addLastModifiedToFileCacheKey by default and allow it to be set per request. The behaviour can be reenabled with the same flag.
  • New: Introduce a new coil-network-cache-control artifact, which implements Cache-Control header support.
  • New: Add scaleToDensity property to SvgDecoder.Factory. This property ensure SVGs with intrinsic dimensions are multiplied by the devices density (only supported on Android).
  • Rename ExifOrientationPolicy to ExifOrientationStrategy.
  • Remove unshareable images from the MemoryCache on get.
  • Make ConstraintsSizeResolver public.
  • Stabilize setSingletonImageLoaderFactory.
  • Restore optimized JVM I/O functions in coil-network-ktor3
  • Add pdf to list of mime types.
  • Update compile sdk to 35.
  • Update Kotlin to 2.0.20.
  • Update Okio to 3.9.1.

v3.0.0-alpha10

Compare Source

  • BREAKING: Replace ImageLoader.Builder.networkObserverEnabled with a ConnectivityChecker interface for NetworkFetcher.
    • To disable the network observer, pass ConnectivityChecker.ONLINE to the constructor for KtorNetworkFetcherFactory/OkHttpNetworkFetcherFactory.
  • New: Support loading Compose Multiplatform resources on all platforms. To load a resource, use Res.getUri:
AsyncImage(
    model = Res.getUri("drawable/image.jpg"),
    contentDescription = null,
)
  • Add maxBitmapSize property to ImageLoader and ImageRequest.
    • This property defaults to 4096x4096 and provides a safe upper bound for the dimensions of an allocated bitmap. This helps accidentally loading very large images with Size.ORIGINAL and causing an out of memory exception.
  • Convert ExifOrientationPolicy to be an interface to support custom policies.
  • Fix Uri handling of Windows file paths.
  • Remove @ExperimentalCoilApi from the Image APIs.
  • Update Kotlin to 2.0.10.

v3.0.0-alpha09

Compare Source

  • BREAKING: Rename the io.coil-kt.coil3:coil-network-ktor artifact to io.coil-kt.coil3:coil-network-ktor2 which depends on Ktor 2.x. Additionally, introduce io.coil-kt.coil3:coil-network-ktor3 which depends on Ktor 3.x. wasmJs support is only available in Ktor 3.x.
  • New: Add AsyncImagePainter.restart() to manually restart an image request.
  • Remove @ExperimentalCoilApi from NetworkClient and related classes.
  • Optimize ImageRequest to avoid unnecessary Extras and Map allocations.

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 was generated by Mend Renovate. View the repository job log.

@renovate renovate bot enabled auto-merge (rebase) July 25, 2024 04:31
@renovate renovate bot force-pushed the renovate/coil branch from c654b39 to 09df2bf Compare July 26, 2024 00:02
@renovate renovate bot force-pushed the renovate/coil branch 2 times, most recently from 96e2ce9 to aa86a33 Compare August 7, 2024 22:06
@renovate renovate bot changed the title fix(deps): update coil to v3.0.0-alpha09 fix(deps): update coil to v3.0.0-alpha10 Aug 7, 2024
@renovate renovate bot force-pushed the renovate/coil branch 2 times, most recently from eb9595e to caff25b Compare August 15, 2024 15:15
@renovate renovate bot force-pushed the renovate/coil branch 2 times, most recently from 305fefa to 592c789 Compare August 23, 2024 17:06
@renovate renovate bot force-pushed the renovate/coil branch 4 times, most recently from 30f46b0 to 6e0d2ae Compare September 3, 2024 10:22
@renovate renovate bot force-pushed the renovate/coil branch 4 times, most recently from fa4f59b to d9fb4f1 Compare September 12, 2024 05:10
@renovate renovate bot force-pushed the renovate/coil branch 6 times, most recently from 018bacb to 6a30d75 Compare September 21, 2024 10:06
@renovate renovate bot force-pushed the renovate/coil branch 3 times, most recently from 2fdf272 to 1bd1eb8 Compare October 8, 2024 10:34
@renovate renovate bot changed the title fix(deps): update coil to v3.0.0-alpha10 fix(deps): update coil to v3.0.0-rc01 Oct 8, 2024
@renovate renovate bot force-pushed the renovate/coil branch 2 times, most recently from ba1481e to 2b22514 Compare October 12, 2024 07:04
@renovate renovate bot force-pushed the renovate/coil branch 3 times, most recently from cd99c8b to 93b6eaf Compare November 5, 2024 00:13
@renovate renovate bot changed the title fix(deps): update coil to v3.0.0-rc02 fix(deps): update coil to v3.0.0 Nov 5, 2024
@renovate renovate bot changed the title fix(deps): update coil to v3.0.0 fix(deps): update coil to v3.0.1 Nov 7, 2024
@renovate renovate bot force-pushed the renovate/coil branch 2 times, most recently from 929c2c9 to b4752b8 Compare November 10, 2024 03:08
@renovate renovate bot changed the title fix(deps): update coil to v3.0.1 fix(deps): update coil to v3.0.2 Nov 10, 2024
@renovate renovate bot force-pushed the renovate/coil branch 3 times, most recently from 4c79e17 to 1c1a7ae Compare November 15, 2024 18:12
@renovate renovate bot changed the title fix(deps): update coil to v3.0.2 fix(deps): update coil Nov 15, 2024
@renovate renovate bot changed the title fix(deps): update coil fix(deps): update coil to v3.0.3 Nov 15, 2024
@renovate renovate bot force-pushed the renovate/coil branch 4 times, most recently from 11e37a5 to 2ca275e Compare November 26, 2024 23:12
@renovate renovate bot changed the title fix(deps): update coil to v3.0.3 fix(deps): update coil to v3.0.4 Nov 26, 2024
@renovate renovate bot force-pushed the renovate/coil branch 3 times, most recently from 6c4354d to 0286a8d Compare December 4, 2024 00:08
@renovate renovate bot force-pushed the renovate/coil branch 3 times, most recently from 80d6e36 to e064da0 Compare December 22, 2024 13:14
@renovate renovate bot force-pushed the renovate/coil branch 2 times, most recently from 0df6f34 to d4a4607 Compare January 11, 2025 06:32
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