From 9a367b9f8833da440fdde706789c18cb11f21624 Mon Sep 17 00:00:00 2001 From: Chris Smowton Date: Thu, 15 May 2025 12:41:58 +0100 Subject: [PATCH 1/6] Update changelog for 2.21.3 --- CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2a9962a..9f8780a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,12 @@ you know what to do). --> +## Release 2.21.3 (2025-05-15) + +### Miscellaneous + +- Windows binaries for the CodeQL CLI are now built with `/guard:cf`, enabling [Control Flow Guard](https://learn.microsoft.com/en-us/windows/win32/secbp/control-flow-guard). + ## Release 2.21.2 (2025-05-01) ### Bugs fixed From f1c6d0410fc75afe3b3c146bee902cbd83e19fb8 Mon Sep 17 00:00:00 2001 From: Arthur Baars Date: Mon, 2 Jun 2025 13:43:16 +0200 Subject: [PATCH 2/6] Update CHANGELOG.md --- CHANGELOG.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9f8780a..df6571f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,20 @@ you know what to do). --> +## Release 2.21.4 (2025-06-02) + +### Deprecations + +- The `clang_vector_types`, `clang_attributes`, and `flax-vector-conversions` command + line options have been removed from the C/C++ extractor. These options were introduced + as workarounds to frontend limitations in earlier versions of the extractor and are + no longer needed when calling the extractor directly. + +### Miscellaneous + +- The build of Eclipse Temurin OpenJDK that is used to run the CodeQL + CLI has been updated to version 21.0.7. + ## Release 2.21.3 (2025-05-15) ### Miscellaneous From 81e6755f40ec81a3583d4e2ba929819b0b0fc375 Mon Sep 17 00:00:00 2001 From: Chuan-kai Lin Date: Wed, 11 Jun 2025 08:40:32 -0700 Subject: [PATCH 3/6] Update CHANGELOG.md for 2.22.0 --- CHANGELOG.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index df6571f..48b2c6e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,28 @@ you know what to do). --> +## Release 2.22.0 (2025-06-11) + +### Breaking changes + +- A number of breaking changes have been made to the C and C++ CodeQL test + environment as used by `codeql test run`: + - Options starting with a `/` are no longer supported by + `semmle-extractor-options`. Any option starting with a `/` should be + replaced by the equivalent option starting with a `-`, e.g., `/D` should be + replaced by `-D`. + - Preprocessor command line options of the form `-D#` are no + longer supported by `semmle-extractor-options`. `-D=` should be + used instead. + - The `/Fp` and `-o` options are no longer supported by + `semmle-extractor-options`. The options should be omitted. + - The `-emit-pch`, `-include-pch`, `/Yc`, and `/Yu` options, and the + `--preinclude` option taking a pre-compiled header as its argument, are no + longer supported by `semmle-extractor-options`. Any test that makes use of + this should be replaced by a test that invokes the CodeQL CLI with the + `create database` option and that runs the relevant queries on the created + database. + ## Release 2.21.4 (2025-06-02) ### Deprecations From 37a1db679b0bbb4e51158553a88d9bfa000efdf2 Mon Sep 17 00:00:00 2001 From: Arthur Baars Date: Thu, 26 Jun 2025 13:08:22 +0200 Subject: [PATCH 4/6] Update CHANGELOG.md for 2.22.1 --- CHANGELOG.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 48b2c6e..925d692 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,16 @@ you know what to do). --> +## Release 2.22.1 (2025-06-26) + +### New features + +- Rust language support is now in public preview. + +### Miscellaneous + +- The version of `jgit` used by the CodeQL CLI has been updated to `6.10.1.202505221210-r`. + ## Release 2.22.0 (2025-06-11) ### Breaking changes From a744fb1decf08c0ba3b90f4944b8019c94bee4f5 Mon Sep 17 00:00:00 2001 From: Chuan-kai Lin Date: Tue, 29 Jul 2025 10:00:27 -0700 Subject: [PATCH 5/6] Update CHANGELOG.md for 2.22.2 --- CHANGELOG.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 925d692..013ee91 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,17 @@ you know what to do). --> +## Release 2.22.2 (2025-07-29) + +### Bug fix + +- Fixes a bug in query suites where the `version` property of an `import` instruction was ignored. Previously, the following query suite would _not_ resolve to `v1.0.19` of `codeql/csharp-queries`. Instead it would resolve to the latest version. This is now fixed and the resolve pack version would be `v1.0.19`. + ``` + - from: codeql/csharp-queries + import: codeql-suites/csharp-security-and-quality.qls + version: 1.0.19 + ``` + ## Release 2.22.1 (2025-06-26) ### New features From d2abcd0678d06f9bb0375bc74e0bb4bda392014b Mon Sep 17 00:00:00 2001 From: Chuan-kai Lin Date: Wed, 6 Aug 2025 13:28:32 -0700 Subject: [PATCH 6/6] Update CHANGELOG.md for 2.22.3 --- CHANGELOG.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 013ee91..6ee09a5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,14 @@ you know what to do). --> +## Release 2.22.3 (2025-08-06) + +### New features + +- The `codeql database cleanup` command now takes the `--cache-cleanup=overlay` + option, which trims the cache to just the data that will be useful when + evaluating against an overlay. + ## Release 2.22.2 (2025-07-29) ### Bug fix