-
Couldn't load subscription status.
- Fork 1
fix(deps): update coil to v3.3.0 #135
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
Open
renovate
wants to merge
1
commit into
main
Choose a base branch
from
renovate/coil
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
c654b39 to
09df2bf
Compare
96e2ce9 to
aa86a33
Compare
eb9595e to
caff25b
Compare
305fefa to
592c789
Compare
30f46b0 to
6e0d2ae
Compare
fa4f59b to
d9fb4f1
Compare
018bacb to
6a30d75
Compare
6a30d75 to
de8b138
Compare
2fdf272 to
1bd1eb8
Compare
ba1481e to
2b22514
Compare
3cfee37 to
e90d407
Compare
1d5df7b to
b72d1f1
Compare
92e9b0c to
ab2e1c9
Compare
68439b7 to
a83e0fd
Compare
a7d820b to
9dff997
Compare
9dff997 to
b5d36af
Compare
f201933 to
28c0de3
Compare
7042f80 to
ce829f8
Compare
ce829f8 to
9d81de9
Compare
9d81de9 to
4a4a897
Compare
4a4a897 to
44a94d8
Compare
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.



This PR contains the following updates:
3.0.0-alpha08->3.3.03.0.0-alpha08->3.3.0Release Notes
coil-kt/coil (io.coil-kt.coil3:coil-compose)
v3.3.0Compare Source
MemoryCache.maxSizeon Android while the app is backgrounded.ImageLoader.Builder.memoryCacheMaxSizePercentWhileInBackgroundis set, theImageLoader's memory cache will be limited to a percent of its max size while the app is backgrounded. This setting is currently disabled by default.AsyncImage,ImageView, etc.) it will still be present in the memory cache.Svg.Parserargument toSvgDecoder.densityargument toSvgDecoderto support providing a custom density multiplier.Uri.Builderto support copying and modifyingUris.ImageLoader.Builder.mainCoroutineContextto support overriding Coil'sDispatchers.main.immediateusage in tests.CrossfadePainter.intrinsicSizechanging when thestartimage is dereferenced at the end of the animation. This aligns with the behaviour ofCrossfadeDrawable.ImageLoaders.executeBlockingbeing inaccessible from Java.kotlinx.io's Okio interop module incoil-network-ktor3.kotlinx-datetimeto0.7.1.coil-network-cache-controlmodule. See here for more info.v3.2.0Compare Source
Changes since
3.1.0:coil-composeandcoil-compose-corenow require Java 11 bytecode due to Compose1.8.0requiring it. See here for how to enable it.AsyncImagePreviewHandler's functional constructor to returnAsyncImagePainter.State.Successinstead ofAsyncImagePainter.State.Loading.ConstraintsSizeResolver#size().PlatformContextwhen building with R8.FakeImageLoaderEnginenot settingTransition.Factory.NONEwhen the defaultFakeImageLoaderEngineresponse is returned.ColorImage.CacheControlCacheStrategy.CircleCropTransformationandRoundedCornersTransformationto share common code.BitmapFactoryinternally ifExifOrientationStrategyis notRESPECT_PERFORMANCE.accompanist-drawablepainterto 0.37.3.Changes since
3.2.0-rc02:BitmapFactoryinternally ifExifOrientationStrategyis notRESPECT_PERFORMANCE.accompanist-drawablepainterto 0.37.3.v3.1.0Compare Source
AsyncImageperformance.ColorImageand deprecateFakeImage.ColorImageis useful for returning a fake value in tests and previews. It solves the same use case asFakeImage, but is more easily accessible incoil-coreinstead ofcoil-test.coil-compose-core's dependency onDispatchers.Main.immedate.AsyncImagePainterwould not executeImageRequests synchronously in Paparazzi and Roborazzi screenshot tests.data:[<mediatype>][;base64],<data>AnimatedImageDecoder.ENCODED_LOOP_COUNTto support using the encoded repeat count in a GIF's metadata.ExtrastoNetworkRequestto support custom extensions.DiskCache.Builder.cleanupCoroutineContextand deprecateDiskCache.Builder.cleanupDispatcher.ImageLoader.Builder.imageDecoderEnabledto optionally disable usingandroid.graphics.ImageDecoderon API 29 and above.Keyerfor anImageRequest's data type.CrossfadePainterpublic.Transformations on all multiplatform targets.Expiresheader value inCacheControlCacheStrategy.AsyncImage/SubcomposeAsyncImage/rememberAsyncImagenot launching a newImageRequestif itsContentScalechanges to/fromNone.androidx.coreto 1.15.0.v3.0.4Compare Source
maxBitmapSize.FakeImagenot rendering on Android.Transformations change when used withAsyncImage/rememberAsyncImagePainter/SubcomposeAsyncImage.ScaleDrawableandCrossfadeDrawablenot respecting tint states.ImageDecoderto decode partial image sources. This matches the behavior inBitmapFactory.Bitmap.prepareToDraw()not being called after decoding.SvgDecodershould not returnisSampled = truefor non-rasterized images.Dispatchers.Unconfinedin Compose if an immediate main dispatcher is unavailable. This is only used in preview/test environments.2.3.13.v3.0.3Compare Source
ImageRequest.scalebased on anImageView'sScaleType.DiskCachewould not track removal of an entry after deleting its files.Loggerwhen logging errors.kotlin-stdlib-jdk7andkotlin-stdlib-jdk8withkotlin-stdlib.v3.0.2Compare Source
OkHttpNetworkFetcherFactorywith a customCacheStrategyon Android.CacheControlCacheStrategycomputing the age of a cache entry incorrectly.ImageRequest.bitmapConfigwould only be respected on >= API 28 if it wasARGB_8888orHARDWARE.v3.0.1Compare Source
Image.toBitmapwith a hardware bitmap-backedBitmapImage.AsyncImageModelEqualityDelegate.Defaultcomparing equality incorrectly for non-ImageRequestmodels.v3.0.0Compare 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:v3.0.0-rc02Compare Source
For the full list of improvements and important changes in 3.x, check out the upgrade guide. Changes since
3.0.0-rc01:BlackholeDecoder. This simplifies disk-cache only preloading.rememberfunctions forConstraintsSizeResolverandDrawScopeSizeResolver.EqualityDelegateas a parameter toAsyncImage. Instead, it should be set throughLocalAsyncImageModelEqualityDelegate.AsyncImagenot rendering when parent composable usesIntrinsicSize.AsyncImagefilling the available constraints whenAsyncImagePainterhas no child painter.rememberAsyncImagePainterrecomposing infinitely when its state is observed due toEqualityDelegatebeing ignored.File/Pathpaths with special characters.FileSystemimplementations withVideoFrameDecoder.3.0.0.androidx.annotationto1.9.0.v3.0.0-rc01Compare Source
For the full list of improvements and important changes in 3.x, check out the upgrade guide. Changes since
3.0.0-alpha10:addLastModifiedToFileCacheKeyby default and allow it to be set per request. The behaviour can be reenabled with the same flag.coil-network-cache-controlartifact, which implementsCache-Controlheader support.scaleToDensityproperty toSvgDecoder.Factory. This property ensure SVGs with intrinsic dimensions are multiplied by the devices density (only supported on Android).ExifOrientationPolicytoExifOrientationStrategy.MemoryCacheon get.ConstraintsSizeResolverpublic.setSingletonImageLoaderFactory.coil-network-ktor3pdfto list of mime types.v3.0.0-alpha10Compare Source
ImageLoader.Builder.networkObserverEnabledwith aConnectivityCheckerinterface forNetworkFetcher.ConnectivityChecker.ONLINEto the constructor forKtorNetworkFetcherFactory/OkHttpNetworkFetcherFactory.Res.getUri:maxBitmapSizeproperty toImageLoaderandImageRequest.Size.ORIGINALand causing an out of memory exception.ExifOrientationPolicyto be an interface to support custom policies.Urihandling of Windows file paths.@ExperimentalCoilApifrom theImageAPIs.v3.0.0-alpha09Compare Source
io.coil-kt.coil3:coil-network-ktorartifact toio.coil-kt.coil3:coil-network-ktor2which depends on Ktor 2.x. Additionally, introduceio.coil-kt.coil3:coil-network-ktor3which depends on Ktor 3.x.wasmJssupport is only available in Ktor 3.x.AsyncImagePainter.restart()to manually restart an image request.@ExperimentalCoilApifromNetworkClientand related classes.ImageRequestto avoid unnecessaryExtrasandMapallocations.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.
This PR was generated by Mend Renovate. View the repository job log.