Releases: milvus-io/milvus-sdk-cpp
Releases · milvus-io/milvus-sdk-cpp
milvus-sdk-cpp-3.0.0
Release date: 2026-06-17
Compatible with Milvus v3.0.x
Feature
- Support snapshot interfaces
- Support external collection and file resource interfaces
- Support struct field ANN search for BINARY_VECTOR/FLOAT16_VECTOR/BFLOAT16_VECTOR/INT8_VECTOR
- Support element-level search for Struct field
- Support AddCollectionStructField() interface
- Support GetReplicateInfo() interface
- Support FlushAll()/GetFlushAllState() interface
Improvement
- Refine the struct field example to cover supported vector types and element-level search
- Align GetLoadState/LoadCollection/LoadPartitions with PyMilvus
milvus-sdk-cpp-2.6.4
Release date: 2026-06-17
Compatible with Milvus v2.6.x
Feature
- Support GetReplicateInfo() interface
- Support FlushAll()/GetFlushAllState() interfaces
- Support GetReplicateConfiguration()/UpdateReplicateConfiguration() interfaces
Improvement
- Align GetLoadState()/LoadCollection()/LoadPartitions() behavior with PyMilvus
milvus-sdk-cpp-2.6.3
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
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
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
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
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
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
Release date: 2025-12-04
Compatible with Milvus v2.5.x
Feature
- Introduce MilvusClientV2 for clean/expandable interfaces
milvus-sdk-cpp-2.5.1
Release date: 2025-11-21
Compatible with Milvus v2.5.x
Feature
- Support RunAnalyzer()