Build(deps): Bump io.coil-kt:coil-svg from 2.6.0 to 2.7.0
Bumps io.coil-kt:coil-svg from 2.6.0 to 2.7.0.
Changelog
Sourced from io.coil-kt:coil-svg's changelog.
[2.7.0] - July 17, 2024
- Slightly optimize internal coroutines usage to improve the performance of
ImageLoader.execute
,AsyncImage
,SubcomposeAsyncImage
, andrememberAsyncImagePainter
. (#2205)- Fix duplicate network calls for chunked responses. (#2363)
- Update Kotlin to 2.0.0.
- Update Compose UI to 1.6.8.
- Update Okio to 3.9.0.
[3.0.0-alpha08] - July 8, 2024
- BREAKING: Rename
ImageRequest
andImageLoader
dispatcher
methods tocoroutineContext
. For instance,ImageRequest.Builder.dispatcher
is nowImageRequest.Builder.coroutineContext
. This was renamed as the method now accepts anyCoroutineContext
and no longer requires aDispatcher
.- 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 onkotlinx-coroutines-swing
on JVM. If it's not imported thenImageRequest
s won't be dispatched immediately and will have one frame of delay before setting theImageRequest.placeholder
or resolving from the memory cache.[3.0.0-alpha07] - June 26, 2024
- BREAKING:
AsyncImagePainter
no longer waits foronDraw
by default and instead usesSize.ORIGINAL
.
- This fixes compatibility issues with Roborazzi/Paparazzi and overall improves test reliability.
- To revert back to waiting for
onDraw
, setDrawScopeSizeResolver
as yourImageRequest.sizeResolver
.- BREAKING: Refactor the multiplatform
Image
API. Notably,asCoilImage
has been renamed toasImage
.- BREAKING:
AsyncImagePainter.state
has been changed toStateFlow<AsyncImagePainter.State>
. UsecollectAsState
to observe its value. This improves performance.- BREAKING:
AsyncImagePainter.imageLoader
andAsyncImagePainter.request
have been combined intoStateFlow<AsyncImagePainter.Inputs>
. UsecollectAsState
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.
- If you still needs its functionality you can manually include
ResourceUriMapper
in your component registry.- New: Introduce
AsyncImagePreviewHandler
to support controllingAsyncImagePainter
'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 theImageRequest
by default instead of defaulting to displayingImageRequest.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 anyCoroutineDispatcher
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 toOptions
. (#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
fromcoil-gif
tocoil-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.
[3.0.0-alpha06] - February 29, 2024
- Downgrade Skiko to 0.7.93.
- For the full list of important changes in 3.x, check out the upgrade guide.
[3.0.0-alpha05] - February 28, 2024
... (truncated)
Commits
-
ce14e14
Prepare 2.7.0. -
f34b98f
Update baseline profiles. -
9135616
Fix duplicate network call for chunked responses (#2363) -
2f64ffd
Update to Kotlin 2.0. -
b53f530
Fix spotlessCheck. -
bacaba0
Improve RealImageLoader.execute to properly call async request (#2205) -
95edaae
Prepare next development iteration. - See full diff in compare view
Dependabot commands
You can trigger Dependabot actions by commenting on this MR
-
$dependabot recreate
will recreate this MR rewriting all the manual changes and resolving conflicts