Releases: milvus-io/milvus-sdk-java
Releases · milvus-io/milvus-sdk-java
milvus-sdk-java-2.6.11
Release date: 2025-12-26
Compatible with Milvus v2.6.x
Improvement
- Optimize MilvusClientV2Pool/MilvusClientPool to reuse client objects
- Allow to insert pk even when auto-id is true, milvus v2.6.3 supports
- Support AddCollectionFunction/AlterCollectionFunction/DropCollectionFunction milvus v2.6.8 supports
Bug
- Fix a bug of QueryIterator that query failed when filter expression contains RANDOM_SAMPLE
- Fix a bug that insert() cannot handle empty struct list
- Fix a bug that rpcDeadline incorrectly work for iterator
- Fix a bug that max_lenth of Array/Varchar field missed
milvus-sdk-java-2.6.10
Release date: 2025-12-01
Compatible with Milvus v2.6.x
Breaking Change
- Rename "Stage" to "Volume" for BulkWriter
Bug
- Fix a bug that FunctionType.TextEmbedding is not correctly converted for describeCollection()
milvus-sdk-java-2.5.15
Release date: 2025-12-01
Compatible with Milvus v2.5.x
Breaking Change
- Rename "Stage" to "Volume" for BulkWriter
milvus-sdk-java-2.6.9
Release date: 2025-11-28
Compatible with Milvus v2.6.x
Improvement
- Add timezone parameter for query/search/QueryIterator/SearchIterator
- Add filterTemplate for QueryIterator/SearchIterator
- Add GetCompactionPlans interface
- Avoid frequent calls of getFlushState() in the flush() loop
Bug
- Add missed parameter "timestamp" for describeIndex()
- Fix a struct filed bug that fail to insert if two struct fields have the same name subfield
milvus-sdk-java-2.6.8
Release date: 2025-11-21
Compatible with Milvus v2.6.x
Improvement
- Adding exception handling on connection for MilvusClientV2
- BulkWriter supports Struct/Geometry field
- Add db_name parameter for listImportJobs()
Bug
- Fix an OutOfBound bug for SearchIteratorV2
milvus-sdk-java-2.6.7
Release date: 2025-11-03
Compatible with Milvus v2.6.x
Improvement
- Remove Lombok dependency
milvus-sdk-java-2.6.6
Release date: 2025-10-17
Compatible with Milvus v2.6.x
Feature
- Support NGRAM index
- Support BoostRanker
Improvement
- Support new metric types MAX_SIM_COSINE/MAX_SIM_IP/MAX_SIM_L2/MAX_SIM_JACCARD/MAX_SIM_HAMMING for vector fields inside Struct field
- Delete index type EMB_LIST_HNSW due to design change of server-side, use normal index types for vector fields inside Struct field
Bug
- Fix a critical bug that partial upsert override field value to null
milvus-sdk-java-2.6.5
Release date: 2025-09-30
Compatible with Milvus v2.6.x
Feature
- Support Struct type field
- Support Timestamptz type field
- Support Goemetry type field
- Add MilvusClientV2.updateReplicateConfiguration() for new CDC server
Improvement
- Add parameter "databaseName" for the following requests: GetCollectionStatsReq, GetLoadStateReq, HasCollectionReq, ListCollectionsReq, ReleaseCollectionReq, RenameCollectionReq, DropIndexReq, ListIndexesReq, CreatePartitionReq, DropPartitionReq, GetPartitinStatsReq, HasPartitionReq, ListPartitionsReq, LoadPartitionsReq, ReleasePartitionsReq, CompactReq, FlushReq, GetPErsistentSegmentInfoReq, GetQuerySegmentInfoReq,
- Increase ClientPool default value of maxTotal from 50 to 1000, maxTotalPerKey from 10 to 50, maxIdlePerKey from 5 to 10
Bug
- Fix a bug of delete() that databaseName of DeleteReq doesn't work
milvus-sdk-java-2.5.14
Release date: 2025-09-30
Compatible with Milvus v2.5.x
Improvement
- Add parameter "databaseName" for the following requests: GetCollectionStatsReq, GetLoadStateReq, HasCollectionReq, ListCollectionsReq, ReleaseCollectionReq, RenameCollectionReq, DropIndexReq, ListIndexesReq, CreatePartitionReq, DropPartitionReq, GetPartitinStatsReq, HasPartitionReq, ListPartitionsReq, LoadPartitionsReq, ReleasePartitionsReq, CompactReq, FlushReq, GetPErsistentSegmentInfoReq, GetQuerySegmentInfoReq,
- Increase ClientPool default value of maxTotal from 50 to 1000, maxTotalPerKey from 10 to 50, maxIdlePerKey from 5 to 10
Bug
- Fix a bug of delete() that databaseName of DeleteReq doesn't work
milvus-sdk-java-2.6.4
Release date: 2025-09-17
Compatible with Milvus v2.6.x
Feature
- Support MINHASH_LSH/IVF_RABITQ index type
- Support MHJACCARD metric type
- Support passing request-id and unixmsec to the server for MilvusClientV2
- Support batchDescribeCollection() interface for MilvusClientV2
- Support FunctionScore, multi-reranker for search/hybridSearch of MilvusClientV2
- MilvusClientPool supports different ConnectConfig for different keys
Improvement
- Return shards number of each collection for MilvusClientV2.listCollections()
Bug
- Fix a defect of MilvusClientV2.query() that always requires an empty filter expression
- Fix a bug of QueryIterator that offset value cannot exceed 16384