v2.12.0
Breaking changes
- The
--[no-]count-linesoption tocodeql database createand 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, andcodeql pack releasenow
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 initcommand 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 initand
codeql database createnow accounts for
pathsandpaths-ignoreconfiguration. - 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 installcommand would fail if
a CodeQL configuration file
is used and the--additional-packsoption 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.