Browse Source

Update proto to 2.4.0 (#856)

Signed-off-by: yhmo <yihua.mo@zilliz.com>
groot 1 year ago
parent
commit
a0ed3d3b81

+ 40 - 0
CHANGELOG.md

@@ -1,4 +1,44 @@
 # Changelog
+## milvus-sdk-java 2.4.0 (TBD)
+
+### Feature
+
+- Support new index type INVERTED/GPU_CAGRA
+- Support SparseFloatVector
+- Support Float16Vector/BFloat16Vector
+- Support SearchIterator/QueryIterator
+- Support multiple vector fields in one collection
+- Support hybrid-search on multiple vector fields
+
+### Improvement
+
+- Upgrade dependencies to fix some CVEs
+- Provide new methods withFloatVectors/withBinaryVectors/withFloat16Vectors/withBFloat16Vectors/withSparseFloatVectors for SearchParam to explicitly input different type vectors
+
+## milvus-sdk-java 2.3.5 (2024-03-29)
+
+### Feature
+
+- New MilvusClientV2 class to encapsulate RPC interfaces for good usability
+- Support ListAlias interface
+- Provide a BulkWriter tool for easily generating data files for import() interface
+
+### Improvement
+
+- Replace grpc-netty to grpc-netty-shared
+- Support creating index without specifying metricType and indexType
+- Support searching without specifying metricType
+- Fix a crash bug of SearchResutsWrapper when primary key is varchar type
+- Fix a bug of retry that doesn't return server errors
+- Fix some vulnerabilities
+
+## milvus-sdk-java 2.3.4 (2024-01-02)
+
+### Improvement
+
+- Support backoff retry for RPC interfaces(consist with pymilvus)
+- Upgrade grpc from 1.46 to 1.59.1
+- Add withPartitionName for DeleteIdsParam
 
 ## milvus-sdk-java 2.3.3 (2023-11-08)
 

+ 1 - 1
README.md

@@ -19,7 +19,7 @@ The following table shows compatibilities between Milvus and Java SDK.
 |      2.1       |   2.1.0-beta4    |
 | 2.2.0 ~ 2.2.8  |  2.2.0 ~ 2.2.5   |
 |    >= 2.2.9    |  2.2.7 ~ 2.2.15  |
-|     2.3.x      |      2.3.4       |
+|     2.3.x      |      2.3.5       |
 |     2.4.x      |      2.4.0       |
 
 ### Install Java SDK

+ 2 - 2
docker-compose.yml

@@ -32,7 +32,7 @@ services:
 
   standalone:
     container_name: milvus-javasdk-test-standalone
-    image: milvusdb/milvus:v2.4.0-rc.1
+    image: milvusdb/milvus:v2.4.0-20240416-ffb6edd4-amd64
     command: ["milvus", "run", "standalone"]
     environment:
       ETCD_ENDPOINTS: etcd:2379
@@ -77,7 +77,7 @@ services:
 
   standaloneslave:
     container_name: milvus-javasdk-test-slave-standalone
-    image: milvusdb/milvus:v2.4.0-rc.1
+    image: milvusdb/milvus:v2.4.0-20240416-ffb6edd4-amd64
     command: ["milvus", "run", "standalone"]
     environment:
       ETCD_ENDPOINTS: etcdslave:2379

+ 1 - 1
src/main/milvus-proto

@@ -1 +1 @@
-Subproject commit 6c95f3065923d215fc2aaa5e701cd6343c9373d7
+Subproject commit e3012ae615bc1fdb0908cccf44c54c8a7da1a222

+ 1 - 1
src/test/java/io/milvus/client/MilvusClientDockerTest.java

@@ -69,7 +69,7 @@ class MilvusClientDockerTest {
     private static final int dimension = 128;
 
     @Container
-    private static final MilvusContainer milvus = new MilvusContainer("milvusdb/milvus:2.4-20240411-35f39593-amd64");
+    private static final MilvusContainer milvus = new MilvusContainer("milvusdb/milvus:v2.4.0-20240416-ffb6edd4-amd64");
 
     @BeforeAll
     public static void setUp() {