Skip to content

v2.12.0

Compare
Choose a tag to compare
@codeql-ci codeql-ci released this 10 Jan 20:47
· 82 commits to main since this release

Breaking changes

  • The --[no-]count-lines option to codeql database create and related commands that was
    deprecated in 2.11.1 has been removed. Users of this option should instead pass
    --[no-]calculate-baseline.

New features

  • Query packs created by codeql pack create, codeql pack bundle, and codeql pack release now
    contain precompiled queries in a new format that aims to be compatible with future (and, to a
    certain extent, past) releases of the CodeQL CLI. Previously the precompiled queries were in a
    format specific to each CLI release, and all other releases would need to re-compile queries.
  • The codeql database init command now accepts a PAT that allows you to download queries from
    external, private repositories when using the --codescanning-config <config-file> option.
  • The baseline information produced by codeql database init and
    codeql database create now accounts for
    paths and paths-ignore configuration.
  • In the VS Code extension, recursive calls will be marked with inlay
    hints.
  • The CLI now gives a more helpful error message when asked to run queries on a
    database that has not been finalized.

Bugs fixed

  • Fixed a bug where the codeql pack install command would fail if
    a CodeQL configuration file
    is used and the --additional-packs option is specified.

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.12.0.