v2.12.4
Breaking changes
- The default value of the
--modeswitch tocodeql pack installhas 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 installnow 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.ymlfile, the command generates an error.
Deprecations
- The
--freezeswitch 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 updateswitch tocodeql pack resolve-dependenciesis now deprecated. - The
--modeswitch tocodeql pack installis 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.