From fb4410d7c9fe0ee66a77185f3f85f6af187c6f7d Mon Sep 17 00:00:00 2001 From: Max Ustinov Date: Tue, 28 Mar 2023 18:35:28 +0000 Subject: [PATCH] REL-4060 - KSM Java SDK v16.5.2 (#445) * KSM-386 Removed deprecation from getValue (in use by plugins) (#438) --- sdk/java/core/README.md | 3 +++ sdk/java/core/build.gradle.kts | 2 +- .../kotlin/com/keepersecurity/secretsManager/core/Notation.kt | 1 - .../com/keepersecurity/secretsManager/core/SecretsManager.kt | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/sdk/java/core/README.md b/sdk/java/core/README.md index c67f1955..0a7ab125 100644 --- a/sdk/java/core/README.md +++ b/sdk/java/core/README.md @@ -4,6 +4,9 @@ For more information see our official documentation page https://docs.keeper.io/ # Change Log +## 16.5.2 +- KSM-379 - Remove deprecation from getValue function + ## 16.5.1 - KSM-374 - Add support for PAM record types diff --git a/sdk/java/core/build.gradle.kts b/sdk/java/core/build.gradle.kts index c06ed7c3..85cfa106 100644 --- a/sdk/java/core/build.gradle.kts +++ b/sdk/java/core/build.gradle.kts @@ -6,7 +6,7 @@ import java.util.* group = "com.keepersecurity.secrets-manager" // During publishing, If version ends with '-SNAPSHOT' then it will be published to Maven snapshot repository -version = "16.5.1" +version = "16.5.2" plugins { `java-library` diff --git a/sdk/java/core/src/main/kotlin/com/keepersecurity/secretsManager/core/Notation.kt b/sdk/java/core/src/main/kotlin/com/keepersecurity/secretsManager/core/Notation.kt index 421e9ab6..c491dfe1 100644 --- a/sdk/java/core/src/main/kotlin/com/keepersecurity/secretsManager/core/Notation.kt +++ b/sdk/java/core/src/main/kotlin/com/keepersecurity/secretsManager/core/Notation.kt @@ -8,7 +8,6 @@ import kotlinx.serialization.encodeToString import kotlinx.serialization.json.Json import kotlin.reflect.full.memberProperties -@Deprecated(message = "Use getNotationResults instead.") @ExperimentalSerializationApi fun getValue(secrets: KeeperSecrets, notation: String): String { val parsedNotation = parseNotation(notation, true) // prefix, record, selector, footer diff --git a/sdk/java/core/src/main/kotlin/com/keepersecurity/secretsManager/core/SecretsManager.kt b/sdk/java/core/src/main/kotlin/com/keepersecurity/secretsManager/core/SecretsManager.kt index 7afb5781..08671283 100644 --- a/sdk/java/core/src/main/kotlin/com/keepersecurity/secretsManager/core/SecretsManager.kt +++ b/sdk/java/core/src/main/kotlin/com/keepersecurity/secretsManager/core/SecretsManager.kt @@ -20,7 +20,7 @@ import java.util.* import java.util.concurrent.* import javax.net.ssl.* -const val KEEPER_CLIENT_VERSION = "mj16.5.1" +const val KEEPER_CLIENT_VERSION = "mj16.5.2" const val KEY_HOSTNAME = "hostname" // base url for the Secrets Manager service const val KEY_SERVER_PUBIC_KEY_ID = "serverPublicKeyId"