Skip to content

Commit

Permalink
Fix formatting in CHANGELOG.md.
Browse files Browse the repository at this point in the history
  • Loading branch information
colinrtwhite committed May 11, 2022
1 parent cb55750 commit ccc031e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Expand Up @@ -4,7 +4,7 @@

Coil 2.0.0 is a major iteration of the library and includes breaking changes. Check out the [upgrade guide](https://coil-kt.github.io/coil/upgrading/) for how to upgrade.

- **New** Introduce `AsyncImage` in `coil-compose`. Check out [the documentation](https://coil-kt.github.io/coil/compose/) for more info.
- **New**: Introduce `AsyncImage` in `coil-compose`. Check out [the documentation](https://coil-kt.github.io/coil/compose/) for more info.

```kotlin
// Display an image from the network.
Expand All @@ -26,7 +26,7 @@ AsyncImage(
)
```

- **New** Introduce a public `DiskCache` API.
- **New**: Introduce a public `DiskCache` API.
- Use `ImageLoader.Builder.diskCache` and `DiskCache.Builder` to configure the disk cache.
- You should not use OkHttp's `Cache` with Coil 2.0. See [here](https://coil-kt.github.io/coil/upgrading/#disk-cache) for more info.
- `Cache-Control` and other cache headers are still supported - except `Vary` headers, as the cache only checks that the URLs match. Additionally, only responses with a response code in the range [200..300) are cached.
Expand Down

0 comments on commit ccc031e

Please sign in to comment.