Skip to content

v2.27.5

Latest

Choose a tag to compare

@codeql-ci-app codeql-ci-app released this 19 Nov 15:51
Immutable release. Only release title and notes can be modified.

Breaking Changes

  • The C/C++ extractor no longer supports Brotli compression. Users invoking the extractor directly should replace --trap-compression=brotli or --tar-entry-compression=brotli with the corresponding zstd option. The --brotli-quality option has also been removed.

Security Fixes

  • When invoked by codeql test run, extractors for XML, YAML, and Java .properties files 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's default_queries property instead of codeql/<language>-queries.
  • codeql test run now accepts .qlref consistency queries passed via --consistency-queries as it already does for ordinary unit tests, and applies the same .qlref precedence: if a .ql file has a synonymous .qlref file, the .qlref file is resolved and run instead, and the .ql file is skipped.

Query Language Changes

  • The string type now has built-in member predicates startsWith(string prefix),
    endsWith(string suffix), and contains(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.