Browse Source

Prepare for 2.2.7 (#536)

Signed-off-by: yhmo <yihua.mo@zilliz.com>
groot 2 years ago
parent
commit
49db24a10a
5 changed files with 15 additions and 8 deletions
  1. 7 0
      CHANGELOG.md
  2. 3 3
      README.md
  3. 2 2
      examples/pom.xml
  4. 1 1
      pom.xml
  5. 2 2
      src/test/java/io/milvus/client/MilvusServiceClientTest.java

+ 7 - 0
CHANGELOG.md

@@ -1,5 +1,12 @@
 # Changelog
 
+## milvus-sdk-java 2.2.7 (2023-06-21)
+
+### Improvement
+
+- Provide easy to used high-level interfaces
+- Add more examples
+
 ## milvus-sdk-java 2.2.6 (2023-06-05)
 
 ### Improvement

+ 3 - 3
README.md

@@ -18,7 +18,7 @@ The following table shows compatibilities between Milvus and Java SDK.
 |     2.0      |      2.0.4       |
 |     2.1      |   2.1.0-beta4    |
 |     2.2.0 ~ 2.2.8      |      2.2.5       |
-|     2.2.9      |      2.2.6       |
+|     >= 2.2.9      |      2.2.7       |
 
 ### Install Java SDK
 
@@ -30,14 +30,14 @@ You can use **Apache Maven** or **Gradle**/**Grails** to download the SDK.
         <dependency>
             <groupId>io.milvus</groupId>
             <artifactId>milvus-sdk-java</artifactId>
-            <version>2.2.6</version>
+            <version>2.2.7</version>
         </dependency>
        ```
 
    - Gradle/Grails
 
         ```gradle
-        compile 'io.milvus:milvus-sdk-java:2.2.6'
+        compile 'io.milvus:milvus-sdk-java:2.2.7'
         ```
 
 ### Examples

+ 2 - 2
examples/pom.xml

@@ -25,7 +25,7 @@
 
     <groupId>io.milvus</groupId>
     <artifactId>milvus-sdk-java-examples</artifactId>
-    <version>2.2.6</version>
+    <version>2.2.7</version>
 
     <build>
         <plugins>
@@ -64,7 +64,7 @@
         <dependency>
             <groupId>io.milvus</groupId>
             <artifactId>milvus-sdk-java</artifactId>
-            <version>2.2.6</version>
+            <version>2.2.7</version>
         </dependency>
         <dependency>
             <groupId>com.google.code.gson</groupId>

+ 1 - 1
pom.xml

@@ -25,7 +25,7 @@
 
     <groupId>io.milvus</groupId>
     <artifactId>milvus-sdk-java</artifactId>
-    <version>2.2.6</version>
+    <version>2.2.7</version>
     <packaging>jar</packaging>
 
     <name>io.milvus:milvus-sdk-java</name>

+ 2 - 2
src/test/java/io/milvus/client/MilvusServiceClientTest.java

@@ -2478,10 +2478,10 @@ class MilvusServiceClientTest {
                 .build()
         );
 
-        assertThrows(ParamException.class, () -> UpdateCredentialParam
+        assertDoesNotThrow(() -> UpdateCredentialParam
                 .newBuilder()
                 .withUsername("username")
-                .withOldPassword("  ")
+                .withOldPassword("")
                 .withNewPassword("newPassword")
                 .build()
         );