Releases: github/codeql-cli-binaries
v2.23.3
Breaking changes
- The
--permissivecommand line option has been removed from the C/C++ extractor, and passing the option will make the extractor fail. When calling the extractor directly,--permissiveshould no longer be passed.
Bugs fixed
- Fixed a bug that made many
codeqlsubcommands fail with the messagenot in while, until, select, or repeat loopon Linux or macOS systems where/bin/shiszsh.
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.3.
v2.23.2
New features
- CodeQL Go analysis now supports the "Git Source" type for private package registries. This is in addition to the existing support for the "GOPROXY server" type.
Fixes
- The
codeql generate query-helpcommand now prepends the query's name (taken from the.qlfile) as a level-one heading when processing markdown query help, for consistency with help generated from a.qhelpfile.
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.2.
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 cleanupcommand now takes the--cache-cleanup=overlayoption, 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
versionproperty of animportinstruction 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
jgitused 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-conversionscommand
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.