From bac54b2593bd26972622d5b617daa5ac96f0f26f Mon Sep 17 00:00:00 2001 From: Nick Rolfe Date: Fri, 27 Mar 2026 11:33:55 +0000 Subject: [PATCH 1/3] Remove CLI v2.21.4 from list of supported versions --- extensions/ql-vscode/src/codeql-cli/cli.ts | 2 +- extensions/ql-vscode/supported_cli_versions.json | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/extensions/ql-vscode/src/codeql-cli/cli.ts b/extensions/ql-vscode/src/codeql-cli/cli.ts index a789e499dba..dc91d9aac03 100644 --- a/extensions/ql-vscode/src/codeql-cli/cli.ts +++ b/extensions/ql-vscode/src/codeql-cli/cli.ts @@ -45,7 +45,7 @@ import type { LanguageClient } from "vscode-languageclient/node"; * The oldest version of the CLI that we support. This is used to determine * whether to show a warning about the CLI being too old on startup. */ -export const OLDEST_SUPPORTED_CLI_VERSION = new SemVer("2.21.4"); +export const OLDEST_SUPPORTED_CLI_VERSION = new SemVer("2.22.4"); /** * The version of the SARIF format that we are using. diff --git a/extensions/ql-vscode/supported_cli_versions.json b/extensions/ql-vscode/supported_cli_versions.json index 3c5e5a35680..3a9f313f70b 100644 --- a/extensions/ql-vscode/supported_cli_versions.json +++ b/extensions/ql-vscode/supported_cli_versions.json @@ -3,6 +3,5 @@ "v2.24.3", "v2.23.9", "v2.22.4", - "v2.21.4", "nightly" ] From 35e890bf6574aa5966fe9583edd3057ed8ee9ef1 Mon Sep 17 00:00:00 2001 From: Nick Rolfe Date: Fri, 27 Mar 2026 11:36:20 +0000 Subject: [PATCH 2/3] Update changelog for supported CLI vesion change --- extensions/ql-vscode/CHANGELOG.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/extensions/ql-vscode/CHANGELOG.md b/extensions/ql-vscode/CHANGELOG.md index 303cb8095fa..a6da616c47c 100644 --- a/extensions/ql-vscode/CHANGELOG.md +++ b/extensions/ql-vscode/CHANGELOG.md @@ -2,7 +2,7 @@ ## [UNRELEASED] -- Remove support for CodeQL CLI versions older than 2.21.4. [#4285](https://github.com/github/vscode-codeql/pull/4285) +- Remove support for CodeQL CLI versions older than 2.21.4. [#4344](https://github.com/github/vscode-codeql/pull/4344) ## 1.17.7 - 5 December 2025 @@ -136,6 +136,7 @@ 2. A language selector, which allows you to quickly filter databases and queries by language. For more information, see the [documentation](https://codeql.github.com/docs/codeql-for-visual-studio-code/analyzing-your-projects/#filtering-databases-and-queries-by-language). + - When adding a CodeQL database, we no longer add the database source folder to the workspace by default (since this caused bugs in single-folder workspaces). [#3047](https://github.com/github/vscode-codeql/pull/3047) - You can manually add individual database source folders to the workspace with the "Add Database Source to Workspace" right-click command in the databases view. - To restore the old behavior of adding all database source folders by default, set the `codeQL.addingDatabases.addDatabaseSourceToWorkspace` setting to `true`. @@ -196,7 +197,7 @@ No user facing changes. - Remove "last updated" information and sorting from variant analysis results view. [#2637](https://github.com/github/vscode-codeql/pull/2637) - Links to code on GitHub now include column numbers as well as line numbers. [#2406](https://github.com/github/vscode-codeql/pull/2406) -- No longer highlight trailing commas for jump to definition. [#2615](https://github.com/github/vscode-codeql/pull/2615) +- No longer highlight trailing commas for jump to definition. [#2615](https://github.com/github/vscode-codeql/pull/2615) - Fix a bug where the QHelp preview page was not being refreshed after changes to the underlying `.qhelp` file. [#2660](https://github.com/github/vscode-codeql/pull/2660) ## 1.8.8 - 17 July 2023 From fdb7232c95cc676012289c1bed94895fd3906dab Mon Sep 17 00:00:00 2001 From: Nick Rolfe Date: Fri, 27 Mar 2026 11:55:23 +0000 Subject: [PATCH 3/3] Update extensions/ql-vscode/CHANGELOG.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- extensions/ql-vscode/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/ql-vscode/CHANGELOG.md b/extensions/ql-vscode/CHANGELOG.md index a6da616c47c..ee40e8cf406 100644 --- a/extensions/ql-vscode/CHANGELOG.md +++ b/extensions/ql-vscode/CHANGELOG.md @@ -2,7 +2,7 @@ ## [UNRELEASED] -- Remove support for CodeQL CLI versions older than 2.21.4. [#4344](https://github.com/github/vscode-codeql/pull/4344) +- Remove support for CodeQL CLI versions older than 2.22.4. [#4344](https://github.com/github/vscode-codeql/pull/4344) ## 1.17.7 - 5 December 2025