diff --git a/CHANGELOG.md b/CHANGELOG.md index 9acf7458ca..bb23ec26ab 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,19 @@ # Changelog +## [2.0.0-alpha05] - November 28, 2021 + +- **Important**: Refactor `Size` to support using the image's original size for either dimension. + - `Size` is now composed of two `Dimension` values for its width and height. `Dimension` can either be a positive pixel value or `Dimension.Original`. + - This change was made to better support unbounded width/height values (e.g. `wrap_content`, `Constraints.Infinity`) when one dimension is a fixed pixel value. +- Fix: Support inspection mode (preview) for `AsyncImage`. +- Fix: `SuccessResult.memoryCacheKey` should always be `null` if `imageLoader.memoryCache` is null. +- Convert `ImageLoader`, `SizeResolver`, and `ViewSizeResolver` constructor-like `invoke` functions to top level functions. +- Make `CrossfadeDrawable` start and end drawables public API. +- Mutate `ImageLoader` placeholder/error/fallback drawables. +- Add default arguments to `SuccessResult`'s constructor. +- Depend on `androidx.collection` instead of `androidx.collection-ktx`. +- Update Okhttp to 4.9.3. + ## [2.0.0-alpha04] - November 22, 2021 - **New**: Add `AsyncImage` to `coil-compose`. diff --git a/gradle.properties b/gradle.properties index 0610fa45b7..391b6437ef 100644 --- a/gradle.properties +++ b/gradle.properties @@ -16,7 +16,7 @@ compileSdk=31 # Maven GROUP=io.coil-kt -VERSION_NAME=2.0.0-SNAPSHOT +VERSION_NAME=2.0.0-alpha05 POM_DESCRIPTION=An image loading library for Android backed by Kotlin Coroutines. POM_INCEPTION_YEAR=2019