Repository navigation
Breaking Changes
- The C/C++ extractor no longer supports Brotli compression. Users invoking the extractor directly should replace
--trap-compression=brotlior--tar-entry-compression=brotliwith the correspondingzstdoption. The--brotli-qualityoption has also been removed.
Security Fixes
- When invoked by
codeql test run, extractors for XML, YAML, and Java.propertiesfiles run in a
mode that traverses the source root directory and extracts all relevant files. This mode has been
updated so that it no longer follows symbolic links.
Bug Fixes
- When choosing the default queries for a language whose extractor is found on
--search-path, the CLI now uses the extractor'sdefault_queriesproperty instead ofcodeql/<language>-queries. codeql test runnow accepts.qlrefconsistency queries passed via--consistency-queriesas it already does for ordinary unit tests, and applies the same.qlrefprecedence: if a.qlfile has a synonymous.qlreffile, the.qlreffile is resolved and run instead, and the.qlfile is skipped.
Query Language Changes
- The
stringtype now has built-in member predicatesstartsWith(string prefix),
endsWith(string suffix), andcontains(string substring). These perform
case-sensitive matching of literal strings, without wildcards or regular
expressions. All three predicates hold for an empty argument.
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 covers Linux x64, Windows x64 and macOS (including Apple Silicon). Linux arm64 binaries are available as a per-platform codeql-linux-arm64.zip only. Please ignore the additional "source code" downloads below the .zip artifacts.
Warning
The generic codeql.zip (binaries for all x86-64 platforms) is deprecated and will be removed in a future release. Please download the codeql-PLATFORM.zip for your platform instead. Note that arm64 binaries are only available as a per-platform codeql-linux-arm64.zip.
This release is compatible with the CodeQL language packs from github/codeql@codeql-cli/v2.27.5.