From 955e5dfe46ed6827db8ad61c706cd0d3650590ff Mon Sep 17 00:00:00 2001 From: Josef Svenningsson Date: Thu, 22 Oct 2026 18:03:02 +0100 Subject: [PATCH 1/2] Bump minimum VS Code version to 1.101.0 Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- extensions/ql-vscode/gulpfile.ts/chromium-version.json | 4 ++-- extensions/ql-vscode/package-lock.json | 10 +++++----- extensions/ql-vscode/package.json | 4 ++-- extensions/ql-vscode/src/extension.ts | 6 +++--- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/extensions/ql-vscode/gulpfile.ts/chromium-version.json b/extensions/ql-vscode/gulpfile.ts/chromium-version.json index e2433ceb1f9..8fe3bba0aca 100644 --- a/extensions/ql-vscode/gulpfile.ts/chromium-version.json +++ b/extensions/ql-vscode/gulpfile.ts/chromium-version.json @@ -1,4 +1,4 @@ { - "chromiumVersion": "122", - "electronVersion": "29.4.0" + "chromiumVersion": "134", + "electronVersion": "35.5.1" } diff --git a/extensions/ql-vscode/package-lock.json b/extensions/ql-vscode/package-lock.json index bd570043af3..be8a0c5bb09 100644 --- a/extensions/ql-vscode/package-lock.json +++ b/extensions/ql-vscode/package-lock.json @@ -79,7 +79,7 @@ "@types/semver": "^7.7.1", "@types/tar-stream": "^3.1.4", "@types/tmp": "^0.2.6", - "@types/vscode": "1.90.0", + "@types/vscode": "1.101.0", "@types/yauzl": "^3.4.0", "@typescript-eslint/parser": "^8.71.0", "@vscode/test-electron": "^3.1.0", @@ -125,7 +125,7 @@ "engines": { "node": "^22.21.1", "npm": ">=8.3.0", - "vscode": "^1.90.0" + "vscode": "^1.101.0" } }, "node_modules/@aashutoshrathi/word-wrap": { @@ -13642,9 +13642,9 @@ } }, "node_modules/@types/vscode": { - "version": "1.90.0", - "resolved": "https://registry.npmjs.org/@types/vscode/-/vscode-1.90.0.tgz", - "integrity": "sha512-oT+ZJL7qHS9Z8bs0+WKf/kQ27qWYR3trsXpq46YDjFqBsMLG4ygGGjPaJ2tyrH0wJzjOEmDyg9PDJBBhWg9pkQ==", + "version": "1.101.0", + "resolved": "https://registry.npmjs.org/@types/vscode/-/vscode-1.101.0.tgz", + "integrity": "sha512-ZWf0IWa+NGegdW3iU42AcDTFHWW7fApLdkdnBqwYEtHVIBGbTu0ZNQKP/kX3Ds/uMJXIMQNAojHR4vexCEEz5Q==", "dev": true, "license": "MIT" }, diff --git a/extensions/ql-vscode/package.json b/extensions/ql-vscode/package.json index 1a0a65fd195..99055139c5b 100644 --- a/extensions/ql-vscode/package.json +++ b/extensions/ql-vscode/package.json @@ -13,7 +13,7 @@ "url": "https://github.com/github/vscode-codeql" }, "engines": { - "vscode": "^1.90.0", + "vscode": "^1.101.0", "node": "^22.21.1", "npm": ">=8.3.0" }, @@ -2137,7 +2137,7 @@ "@types/semver": "^7.7.1", "@types/tar-stream": "^3.1.4", "@types/tmp": "^0.2.6", - "@types/vscode": "1.90.0", + "@types/vscode": "1.101.0", "@types/yauzl": "^3.4.0", "@typescript-eslint/parser": "^8.71.0", "@vscode/test-electron": "^3.1.0", diff --git a/extensions/ql-vscode/src/extension.ts b/extensions/ql-vscode/src/extension.ts index 925e231b00d..c72833f3e40 100644 --- a/extensions/ql-vscode/src/extension.ts +++ b/extensions/ql-vscode/src/extension.ts @@ -315,12 +315,12 @@ const shouldUpdateOnNextActivationKey = "shouldUpdateOnNextActivation"; const codeQlVersionRange = DEFAULT_DISTRIBUTION_VERSION_RANGE; -// This is the minimum version of vscode that we _want_ to support. We want to update to Node 20, but that -// requires 1.90 or later. If we change the minimum version in the package.json, then anyone on an older version of vscode will +// This is the minimum version of vscode that we _want_ to support. We want to update to Node 22, but that +// requires 1.101 or later. If we change the minimum version in the package.json, then anyone on an older version of vscode will // silently be unable to upgrade. So, the solution is to first bump the minimum version here and release. Then // bump the version in the package.json and release again. This way, anyone on an older version of vscode will get a warning // before silently being refused to upgrade. -const MIN_VERSION = "1.90.0"; +const MIN_VERSION = "1.101.0"; function sendConfigTelemetryData() { const config: Record = {}; From 2e38d790e906d5bfce81d013fd7e63249e5b484c Mon Sep 17 00:00:00 2001 From: Josef Svenningsson Date: Thu, 22 Oct 2026 18:04:08 +0100 Subject: [PATCH 2/2] Add changelog entry for VS Code 1.101.0 requirement Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- extensions/ql-vscode/CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/extensions/ql-vscode/CHANGELOG.md b/extensions/ql-vscode/CHANGELOG.md index ac51f36fe63..c4370e5d279 100644 --- a/extensions/ql-vscode/CHANGELOG.md +++ b/extensions/ql-vscode/CHANGELOG.md @@ -5,6 +5,7 @@ - After an extension-managed CodeQL CLI update, the notification now offers to open the CLI release notes instead of the extension log. [#1095](https://github.com/github/vscode-codeql/issues/1095) - Remove support for CodeQL CLI versions older than 2.24.3. [#4573](https://github.com/github/vscode-codeql/pull/4573) - Add support to the model editor for saving and loading JSON data extensions. [#4576](https://github.com/github/vscode-codeql/pull/4576) +- Increase the required version of VS Code to 1.101.0. [#4619](https://github.com/github/vscode-codeql/pull/4619) ## 1.17.8 - 17 July 2026