Skip to content

Commit ade8ed1

Browse files
committed
Add 2.6.0 changes.
1 parent 5460933 commit ade8ed1

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
# Changelog
22

3+
## [2.6.0] - February 23, 2024
4+
5+
- Make `rememberAsyncImagePainter`, `AsyncImage`, and `SubcomposeAsyncImage` [restartable and skippable](https://developer.android.com/jetpack/compose/performance/stability#functions). This should improve performance by avoiding recomposition unless one of the composable's arguments changes.
6+
- Add an optional `modelEqualityDelegate` argument to `rememberAsyncImagePainter`, `AsyncImage`, and `SubcomposeAsyncImage` to control whether the `model` will trigger a recomposition.
7+
- Update `ContentPainterModifier` to implement `Modifier.Node`.
8+
- 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.
9+
- Fix: Avoid relaunching a new image request in `rememberAsyncImagePainter`, `AsyncImage`, and `SubcomposeAsyncImage` if `ImageRequest.listener` or `ImageRequest.target` change.
10+
- Fix: Don't observe the image request twice in `AsyncImagePainter`.
11+
- Update Kotlin to 1.9.22.
12+
- Update Compose to 1.6.1.
13+
- Update Okio to 3.8.0.
14+
- Update `androidx.collection` to 1.4.0.
15+
- Update `androidx.lifecycle` to 2.7.0.
16+
317
## [2.5.0] - October 30, 2023
418

519
- **New**: Add `MediaDataSourceFetcher.Factory` to support decoding `MediaDataSource` implementations in `coil-video`. ([#1795](https://github.com/coil-kt/coil/pull/1795))

0 commit comments

Comments
 (0)