Skip to content

Commit

Permalink
Add 2.6.0 changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
colinrtwhite committed Feb 23, 2024
1 parent 5460933 commit ade8ed1
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# Changelog

## [2.6.0] - February 23, 2024

- 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.
- Add an optional `modelEqualityDelegate` argument to `rememberAsyncImagePainter`, `AsyncImage`, and `SubcomposeAsyncImage` to control whether the `model` will trigger a recomposition.
- Update `ContentPainterModifier` to implement `Modifier.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`, and `SubcomposeAsyncImage` if `ImageRequest.listener` or `ImageRequest.target` change.
- 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.collection` to 1.4.0.
- Update `androidx.lifecycle` to 2.7.0.

## [2.5.0] - October 30, 2023

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

0 comments on commit ade8ed1

Please sign in to comment.