Releases: github/codeql-cli-binaries
v2.23.1
Release 2.23.1 (2025-09-23)
New features
-
CodeQL now adds the sources and sinks of path alerts to the
relatedLocations
property of SARIF results if they are not included as the primary location or
within the alert message. This means that path alerts will show on PRs if a
source or sink is added or modified, even for queries that don't follow the
common convention of selecting the sink as the primary location and mentioning
the source in the alert message. -
CodeQL now populates file coverage information for GitHub Actions on
the tool status page for code scanning.
For more information about the changes included in this release, see the CodeQL CLI changelog.
You can download either the codeql-PLATFORM.zip
for your platform, or the generic codeql.zip
which contains binaries for all supported platforms. Please ignore the additional "source code" downloads below the .zip
artifacts.
This release is compatible with the CodeQL language packs from github/codeql@codeql-cli/v2.23.1
.
v2.23.0
Miscellaneous
- The build of Eclipse Temurin OpenJDK that is used to run the CodeQL
CLI has been updated to version 21.0.8.
For more information about the changes included in this release, see the CodeQL CLI changelog.
You can download either the codeql-PLATFORM.zip
for your platform, or the generic codeql.zip
which contains binaries for all supported platforms. Please ignore the additional "source code" downloads below the .zip
artifacts.
This release is compatible with the CodeQL language packs from github/codeql@codeql-cli/v2.23.0
.
v2.22.4
There are no user-facing CLI changes in this release.
For more information about the changes included in this release, see the CodeQL CLI changelog.
You can download either the codeql-PLATFORM.zip
for your platform, or the generic codeql.zip
which contains binaries for all supported platforms. Please ignore the additional "source code" downloads below the .zip
artifacts.
This release is compatible with the CodeQL language packs from github/codeql@codeql-cli/v2.22.4
.
v2.22.3
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.
For more information about the changes included in this release, see the CodeQL CLI changelog.
You can download either the codeql-PLATFORM.zip
for your platform, or the generic codeql.zip
which contains binaries for all supported platforms. Please ignore the additional "source code" downloads below the .zip
artifacts.
This release is compatible with the CodeQL language packs from github/codeql@codeql-cli/v2.22.3
.
v2.22.2
Bug fix
- Fixes a bug in query suites where the
version
property of animport
instruction was ignored.
For more information about the changes included in this release, see the CodeQL CLI changelog.
You can download either the codeql-PLATFORM.zip
for your platform, or the generic codeql.zip
which contains binaries for all supported platforms. Please ignore the additional "source code" downloads below the .zip
artifacts.
This release is compatible with the CodeQL language packs from github/codeql@codeql-cli/v2.22.2
.
v2.22.1
New features
- Rust language support is now in public preview.
Miscellaneous
- The version of
jgit
used by the CodeQL CLI has been updated to6.10.1.202505221210-r
.
For more information about the changes included in this release, see the CodeQL CLI changelog.
You can download either the codeql-PLATFORM.zip
for your platform, or the generic codeql.zip
which contains binaries for all supported platforms. Please ignore the additional "source code" downloads below the .zip
artifacts.
This release is compatible with the CodeQL language packs from github/codeql@codeql-cli/v2.22.1
.
v2.22.0
Breaking changes
- A number of breaking changes have been made to the C and C++ CodeQL test environment as used by
codeql test run
.
For more information about the changes included in this release, see the CodeQL CLI changelog.
You can download either the codeql-PLATFORM.zip
for your platform, or the generic codeql.zip
which contains binaries for all supported platforms. Please ignore the additional "source code" downloads below the .zip
artifacts.
This release is compatible with the CodeQL language packs from github/codeql@codeql-cli/v2.22.0
.
v2.21.4
Deprecations
- The
clang_vector_types
,clang_attributes
, andflax-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.
For more information about the changes included in this release, see the CodeQL CLI changelog.
You can download either the codeql-PLATFORM.zip
for your platform, or the generic codeql.zip
which contains binaries for all supported platforms. Please ignore the additional "source code" downloads below the .zip
artifacts.
This release is compatible with the CodeQL language packs from github/codeql@codeql-cli/v2.21.4
.
v2.21.3
Miscellaneous
- Windows binaries for the CodeQL CLI are now built with
/guard:cf
, enabling Control Flow Guard.
For more information about the changes included in this release, see the CodeQL CLI changelog.
You can download either the codeql-PLATFORM.zip
for your platform, or the generic codeql.zip
which contains binaries for all supported platforms. Please ignore the additional "source code" downloads below the .zip
artifacts.
This release is compatible with the CodeQL language packs from github/codeql@codeql-cli/v2.21.3
.
v2.21.2
Bugs fixed
codeql generate log-summary
now correctly includesdependencies
maps in predicate events forCOMPUTED_EXTENSIONAL
predicates.
For more information about the changes included in this release, see the CodeQL CLI changelog.
You can download either the codeql-PLATFORM.zip
for your platform, or the generic codeql.zip
which contains binaries for all supported platforms. Please ignore the additional "source code" downloads below the .zip
artifacts.
This release is compatible with the CodeQL language packs from github/codeql@codeql-cli/v2.21.2
.