From 366f4ebcb425b6a47c2b0decd3b39fa14eb9dbf6 Mon Sep 17 00:00:00 2001
From: Chi Lo <54722500+chilo-ms@users.noreply.github.com>
Date: Fri, 22 Apr 2022 13:35:16 -0700
Subject: [PATCH] Update version number for patch release v1.11.1 (#11317)
* Bump version number to 1.11.1
* Bump up version to 1.11.1
---
VERSION_NUMBER | 2 +-
docs/Versioning.md | 1 +
docs/python/README.rst | 5 +++++
js/common/package-lock.json | 4 ++--
js/common/package.json | 4 ++--
js/node/package-lock.json | 4 ++--
js/node/package.json | 4 ++--
js/react_native/package.json | 4 ++--
js/web/package-lock.json | 4 ++--
js/web/package.json | 4 ++--
onnxruntime/__init__.py | 2 +-
onnxruntime/core/session/onnxruntime_c_api.cc | 2 +-
package/rpm/onnxruntime.spec | 2 +-
13 files changed, 24 insertions(+), 18 deletions(-)
diff --git a/VERSION_NUMBER b/VERSION_NUMBER
index 1cac385c6cb8..720c7384c619 100644
--- a/VERSION_NUMBER
+++ b/VERSION_NUMBER
@@ -1 +1 @@
-1.11.0
+1.11.1
diff --git a/docs/Versioning.md b/docs/Versioning.md
index bd1348659cd8..ea902d07c071 100644
--- a/docs/Versioning.md
+++ b/docs/Versioning.md
@@ -26,6 +26,7 @@ For more details on ONNX Release versions, see [this page](https://github.com/on
| ONNX Runtime release version | ONNX release version | ONNX opset version | ONNX ML opset version | Supported ONNX IR version | [Windows ML Availability](https://docs.microsoft.com/en-us/windows/ai/windows-ml/release-notes/)|
|------------------------------|--------------------|--------------------|----------------------|------------------|------------------|
+| 1.11.1 | **1.10** down to 1.2 | 15 | 2 | 7 | Windows AI 1.11+ |
| 1.11.0 | **1.10** down to 1.2 | 15 | 2 | 7 | Windows AI 1.11+ |
| 1.10.0 | **1.10** down to 1.2 | 15 | 2 | 7 | Windows AI 1.10+ |
| 1.9.0 | **1.10** down to 1.2 | 15 | 2 | 7 | Windows AI 1.9+ |
diff --git a/docs/python/README.rst b/docs/python/README.rst
index 5510d7fb6ff1..8feb612122d5 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.11.0"
+__version__ = "1.11.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 dee2e32c505d..ef3b3ab9e8f0 100644
--- a/onnxruntime/core/session/onnxruntime_c_api.cc
+++ b/onnxruntime/core/session/onnxruntime_c_api.cc
@@ -2538,7 +2538,7 @@ static_assert(offsetof(OrtApi, SynchronizeBoundOutputs) / sizeof(void*) == 203,
static_assert(offsetof(OrtApi, SessionOptionsAppendExecutionProvider_MIGraphX) / sizeof(void*) == 209, "Size of version 11 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.11.0", "ORT_Version change detected, please follow below steps to ensure OrtApi is updated properly");
+static_assert(std::string_view(ORT_VERSION) == "1.11.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_11 above:
// a. Add the 'End of version #' markers (pattern above should be obvious)
diff --git a/package/rpm/onnxruntime.spec b/package/rpm/onnxruntime.spec
index f3f2e1eef259..0168b1844923 100644
--- a/package/rpm/onnxruntime.spec
+++ b/package/rpm/onnxruntime.spec
@@ -1,5 +1,5 @@
Name: onnxruntime
-Version: 1.11.0
+Version: 1.11.1
Release: 1%{?dist}
Summary: onnxruntime