Skip to content

Commit

Permalink
Prepare 1.1.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
colinrtwhite committed Nov 24, 2020
1 parent 142a62d commit 9690bdc
Show file tree
Hide file tree
Showing 8 changed files with 28 additions and 8 deletions.
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
# Changelog

## [1.1.0] - November 24, 2020

- **Important**: Change the `CENTER` and `MATRIX` `ImageView` scale types to resolve to `OriginalSize`. ([#587](https://github.com/coil-kt/coil/pull/587))
- This change only affects the implicit size resolution algorithm when the request's size isn't specified explicitly.
- This change was made to ensure that the visual result of an image request is consistent with `ImageView.setImageResource`/`ImageView.setImageURI`. To revert to the old behaviour set a `ViewSizeResolver` when constructing your request.
- **Important**: Return the display size from `ViewSizeResolver` if the view's layout param is `WRAP_CONTENT`. ([#562](https://github.com/coil-kt/coil/pull/562))
- Previously, we would only return the display size if the view has been fully laid out. This change makes the typical behaviour more consistent and intuitive.
- Add the ability to control alpha pre-multiplication. ([#569](https://github.com/coil-kt/coil/pull/569))
- Support preferring exact intrinsic size in `CrossfadeDrawable`. ([#585](https://github.com/coil-kt/coil/pull/585))
- Check for the full GIF header including version. ([#564](https://github.com/coil-kt/coil/pull/564))
- Add an empty bitmap pool implementation. ([#561](https://github.com/coil-kt/coil/pull/561))
- Make `EventListener.Factory` a functional interface. ([#575](https://github.com/coil-kt/coil/pull/575))
- Stabilize `EventListener`. ([#574](https://github.com/coil-kt/coil/pull/574))
- Add `String` overload for `ImageRequest.Builder.placeholderMemoryCacheKey`.
- Add `@JvmOverloads` to the `ViewSizeResolver` constructor.
- Fix: Mutate start/end drawables in `CrossfadeDrawable`. ([#572](https://github.com/coil-kt/coil/pull/572))
- Fix: Fix GIF not playing on second load. ([#577](https://github.com/coil-kt/coil/pull/534))
- Update Kotlin (1.4.20) and migrate to the `kotlin-parcelize` plugin.
- Update Coroutines (1.4.1).

## [1.0.0] - October 22, 2020

Changes since `0.13.0`:
Expand Down
2 changes: 1 addition & 1 deletion README-ko.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Coil은: **Co**routine **I**mage **L**oader의 약자입니다.
Coil은 `mavenCentral()`로 이용 가능합니다.

```kotlin
implementation("io.coil-kt:coil:1.0.0")
implementation("io.coil-kt:coil:1.1.0")
```

## 빠른 시작
Expand Down
4 changes: 2 additions & 2 deletions README-zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Coil的首字母由来:取**Co**routine,**I**mage和**L**oader得来Coil。
Coil允许使用`mavenCentral()`.

```kotlin
implementation("io.coil-kt:coil:1.0.0")
implementation("io.coil-kt:coil:1.1.0")
```

## 快速使用
Expand Down Expand Up @@ -46,7 +46,7 @@ imageView.load("https://www.example.com/image.jpg") {
}
```

也可以查看Coli文档获得更多信息[full documentation here](https://coil-kt.github.io/coil/getting_started/).
也可以查看Coil文档获得更多信息[full documentation here](https://coil-kt.github.io/coil/getting_started/).

## 环境要求

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.0.0")
implementation("io.coil-kt:coil:1.1.0")
```

## Quick Start
Expand Down
2 changes: 1 addition & 1 deletion coil-gif/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.0.0")
implementation("io.coil-kt:coil-gif:1.1.0")
```

And add the decoders to your component registry when constructing your `ImageLoader`:
Expand Down
2 changes: 1 addition & 1 deletion coil-svg/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
To add SVG support, import the extension library:

```kotlin
implementation("io.coil-kt:coil-svg:1.0.0")
implementation("io.coil-kt:coil-svg:1.1.0")
```

And add the decoder to your component registry when constructing your `ImageLoader`:
Expand Down
2 changes: 1 addition & 1 deletion coil-video/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
To add video frame support, import the extension library:

```kotlin
implementation("io.coil-kt:coil-video:1.0.0")
implementation("io.coil-kt:coil-video:1.1.0")
```

And add the two fetchers to your component registry when constructing your `ImageLoader`:
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ compileSdk=30

# Maven
GROUP=io.coil-kt
VERSION_NAME=1.1.0-SNAPSHOT
VERSION_NAME=1.1.0

POM_DESCRIPTION=An image loading library for Android backed by Kotlin Coroutines.
POM_INCEPTION_YEAR=2019
Expand Down

0 comments on commit 9690bdc

Please sign in to comment.