Skip to content

Commit

Permalink
upgrade to sdk 0.8.4
Browse files Browse the repository at this point in the history
Signed-off-by: sahuang <xiaohai.xu@zilliz.com>
  • Loading branch information
sahuang committed Aug 12, 2020
1 parent e368ca9 commit 4c5057a
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ The following table shows compatibilities between Milvus and Java SDK.

| Milvus version | Java SDK version |
| :------------: | :--------------: |
| 0.10.2 | 0.8.4 |
| 0.10.1 | 0.8.3 |
| 0.10.0 | 0.8.2 |
| 0.9.1 | 0.8.1 |
Expand All @@ -35,14 +36,14 @@ You can use **Apache Maven** or **Gradle**/**Grails** to download the SDK.
<dependency>
<groupId>io.milvus</groupId>
<artifactId>milvus-sdk-java</artifactId>
<version>0.8.3</version>
<version>0.8.4</version>
</dependency>
```

- Gradle/Grails

```gradle
compile 'io.milvus:milvus-sdk-java:0.8.3'
compile 'io.milvus:milvus-sdk-java:0.8.4'
```

### Examples
Expand Down
2 changes: 1 addition & 1 deletion examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
<dependency>
<groupId>io.milvus</groupId>
<artifactId>milvus-sdk-java</artifactId>
<version>0.8.3</version>
<version>0.8.4</version>
</dependency>
<dependency>
<groupId>com.google.code.gson</groupId>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

<groupId>io.milvus</groupId>
<artifactId>milvus-sdk-java</artifactId>
<version>0.8.3</version>
<version>0.8.4</version>
<packaging>jar</packaging>

<name>io.milvus:milvus-sdk-java</name>
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/io/milvus/client/MilvusClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@
/** The Milvus Client Interface */
public interface MilvusClient {

String clientVersion = "0.8.3";
String clientVersion = "0.8.4";

/** @return current Milvus client version: 0.8.3 */
/** @return current Milvus client version: 0.8.4 */
default String getClientVersion() {
return clientVersion;
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/io/milvus/client/MilvusGrpcClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ public Response connect(ConnectParam connectParam) throws ConnectFailedException
String serverVersion = getServerVersion().getMessage();
if (!serverVersion.contains("0.10.")) {
logError(
"Connect failed! Server version {} does not match SDK version 0.8.3", serverVersion);
"Connect failed! Server version {} does not match SDK version 0.8.4", serverVersion);
throw new ConnectFailedException("Failed to connect to Milvus server.");
}

Expand Down

0 comments on commit 4c5057a

Please sign in to comment.