Releases: github/codeql-cli-binaries
v2.11.6
Breaking changes
- Java and Kotlin analyses in this release of the CLI and all earlier releases are incompatible with Kotlin 1.7.30 and later. To prevent code scanning alerts being spuriously dismissed, Java and Kotlin analyses will now fail when using Kotlin 1.7.30 or later.
Bugs fixed
- Fixed a bug where it was not possible to run queries in CodeQL query packs for C# that use the legacy
libraryPathDependenciesproperty in theirqlpack.ymlfile. The associated error message complained about undefined 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.11.6.
v2.11.5
Bugs Fixed
- Fixed a bug that could cause log summary generation to fail in vscode.
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.11.5.
v2.11.4
New features
- Kotlin support is now in beta. This means that Java analyses will also include Kotlin code by default.
Potentially breaking changes
- CodeQL 2.11.1 to 2.11.3 contained a bug in indirect build tracing on Windows. See the full notes in the CodeQL CLI changelog for details.
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.11.4.
v2.11.3
Breaking changes
- The
codeql pack ls --format jsondeep plumbing command now returns only thenameandversionproperties for each found pack.
Potentially breaking changes
codeql pack download,codeql pack install, andcodeql pack addwill ignore CodeQL packs with pre-release versions, unless the--allow-prereleaseoption is passed to the command. This brings these commands into alignment withcodeql pack publishthat will avoid publishing CodeQL packs with pre-release versions unless the--allow-prereleaseoption is specified.
Deprecations
- The
--[no-]fast-compilationoption tocodeql query compileis now deprecated.
New features
codeql resolve filesandcodeql database index-fileshave a new--find-anyoption, which finds at most one match.
Miscellaneous
- The build of Apache Commons Text that is bundled with the CodeQL CLI has been updated to version 1.10.0. While previous releases shipped with version 1.6 of the library, no part of the CodeQL CLI references the
StringSubstitutorclass that the recently disclosed CVE-2022-42889 vulnerability applies to. We therefore do not believe that running previous releases of CodeQL exposes users to this vulnerability. - The build of Eclipse Temurin OpenJDK that is bundled with the CodeQL CLI has been updated to version 17.0.5.
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.11.3.
v2.11.2
Breaking changes
-
Bundling and publishing a CodeQL pack will no longer include nested CodeQL packs. If you want to include a nested pack in your published pack, then you must explicitly include it using the
includeproperty in the top-levelqlpack.ymlfile.For example, if your package structure looks like this:
qlpack.yml nested-pack ∟ qlpack.yml query.qlthen the contents of
nested-packwill not be included by default within the published package. To includenested-pack, add an entry like this to the top levelqlpack.ymlfile:include: - nested-pack/**
Bugs fixed
-
Using the
--codescanning-config=<file>option incodeql database initwill now correctly process thepathsandpathsIgnoreproperties of the configuration file in a way that is identical to the behavior of thecodeql-action. Previously,pathsorpathsIgnoreentries that end in/**or start with/were incorrectly rejected by the CLI. -
Fixed a bug where the
--compilation-cacheoption tocodeql pack publishandcodeql pack createwas being ignored when creating a query pack. Now, the indicated cache is used when pre-compiling the queries in it. -
Fixed a bug that would make the "Show DIL" command in the VSCode extension display nothing.
Other changes
- Emit a detailed warning if package resolution fails, the legacy
--search-pathoption is provided, and there is at least one referenced pack that does not use legacy package resolution. In this case,--additional-packsshould be used to extend the search to additional directories, instead of--search-path.
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.11.2.
v2.11.1
Breaking changes
- Pack installation using the CodeQL Packaging beta will now fail if a
compatible version cannot be found. This replaces the previous
behavior wherecodeql pack downloadand related commands would
instead install the latest version of the pack in this situation.
Deprecations
- The
--[no-]count-linesoption tocodeql database createand
related commands is now deprecated and will be removed in a future
release of the CodeQL CLI (earliest 2.12.0). It is replaced by
--[no-]calculate-baselineto reflect the additional baseline
information that is now captured as of this release.
New features
codeql database analyzeand related commands now support absolute
paths containing the@or:characters when specifying which queries
to run. To reference a query file, directory, or suite whose path contains
a literal@or:, prefix the query specifier withpath:, for example:codeql database analyze --format=sarif-latest --output=results <db> path:C:/Users/ci/workspace@2/security/query.ql
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.11.1.
v2.11.0
Deprecation
- The CodeQL CLI now uses Python 3 to extract both Python 2 and Python 3 databases. Correspondingly, support for using Python 2 to extract Python databases is now deprecated. Starting with version 2.11.3, you will need to install Python 3 to extract Python databases.
Miscellaneous
- The build of Eclipse Temurin OpenJDK that is bundled with the CodeQL CLI has been updated to version 17.0.4.
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.11.0.
v2.10.5
You can now define which registries should be used for downloading and publishing CodeQL packs on a
per-workspace basis by creating a codeql-workspace.yml file and adding a registries block. For
more infomation, see About CodeQL Workspaces.
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.10.5.
v2.10.4
The bundled extractors are updated to match the versions currently used on LGTM.com. These are newer than the last release (1.30) of LGTM Enterprise. If you plan to upload databases to an LGTM Enterprise 1.30 instance, you need to create them with release 2.7.6.
- This release does not include any user-facing changes.
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.10.4.
v2.10.3
The bundled extractors are updated to match the versions currently used on LGTM.com. These are newer than the last release (1.30) of LGTM Enterprise. If you plan to upload databases to an LGTM Enterprise 1.30 instance, you need to create them with release 2.7.6.
New features
- When called with
--start-tracing, thecodeql database initcommand now accepts extractor options for the indirect tracing environment via--extractor-option. Users should continue to specify extractor options for direct tracing environments by passing them tocodeql database trace-commandinvocations.
Other changes
- The build of Eclipse Temurin OpenJDK that is bundled with the CodeQL CLI has been updated to version 17.0.4.
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.10.3.

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.
