Coil v2.0.0-alpha07 Release Notes
Release Date: 2022-01-30 // about 2 years ago-
- ๐ Significantly improve
AsyncImage
performance and splitAsyncImage
intoAsyncImage
andSubcomposeAsyncImage
. (#1048)SubcomposeAsyncImage
providesloading
/success
/error
/content
slot APIs and uses subcomposition which has worse performance.-
AsyncImage
providesplaceholder
/error
/fallback
arguments to overwrite thePainter
that's drawn when loading or if the request is unsuccessful.AsyncImage
does not use subcomposition and has much better performance thanSubcomposeAsyncImage
. - Remove
AsyncImagePainter.State
argument fromSubcomposeAsyncImage.content
. Usepainter.state
if needed. - Add
onLoading
/onSuccess
/onError
callbacks to bothAsyncImage
andSubcomposeAsyncImage
.
- ๐ Deprecate
LocalImageLoader
. (#1101) - โ Add support for
ImageRequest.tags
. (#1066) - ๐ Move
isGif
,isWebP
,isAnimatedWebP
,isHeif
, andisAnimatedHeif
inDecodeUtils
into coil-gif. AddisSvg
to coil-svg. (#1117) - Convert
FetchResult
andDecodeResult
to be non-data classes. (#1114) - โ Remove unused
DiskCache.Builder
context argument. (#1099) - ๐ Fix scaling for bitmap resources with original size. (#1072)
- ๐ Fix failing to close
ImageDecoder
inImageDecoderDecoder
. (#1109) - ๐ Fix incorrect scaling when converting a drawable to a bitmap. (#1084)
- โก๏ธ Update Compose to 1.1.0-rc03.
- โก๏ธ Update
accompanist-drawablepainter
to 0.22.1-rc. - โก๏ธ Update
androidx.appcompat:appcompat-resources
to 1.4.1.
- ๐ Significantly improve