From cf1c3af041bf5452444a63bbedb8b320a9d5ba3c Mon Sep 17 00:00:00 2001 From: Anush Date: Mon, 22 Apr 2024 18:35:28 +0530 Subject: [PATCH] v1.9.0 (#29) * v1.9.0 * Bump Qdrant version to 1.9.0 * test: Update API key test --------- Co-authored-by: timvisee --- README.md | 6 +++--- gradle.properties | 6 +++--- src/test/java/io/qdrant/client/ApiKeyTest.java | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 13c48b5..bd71fd4 100644 --- a/README.md +++ b/README.md @@ -34,20 +34,20 @@ To install the library, add the following lines to your build config file. io.qdrant client - 1.7.2 + 1.9.0 ``` #### SBT ```sbt -libraryDependencies += "io.qdrant" % "client" % "1.7.2" +libraryDependencies += "io.qdrant" % "client" % "1.9.0" ``` #### Gradle ```gradle -implementation 'io.qdrant:client:1.7.2' +implementation 'io.qdrant:client:1.9.0' ``` ## 📖 Documentation diff --git a/gradle.properties b/gradle.properties index 3830c30..6c644fa 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,8 +1,8 @@ # The version of qdrant to use to download protos -qdrantProtosVersion=v1.8.0 +qdrantProtosVersion=v1.9.0 # The version of qdrant docker image to run integration tests against -qdrantVersion=v1.8.0 +qdrantVersion=v1.9.0 # The version of the client to generate -packageVersion=1.8.1 +packageVersion=1.9.0 diff --git a/src/test/java/io/qdrant/client/ApiKeyTest.java b/src/test/java/io/qdrant/client/ApiKeyTest.java index e56bdd5..201753f 100644 --- a/src/test/java/io/qdrant/client/ApiKeyTest.java +++ b/src/test/java/io/qdrant/client/ApiKeyTest.java @@ -61,7 +61,7 @@ public void client_without_api_key_cannot_connect() { Throwable cause = executionException.getCause(); assertEquals(StatusRuntimeException.class, cause.getClass()); StatusRuntimeException statusRuntimeException = (StatusRuntimeException) cause; - assertEquals(Status.Code.PERMISSION_DENIED, statusRuntimeException.getStatus().getCode()); + assertEquals(Status.Code.UNAUTHENTICATED, statusRuntimeException.getStatus().getCode()); } } }