Releases: github/codeql-cli-binaries
v2.2.0
Introduces support for a new QL language feature, union types, which will start being used at https:/github/codeql over the coming weeks and months.
Starting with this release, the CodeQL CLI can be downloaded either as a single codeql.zip
file containing the CLI for all supported platforms, or as a codeql-PLATFORM.zip
that contains the files for just one platform. The single-platform zips are faster to download, but otherwise provide equivalent functionality.
For more information about the changes included in this release, see the CodeQL CLI changelog.
Please ignore the additional "source code" downloads below the .zip
artifacts.
v2.1.4
This release corresponds to release 1.24.x of LGTM Enterprise, and should be used when creating databases that will be uploaded to it.
Future CLI releases (numbered 2.2.x) may produce databases that are not backwards compatible with this version of LGTM Enterprise.
For all puposes other than creating databases for LGTM Enterprise we recommend that you continue upgrading to 2.2.x CLI releases as they become available. In fact, you might want to skip this one; a 2.2.0 release that tracks LGTM.com instead should arrive later this week.
-
A new
codeql query format
command exposes the QL autoformatter for use on the command line. -
-J
command-line options that contain spaces now ought to work on Windows. They still do not work reliably on Linux or MacOS, though.
For more information about the changes included in this release, see the CodeQL CLI changelog.
Please ignore the additional "source code" downloads below the codeql.zip
artifact.
v2.1.3
-
Fixes a bug in
codeql execute cli-server
(a helper used by the VS Code extension) which would sometimes cause query compilation to fail until the extension was restarted. -
Fixes a bug in
codeql database upgrade
which could lead to performance losses if the upgraded database was subsequently used with LGTM or the legacy Semmle Core product. -
Fixes a bug in the QL evaluator that would sometimes lead to crashes for queries that use the new
unique
aggregate added in release 2.1.0. -
The value of the
--compilation-cache-size
option is now correctly interpreted as a number of megabytes rather than a number of bytes.
This release still should not be used if you plan to create databases for upload to LGTM Enterprise.
For more information about the changes included in this release, see the CodeQL CLI changelog.
Please ignore the additional "source code" downloads below the codeql.zip
artifact.
v2.1.2
Potentially breaking change: In query suite definitions, filter instructions that filter on the query path
pseudo-tag will now always see the relative path to the query expressed with /
as a directory separator, independently on the platform. Previously they erroneously used the platform's directory separator, meaning that query suites developed on Windows would not work correctly on Unix systems (and vice versa) if they used query path
. Existing suite definitions developed on Windows may need to be updated to match the new behavior.
Updated license terms to allow CI use with GitHub Actions for open-source software.
This release still should not be used if you plan to create databases for upload to LGTM Enterprise.
For more information about the changes included in this release, see the CodeQL CLI changelog.
Please ignore the additional "source code" downloads below the codeql.zip
artifact.
v2.1.1
Version 2.1.1 of the CodeQL CLI.
This release updates the bundled extractors to match the versions currently used on LGTM.com. It also introduces a few new features which will not be relevant for most users. For more information, see the CodeQL CLI changelog.
This release still should not be used if you plan to create databases for upload to LGTM Enterprise.
Please ignore the additional "source code" downloads below the codeql.zip
artifact.
v2.1.0
Version 2.1.0 of the CodeQL CLI.
This release contains several feature updates, including a few that might -- in certain very rare cases -- possibly break existing workflows. See the CodeQL CLI changelog for the full story.
This release still should not be used if you plan to create databases for upload to LGTM Enterprise.
Please ignore the additional "source code" downloads below the codeql.zip
artifact.
v2.0.6
Version 2.0.6 of the CodeQL CLI.
-
Fixes a problem preventing
codeql database create
from working with Python 3 on MacOS. -
Fixes a problem preventing
codeql database create
from finding locally installed Python packages. -
Otherwise identical to release 2.0.5.
Please ignore the additional "source code" downloads below the codeql.zip
artifact.
v2.0.5
Version 2.0.5 of the CodeQL CLI.
The bundled extractors (which are responsible for converting source code to databases for each supported language) are updated to match the versions currently used on LGTM.com. These are newer than the last release of LGTM Enterprise, so this release should not be used if you plan to upload databases to an LGTM Enterprise instance.
For more information about the changes included in this release, see the CodeQL CLI changelog.
Please ignore the additional "source code" downloads below the codeql.zip
artifact.
v2.0.4
Version 2.0.4 of the CodeQL CLI.
The bundled extractors (which are responsible for converting source code to databases for each supported language) are updated to match the versions currently used on LGTM.com. These are newer than the last release of LGTM Enterprise, so this release should not be used if you plan to upload databases to an LGTM Enterprise instance.
For more information about the changes included in this release, see the CodeQL CLI changelog.
Please ignore the additional "source code" downloads below the codeql.zip
artifact.
v2.0.3
Version 2.0.3 of the CodeQL CLI.
This release fixes a bug where codeql test run
would fail with the message
com.semmle.util.exception.CatastrophicError: There should be a --library-path option for com.semmle.cli2.LibraryPathOptions.libraryPath but we didn't find it.
when running tests against the master
branch of the CodeQL libraries for certain languages.
Otherwise identical to release 2.0.2.
Please ignore the additional "source code" downloads below the codeql.zip
artifact.