Rename DiskCacheget/edit to openSnapshot/openEditor.
Don't automatically convert ColorDrawable to ColorPainter in AsyncImagePainter.
Annotate simple AsyncImage overloads with @NonRestartableComposable.
Fix: Call Context.cacheDir lazily in ImageSource.
Fix: Fix publishing coil-bom.
Fix: Fix always setting bitmap config to ARGB_8888 if hardware bitmaps are disabled.
Update Kotlin to 1.8.21.
Update Coroutines to 1.7.1.
Update accompanist-drawablepainter to 0.30.1.
Update androidx.compose.foundation to 1.4.3.
Update androidx.profileinstaller:profileinstaller to 1.3.1.
Update com.squareup.okhttp3 to 4.11.0.
[2.3.0] - March 25, 2023
New: Introduce a new coil-test artifact, which includes FakeImageLoaderEngine. This class is useful for hardcoding image loader responses to ensure consistent and synchronous (from the main thread) responses in tests. See here for more info.
New: Add baseline profiles to coil-base (child module of coil) and coil-compose-base (child module of coil-compose).
This improves Coil's runtime performance and should offer better frame timings depending on how Coil is used in your app.
Fix: Fix parsing file:// URIs with encoded data. #1601
Fix: DiskCache now properly computes its maximum size if passed a directory that does not exist. #1620
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 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 io.coil-kt:coil-compose from 2.2.2 to 2.4.0.
Release notes
Sourced from io.coil-kt:coil-compose's releases.
Changelog
Sourced from io.coil-kt:coil-compose's changelog.
Commits
e0411dd
Prepare 2.4.0.28a2de9
Avoid using default methods for new DiskCache method names. (#1771)74f5e5a
Update the baseline profiles.81045fd
Fix always setting bitmap config to ARGB_8888 if hardware bitmaps are disable...c762e43
Rename DiskCache get/edit to openSnapshot/openEditor. (#1765)c04bc43
Update Coroutines to 1.7.1. (#1757)264e4e7
Bump org.robolectric:robolectric from 4.10.2 to 4.10.3 (#1767)970f637
Don't automatically convert ColorDrawable -> ColorPainter in AsyncImagePainte...779fd54
Call cacheDir lazily in ImageSource. (#1761)65ff90e
Improve the docs to preload only into the disk cache. (#1760)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 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)