From b98a7fffa342c3cf75da384b1af65e61a61e3e65 Mon Sep 17 00:00:00 2001 From: Tyler Cook Date: Tue, 6 Sep 2022 10:27:16 -0500 Subject: [PATCH 1/6] Re-releasing 2.1.4 as 2.2.1 due to breaking API change released in 2.2.0 --- CHANGELOG.md | 6 +++++- package-lock.json | 2 +- package.json | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 41ae70f..31df4c8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,10 @@ # Changelog All notable changes to this project will be documented in this file. +### [2.2.1] - 2022-09-06 +## Changed +- Re-releasing 2.1.4 as 2.2.1 due to breaking API change released in 2.2.0. 2.2.0 will be re-released as 3.0.0 due to the breaking API change. + ## [2.2.0] - 2020-02-10 ## Changed - iOS @@ -12,7 +16,7 @@ All notable changes to this project will be documented in this file. * Added `allowDeviceCredentials` option, for android devices, to `isSensorAvailable`, `createSignature` and `simplePrompt`. This option is only affects devices running API 30 or greater. Devices running API 29 or less cannot support device credentials when performing crypto based authentication. See https://developer.android.com/reference/androidx/biometric/BiometricPrompt.PromptInfo.Builder#setAllowedAuthenticators(int) + Updated `build.gradle` file to avoid unnecessary downloads and potential conflicts when the library is included as a module dependency in an application project. -## [2.1.4] - 2020-02-10 +# [2.1.4] - 2020-02-10 ## Changed - Removed duplicate onAuthenticationError call in android - Upgraded androidx.biomtric to the latest fix version diff --git a/package-lock.json b/package-lock.json index 326f922..47759e2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "react-native-biometrics", - "version": "2.2.0", + "version": "2.2.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 8071d5d..6dc40e4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-biometrics", - "version": "2.2.0", + "version": "2.2.1", "summary": "A React Native library for biometrics", "description": "React Native biometric functionality for signing and encryption", "main": "build/cjs/index.js", From 295e10a54c206da67270217071472f68a75c8449 Mon Sep 17 00:00:00 2001 From: Tyler Cook Date: Mon, 9 May 2022 13:54:06 -0500 Subject: [PATCH 2/6] Bumping version to 2.2.0 in preparation for the future release --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 6dc40e4..8071d5d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-biometrics", - "version": "2.2.1", + "version": "2.2.0", "summary": "A React Native library for biometrics", "description": "React Native biometric functionality for signing and encryption", "main": "build/cjs/index.js", From ced39032ac2c834dc547aa0ee9863fb16792c8cc Mon Sep 17 00:00:00 2001 From: Tyler Cook Date: Wed, 18 May 2022 11:48:50 -0500 Subject: [PATCH 3/6] Updated the package-lock.json file to match the package.json --- package-lock.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package-lock.json b/package-lock.json index 47759e2..326f922 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "react-native-biometrics", - "version": "2.2.1", + "version": "2.2.0", "lockfileVersion": 1, "requires": true, "dependencies": { From 80f42fc37764e758cf3fc84831a73cdf2320baf3 Mon Sep 17 00:00:00 2001 From: Tyler Cook Date: Wed, 18 May 2022 20:30:05 -0500 Subject: [PATCH 4/6] Added details about changes implemented in this release thus far. --- CHANGELOG.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 31df4c8..77448b7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,8 +15,14 @@ All notable changes to this project will be documented in this file. + Upgraded androidx.biometric 1.1.0 * Added `allowDeviceCredentials` option, for android devices, to `isSensorAvailable`, `createSignature` and `simplePrompt`. This option is only affects devices running API 30 or greater. Devices running API 29 or less cannot support device credentials when performing crypto based authentication. See https://developer.android.com/reference/androidx/biometric/BiometricPrompt.PromptInfo.Builder#setAllowedAuthenticators(int) + Updated `build.gradle` file to avoid unnecessary downloads and potential conflicts when the library is included as a module dependency in an application project. + + Added optional passcode fallback for iOS devices when FaceID or TouchID fails and the device has a passcode set. + + Added `fallbackPromptMessage` to `simplePrompt`. This controls the message that is shown when FaceID or TouchID has failed and the prompt falls back to the device passcode for authentication. +- Android + + Upgraded androidx.biomtric 1.1.0 + * Added `allowDeviceCredentials` option, for android devices, to `isSensorAvailable`, `createSignature` and `simplePrompt`. This option is only affects devices running API 30 or greater. Devices running API 29 or less cannot support device credentials when performing crypto based authentication. See https://developer.android.com/reference/androidx/biometric/BiometricPrompt.PromptInfo.Builder#setAllowedAuthenticators(int) + + Updated `build.gradle` file to avoid unnecessary downloads and potential conflicts when the library is included as a module dependency in an application project. -# [2.1.4] - 2020-02-10 +## [2.1.4] - 2020-02-10 ## Changed - Removed duplicate onAuthenticationError call in android - Upgraded androidx.biomtric to the latest fix version From 7e6225f809a8d86d81b02c5ecc0d098e816c1cb9 Mon Sep 17 00:00:00 2001 From: Tyler Cook Date: Tue, 6 Sep 2022 10:33:10 -0500 Subject: [PATCH 5/6] Re-releasing 2.2.0 as 3.0.0 --- CHANGELOG.md | 4 ++++ package-lock.json | 2 +- package.json | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 77448b7..12d4443 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,10 @@ # Changelog All notable changes to this project will be documented in this file. +## [3.0.0] - 2022-09-06 +## Changed +- Re-releasing 2.2.0 as 3.0.0. 2.2.0 introduced a breaking API change and should have been released as a new major version. + ### [2.2.1] - 2022-09-06 ## Changed - Re-releasing 2.1.4 as 2.2.1 due to breaking API change released in 2.2.0. 2.2.0 will be re-released as 3.0.0 due to the breaking API change. diff --git a/package-lock.json b/package-lock.json index 326f922..5bd641a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "react-native-biometrics", - "version": "2.2.0", + "version": "3.0.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 8071d5d..4579d11 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-biometrics", - "version": "2.2.0", + "version": "3.0.0", "summary": "A React Native library for biometrics", "description": "React Native biometric functionality for signing and encryption", "main": "build/cjs/index.js", From 16c7844bd8ff4e8abdadf036729589905292b6bb Mon Sep 17 00:00:00 2001 From: Tyler Cook Date: Tue, 6 Sep 2022 10:45:51 -0500 Subject: [PATCH 6/6] Update CHANGELOG.md --- CHANGELOG.md | 6 ------ 1 file changed, 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 12d4443..f5b5cde 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,12 +19,6 @@ All notable changes to this project will be documented in this file. + Upgraded androidx.biometric 1.1.0 * Added `allowDeviceCredentials` option, for android devices, to `isSensorAvailable`, `createSignature` and `simplePrompt`. This option is only affects devices running API 30 or greater. Devices running API 29 or less cannot support device credentials when performing crypto based authentication. See https://developer.android.com/reference/androidx/biometric/BiometricPrompt.PromptInfo.Builder#setAllowedAuthenticators(int) + Updated `build.gradle` file to avoid unnecessary downloads and potential conflicts when the library is included as a module dependency in an application project. - + Added optional passcode fallback for iOS devices when FaceID or TouchID fails and the device has a passcode set. - + Added `fallbackPromptMessage` to `simplePrompt`. This controls the message that is shown when FaceID or TouchID has failed and the prompt falls back to the device passcode for authentication. -- Android - + Upgraded androidx.biomtric 1.1.0 - * Added `allowDeviceCredentials` option, for android devices, to `isSensorAvailable`, `createSignature` and `simplePrompt`. This option is only affects devices running API 30 or greater. Devices running API 29 or less cannot support device credentials when performing crypto based authentication. See https://developer.android.com/reference/androidx/biometric/BiometricPrompt.PromptInfo.Builder#setAllowedAuthenticators(int) - + Updated `build.gradle` file to avoid unnecessary downloads and potential conflicts when the library is included as a module dependency in an application project. ## [2.1.4] - 2020-02-10 ## Changed