Skip to content

Commit

Permalink
Prepare 3.0.0-alpha05.
Browse files Browse the repository at this point in the history
  • Loading branch information
colinrtwhite committed Feb 29, 2024
1 parent 3167126 commit b3b53f8
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 3 deletions.
17 changes: 16 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,25 @@
# Changelog

## [3.0.0-alpha05] - February 28, 2024

- **New**: Support the `wasmJs` target.
- Create `DrawablePainter` and `DrawableImage` to support drawing `Image`s that aren't backed by a `Bitmap` on non-Android platforms.
- The `Image` APIs are experimental and likely to change between alpha releases.
- 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 typically occur on the main thread.
- Fix: Fix `ImageLoader.Builder.placeholder/error/fallback` not being used by `ImageRequest`.
- Update Compose to 1.6.0.
- Update Coroutines to 1.8.0.
- Update Okio to 3.8.0.
- Update Skiko to 0.7.94.
- [For the full list of important changes in 3.x, check out the upgrade guide.](https://coil-kt.github.io/coil/upgrading_to_coil3/)

## [2.6.0] - February 23, 2024

- Make `rememberAsyncImagePainter`, `AsyncImage`, and `SubcomposeAsyncImage` [restartable and skippable](https://developer.android.com/jetpack/compose/performance/stability#functions). This improves 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: Lazily register component callbacks and the network observer on a background thread. This fixes slow initialization that would typically 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.
Expand All @@ -20,6 +34,7 @@
- Expose `Call.Factory` instead of `OkHttpClient` in `OkHttpNetworkFetcherFactory`.
- Convert `NetworkResponseBody` to wrap a `ByteString`.
- Downgrade Compose to 1.5.12.
- [For the full list of important changes, check out the upgrade guide.](https://coil-kt.github.io/coil/upgrading_to_coil3/)

## [3.0.0-alpha03] - January 20, 2024

Expand Down
2 changes: 1 addition & 1 deletion docs/upgrading_to_coil3.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ The `coil-base` and `coil-compose-base` artifacts were renamed to `coil-core` an

## Multiplatform

Coil 3 is now a Kotlin Multiplatform library that supports Android, JVM, iOS, macOS, and Javascript. Once [Ktor](https://ktor.io/) releases WASM support on Maven Central, Coil will merge WASM support into the main artifact.
Coil 3 is now a Kotlin Multiplatform library that supports Android, JVM, iOS, macOS, Javascript, and WASM.

On Android, Coil uses the standard graphics classes to render images. On non-Android platforms, Coil uses [Skiko](https://github.com/JetBrains/skiko) to render images. Skiko is a set of Kotlin bindings that wrap the [Skia](https://github.com/google/skia) graphics engine developed by Google.

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ SONATYPE_HOST=DEFAULT
RELEASE_SIGNING_ENABLED=true

POM_GROUP_ID=io.coil-kt.coil3
POM_VERSION=3.0.0-SNAPSHOT
POM_VERSION=3.0.0-alpha05

POM_DESCRIPTION=An image loading library for Android and Compose Multiplatform.
POM_INCEPTION_YEAR=2019
Expand Down

0 comments on commit b3b53f8

Please sign in to comment.