diff --git a/CHANGELOG.md b/CHANGELOG.md index f45fa4f740..5d974a5ba4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,33 @@ # Changelog +## [1.2.0] - April 12, 2021 + +- **Important**: Use an SVG's view bounds to calculate its aspect ratio in `SvgDecoder`. ([#688](https://github.com/coil-kt/coil/pull/688)) + - Previously, `SvgDecoder` used an SVG's `width`/`height` elements to determine its aspect ratio, however this doesn't correctly follow the SVG specification. + - To revert to the old behaviour set `useViewBoundsAsIntrinsicSize = false` when constructing your `SvgDecoder`. +- **New**: Add `VideoFrameDecoder` to support decoding video frames from any source. ([#689](https://github.com/coil-kt/coil/pull/689)) +- **New**: Support automatic SVG detection using the source's contents instead of just the MIME type. ([#654](https://github.com/coil-kt/coil/pull/654)) +- **New**: Support sharing resources using `ImageLoader.newBuilder()`. ([#653](https://github.com/coil-kt/coil/pull/653)) + - Importantly, this enables sharing memory caches between `ImageLoader` instances. +- **New**: Add support for animated image transformations using `AnimatedTransformation`. ([#659](https://github.com/coil-kt/coil/pull/659)) +- **New**: Add support for start/end callbacks for animated drawables. ([#676](https://github.com/coil-kt/coil/pull/676)) + +--- + +- Fix parsing EXIF data for HEIF/HEIC files. ([#664](https://github.com/coil-kt/coil/pull/664)) +- Fix not using the `EmptyBitmapPool` implementation if bitmap pooling is disabled. ([#638](https://github.com/coil-kt/coil/pull/638)) + - Without this fix bitmap pooling was still disabled properly, however it used a more heavyweight `BitmapPool` implementation. +- Fix case where `MovieDrawable.getOpacity` would incorrectly return transparent. ([#682](https://github.com/coil-kt/coil/pull/682)) +- Guard against the default temporary directory not existing. ([#683](https://github.com/coil-kt/coil/pull/683)) + +--- + +- Build using the JVM IR backend. ([#670](https://github.com/coil-kt/coil/pull/670)) +- Update Kotlin (1.4.32). +- Update Coroutines (1.4.3). +- Update OkHttp (3.12.13). +- Update `androidx.lifecycle:lifecycle-common-java8` to 2.3.1. + ## [1.1.1] - January 11, 2021 - Fix a case where `ViewSizeResolver.size` could throw an `IllegalStateException` due to resuming a coroutine more than once. diff --git a/README-ko.md b/README-ko.md index bf50577158..05ee0dfa7b 100644 --- a/README-ko.md +++ b/README-ko.md @@ -16,7 +16,7 @@ Coil은: **Co**routine **I**mage **L**oader의 약자입니다. Coil은 `mavenCentral()`로 이용 가능합니다. ```kotlin -implementation("io.coil-kt:coil:1.1.1") +implementation("io.coil-kt:coil:1.2.0") ``` ## 빠른 시작 diff --git a/README-zh.md b/README-zh.md index da4f7384d9..f034a05174 100644 --- a/README-zh.md +++ b/README-zh.md @@ -16,7 +16,7 @@ Coil 名字的由来:取 **Co**routine **I**mage **L**oader 首字母得来。 Coil 可以在 `mavenCentral()` 下载 ```kotlin -implementation("io.coil-kt:coil:1.1.1") +implementation("io.coil-kt:coil:1.2.0") ``` ## 快速上手 diff --git a/README.md b/README.md index 7f6da0bd88..8308527115 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ Made with ❤️ at [Instacart](https://www.instacart.com). Translations: [한 Coil is available on `mavenCentral()`. ```kotlin -implementation("io.coil-kt:coil:1.1.1") +implementation("io.coil-kt:coil:1.2.0") ``` ## Quick Start diff --git a/coil-gif/README.md b/coil-gif/README.md index 0551a94ac0..ee5458cdae 100644 --- a/coil-gif/README.md +++ b/coil-gif/README.md @@ -5,7 +5,7 @@ Unlike Glide, GIFs are not supported by default. However, Coil has an extension To add GIF support, import the extension library: ```kotlin -implementation("io.coil-kt:coil-gif:1.1.1") +implementation("io.coil-kt:coil-gif:1.2.0") ``` And add the decoders to your component registry when constructing your `ImageLoader`: diff --git a/coil-svg/README.md b/coil-svg/README.md index c596a5c939..46f2a05fea 100644 --- a/coil-svg/README.md +++ b/coil-svg/README.md @@ -3,7 +3,7 @@ To add SVG support, import the extension library: ```kotlin -implementation("io.coil-kt:coil-svg:1.1.1") +implementation("io.coil-kt:coil-svg:1.2.0") ``` And add the decoder to your component registry when constructing your `ImageLoader`: diff --git a/coil-video/README.md b/coil-video/README.md index 4740271fed..752dc3c5ee 100644 --- a/coil-video/README.md +++ b/coil-video/README.md @@ -3,7 +3,7 @@ To add video frame support, import the extension library: ```kotlin -implementation("io.coil-kt:coil-video:1.1.1") +implementation("io.coil-kt:coil-video:1.2.0") ``` And add the two fetchers and the decoder to your component registry when constructing your `ImageLoader`: diff --git a/gradle.properties b/gradle.properties index 7051f1e615..75f3f562d5 100644 --- a/gradle.properties +++ b/gradle.properties @@ -16,7 +16,7 @@ compileSdk=30 # Maven GROUP=io.coil-kt -VERSION_NAME=1.2.0-SNAPSHOT +VERSION_NAME=1.2.0 POM_DESCRIPTION=An image loading library for Android backed by Kotlin Coroutines. POM_INCEPTION_YEAR=2019