Skip to content

Commit b4e8f5e

Browse files
committed
Prepare for v2.6.3
Signed-off-by: yhmo <yihua.mo@zilliz.com>
1 parent 1abff75 commit b4e8f5e

6 files changed

Lines changed: 60 additions & 7 deletions

File tree

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# Changelog
22

3+
## milvus-sdk-cpp 2.6.3 (2026-05-06)
4+
### Feature
5+
- Support AddCollectionFunction(), AlterCollectionFunction(), and DropCollectionFunction() interfaces
6+
- Support BatchDescribeCollections() and DescribeReplicas() interfaces
7+
- Support RefreshLoad() and Optimize() interfaces
8+
9+
### Bug
10+
- Fix a bug in DropIndex()
11+
12+
313
## milvus-sdk-cpp 2.6.2 (2026-04-13)
414
### Improvement
515
- Use conan to manage dependencies

DEVELOPMENT.md

Lines changed: 39 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Currently, we tested the below platform and compilers for developing Milvus C++
1717
| Linux | Ubuntu 20.04 | GCC 9.3.0 | Full (Compile, Lint, Testing) |
1818
| Linux | Ubuntu 22.04 | GCC 11.4 | Full (Compile, Lint, Testing) |
1919
| Linux | Fedora 38/39 | GCC 11.2+ | Compile, Testing |
20-
| macOS | macOS 14 | Apple Clang | Compile, Testing |
20+
| macOS | macOS 15 | Apple Clang | Compile, Testing |
2121
| Windows | Windows 2022 | MSVC 2022 | Compile, Testing |
2222

2323
### Clone the code
@@ -41,9 +41,45 @@ This script could help you set a developing environment from a minimal installat
4141

4242
## Building from source
4343

44-
You could build the debug versioned SDK with `make` in the source directory, or `make all-release` to build the release version.
44+
You can build the debug versioned SDK with `make` in the source directory, or `make all-release` to build the release version.
4545

46-
By default, `make` uses [Conan 2](https://conan.io/) to manage dependencies (gRPC, protobuf, abseil, etc.). The `scripts/build.sh` handles Conan integration automatically.
46+
By default, `make` uses [Conan 2](https://conan.io/) to manage dependencies (gRPC, protobuf, abseil, etc.). The top-level `Makefile` delegates to `scripts/build.sh`, which handles Conan integration and CMake configuration automatically.
47+
48+
Common top-level make targets:
49+
50+
```shell
51+
$ make # debug build, same as make all-debug
52+
$ make all-release # release build
53+
$ make test # debug build with unit tests and mocked integration tests enabled
54+
$ make test-release # release build with unit tests and mocked integration tests enabled
55+
$ make lint # build with unit tests and run lint checks
56+
$ make package # release build and create DEB/RPM packages under cmake_build/Pack
57+
$ make clean # remove build directories
58+
```
59+
60+
You can pass environment variables through `make` to control `scripts/build.sh` and CMake:
61+
62+
```shell
63+
$ MILVUS_SDK_VERSION=v2.6.3 make all-release
64+
$ CMAKE_INSTALL_PREFIX=/opt/milvus make install
65+
$ BUILD_SHARED_LIBS=OFF make all-release
66+
$ CPPSTD=17 make test
67+
```
68+
69+
`scripts/build.sh` also supports command-line flags. Most users should prefer the make targets above, but the script can be invoked directly for more control:
70+
71+
```shell
72+
$ bash scripts/build.sh -t Debug # debug build
73+
$ bash scripts/build.sh -t Release # release build
74+
$ bash scripts/build.sh -u # build and run unit tests
75+
$ bash scripts/build.sh -l # run cpplint, clang-format, and clang-tidy checks
76+
$ bash scripts/build.sh -r # clean before build
77+
$ bash scripts/build.sh -z # build without Conan-managed dependencies
78+
$ bash scripts/build.sh -f -t Release # release build without in-place clang-format
79+
$ bash scripts/build.sh -v v2.6.3 -t Release
80+
```
81+
82+
`MILVUS_SDK_VERSION` is embedded into the SDK version string generated from `src/impl/version.h.in`. If you do not pass `MILVUS_SDK_VERSION` or `scripts/build.sh -v`, CMake derives the version from the latest reachable git tag. For release builds, pass the intended version explicitly or build from the release tag.
4783

4884
## Building without Conan
4985

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ The following collection shows Milvus versions and recommended milvus-cpp-sdk ve
1717
| 2.3.x | 2.3(branch) |
1818
| 2.4.x | v2.4.1 |
1919
| 2.5.x | v2.5.4 |
20-
| 2.6.x | v2.6.2 |
20+
| 2.6.x | v2.6.3 |
2121

2222

2323
## Installation

doc/html/version_8h_source.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment">// See the License for the specific language governing permissions and</span></div>
8686
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="comment">// limitations under the License.</span></div>
8787
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160; </div>
88-
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="preprocessor">#define MILVUS_SDK_VERSION &quot;v2.6.2&quot;</span></div>
88+
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="preprocessor">#define MILVUS_SDK_VERSION &quot;v2.6.3&quot;</span></div>
8989
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="preprocessor">#define CMAKE_BUILD_TYPE &quot;Debug&quot;</span></div>
9090
</div><!-- fragment --></div><!-- contents -->
9191
<!-- start footer part -->

examples/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ Examples for MilvusClientV2:
4545
- `./cmake_build/examples/v2/sdk_json_v2`: example to show the usage of JSON field.
4646
- `./cmake_build/examples/v2/sdk_multi_analyzer_v2`: example to show the usage of multi-analyzer for full text match.
4747
- `./cmake_build/examples/v2/sdk_nullable_field_v2`: example to show the usage of nullable field.
48+
- `./cmake_build/examples/v2/sdk_optimize_v2`: example to show the usage of Optimize().
4849
- `./cmake_build/examples/v2/sdk_partition_key_v2`: example to show the usage of partition key.
4950
- `./cmake_build/examples/v2/sdk_rbac_v2`: example to show the usage of RBAC.
5051
- `./cmake_build/examples/v2/sdk_rerank_function_v2`: example to show the usage of rerank function.

scripts/build.sh

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ MAKE_CLEAN="OFF"
2525
RUN_FORMAT="ON"
2626
RUN_CPPLINT="OFF"
2727
BUILD_COVERAGE="OFF"
28-
MILVUS_SDK_VERSION=${MILVUS_SDK_VERSION:-v2.6.2}
28+
MILVUS_SDK_VERSION=${MILVUS_SDK_VERSION:-}
2929
DO_INSTALL="OFF"
3030
CMAKE_INSTALL_PREFIX=${CMAKE_INSTALL_PREFIX:-/usr/local}
3131
BUILD_SHARED_LIBS=${BUILD_SHARED_LIBS:-ON}
@@ -94,6 +94,7 @@ while getopts "t:v:ulrcsphizf" arg; do
9494
9595
parameter:
9696
-t: build type(default: Debug)
97+
-v: sdk version override(default: latest git tag from CMake)
9798
-l: run cpplint, clang-format and clang-tidy(default: OFF)
9899
-u: build with unit testing(default: OFF)
99100
-r: clean before build
@@ -205,12 +206,17 @@ else
205206
fi
206207
fi
207208

209+
CMAKE_VERSION_ARG=""
210+
if [[ -n "${MILVUS_SDK_VERSION}" ]]; then
211+
CMAKE_VERSION_ARG="-DMILVUS_SDK_VERSION=${MILVUS_SDK_VERSION}"
212+
fi
213+
208214
CMAKE_CMD="cmake \
209215
-DCMAKE_TOOLCHAIN_FILE=${TOOLCHAIN_FILE} \
210216
-DCMAKE_BUILD_TYPE=${BUILD_TYPE} \
211217
-DMILVUS_BUILD_TEST=${BUILD_TEST} \
212218
-DMILVUS_BUILD_COVERAGE=${BUILD_COVERAGE} \
213-
-DMILVUS_SDK_VERSION=${MILVUS_SDK_VERSION} \
219+
${CMAKE_VERSION_ARG} \
214220
-DCMAKE_INSTALL_PREFIX=${CMAKE_INSTALL_PREFIX} \
215221
-DBUILD_SHARED_LIBS=${BUILD_SHARED_LIBS} \
216222
-DGRPC_PATH=${GRPC_PATH} \

0 commit comments

Comments
 (0)