Skip to content

Releases: github/codeql-cli-binaries

v2.2.1

31 May 10:08

Choose a tag to compare

This it actually release 2.2.0 but a dummy release that contains just the codeql.zip download and not the new platform-specific ones. This is necessary for existing versions of the Visual Studio Code extension, which get confused by seeing a "latest" release that has more than one binary asset.

If you're not the Visual Studio Code extension, please ignore this release.

v2.2.0

29 May 17:39

Choose a tag to compare

Introduces support for a new QL language feature, union types, which will start being used at https://github.com/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

26 May 14:49

Choose a tag to compare

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

13 May 14:12

Choose a tag to compare

  • 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

06 May 10:23

Choose a tag to compare

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

20 Apr 22:33
9c56568

Choose a tag to compare

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

27 Mar 23:44
9c56568

Choose a tag to compare

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

16 Mar 22:32
9c56568

Choose a tag to compare

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

13 Mar 00:06
9c56568

Choose a tag to compare

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

21 Feb 15:26
9c56568

Choose a tag to compare

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.