v2.11.2
Breaking changes
-
Bundling and publishing a CodeQL pack will no longer include nested CodeQL packs. If you want to include a nested pack in your published pack, then you must explicitly include it using the
includeproperty in the top-levelqlpack.ymlfile.For example, if your package structure looks like this:
qlpack.yml nested-pack ∟ qlpack.yml query.qlthen the contents of
nested-packwill not be included by default within the published package. To includenested-pack, add an entry like this to the top levelqlpack.ymlfile:include: - nested-pack/**
Bugs fixed
-
Using the
--codescanning-config=<file>option incodeql database initwill now correctly process thepathsandpathsIgnoreproperties of the configuration file in a way that is identical to the behavior of thecodeql-action. Previously,pathsorpathsIgnoreentries that end in/**or start with/were incorrectly rejected by the CLI. -
Fixed a bug where the
--compilation-cacheoption tocodeql pack publishandcodeql pack createwas being ignored when creating a query pack. Now, the indicated cache is used when pre-compiling the queries in it. -
Fixed a bug that would make the "Show DIL" command in the VSCode extension display nothing.
Other changes
- Emit a detailed warning if package resolution fails, the legacy
--search-pathoption is provided, and there is at least one referenced pack that does not use legacy package resolution. In this case,--additional-packsshould be used to extend the search to additional directories, instead of--search-path.
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.2.