From 1ecc6fc47fe7aa95191b59a707ddca0c9a06c351 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 1 May 2026 07:47:01 +0000 Subject: [PATCH 1/5] Initial plan From c69bf9a7b1071c0d36a3ccc2807e79cba6d44ad3 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 1 May 2026 07:48:24 +0000 Subject: [PATCH 2/5] bump minimum node version from 20 to 22 Agent-Logs-Url: https://github.com/Azure/openapi-diff/sessions/7ca40225-fb82-496b-bfac-2d737755cfb8 Co-authored-by: mikeharder <9459391+mikeharder@users.noreply.github.com> --- .github/workflows/ci.yml | 2 +- CHANGELOG.md | 4 ++++ CONTRIBUTING.md | 2 +- package.json | 6 +++--- 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 632effce..43fcc128 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,7 +17,7 @@ jobs: - uses: actions/setup-node@v6 with: - node-version: "20" + node-version: "22" - uses: actions/setup-dotnet@v5 with: diff --git a/CHANGELOG.md b/CHANGELOG.md index 2f649108..ffd59ecd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 0.12.5 + +- bump minimum Node.js version from 20 to 22 + ## 0.12.4 2026-03-13 - Only throw error on AutoRest stderr when exit code is non-zero; log warnings otherwise diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 35e855d7..80d1920d 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -27,7 +27,7 @@ Table of contents generated with yzhang.markdown-all-in-one To execute any instructions in this file, first ensure you fulfill all the following prerequisites: -1. Install [Node.js](https://nodejs.org/), version 14.x or higher. +1. Install [Node.js](https://nodejs.org/), version 22.x or higher. 1. Install [.NET runtime and SDK](https://aka.ms/dotnet-download), version 6 or higher. 1. Install [.NET CLI tools](https://github.com/dotnet/cli/releases) version 2.0.0 or higher. 1. Execute all commands in this file from your [`openapi-diff`] git repo local clone root dir. diff --git a/package.json b/package.json index 70d58e65..6ffd3bdb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@azure/oad", - "version": "0.12.4", + "version": "0.12.5", "author": { "name": "Microsoft Corporation", "email": "azsdkteam@microsoft.com", @@ -30,7 +30,7 @@ "@types/jest": "^30.0.0", "@types/js-yaml": "^4.0.9", "@types/json-pointer": "^1.0.30", - "@types/node": "^20.0.0", + "@types/node": "^22.0.0", "@types/yargs": "^15.0.19", "eslint": "^10.0.0", "globals": "^17.3.0", @@ -55,7 +55,7 @@ "superagent": "^10.2.3" }, "engines": { - "node": ">=20.19.0" + "node": ">=22.0.0" }, "files": [ "dist/lib", From 6a55c672f4bf46cb39193c46fcab15eadb6b9735 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 1 May 2026 07:56:34 +0000 Subject: [PATCH 3/5] update package-lock.json for node 22 bump Agent-Logs-Url: https://github.com/Azure/openapi-diff/sessions/68fad389-a7b5-4a65-b7f1-c4eedac275e4 Co-authored-by: mikeharder <9459391+mikeharder@users.noreply.github.com> --- package-lock.json | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index bc3818f0..9af0bdc3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@azure/oad", - "version": "0.12.4", + "version": "0.12.5", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@azure/oad", - "version": "0.12.4", + "version": "0.12.5", "license": "MIT", "dependencies": { "@ts-common/fs": "0.2.0", @@ -33,7 +33,7 @@ "@types/jest": "^30.0.0", "@types/js-yaml": "^4.0.9", "@types/json-pointer": "^1.0.30", - "@types/node": "^20.0.0", + "@types/node": "^22.0.0", "@types/yargs": "^15.0.19", "eslint": "^10.0.0", "globals": "^17.3.0", @@ -44,7 +44,7 @@ "typescript-eslint": "^8.58.0" }, "engines": { - "node": ">=20.19.0" + "node": ">=22.0.0" } }, "node_modules/@babel/code-frame": { @@ -1638,9 +1638,9 @@ "license": "MIT" }, "node_modules/@types/node": { - "version": "20.19.35", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.19.35.tgz", - "integrity": "sha512-Uarfe6J91b9HAUXxjvSOdiO2UPOKLm07Q1oh0JHxoZ1y8HoqxDAu3gVrsrOHeiio0kSsoVBt4wFrKOm0dKxVPQ==", + "version": "22.19.17", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.19.17.tgz", + "integrity": "sha512-wGdMcf+vPYM6jikpS/qhg6WiqSV/OhG+jeeHT/KlVqxYfD40iYJf9/AE1uQxVWFvU7MipKRkRv8NSHiCGgPr8Q==", "dev": true, "license": "MIT", "dependencies": { From 54809c53055ec067755754331d9b4e6843d9fbfa Mon Sep 17 00:00:00 2001 From: Mike Harder Date: Fri, 1 May 2026 01:02:57 -0700 Subject: [PATCH 4/5] Apply suggestion from @mikeharder --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 6ffd3bdb..2a2e3b39 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ "@types/jest": "^30.0.0", "@types/js-yaml": "^4.0.9", "@types/json-pointer": "^1.0.30", - "@types/node": "^22.0.0", + "@types/node": "^22.19.17", "@types/yargs": "^15.0.19", "eslint": "^10.0.0", "globals": "^17.3.0", From 45ef8536547671ae6a9323007c2aa1c58c181e2e Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 5 May 2026 06:00:53 +0000 Subject: [PATCH 5/5] update package-lock.json to match @types/node ^22.19.17 Agent-Logs-Url: https://github.com/Azure/openapi-diff/sessions/4c8d5d0c-c5bc-4829-9452-1e20c9dff37f Co-authored-by: mikeharder <9459391+mikeharder@users.noreply.github.com> --- package-lock.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index ba94b574..86405d68 100644 --- a/package-lock.json +++ b/package-lock.json @@ -33,7 +33,7 @@ "@types/jest": "^30.0.0", "@types/js-yaml": "^4.0.9", "@types/json-pointer": "^1.0.30", - "@types/node": "^22.0.0", + "@types/node": "^22.19.17", "@types/yargs": "^15.0.19", "eslint": "^10.0.0", "globals": "^17.3.0", @@ -1652,9 +1652,9 @@ "license": "MIT" }, "node_modules/@types/node": { - "version": "20.19.39", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.19.39.tgz", - "integrity": "sha512-orrrD74MBUyK8jOAD/r0+lfa1I2MO6I+vAkmAWzMYbCcgrN4lCrmK52gRFQq/JRxfYPfonkr4b0jcY7Olqdqbw==", + "version": "22.19.17", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.19.17.tgz", + "integrity": "sha512-wGdMcf+vPYM6jikpS/qhg6WiqSV/OhG+jeeHT/KlVqxYfD40iYJf9/AE1uQxVWFvU7MipKRkRv8NSHiCGgPr8Q==", "dev": true, "license": "MIT", "dependencies": {