diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 632effc..43fcc12 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 2f64910..ffd59ec 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 35e855d..80d1920 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-lock.json b/package-lock.json index 5e7d20b..86405d6 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.19.17", "@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": { @@ -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": { diff --git a/package.json b/package.json index 725b029..4dcc010 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.19.17", "@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",