Skip to content
This repository was archived by the owner on Jul 29, 2022. It is now read-only.

Commit 4f066a0

Browse files
authored
2.1.0 (#224)
1 parent d61fabc commit 4f066a0

File tree

3 files changed

+11
-8
lines changed

3 files changed

+11
-8
lines changed

CHANGELOG.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,14 @@ All notable changes to this project will be documented in this file.
44

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

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

911
### Added
1012

1113
* The EPUB navigator is now able to navigate to a `Locator` using its `text` context. This is useful for search results or highlights missing precise locations.
12-
* Observe or clear the current user selection of the navigators implementing `SelectableNavigator`.
14+
* Get or clear the current user selection of the navigators implementing `SelectableNavigator`.
1315
* (*alpha*) Support for the [Decorator API](https://github.com/readium/architecture/pull/160) to draw user interface elements over a publication's content.
1416
* This can be used to render highlights over a text selection, for example.
1517
* For now, only the EPUB navigator implements `DecorableNavigator`, for reflowable publications. You can implement custom decoration styles with `HtmlDecorationTemplate`.
@@ -21,7 +23,7 @@ All notable changes to this project will be documented in this file.
2123

2224
### Changed
2325

24-
* Upgraded to Kotlin 1.5.21 and Gradle 7.1.1
26+
* Upgraded to Kotlin 1.5.31 and Gradle 7.1.1
2527
* The order of precedence of `Locator` locations in the reflowable EPUB navigator is: `text`, HTML ID, then `progression`. The navigator will now fallback on less precise locations in case of failure.
2628

2729
### Fixed
@@ -136,4 +138,5 @@ progression. Now if no reading progression is set, the `effectiveReadingProgress
136138
[2.0.0-beta.1]: https://github.com/readium/r2-navigator-kotlin/compare/2.0.0-alpha.2...2.0.0-beta.1
137139
[2.0.0-beta.2]: https://github.com/readium/r2-navigator-kotlin/compare/2.0.0-beta.1...2.0.0-beta.2
138140
[2.0.0]: https://github.com/readium/r2-navigator-kotlin/compare/2.0.0-beta.2...2.0.0
141+
[2.1.0]: https://github.com/readium/r2-navigator-kotlin/compare/2.0.0...2.1.0
139142

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
// Top-level build file where you can add configuration options common to all sub-projects/modules.
22

33
buildscript {
4-
ext.kotlin_version = '1.5.21'
4+
ext.kotlin_version = '1.5.31'
55

66
repositories {
77
google()
88
jcenter()
99
}
1010
dependencies {
11-
classpath 'com.android.tools.build:gradle:7.0.0'
11+
classpath 'com.android.tools.build:gradle:7.0.2'
1212

1313
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
1414

r2-navigator/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ android {
1717
// FIXME: This doesn't pass the lint because some resources don't start with r2_ yet. We need to rename all resources for the next major version.
1818
// resourcePrefix "r2_"
1919

20-
compileSdkVersion 30
20+
compileSdkVersion 31
2121

2222
defaultConfig {
2323
minSdkVersion 21
24-
targetSdkVersion 30
24+
targetSdkVersion 31
2525
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
2626
}
2727
compileOptions {
@@ -59,7 +59,7 @@ dependencies {
5959
if (findProject(':r2-shared')) {
6060
implementation project(':r2-shared')
6161
} else {
62-
implementation "com.github.readium:r2-shared-kotlin:develop-SNAPSHOT"
62+
implementation "com.github.readium:r2-shared-kotlin:2.1.0"
6363
}
6464

6565
implementation 'androidx.activity:activity-ktx:1.3.1'

0 commit comments

Comments
 (0)