v2.11.1
Breaking changes
- Pack installation using the CodeQL Packaging beta will now fail if a
compatible version cannot be found. This replaces the previous
behavior wherecodeql pack downloadand related commands would
instead install the latest version of the pack in this situation.
Deprecations
- The
--[no-]count-linesoption tocodeql database createand
related commands is now deprecated and will be removed in a future
release of the CodeQL CLI (earliest 2.12.0). It is replaced by
--[no-]calculate-baselineto reflect the additional baseline
information that is now captured as of this release.
New features
codeql database analyzeand related commands now support absolute
paths containing the@or:characters when specifying which queries
to run. To reference a query file, directory, or suite whose path contains
a literal@or:, prefix the query specifier withpath:, for example:codeql database analyze --format=sarif-latest --output=results <db> path:C:/Users/ci/workspace@2/security/query.ql
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.11.1.