Bump master version to 1.11 (#9957)

* Bump master version to 1.11

* Update Windows AI version

* update version in onnxruntime_c_api.cc
This commit is contained in:
jingyanwangms 2021-12-14 23:32:06 -08:00 committed by GitHub
parent 91096781c3
commit 8043a9facc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 9345 additions and 9337 deletions

View file

@ -1 +1 @@
1.10.0
1.11.0

View file

@ -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.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+ |
| 1.8.2 | **1.9** down to 1.2 | 14 | 2 | 7 | Windows AI 1.8+ |

View file

@ -8,11 +8,16 @@ For more information on ONNX Runtime, please see `aka.ms/onnxruntime <https://ak
Changes
-------
1.10.0
1.11.0
^^^^^^
Release Notes : TBD
1.10.0
^^^^^^
Release Notes : https://github.com/Microsoft/onnxruntime/releases/tag/v1.10.0
1.9.0
^^^^^

File diff suppressed because it is too large Load diff

View file

@ -1,31 +1,31 @@
{
"license": "MIT",
"name": "onnxruntime-common",
"description": "ONNXRuntime JavaScript API library",
"license": "MIT",
"unpkg": "dist/ort-common.min.js",
"name": "onnxruntime-common",
"repository": {
"url": "https://github.com/Microsoft/onnxruntime.git",
"url": "https://github.com/Microsoft/onnxruntime.git",
"type": "git"
},
"author": "fs-eire",
"version": "1.10.0",
"keywords": [
"ONNX",
"ONNXRuntime",
"ONNX Runtime"
],
},
"author": "fs-eire",
"module": "dist/lib/index.js",
"version": "1.11.0",
"jsdelivr": "dist/ort-common.min.js",
"scripts": {
"prepare": "tsc && webpack"
},
},
"keywords": [
"ONNX",
"ONNXRuntime",
"ONNX Runtime"
],
"devDependencies": {
"ts-loader": "^9.1.2",
"typedoc": "^0.22.3",
"typescript": "^4.2.4",
"webpack": "^5.36.2",
"ts-loader": "^9.1.2",
"webpack": "^5.36.2",
"typescript": "^4.2.4",
"typedoc": "^0.22.3",
"webpack-cli": "^4.7.0"
},
"main": "dist/ort-common.node.js",
"types": "dist/lib/index.d.ts",
"jsdelivr": "dist/ort-common.min.js",
"unpkg": "dist/ort-common.min.js",
"module": "dist/lib/index.js"
}
},
"main": "dist/ort-common.node.js",
"types": "dist/lib/index.d.ts",
"description": "ONNXRuntime JavaScript API library"
}

5140
js/node/package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -1,58 +1,58 @@
{
"license": "MIT",
"name": "onnxruntime-node",
"description": "ONNXRuntime Node.js binding",
"license": "MIT",
"name": "onnxruntime-node",
"repository": {
"url": "https://github.com/Microsoft/onnxruntime.git",
"url": "https://github.com/Microsoft/onnxruntime.git",
"type": "git"
},
"author": "fs-eire",
"version": "1.10.0",
"keywords": [
"ONNX",
"ONNXRuntime",
"ONNX Runtime"
],
"scripts": {
"build": "tsc && node ./script/build",
"buildd": "tsc && node ./script/build --config=Debug",
"buildr": "tsc && node ./script/build --config=RelWithDebInfo",
"rebuild": "tsc && node ./script/build --rebuild",
"rebuildd": "tsc && node ./script/build --rebuild --config=Debug",
"rebuildr": "tsc && node ./script/build --rebuild --config=RelWithDebInfo",
"prepare": "tsc --build script && tsc",
"test": "tsc --build test && mocha ./test/test-main",
"prepack": "node ./script/prepack"
},
"dependencies": {
"onnxruntime-common": "file:../common"
},
"devDependencies": {
"@types/fs-extra": "^9.0.6",
"@types/minimist": "1.2.1",
"@types/mocha": "^8.2.2",
"@types/node": "^14.14.37",
"cmake-js": "^6.2.1",
"fs-extra": "^9.1.0",
"jsonc": "^2.0.0",
"minimist": "^1.2.5",
"mocha": "^8.2.1",
"node-addon-api": "^3.1.0",
"onnx-proto": "^4.0.4",
"typescript": "^4.2.4"
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"os": [
"win32",
"darwin",
"linux"
],
},
"author": "fs-eire",
"binary": {
"module_path": "./bin",
"host": "https://onnxruntimetestdata.blob.core.windows.net/onnxruntime-node-prebuild/",
"module_path": "./bin",
"host": "https://onnxruntimetestdata.blob.core.windows.net/onnxruntime-node-prebuild/",
"napi_versions": [
3
]
}
}
},
"version": "1.11.0",
"dependencies": {
"onnxruntime-common": "file:../common"
},
"scripts": {
"buildr": "tsc && node ./script/build --config=RelWithDebInfo",
"prepare": "tsc --build script && tsc",
"rebuild": "tsc && node ./script/build --rebuild",
"rebuildd": "tsc && node ./script/build --rebuild --config=Debug",
"buildd": "tsc && node ./script/build --config=Debug",
"build": "tsc && node ./script/build",
"test": "tsc --build test && mocha ./test/test-main",
"prepack": "node ./script/prepack",
"rebuildr": "tsc && node ./script/build --rebuild --config=RelWithDebInfo"
},
"keywords": [
"ONNX",
"ONNXRuntime",
"ONNX Runtime"
],
"devDependencies": {
"fs-extra": "^9.1.0",
"cmake-js": "^6.2.1",
"jsonc": "^2.0.0",
"onnx-proto": "^4.0.4",
"minimist": "^1.2.5",
"mocha": "^8.2.1",
"@types/mocha": "^8.2.2",
"typescript": "^4.2.4",
"@types/fs-extra": "^9.0.6",
"node-addon-api": "^3.1.0",
"@types/node": "^14.14.37",
"@types/minimist": "1.2.1"
},
"main": "dist/index.js",
"os": [
"win32",
"darwin",
"linux"
],
"types": "dist/index.d.ts",
"description": "ONNXRuntime Node.js binding"
}

View file

@ -1,53 +1,21 @@
{
"name": "onnxruntime-react-native",
"version": "1.10.0",
"description": "Onnxruntime bridge for react native",
"main": "dist/commonjs/index",
"module": "dist/module/index",
"types": "dist/typescript/index.d.ts",
"react-native": "lib/index",
"source": "lib/index",
"files": [
"lib",
"dist",
"android",
"ios/*.h",
"ios/*.mm",
"onnxruntime-react-native.podspec",
"!dist/commonjs/*.js.map",
"!dist/module/*.js.map",
"!android/.gitignore",
"!android/.idea",
"!android/build"
],
"scripts": {
"test": "jest",
"typescript": "tsc --noEmit",
"prepare": "bob build",
"release": "release-it",
"example": "yarn --cwd example",
"pods": "cd example && pod-install --quiet",
"bootstrap": "yarn example && yarn && yarn pods",
"prepack": "tsc --build ./tsconfig.scripts.json && node ./scripts/prepack"
},
"react-native": "lib/index",
"module": "dist/module/index",
"jest": {
"modulePathIgnorePatterns": [
"<rootDir>/example/node_modules",
"<rootDir>/dist/"
],
"preset": "react-native"
},
"keywords": [
"react-native",
"ios",
"android",
"ONNX",
"ONNXRuntime",
"react-native",
"ios",
"android",
"ONNX",
"ONNXRuntime",
"ONNX Runtime"
],
"repository": "https://github.com/Microsoft/onnxruntime.git",
"author": "ONNX Runtime",
"license": "MIT",
"bugs": {
"url": "https://github.com/Microsoft/onnxruntime/issues"
},
"homepage": "https://github.com/Microsoft/onnxruntime/js/react_native#readme",
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
],
"devDependencies": {
"@release-it/conventional-changelog": "^3.3.0",
"@types/fs-extra": "^9.0.11",
@ -64,49 +32,81 @@
"typescript": "^4.1.3"
},
"peerDependencies": {
"react": "*",
"react": "*",
"react-native": "*"
},
"jest": {
"preset": "react-native",
"modulePathIgnorePatterns": [
"<rootDir>/example/node_modules",
"<rootDir>/dist/"
]
},
},
"author": "ONNX Runtime",
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"source": "lib/index",
"version": "1.11.0",
"release-it": {
"git": {
"commitMessage": "chore: release ${version}",
"tagName": "v${version}"
},
"npm": {
"publish": true
},
"github": {
"release": true
},
},
"git": {
"commitMessage": "chore: release ${version}",
"tagName": "v${version}"
},
"plugins": {
"@release-it/conventional-changelog": {
"preset": "angular"
}
},
"github": {
"release": true
}
},
},
"main": "dist/commonjs/index",
"homepage": "https://github.com/Microsoft/onnxruntime/js/react_native#readme",
"files": [
"lib",
"dist",
"android",
"ios/*.h",
"ios/*.mm",
"onnxruntime-react-native.podspec",
"!dist/commonjs/*.js.map",
"!dist/module/*.js.map",
"!android/.gitignore",
"!android/.idea",
"!android/build"
],
"description": "Onnxruntime bridge for react native",
"repository": "https://github.com/Microsoft/onnxruntime.git",
"react-native-builder-bob": {
"source": "lib",
"output": "dist",
"source": "lib",
"targets": [
"commonjs",
"module",
"commonjs",
"module",
[
"typescript",
"typescript",
{
"project": "tsconfig.build.json"
}
]
]
},
],
"output": "dist"
},
"dependencies": {
"buffer": "^6.0.3",
"buffer": "^6.0.3",
"onnxruntime-common": "file:../common"
},
"scripts": {
"typescript": "tsc --noEmit",
"prepare": "bob build",
"bootstrap": "yarn example && yarn && yarn pods",
"release": "release-it",
"test": "jest",
"prepack": "tsc --build ./tsconfig.scripts.json && node ./scripts/prepack",
"pods": "cd example && pod-install --quiet",
"example": "yarn --cwd example"
},
"types": "dist/typescript/index.d.ts",
"name": "onnxruntime-react-native",
"license": "MIT",
"bugs": {
"url": "https://github.com/Microsoft/onnxruntime/issues"
}
}

10574
js/web/package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -1,85 +1,85 @@
{
"license": "MIT",
"name": "onnxruntime-web",
"description": "A Javascript library for running ONNX models on browsers",
"license": "MIT",
"browser": "dist/ort-web.min.js",
"unpkg": "dist/ort.min.js",
"name": "onnxruntime-web",
"repository": {
"url": "https://github.com/Microsoft/onnxruntime.git",
"url": "https://github.com/Microsoft/onnxruntime.git",
"type": "git"
},
"author": "fs-eire",
"version": "1.10.0",
"keywords": [
"ONNX",
"ONNXRuntime",
"ONNX Runtime"
],
"scripts": {
"prepare": "tsc",
"build": "node ./script/build",
"build:doc": "node ./script/generate-operator-md",
"pull:wasm": "node ./script/pull-prebuilt-wasm-artifacts",
"test": "node ./script/prepare-test-data && node ./script/test-runner-cli",
"test:e2e": "node ./test/e2e/run",
"prepack": "node ./script/build && node ./script/prepack"
},
},
"author": "fs-eire",
"module": "./lib/index.js",
"version": "1.11.0",
"jsdelivr": "dist/ort.min.js",
"dependencies": {
"flatbuffers": "^1.12.0",
"guid-typescript": "^1.0.9",
"long": "^4.0.0",
"onnx-proto": "^4.0.4",
"onnxruntime-common": "file:../common",
"platform": "^1.3.6"
},
"onnx-proto": "^4.0.4",
"flatbuffers": "^1.12.0",
"long": "^4.0.0",
"platform": "^1.3.6",
"guid-typescript": "^1.0.9",
"onnxruntime-common": "file:../common"
},
"scripts": {
"prepare": "tsc",
"build:doc": "node ./script/generate-operator-md",
"pull:wasm": "node ./script/pull-prebuilt-wasm-artifacts",
"test:e2e": "node ./test/e2e/run",
"build": "node ./script/build",
"test": "node ./script/prepare-test-data && node ./script/test-runner-cli",
"prepack": "node ./script/build && node ./script/prepack"
},
"keywords": [
"ONNX",
"ONNXRuntime",
"ONNX Runtime"
],
"devDependencies": {
"@chiragrupani/karma-chromium-edge-launcher": "^2.1.0",
"@types/chai": "^4.2.16",
"@types/emscripten": "^1.39.4",
"@types/flatbuffers": "^1.10.0",
"@types/fs-extra": "^9.0.10",
"@types/karma": "^6.1.0",
"@types/long": "^4.0.1",
"@types/minimatch": "^3.0.4",
"@types/minimist": "^1.2.1",
"@types/mocha": "^8.2.2",
"@types/npmlog": "^4.1.2",
"@types/platform": "^1.3.3",
"base64-js": "^1.5.1",
"chai": "^4.3.4",
"dir-compare": "^3.3.0",
"electron": "^12.2.3",
"fs-extra": "^9.1.0",
"globby": "^11.0.3",
"jszip": "^3.7.1",
"karma": "^6.3.2",
"karma-browserstack-launcher": "^1.6.0",
"karma-chai": "^0.1.0",
"karma-chrome-launcher": "^3.1.0",
"karma-edge-launcher": "^0.4.2",
"karma-electron": "^7.0.0",
"karma-firefox-launcher": "^2.1.0",
"karma-mocha": "^2.0.1",
"karma-mocha-reporter": "^2.2.5",
"karma-safari-applescript-launcher": "^0.1.0",
"karma-sourcemap-loader": "^0.3.8",
"minimatch": "^3.0.4",
"minimist": "^1.2.5",
"mocha": "^8.3.2",
"node-polyfill-webpack-plugin": "^1.1.0",
"npmlog": "^4.1.2",
"numpy-parser": "^1.2.3",
"strip-json-comments": "^3.1.1",
"terser": "^5.10.0",
"ts-loader": "^9.1.2",
"typescript": "^4.2.4",
"webpack": "^5.36.2",
"webpack-bundle-analyzer": "^4.5.0",
"webpack-cli": "^4.7.0",
"karma-edge-launcher": "^0.4.2",
"base64-js": "^1.5.1",
"chai": "^4.3.4",
"@types/karma": "^6.1.0",
"mocha": "^8.3.2",
"terser": "^5.10.0",
"@types/fs-extra": "^9.0.10",
"@types/long": "^4.0.1",
"numpy-parser": "^1.2.3",
"minimatch": "^3.0.4",
"minimist": "^1.2.5",
"webpack": "^5.36.2",
"@types/npmlog": "^4.1.2",
"karma-sourcemap-loader": "^0.3.8",
"karma-chai": "^0.1.0",
"@types/chai": "^4.2.16",
"webpack-cli": "^4.7.0",
"@types/emscripten": "^1.39.4",
"ts-loader": "^9.1.2",
"typescript": "^4.2.4",
"npmlog": "^4.1.2",
"karma-electron": "^7.0.0",
"karma-browserstack-launcher": "^1.6.0",
"jszip": "^3.7.1",
"@types/mocha": "^8.2.2",
"electron": "^12.2.3",
"karma-safari-applescript-launcher": "^0.1.0",
"webpack-bundle-analyzer": "^4.5.0",
"@chiragrupani/karma-chromium-edge-launcher": "^2.1.0",
"karma-mocha-reporter": "^2.2.5",
"@types/minimatch": "^3.0.4",
"karma-firefox-launcher": "^2.1.0",
"@types/platform": "^1.3.3",
"node-polyfill-webpack-plugin": "^1.1.0",
"globby": "^11.0.3",
"strip-json-comments": "^3.1.1",
"dir-compare": "^3.3.0",
"karma-mocha": "^2.0.1",
"fs-extra": "^9.1.0",
"karma-chrome-launcher": "^3.1.0",
"@types/flatbuffers": "^1.10.0",
"karma": "^6.3.2",
"@types/minimist": "^1.2.1",
"worker-loader": "^3.0.8"
},
"main": "dist/ort-web.node.js",
"types": "./types/lib/index.d.ts",
"jsdelivr": "dist/ort.min.js",
"unpkg": "dist/ort.min.js",
"module": "./lib/index.js",
"browser": "dist/ort-web.min.js"
}
},
"main": "dist/ort-web.node.js",
"types": "./types/lib/index.d.ts",
"description": "A Javascript library for running ONNX models on browsers"
}

View file

@ -7,7 +7,7 @@ ONNX Runtime is a performance-focused scoring engine for Open Neural Network Exc
For more information on ONNX Runtime, please see `aka.ms/onnxruntime <https://aka.ms/onnxruntime/>`_
or the `Github project <https://github.com/microsoft/onnxruntime/>`_.
"""
__version__ = "1.10.0"
__version__ = "1.11.0"
__author__ = "Microsoft"
# we need to do device version validation (for example to check Cuda version for an onnxruntime-training package).

View file

@ -2498,7 +2498,6 @@ static constexpr OrtApi ort_api_1_to_10 = {
&OrtApis::GetSparseTensorIndices,
// End of Version 9 - DO NOT MODIFY ABOVE (see above text for more information)
// Version 10 - In development, feel free to add/remove/rearrange here
&OrtApis::HasValue,
&OrtApis::KernelContext_GetGPUComputeStream,
&OrtApis::GetTensorMemoryInfo,
@ -2511,6 +2510,9 @@ static constexpr OrtApi ort_api_1_to_10 = {
&OrtApis::SetGlobalCustomJoinThreadFn,
&OrtApis::SynchronizeBoundInputs,
&OrtApis::SynchronizeBoundOutputs
// End of Version 10 - DO NOT MODIFY ABOVE (see above text for more information)
// Version 11 - In development, feel free to add/remove/rearrange here
};
// Asserts to do a some checks to ensure older Versions of the OrtApi never change (will detect an addition or deletion but not if they cancel out each other)
@ -2525,7 +2527,7 @@ static_assert(offsetof(OrtApi, GetCurrentGpuDeviceId) / sizeof(void*) == 161, "S
static_assert(offsetof(OrtApi, CreateSessionFromArrayWithPrepackedWeightsContainer) / sizeof(void*) == 169, "Size of version 8 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.10.0", "ORT_Version change detected, please follow below steps to ensure OrtApi is updated properly");
static_assert(std::string_view(ORT_VERSION) == "1.11.0", "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_10 above:
// a. Add the 'End of version #' markers (pattern above should be obvious)

View file

@ -1,5 +1,5 @@
Name: onnxruntime
Version: 1.10.0
Version: 1.11.0
Release: 1%{?dist}
Summary: onnxruntime