Skip to content

Releases: milvus-io/milvus-sdk-cpp

milvus-sdk-cpp-2.6.3

13 May 10:53
beb0eb9

Choose a tag to compare

Release date: 2026-05-13

Compatible with Milvus v2.6.x

Feature

  • Support AddCollectionFunction(), AlterCollectionFunction(), and DropCollectionFunction() interfaces
  • Support BatchDescribeCollections() and DescribeReplicas() interfaces
  • Support RefreshLoad() and Optimize() interfaces

Bug

  • Fix a bug in DropIndex()

milvus-sdk-cpp-2.6.2

14 Apr 10:57
28b9ca9

Choose a tag to compare

Release date: 2026-04-14

Compatible with Milvus v2.6.x

Improvement

  • Use conan to manage dependencies
  • Set grpc keepalive interval to 10s with 5s timeout
  • Support TruncateCollection() interface
  • Add AISAQ and RTREE index type

Bug

  • Set limit to -1 for QueryIterator/SearchIterator so that they can iterate entire collection by default
  • Fix a bug in ListIndexes() when listing indexes in an empty collection
  • Fix a bug in DropIndex()

milvus-sdk-cpp-2.6.1

21 Jan 02:25
609693c

Choose a tag to compare

Release date: 2026-01-20

Compatible with Milvus v2.6.x

Feature

  • Add CreateSimpleCollectionRequest for quickly creating a simple collection
  • Add Get() interface
  • Compatible with zilliz cloud instance, supports connecting with uri
  • Support Multi-language Analyzers
  • Support partial update

Improvement

  • Pass collection_name/description to CreateCollectionRequest instead of CollectionSchema
  • Pass num_shards to CreateCollectionRequest instead of CollectionSchema
  • DescribeIndex/DropIndex supports both field_name and index_name
  • Add multi-vector methods for SearchRequest/SubSearchRequest
  • Refine the request classes to reduce duplicate source code
  • SearchResult can return recalls if enable_recall_calculation is true for zilliz cloud instance
  • Add a method AddTypeParam() for the FieldSchema class

Bug

  • AlterIndexProperties/DropIndexProperties cannot handle field_name, use index_name as input
  • Fix a bug that CreateIndexRequest sync mode is not correctly work to wait index
  • Fix a bug that SearchRequest.AddSparseVector() miss sparse vector when the size is unequal to the first vector
  • Fix a bug that search response might treat collection name as primary key name

milvus-sdk-cpp-2.5.4

21 Jan 02:23
5fb5022

Choose a tag to compare

Release date: 2026-01-20

Compatible with Milvus v2.5.x

Feature

  • Add CreateSimpleCollectionRequest for quickly creating a simple collection
  • Add Get() interface
  • Compatible with zilliz cloud instance, supports connecting with URI

Improvement

  • Pass collection_name/description to CreateCollectionRequest instead of CollectionSchema
  • Pass num_shards to CreateCollectionRequest instead of CollectionSchema
  • DescribeIndex/DropIndex support both field_name and index_name
  • Add multi-vector methods for SearchRequest/SubSearchRequest
  • Refine the request classes to reduce duplicate source code
  • SearchResult can return recalls if enable_recall_calculation is true for zilliz cloud instance

Bug

  • AlterIndexProperties/DropIndexProperties cannot handle field_name, use index_name as input
  • Fix a bug that CreateIndexRequest sync mode is not correctly work to wait index
  • Fix a bug in SearchRequest.AddSparseVector() miss sparse vector when the size is unequal to the first vector
  • Fix a bug that search response might treat collection name as primary key name

milvus-sdk-cpp-2.6.0

14 Apr 02:43
d74116f

Choose a tag to compare

Release date: 2025-12-22

Compatible with Milvus v2.6.x

Feature

  • Support Int8Vector field
  • Support Struct field
  • Support Geometry field
  • Support Timestamptz field
  • Support index types: HNSW_SQ/HNSW_PQ/HNSW_PRQ/IVF_RABITQ/MINHASH_LSH/NGRAM
  • Support metric types: MHJACCARD/MAX_SIM_COSINE/MAX_SIM_IP/MAX_SIM_L2/MAX_SIM_JACCARD/MAX_SIM_HAMMING
  • Support AddCollectionField()
  • Support CreateCollection with indexes
  • Support Rerank for SearchRequest

Improvement

  • Replace AddXXXVector(fieldName, vector) of SearchRequest/SubSearchRequest with WithFieldName() + AddXXXVector(vector)
  • LoadCollection/LoadPartitions with timeout setting, for waiting loading progress
  • CreateIndex with timeout setting, for waiting index progress
  • Flush with timeout setting, for waiting flush action complete
  • DescribeCollection outputs properties
  • GetLoadState returns loading progress percent
  • Change default value of enable_dynamic_schema from false to true

Bug

  • Fix a bug that DescribeIndex() always returns all indexes no matter field_name is specified or not

milvus-sdk-cpp-2.5.3

14 Apr 02:43
96f19ec

Choose a tag to compare

Release date: 2025-12-22

Compatible with Milvus v2.5.x

Feature

  • Support CreateCollection with indexes

Improvement

  • Replace AddXXXVector(fieldName, vector) of SearchRequest/SubSearchRequest with WithFieldName() + AddXXXVector(vector)
  • LoadCollection/LoadPartitions with timeout setting, for waiting loading progress
  • CreateIndex with timeout setting, for waiting index progress
  • Flush with timeout setting, for waiting flush action complete
  • DescribeCollection outputs properties
  • GetLoadState returns loading progress percent
  • Change default value of enable_dynamic_schema from false to true

Bug

  • Fix a bug that DescribeIndex() always returns all indexes no matter field_name is specified or not

milvus-sdk-cpp-2.5.2

04 Dec 06:24
df903eb

Choose a tag to compare

Release date: 2025-12-04

Compatible with Milvus v2.5.x

Feature

  • Introduce MilvusClientV2 for clean/expandable interfaces

milvus-sdk-cpp-2.5.1

21 Nov 08:49
2bed12c

Choose a tag to compare

Release date: 2025-11-21

Compatible with Milvus v2.5.x

Feature

  • Support RunAnalyzer()

milvus-sdk-cpp-2.5.0

12 Nov 06:51
1dc3589

Choose a tag to compare

Release date: 2025-11-11

Compatible with Milvus v2.5.x

Feature

  • Support nullable field
  • Support default value for field
  • Support clustering key
  • Support BM25 full text search
  • Support text match
  • Support BITMAP/HNSW_SQ/HNSW_PQ/HNSW_PRQ index types

Improvement

  • Support group_size and strict_group_size for Search() and HybridSearch()

milvus-sdk-cpp-2.4.1

11 Nov 10:58
52bc808

Choose a tag to compare

Release date: 2025-11-11

Compatible with Milvus v2.4.x

Feature

  • Support partition key

Bug

  • Fix a bug that dynamic fields are missed for row-based insert/upsert
  • Fix a bug that all dynamic fields are displayed for search/query even if the output_fields only contain some of them
  • Fix a bug of dynamic field that describeCollection missed enable_dynamic
  • Fix a bug for insert that incorrect range check of float values

Improvement

  • Allow to insert dynamic fields for column-based insert/upsert
  • Change default value of shards_num to 1