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

Bump coil3 from 3.0.0-alpha06 to 3.0.0-alpha08 #351

Merged
merged 1 commit into from
Jul 15, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 9, 2024

Bumps coil3 from 3.0.0-alpha06 to 3.0.0-alpha08.
Updates io.coil-kt.coil3:coil-compose from 3.0.0-alpha06 to 3.0.0-alpha08

Release notes

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

3.0.0-alpha08

See CHANGELOG.md.

3.0.0-alpha07

See CHANGELOG.md.

Changelog

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

[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.
Commits
  • fa3101b Prepare 3.0.0-alpha08.
  • b8a89b5 chore(deps): update plugin binarycompatibility to v0.15.0-beta.3 (#2343)
  • e66425f Remove outdated AsyncImagePainter docs. (#2359)
  • 92d9342 Re-add soft dependency on Dispatchers.Main.immediate. (#2356)
  • 29e0726 fix(deps): update dependency org.robolectric:robolectric to v4.13 (#2358)
  • cccaea0 Rename dispatcher methods to coroutineContext. (#2357)
  • 7bb0dab Revert "fix(deps): update dependency org.jetbrains.skiko:skiko to v0.8.9 (#23...
  • e553267 fix(deps): update dependency org.jetbrains.skiko:skiko to v0.8.9 (#2351)
  • 8e9710c fix(deps): update roborazzi to v1.21.0 (#2350)
  • dd805ca fix(deps): update androidx.lifecycle to v2.8.3 (#2348)
  • Additional commits viewable in compare view

Updates io.coil-kt.coil3:coil-network-ktor from 3.0.0-alpha06 to 3.0.0-alpha08

Release notes

Sourced from io.coil-kt.coil3:coil-network-ktor's releases.

3.0.0-alpha08

See CHANGELOG.md.

3.0.0-alpha07

See CHANGELOG.md.

Changelog

Sourced from io.coil-kt.coil3:coil-network-ktor's changelog.

[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.
Commits
  • fa3101b Prepare 3.0.0-alpha08.
  • b8a89b5 chore(deps): update plugin binarycompatibility to v0.15.0-beta.3 (#2343)
  • e66425f Remove outdated AsyncImagePainter docs. (#2359)
  • 92d9342 Re-add soft dependency on Dispatchers.Main.immediate. (#2356)
  • 29e0726 fix(deps): update dependency org.robolectric:robolectric to v4.13 (#2358)
  • cccaea0 Rename dispatcher methods to coroutineContext. (#2357)
  • 7bb0dab Revert "fix(deps): update dependency org.jetbrains.skiko:skiko to v0.8.9 (#23...
  • e553267 fix(deps): update dependency org.jetbrains.skiko:skiko to v0.8.9 (#2351)
  • 8e9710c fix(deps): update roborazzi to v1.21.0 (#2350)
  • dd805ca fix(deps): update androidx.lifecycle to v2.8.3 (#2348)
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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)

Bumps `coil3` from 3.0.0-alpha06 to 3.0.0-alpha08.

Updates `io.coil-kt.coil3:coil-compose` from 3.0.0-alpha06 to 3.0.0-alpha08
- [Release notes](https://github.com/coil-kt/coil/releases)
- [Changelog](https://github.com/coil-kt/coil/blob/main/CHANGELOG.md)
- [Commits](coil-kt/coil@3.0.0-alpha06...3.0.0-alpha08)

Updates `io.coil-kt.coil3:coil-network-ktor` from 3.0.0-alpha06 to 3.0.0-alpha08
- [Release notes](https://github.com/coil-kt/coil/releases)
- [Changelog](https://github.com/coil-kt/coil/blob/main/CHANGELOG.md)
- [Commits](coil-kt/coil@3.0.0-alpha06...3.0.0-alpha08)

---
updated-dependencies:
- dependency-name: io.coil-kt.coil3:coil-compose
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: io.coil-kt.coil3:coil-network-ktor
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot requested a review from michaelbel as a code owner July 9, 2024 10:36
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jul 9, 2024
@michaelbel michaelbel merged commit edf80c9 into develop Jul 15, 2024
2 of 3 checks passed
@dependabot dependabot bot deleted the dependabot/gradle/coil3-3.0.0-alpha08 branch July 15, 2024 10:07
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant