Skip to content

Releases: milvus-io/milvus-sdk-cpp

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

milvus-sdk-cpp-2.4.0

19 Sep 04:02
2286b15

Choose a tag to compare

Release date: 2025-09-19

Compatible with Milvus v2.4.x

Feature

  • Add new index types(DISKANN/AUTOINDEX/SCANN/GPU_IVF_FLAT/GPU_IVF_PQ/GPU_BRUTE_FORCE/GPU_CAGRA/TRIE/STL_SORT/INVERTED/SPARSE_INVERTED_INDEX/SPARSE_WAND)
  • Add new metric types(COSINE)
  • Support CreateDatabase/DropDatabase/ListDatabases/AlterDatabase/DescribeDatabase/UsingDatabase interfaces
  • Support JSON field
  • Support Array field
  • Support dynamic field
  • Support SparseVector field
  • Support Float16Vector/BFloat16Vector field
  • Support Upsert interface
  • Support Consistency level
  • Support query by count(*)
  • Support GetLoadState interface
  • Support HybridSearch interface
  • Support row-based insert/upsert
  • Support DescribeAlias/ListAliases interfaces
  • Support AlterCollection/AlterCollectionField interfaces
  • Support AlterIndexProperties/DropIndexProperties interfaces
  • Support CreateResourceGroup/DropResourceGroup/UpdateResourceGroups/ListResourceGroups/DescribeResourceGroup interfaces
  • Support TransferNode/TransferReplica interfaces
  • Support CreateUser/UpdatePassword/DropUser/DescribeUser/ListUsers interfaces
  • Support CreateRole/DropRole/DescribeRole/ListRoles/GrantRole/RevokeRole interfaces
  • Support GrantPrivilege/RevokePrivilege/CreatePrivilegeGroup/DropPrivilegeGroup/ListPrivilegeGroups/AddPrivilegesToGroup/RemovePrivilegesFromGroup interfaces
  • Support QueryIterator/SearchIterator
  • Support CreateImportJobs/ListImportJobs/GetImportJobProgress interfaces

Improvement

  • Support connection with dbname
  • DropIndex() interface accepts index_name instead of field_name
  • Cache collection schema to reduce DescribeCollection call
  • Support search with grouping by field
  • Add retry machinery for rpc call
  • Add CurrentUsedDatabase method for MilvusClient
  • Add methods for QuertResults/SearchResults to return row-based results

Other changes

  • Remove unsupported index types(IVF_HNSW/RHNSW_FLAT/RHNSW_SQ/RHNSW_PQ/ANNOY)
  • Remove unsupported metric types(TANIMOTO/SUBSTRUCTURE/SUPERSTRUCTURE)
  • Remove CalcDistance interface, not supported by milvus 2.4
  • Remove Flush call in GetCollectionStats/GetPartitionStats/CreateIndex, milvus 2.4 doesn't allow calling Flush constantly
  • Directly pass radius/range_filter for range search, no need to verify them on the client side
  • CreateIndex() internally calls DescribeIndex() to check index state instead of GetIndexState()
  • Remove client-side checks for index parameters and search parameters, let milvus server validate
  • Deprecate ShowCollections, replaced by ListCollections
  • Deprecate ShowPartitions, replaced by ListPartitions
  • Rename GetVersion to GetServerVersion
  • Link gRPC as a shared library instead of a static link
  • Optional to build with external pre-installed gRPC lib
  • Add more examples
  • Simplify the project to reduce dependencies, only one dependency(gRPC) now