Skip to content

Releases: github/codeql-cli-binaries

v2.23.1

23 Sep 13:41
Immutable release. Only release title and notes can be modified.
Compare
Choose a tag to compare

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

04 Sep 15:04
108cd20
Compare
Choose a tag to compare

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

21 Aug 10:50
99380d9
Compare
Choose a tag to compare

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

06 Aug 20:31
Compare
Choose a tag to compare

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

29 Jul 17:13
Compare
Choose a tag to compare

Bug fix

  • Fixes a bug in query suites where the version property of an import 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

26 Jun 11:09
37a1db6
Compare
Choose a tag to compare

New features

  • Rust language support is now in public preview.

Miscellaneous

  • The version of jgit used by the CodeQL CLI has been updated to 6.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

11 Jun 15:44
Compare
Choose a tag to compare

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

02 Jun 11:51
f1c6d04
Compare
Choose a tag to compare

Deprecations

  • The clang_vector_types, clang_attributes, and flax-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

15 May 11:43
2cf2d17
Compare
Choose a tag to compare

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

01 May 12:36
Compare
Choose a tag to compare

Bugs fixed

  • codeql generate log-summary now correctly includes dependencies maps in predicate events for COMPUTED_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.