Skip to content

Commit 7073077

Browse files
authored
2.2.1 (#289)
1 parent d312903 commit 7073077

File tree

4 files changed

+23
-3
lines changed

4 files changed

+23
-3
lines changed

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ All notable changes to this project will be documented in this file. Take a look
44

55
**Warning:** Features marked as *experimental* may change or be removed in a future release without notice. Use with caution.
66

7-
## [Unreleased]
7+
<!--## [Unreleased]-->
8+
9+
## [2.2.1]
810

911
### Fixed
1012

@@ -537,4 +539,5 @@ server.loadCustomResource(assets.open("scripts/highlight.js"), "highlight.js", I
537539
[2.1.0]: https://github.com/readium/kotlin-toolkit/compare/2.0.0...2.1.0
538540
[2.1.1]: https://github.com/readium/kotlin-toolkit/compare/2.1.0...2.1.1
539541
[2.2.0]: https://github.com/readium/kotlin-toolkit/compare/2.1.1...2.2.0
542+
[2.2.1]: https://github.com/readium/kotlin-toolkit/compare/2.2.0...2.2.1
540543

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Make sure that you have the `$readium_version` property set in your root `build.
2424

2525
```gradle
2626
buildscript {
27-
ext.readium_version = '2.2.0'
27+
ext.readium_version = '2.2.1'
2828
}
2929
3030
allprojects {

docs/migration-guide.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,23 @@
22

33
All migration steps necessary in reading apps to upgrade to major versions of the Kotlin Readium toolkit will be documented in this file.
44

5+
## 2.2.1
6+
7+
This hotfix release fixes an issue [pulling a third-party dependency (NanoHTTPD) from JitPack](https://github.com/readium/kotlin-toolkit/issues/286).
8+
9+
After upgrading, make sure to remove the dependency to NanoHTTPD from your app's `build.gradle` file before building:
10+
11+
```diff
12+
-implementation("com.github.edrlab.nanohttpd:nanohttpd:master-SNAPSHOT") {
13+
- exclude(group = "org.parboiled")
14+
-}
15+
-implementation("com.github.edrlab.nanohttpd:nanohttpd-nanolets:master-SNAPSHOT") {
16+
- exclude(group = "org.parboiled")
17+
-}
18+
```
19+
20+
: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.
21+
522
## 2.1.0
623

724
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).

test-app/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ android {
2020

2121
applicationId = "org.readium.r2reader"
2222

23-
versionName = "2.2.0"
23+
versionName = "2.2.1"
2424

2525
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
2626
ndk.abiFilters.add("armeabi-v7a")

0 commit comments

Comments
 (0)