From 8f5c79cb63f09ef1302e85081093a3fe4da1bc7d Mon Sep 17 00:00:00 2001 From: Rachel Guo <35738743+YUNQIUGUO@users.noreply.github.com> Date: Fri, 23 Feb 2024 16:10:36 -0800 Subject: [PATCH] Update 1.17.1 patch release version (#19622) ### Description Need to update patch release version. ### Motivation and Context --------- Co-authored-by: rachguo Co-authored-by: rachguo --- VERSION_NUMBER | 2 +- docs/python/README.rst | 5 +++++ js/common/lib/version.ts | 2 +- js/common/package-lock.json | 4 ++-- js/common/package.json | 2 +- js/node/lib/version.ts | 2 +- js/node/package-lock.json | 4 ++-- js/node/package.json | 2 +- js/react_native/lib/version.ts | 2 +- js/react_native/package.json | 2 +- js/react_native/yarn.lock | 2 +- js/web/lib/version.ts | 2 +- js/web/package-lock.json | 4 ++-- js/web/package.json | 2 +- onnxruntime/__init__.py | 2 +- onnxruntime/core/session/onnxruntime_c_api.cc | 2 +- 16 files changed, 23 insertions(+), 18 deletions(-) diff --git a/VERSION_NUMBER b/VERSION_NUMBER index 092afa15df4df..511a76e6faf83 100644 --- a/VERSION_NUMBER +++ b/VERSION_NUMBER @@ -1 +1 @@ -1.17.0 +1.17.1 diff --git a/docs/python/README.rst b/docs/python/README.rst index 32bb3729e01d0..a117b6286ab89 100644 --- a/docs/python/README.rst +++ b/docs/python/README.rst @@ -8,6 +8,11 @@ For more information on ONNX Runtime, please see `aka.ms/onnxruntime `_ or the `Github project `_. """ -__version__ = "1.17.0" +__version__ = "1.17.1" __author__ = "Microsoft" # we need to do device version validation (for example to check Cuda version for an onnxruntime-training package). diff --git a/onnxruntime/core/session/onnxruntime_c_api.cc b/onnxruntime/core/session/onnxruntime_c_api.cc index d77c188f832a7..a22840778a56b 100644 --- a/onnxruntime/core/session/onnxruntime_c_api.cc +++ b/onnxruntime/core/session/onnxruntime_c_api.cc @@ -2756,7 +2756,7 @@ static_assert(offsetof(OrtApi, KernelContext_GetResource) / sizeof(void*) == 265 static_assert(offsetof(OrtApi, SetUserLoggingFunction) / sizeof(void*) == 266, "Size of version 17 API cannot change"); // So that nobody forgets to finish an API version, this check will serve as a reminder: -static_assert(std::string_view(ORT_VERSION) == "1.17.0", +static_assert(std::string_view(ORT_VERSION) == "1.17.1", "ORT_Version change detected, please follow below steps to ensure OrtApi is updated properly"); // 1. Update the hardcoded version string in above static_assert to silence it // 2. If there were any APIs added to ort_api_1_to_17 above: