Skip to content

Commit 2286b15

Browse files
authored
Prepare for v2.4.0 (#337)
Signed-off-by: yhmo <[email protected]>
1 parent 6b58b94 commit 2286b15

File tree

2 files changed

+59
-4
lines changed

2 files changed

+59
-4
lines changed

CHANGELOG.md

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# Changelog
2+
3+
## milvus-sdk-cpp 2.4.0 (2025-09-19)
4+
### Feature
5+
- 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)
6+
- Add new metric types(COSINE)
7+
- Support CreateDatabase/DropDatabase/ListDatabases/AlterDatabase/DescribeDatabase/UsingDatabase interfaces
8+
- Support JSON field
9+
- Support Array field
10+
- Support dynamic field
11+
- Support SparseVector field
12+
- Support Float16Vector/BFloat16Vector field
13+
- Support Upsert interface
14+
- Support Consistency level
15+
- Support query by count(*)
16+
- Support GetLoadState interface
17+
- Support HybridSearch interface
18+
- Support row-based insert/upsert
19+
- Support DescribeAlias/ListAliases interfaces
20+
- Support AlterCollection/AlterCollectionField interfaces
21+
- Support AlterIndexProperties/DropIndexProperties interfaces
22+
- Support CreateResourceGroup/DropResourceGroup/UpdateResourceGroups/ListResourceGroups/DescribeResourceGroup interfaces
23+
- Support TransferNode/TransferReplica interfaces
24+
- Support CreateUser/UpdatePassword/DropUser/DescribeUser/ListUsers interfaces
25+
- Support CreateRole/DropRole/DescribeRole/ListRoles/GrantRole/RevokeRole interfaces
26+
- Support GrantPrivilege/RevokePrivilege/CreatePrivilegeGroup/DropPrivilegeGroup/ListPrivilegeGroups/AddPrivilegesToGroup/RemovePrivilegesFromGroup interfaces
27+
- Support QueryIterator/SearchIterator
28+
- Support CreateImportJobs/ListImportJobs/GetImportJobProgress interfaces
29+
30+
31+
### Improvement
32+
- Support connection with dbname
33+
- DropIndex() interface accepts index_name instead of field_name
34+
- Cache collection schema to reduce DescribeCollection call
35+
- Support search with grouping by field
36+
- Add retry machinery for rpc call
37+
- Add CurrentUsedDatabase method for MilvusClient
38+
- Add methods for QuertResults/SearchResults to return row-based results
39+
40+
41+
### Orther changes
42+
- Remove unsupported index types(IVF_HNSW/RHNSW_FLAT/RHNSW_SQ/RHNSW_PQ/ANNOY)
43+
- Remove unsupported metric types(TANIMOTO/SUBSTRUCTURE/SUPERSTRUCTURE)
44+
- Remove CalcDistance interface, not supported by milvus 2.4
45+
- Remove Flush call in GetCollectionStats/GetPartitionStats/CreateIndex, milvus 2.4 doesn't allow calling Flush constantly
46+
- Directly pass radius/range_filter for range search, no need to verify them on the client side
47+
- CreateIndex() internally calls DescribeIndex() to check index state instead of GetIndexState()
48+
- Remove client-side checks for index parameters and search parameters, let milvus server validate
49+
- Deprecate ShowCollections, replaced by ListCollections
50+
- Deprecate ShowPartitions, replaced by ListPartitions
51+
- Rename GetVersion to GetServerVersion
52+
- Link gRPC as shared library instead of static link
53+
- Optional to build with external pre-installed gRPC lib
54+
- Add more examples
55+
- Simplify the project to reduce dependencies, only one dependency(gRPC) now

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,17 @@ To contribute to this project, please read our [contribution guidelines](https:/
1212

1313
The following collection shows Milvus versions and recommended milvus-cpp-sdk versions:
1414

15-
| Milvus version | Recommended SDK branch |
15+
| Milvus version | Recommended SDK version |
1616
|:-----:|:-----:|
17-
| 2.3.x | 2.3 |
18-
| 2.4.x | 2.4 |
17+
| 2.3.x | 2.3(branch) |
18+
| 2.4.x | v2.4.0 |
1919

2020

2121
## Installation
2222

2323

2424
### Install from source
25-
See [Development Guide](DEVELOPMENT.md) for details on how to install from the source.
25+
See [Development Guide](DEVELOPMENT.md) for details on how to compile and install from the source.
2626

2727

2828
## License

0 commit comments

Comments
 (0)