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 dependency io.coil-kt.coil3:coil-compose to v3.0.0-alpha10 - autoclosed #331

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 4, 2024

Mend Renovate

This PR contains the following updates:

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

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-compose)

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.

v3.0.0-alpha08

Compare Source

  • 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.

v3.0.0-alpha07

Compare Source

  • 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.

v3.0.0-alpha06

Compare Source


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

@renovate renovate bot force-pushed the renovate/io.coil-kt.coil3-coil-compose-3.x branch from cb99852 to c6454ff Compare March 9, 2024 15:03
@renovate renovate bot changed the title Update dependency io.coil-kt.coil3:coil-compose to v3.0.0-SNAPSHOT Update dependency io.coil-kt.coil3:coil-compose to v3.0.0-alpha06 Mar 9, 2024
@renovate renovate bot force-pushed the renovate/io.coil-kt.coil3-coil-compose-3.x branch from c6454ff to a4062c2 Compare March 9, 2024 18:42
@renovate renovate bot changed the title Update dependency io.coil-kt.coil3:coil-compose to v3.0.0-alpha06 Update dependency io.coil-kt.coil3:coil-compose to v3.0.0-SNAPSHOT Mar 9, 2024
@renovate renovate bot force-pushed the renovate/io.coil-kt.coil3-coil-compose-3.x branch from a4062c2 to fbae535 Compare May 26, 2024 11:05
@renovate renovate bot changed the title Update dependency io.coil-kt.coil3:coil-compose to v3.0.0-SNAPSHOT Update dependency io.coil-kt.coil3:coil-compose to v3.0.0-alpha06 May 26, 2024
@renovate renovate bot force-pushed the renovate/io.coil-kt.coil3-coil-compose-3.x branch from fbae535 to 213ee57 Compare June 27, 2024 01:00
@renovate renovate bot changed the title Update dependency io.coil-kt.coil3:coil-compose to v3.0.0-alpha06 Update dependency io.coil-kt.coil3:coil-compose to v3.0.0-alpha07 Jun 27, 2024
@renovate renovate bot force-pushed the renovate/io.coil-kt.coil3-coil-compose-3.x branch from 213ee57 to 173d506 Compare July 9, 2024 07:48
@renovate renovate bot changed the title Update dependency io.coil-kt.coil3:coil-compose to v3.0.0-alpha07 Update dependency io.coil-kt.coil3:coil-compose to v3.0.0-alpha08 Jul 9, 2024
@renovate renovate bot changed the title Update dependency io.coil-kt.coil3:coil-compose to v3.0.0-alpha08 Update dependency io.coil-kt.coil3:coil-compose to v3.0.0-alpha09 Jul 24, 2024
@renovate renovate bot force-pushed the renovate/io.coil-kt.coil3-coil-compose-3.x branch from 173d506 to 1784a9e Compare July 24, 2024 03:57
@renovate renovate bot force-pushed the renovate/io.coil-kt.coil3-coil-compose-3.x branch from 1784a9e to 1473d84 Compare August 7, 2024 20:49
@renovate renovate bot changed the title Update dependency io.coil-kt.coil3:coil-compose to v3.0.0-alpha09 Update dependency io.coil-kt.coil3:coil-compose to v3.0.0-alpha10 Aug 7, 2024
@renovate renovate bot changed the title Update dependency io.coil-kt.coil3:coil-compose to v3.0.0-alpha10 Update dependency io.coil-kt.coil3:coil-compose to v3.0.0-alpha10 - autoclosed Aug 17, 2024
@renovate renovate bot closed this Aug 17, 2024
@renovate renovate bot deleted the renovate/io.coil-kt.coil3-coil-compose-3.x branch August 17, 2024 14:55
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