diff --git a/CHANGELOG.md b/CHANGELOG.md index ff31e3f9..f601a76d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ ## Newest Release +### 2.0.1 - 05 Oct 2021 + +- Re-add Java 8 language features. (#31288) + +## Previous Releases + ### 2.0.0 - 28 Sep 2021 - Adds the ability to open TIFF images as Image Documents. (#30103) @@ -10,8 +16,6 @@ - Updates `peerDependencies` and `devDependencies` in `package.json`. (#30947) - Overhauls the Catalog and NativeCatalog example projects to use the newest version of React Native. (#29342) -## Previous Releases - ### 1.32.2 - 30 Aug 2021 - Migrate from `ReactFragmentActivity` to `ReactActivity` for compatibility with React Native `0.65.1`. (#30771) diff --git a/android/build.gradle b/android/build.gradle index 2a5f51f8..f2fee95f 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -46,6 +46,11 @@ android { versionCode 1 versionName "1.0" } + + compileOptions { + sourceCompatibility JavaVersion.VERSION_1_8 + targetCompatibility JavaVersion.VERSION_1_8 + } lintOptions { abortOnError false diff --git a/package.json b/package.json index e741ecfc..8f350bb8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-pspdfkit", - "version": "2.0.0", + "version": "2.0.1", "description": "React Native PDF Library by PSPDFKit", "keywords": [ "react native", diff --git a/samples/Catalog/android/app/build.gradle b/samples/Catalog/android/app/build.gradle index 3d6c1d53..b1a9e2f7 100644 --- a/samples/Catalog/android/app/build.gradle +++ b/samples/Catalog/android/app/build.gradle @@ -133,6 +133,12 @@ android { versionName "1.0" multiDexEnabled true } + + compileOptions { + sourceCompatibility JavaVersion.VERSION_1_8 + targetCompatibility JavaVersion.VERSION_1_8 + } + splits { abi { reset() diff --git a/samples/Catalog/package.json b/samples/Catalog/package.json index d4e3f928..3db2e115 100644 --- a/samples/Catalog/package.json +++ b/samples/Catalog/package.json @@ -1,6 +1,6 @@ { "name": "Catalog", - "version": "2.0.0", + "version": "2.0.1", "private": true, "scripts": { "android": "react-native run-android", diff --git a/samples/Catalog/yarn.lock b/samples/Catalog/yarn.lock index b861e146..5f1d1909 100644 --- a/samples/Catalog/yarn.lock +++ b/samples/Catalog/yarn.lock @@ -6068,7 +6068,7 @@ react-native-iphone-x-helper@^1.3.0: integrity sha512-HOf0jzRnq2/aFUcdCJ9w9JGzN3gdEg0zFE4FyYlp4jtidqU03D5X7ZegGKfT1EWteR0gPBGp9ye5T5FvSWi9Yg== "react-native-pspdfkit@file:../..": - version "2.0.0" + version "2.0.1" react-native-safe-area-context@^3.3.2: version "3.3.2" diff --git a/samples/NativeCatalog/android/app/build.gradle b/samples/NativeCatalog/android/app/build.gradle index 779cc777..a08b1373 100644 --- a/samples/NativeCatalog/android/app/build.gradle +++ b/samples/NativeCatalog/android/app/build.gradle @@ -133,6 +133,12 @@ android { versionName "1.0" multiDexEnabled true } + + compileOptions { + sourceCompatibility JavaVersion.VERSION_1_8 + targetCompatibility JavaVersion.VERSION_1_8 + } + splits { abi { reset() diff --git a/samples/NativeCatalog/package.json b/samples/NativeCatalog/package.json index 72c3860a..aed52508 100644 --- a/samples/NativeCatalog/package.json +++ b/samples/NativeCatalog/package.json @@ -1,6 +1,6 @@ { "name": "NativeCatalog", - "version": "2.0.0", + "version": "2.0.1", "private": true, "scripts": { "android": "react-native run-android", diff --git a/samples/NativeCatalog/yarn.lock b/samples/NativeCatalog/yarn.lock index 66574594..1e8bbc57 100644 --- a/samples/NativeCatalog/yarn.lock +++ b/samples/NativeCatalog/yarn.lock @@ -6068,7 +6068,7 @@ react-native-iphone-x-helper@^1.3.0: integrity sha512-HOf0jzRnq2/aFUcdCJ9w9JGzN3gdEg0zFE4FyYlp4jtidqU03D5X7ZegGKfT1EWteR0gPBGp9ye5T5FvSWi9Yg== "react-native-pspdfkit@file:../..": - version "2.0.0" + version "2.0.1" react-native-safe-area-context@^3.3.2: version "3.3.2"