Skip to content

Releases: milvus-io/milvus-sdk-java

milvus-sdk-java-2.6.11

26 Dec 10:46
907e98b

Choose a tag to compare

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

01 Dec 09:12
42d66b8

Choose a tag to compare

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

01 Dec 09:12
55b7fd5

Choose a tag to compare

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

28 Nov 07:39
cde11d4

Choose a tag to compare

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

21 Nov 05:19
affe31c

Choose a tag to compare

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

03 Nov 07:10
820e4bd

Choose a tag to compare

Release date: 2025-11-03

Compatible with Milvus v2.6.x

Improvement

  • Remove Lombok dependency

milvus-sdk-java-2.6.6

17 Oct 06:27
e5bb495

Choose a tag to compare

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

30 Sep 04:48
07143ec

Choose a tag to compare

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

30 Sep 04:47
b79d23d

Choose a tag to compare

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

17 Sep 09:50
e20f6f1

Choose a tag to compare

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