v2.12.4
Breaking changes
- The default value of the
--mode
switch tocodeql pack install
has changed. The default is now--mode minimal-update
.
Previously, it wasuse-lock
.
New features
- The per-pack compilation cache has been replaced with a global compilation cache
found within~/.codeql
. codeql pack install
now uses a new algorithm to determine which versions of
the pack's dependencies to use, based on the PubGrub
algorithm.- Added a new command,
codeql pack upgrade
. This command is similar tocodeql pack install
,
except that it ignores any existing lock file, installs the latest compatible version of each
dependency, and writes a new lock file. - Added a new command,
codeql pack ci
. This command is similar tocodeql pack install
,
except if the existing lock file is missing, or if it conflicts with the version constraints in
theqlpack.yml
file, the command generates an error.
Deprecations
- The
--freeze
switch forcodeql pack create
,codeql pack bundle
, andcodeql pack publish
is now deprecated and ignored, as there is no longer a cache within a pack. - The
--mode update
switch tocodeql pack resolve-dependencies
is now deprecated. - The
--mode
switch tocodeql pack install
is now deprecated.
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.12.4
.