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
include
property in the top-levelqlpack.yml
file.For example, if your package structure looks like this:
qlpack.yml nested-pack ∟ qlpack.yml query.ql
then the contents of
nested-pack
will not be included by default within the published package. To includenested-pack
, add an entry like this to the top levelqlpack.yml
file:include: - nested-pack/**
Bugs fixed
-
Using the
--codescanning-config=<file>
option incodeql database init
will now correctly process thepaths
andpathsIgnore
properties of the configuration file in a way that is identical to the behavior of thecodeql-action
. Previously,paths
orpathsIgnore
entries that end in/**
or start with/
were incorrectly rejected by the CLI. -
Fixed a bug where the
--compilation-cache
option tocodeql pack publish
andcodeql pack create
was 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-path
option is provided, and there is at least one referenced pack that does not use legacy package resolution. In this case,--additional-packs
should 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
.