diff --git a/CHANGELOG.md b/CHANGELOG.md index f2c114f403..bf7c8569e0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## [2.0.0-alpha08] - February 7, 2022 + +- Update `DiskCache` and `ImageSource` to use to Okio's `FileSystem` API. ([#1115](https://github.com/coil-kt/coil/pull/1115)) + ## [2.0.0-alpha07] - January 30, 2022 - Significantly improve `AsyncImage` performance and split `AsyncImage` into `AsyncImage` and `SubcomposeAsyncImage`. ([#1048](https://github.com/coil-kt/coil/pull/1048)) diff --git a/buildSrc/plugins.gradle.kts b/buildSrc/plugins.gradle.kts index 4ae86ebcc7..e29d9de561 100644 --- a/buildSrc/plugins.gradle.kts +++ b/buildSrc/plugins.gradle.kts @@ -1,5 +1,5 @@ rootProject.extra.apply { - set("androidPlugin", "com.android.tools.build:gradle:7.1.0") + set("androidPlugin", "com.android.tools.build:gradle:7.1.1") set("kotlinPlugin", "org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.10") set("dokkaPlugin", "org.jetbrains.dokka:dokka-gradle-plugin:1.6.10") set("mavenPublishPlugin", "com.vanniktech:gradle-maven-publish-plugin:0.18.0") diff --git a/coil-base/src/main/java/coil/fetch/FileFetcher.kt b/coil-base/src/main/java/coil/fetch/FileFetcher.kt index 7da5317498..80bce3ef86 100644 --- a/coil-base/src/main/java/coil/fetch/FileFetcher.kt +++ b/coil-base/src/main/java/coil/fetch/FileFetcher.kt @@ -9,6 +9,7 @@ import okio.Path.Companion.toOkioPath import java.io.File internal class FileFetcher(private val data: File) : Fetcher { + override suspend fun fetch(): FetchResult { return SourceResult( source = ImageSource(file = data.toOkioPath()), diff --git a/gradle.properties b/gradle.properties index 1aa1de6fcd..0a772d50ec 100644 --- a/gradle.properties +++ b/gradle.properties @@ -19,7 +19,7 @@ compileSdk=31 # Maven GROUP=io.coil-kt -VERSION_NAME=2.0.0-SNAPSHOT +VERSION_NAME=2.0.0-alpha08 POM_DESCRIPTION=An image loading library for Android backed by Kotlin Coroutines. POM_INCEPTION_YEAR=2019