diff --git a/CHANGELOG.md b/CHANGELOG.md index 28a3980b97..437b447870 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,9 @@ All notable changes to this project will be documented in this file. Take a look **Warning:** Features marked as *experimental* may change or be removed in a future release without notice. Use with caution. -## [Unreleased] + + +## [2.2.1] ### Fixed @@ -537,4 +539,5 @@ server.loadCustomResource(assets.open("scripts/highlight.js"), "highlight.js", I [2.1.0]: https://github.com/readium/kotlin-toolkit/compare/2.0.0...2.1.0 [2.1.1]: https://github.com/readium/kotlin-toolkit/compare/2.1.0...2.1.1 [2.2.0]: https://github.com/readium/kotlin-toolkit/compare/2.1.1...2.2.0 +[2.2.1]: https://github.com/readium/kotlin-toolkit/compare/2.2.0...2.2.1 diff --git a/README.md b/README.md index 7bf943b187..fbb61aeda8 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ Make sure that you have the `$readium_version` property set in your root `build. ```gradle buildscript { - ext.readium_version = '2.2.0' + ext.readium_version = '2.2.1' } allprojects { diff --git a/docs/migration-guide.md b/docs/migration-guide.md index 8881569c8e..916e9cdd0b 100644 --- a/docs/migration-guide.md +++ b/docs/migration-guide.md @@ -2,6 +2,23 @@ All migration steps necessary in reading apps to upgrade to major versions of the Kotlin Readium toolkit will be documented in this file. +## 2.2.1 + +This hotfix release fixes an issue [pulling a third-party dependency (NanoHTTPD) from JitPack](https://github.com/readium/kotlin-toolkit/issues/286). + +After upgrading, make sure to remove the dependency to NanoHTTPD from your app's `build.gradle` file before building: + +```diff +-implementation("com.github.edrlab.nanohttpd:nanohttpd:master-SNAPSHOT") { +- exclude(group = "org.parboiled") +-} +-implementation("com.github.edrlab.nanohttpd:nanohttpd-nanolets:master-SNAPSHOT") { +- exclude(group = "org.parboiled") +-} +``` + +:point_up: If you are stuck with an older version of Readium, you can [use this workaround in your root `build.gradle`](https://github.com/readium/kotlin-toolkit/issues/286#issuecomment-1283408861), as an alternative. + ## 2.1.0 With this new release, we migrated all the [`r2-*-kotlin`](https://github.com/readium/?q=r2-kotlin) repositories to [a single `kotlin-toolkit` repository](https://github.com/readium/r2-testapp-kotlin/issues/461). diff --git a/test-app/build.gradle.kts b/test-app/build.gradle.kts index 818bf85fbd..d3ecd4cc38 100644 --- a/test-app/build.gradle.kts +++ b/test-app/build.gradle.kts @@ -20,7 +20,7 @@ android { applicationId = "org.readium.r2reader" - versionName = "2.2.0" + versionName = "2.2.1" testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" ndk.abiFilters.add("armeabi-v7a")