Build(deps): Bump io.coil-kt:coil-svg from 2.5.0 to 2.6.0
Bumps io.coil-kt:coil-svg from 2.5.0 to 2.6.0.
Changelog
Sourced from io.coil-kt:coil-svg's changelog.
[2.6.0] - February 23, 2024
- Make
rememberAsyncImagePainter,AsyncImage, andSubcomposeAsyncImagerestartable and skippable. This should improve performance by avoiding recomposition unless one of the composable's arguments changes.
- Add an optional
modelEqualityDelegateargument torememberAsyncImagePainter,AsyncImage, andSubcomposeAsyncImageto control whether themodelwill trigger a recomposition.- Update
ContentPainterModifierto implementModifier.Node.- Fix: Lazily register component callbacks and the network observer on a background thread. This fixes slow initialization that would often occur on the main thread.
- Fix: Avoid relaunching a new image request in
rememberAsyncImagePainter,AsyncImage, andSubcomposeAsyncImageifImageRequest.listenerorImageRequest.targetchange.- Fix: Don't observe the image request twice in
AsyncImagePainter.- Update Kotlin to 1.9.22.
- Update Compose to 1.6.1.
- Update Okio to 3.8.0.
- Update
androidx.collectionto 1.4.0.- Update
androidx.lifecycleto 2.7.0.[3.0.0-alpha04] - February 1, 2024
- Breaking: Remove
LazyfromOkHttpNetworkFetcherFactoryandKtorNetworkFetcherFactory's public API.- Expose
Call.Factoryinstead ofOkHttpClientinOkHttpNetworkFetcherFactory.- Convert
NetworkResponseBodyto wrap aByteString.- Downgrade Compose to 1.5.12.
[3.0.0-alpha03] - January 20, 2024
- Breaking:
coil-networkhas been renamed tocoil-network-ktor. Additionally, there is a newcoil-network-okhttpartifact that depends on OkHttp and doesn't require specifying a Ktor engine.
- Depending on which artifact you import you can reference the
Fetcher.Factorymanually usingKtorNetworkFetcherFactoryorOkHttpNetworkFetcherFactory.- Support loading
NSUrlon Apple platforms.- Add
clipToBoundsparameter toAsyncImage.- For the full list of important changes, check out the upgrade guide.
[3.0.0-alpha02] - January 10, 2024
- Breaking:
coil-gif,coil-network,coil-svg, andcoil-video's packages have been updated so all their classes are part ofcoil.gif,coil.network,coil.svg, andcoil.videorespectively. This helps avoid class name conflicts with other artifacts.- Breaking:
ImageDecoderDecoderhas been renamed toAnimatedImageDecoder.- New:
coil-gif,coil-network,coil-svg, andcoil-video's components are now automatically added to eachImageLoader'sComponentRegistry.
- To be clear, unlike
3.0.0-alpha01you do not need to manually addNetworkFetcher.Factory()to yourComponentRegistry. Simply importingio.coil-kt.coil3:coil-network:[version]and a Ktor engine is enough to load network images.- It's safe to also add these components to
ComponentRegistrymanually. Any manually added components take precedence over components that are added automatically.- If preferred, this behaviour can be disabled using
ImageLoader.Builder.serviceLoaderEnabled(false).- New: Support
coil-svgon all platforms. It's backed by AndroidSVG on Android and SVGDOM on non-Android platforms.- Coil now uses Android's
ImageDecoderAPI internally, which has performance benefits when decoding directly from a file, resource, or content URI.- Fix: Multiple
coil3.Uriparsing fixes.- For the full list of important changes, check out the upgrade guide.
[3.0.0-alpha01] - December 30, 2023
- New: Compose Multiplatform support. Coil is now a Kotlin Multiplatform library that supports Android, JVM, iOS, macOS, and Javascript.
- Coil's Maven coordinates were updated to
io.coil-kt.coil3and its imports were updated tocoil3. This allows Coil 3 to run side by side with Coil 2 without binary compatibility issues. For example,io.coil-kt:coil:[version]is nowio.coil-kt.coil3:coil:[version].- The
coil-baseandcoil-compose-baseartifacts were renamed tocoil-coreandcoil-compose-corerespectively to align with the naming conventions used by Coroutines, Ktor, and AndroidX.- For the full list of important changes, check out the upgrade guide.
Commits
-
28338a8Prepare 2.6.0. -
9a108e9Update baseline profile. -
ade8ed1Add 2.6.0 changes. -
5460933Add more params to DefaultModelEqualityDelegate. (#2140) -
6e1c390Update Okio to 3.8.0. -
ff7f412Deploy snapshots for 2.x. -
9832a9eMigrate ContentPainterModifier to implement Modifier.Node. (#2117) -
5e12570Update Compose to 1.6.1. -
de0bf3aUpstream Compose recomposition improvements to 2.x. (#2108) -
52f3d61Upstream #2104 to 2.x. (#2110) - Additional commits viewable in compare view
Dependabot commands
You can trigger Dependabot actions by commenting on this MR
-
$dependabot recreatewill recreate this MR rewriting all the manual changes and resolving conflicts