Skip to content

Commit 925a08c

Browse files
vrasparintbf
authored andcommitted
bump version from 1.22 to 1.23 (microsoft#24506)
### Description The [1.22 release branch](https://github.com/microsoft/onnxruntime/tree/rel-1.22.0) has been cut, so we need to update the version in main from 1.22.0 to 1.23.0. Signed-off-by: bfilipek <[email protected]>
1 parent ac726c2 commit 925a08c

File tree

19 files changed

+34
-28
lines changed

19 files changed

+34
-28
lines changed

VERSION_NUMBER

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.22.0
1+
1.23.0

csharp/src/Microsoft.ML.OnnxRuntime/Training/NativeTrainingMethods.shared.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ static NativeTrainingMethods()
7676
DOrtGetApi OrtGetApi = (DOrtGetApi)Marshal.GetDelegateForFunctionPointer(NativeMethods.OrtGetApiBase().GetApi, typeof(DOrtGetApi));
7777
#endif
7878

79-
const uint ORT_API_VERSION = 22;
79+
const uint ORT_API_VERSION = 23;
8080
#if NETSTANDARD2_0
8181
IntPtr ortApiPtr = OrtGetApi(ORT_API_VERSION);
8282
api_ = (OrtApi)Marshal.PtrToStructure(ortApiPtr, typeof(OrtApi));

docs/python/README.rst

+5
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ For more information on ONNX Runtime, please see `aka.ms/onnxruntime <https://ak
88
Changes
99
-------
1010

11+
1.23.0
12+
^^^^^^
13+
14+
Release Notes : https://github.com/Microsoft/onnxruntime/releases/tag/v1.23.0
15+
1116
1.22.0
1217
^^^^^^
1318

include/onnxruntime/core/session/onnxruntime_c_api.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
*
3939
* This value is used by some API functions to behave as this version of the header expects.
4040
*/
41-
#define ORT_API_VERSION 22
41+
#define ORT_API_VERSION 23
4242

4343
#ifdef __cplusplus
4444
extern "C" {

js/common/lib/version.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
// This file is generated by /js/scripts/update-version.ts
55
// Do not modify file content manually.
66

7-
export const version = '1.22.0';
7+
export const version = '1.23.0';

js/common/package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/common/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"license": "MIT",
33
"type": "module",
44
"name": "onnxruntime-common",
5-
"version": "1.22.0",
5+
"version": "1.23.0",
66
"repository": {
77
"url": "https://github.com/Microsoft/onnxruntime.git",
88
"type": "git"

js/node/lib/version.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
// This file is generated by /js/scripts/update-version.ts
55
// Do not modify file content manually.
66

7-
export const version = '1.22.0';
7+
export const version = '1.23.0';

js/node/package-lock.json

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/node/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
6
1212
]
1313
},
14-
"version": "1.22.0",
14+
"version": "1.23.0",
1515
"dependencies": {
1616
"adm-zip": "^0.5.16",
1717
"global-agent": "^3.0.0",

js/node/script/install-metadata-versions.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
// This file is generated by /js/scripts/update-version.ts
55
// Do not modify file content manually.
66

7-
module.exports = { nuget: [{ feed: 'nuget', version: '1.22.0' }] };
7+
module.exports = { nuget: [{ feed: 'nuget', version: '1.23.0' }] };

js/react_native/lib/version.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
// This file is generated by /js/scripts/update-version.ts
55
// Do not modify file content manually.
66

7-
export const version = '1.22.0';
7+
export const version = '1.23.0';

js/react_native/package-lock.json

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/react_native/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"registry": "https://registry.npmjs.org/"
3838
},
3939
"source": "lib/index",
40-
"version": "1.22.0",
40+
"version": "1.23.0",
4141
"main": "dist/commonjs/index",
4242
"homepage": "https://github.com/microsoft/onnxruntime/blob/main/js/react_native/README.md",
4343
"files": [

js/web/lib/version.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
// This file is generated by /js/scripts/update-version.ts
55
// Do not modify file content manually.
66

7-
export const version = '1.22.0';
7+
export const version = '1.23.0';

js/web/package-lock.json

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/web/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"type": "git"
88
},
99
"author": "fs-eire",
10-
"version": "1.22.0",
10+
"version": "1.23.0",
1111
"jsdelivr": "dist/ort.min.js",
1212
"dependencies": {
1313
"flatbuffers": "^25.1.24",

onnxruntime/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
or the `Github project <https://github.com/microsoft/onnxruntime/>`_.
99
"""
1010

11-
__version__ = "1.22.0"
11+
__version__ = "1.23.0"
1212
__author__ = "Microsoft"
1313

1414
# we need to do device version validation (for example to check Cuda version for an onnxruntime-training package).

onnxruntime/core/session/onnxruntime_c_api.cc

+5-4
Original file line numberDiff line numberDiff line change
@@ -2631,7 +2631,7 @@ Second example, if we wanted to add and remove some members, we'd do this:
26312631
In GetApi we now make it return ort_api_3 for version 3.
26322632
*/
26332633

2634-
static constexpr OrtApi ort_api_1_to_22 = {
2634+
static constexpr OrtApi ort_api_1_to_23 = {
26352635
// NOTE: The ordering of these fields MUST not change after that version has shipped since existing binaries depend on this ordering.
26362636

26372637
// Shipped as version 1 - DO NOT MODIFY (see above text for more information)
@@ -3012,6 +3012,7 @@ static constexpr OrtApi ort_api_1_to_22 = {
30123012
&OrtApis::EpDevice_EpMetadata,
30133013
&OrtApis::EpDevice_EpOptions,
30143014
&OrtApis::EpDevice_Device,
3015+
// End of Version 22 - DO NOT MODIFY ABOVE (see above text for more information)
30153016
};
30163017

30173018
// OrtApiBase can never change as there is no way to know what version of OrtApiBase is returned by OrtGetApiBase.
@@ -3049,16 +3050,16 @@ static_assert(offsetof(OrtApi, SetEpDynamicOptions) / sizeof(void*) == 284, "Siz
30493050
static_assert(offsetof(OrtApi, EpDevice_Device) / sizeof(void*) == 314, "Size of version 22 API cannot change");
30503051

30513052
// So that nobody forgets to finish an API version, this check will serve as a reminder:
3052-
static_assert(std::string_view(ORT_VERSION) == "1.22.0",
3053+
static_assert(std::string_view(ORT_VERSION) == "1.23.0",
30533054
"ORT_Version change detected, please follow below steps to ensure OrtApi is updated properly");
30543055
// 1. Update the hardcoded version string in above static_assert to silence it
3055-
// 2. If there were any APIs added to ort_api_1_to_22 above:
3056+
// 2. If there were any APIs added to ort_api_1_to_23 above:
30563057
// a. Add the 'End of version #' markers (pattern above should be obvious)
30573058
// b. Add a static_assert in the directly above list of version sizes to ensure nobody adds any more functions to the just shipped API version
30583059

30593060
ORT_API(const OrtApi*, OrtApis::GetApi, uint32_t version) {
30603061
if (version >= 1 && version <= ORT_API_VERSION)
3061-
return &ort_api_1_to_22;
3062+
return &ort_api_1_to_23;
30623063

30633064
fprintf(stderr,
30643065
"The requested API version [%u] is not available, only API versions [1, %u] are supported in this build."

0 commit comments

Comments
 (0)