Skip to content

v2.12.4

Compare
Choose a tag to compare
@codeql-ci codeql-ci released this 09 Mar 15:32
· 74 commits to main since this release

Breaking changes

  • The default value of the --mode switch to codeql pack install has changed. The default is now --mode minimal-update.
    Previously, it was use-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 to codeql 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 to codeql pack install,
    except if the existing lock file is missing, or if it conflicts with the version constraints in
    the qlpack.yml file, the command generates an error.

Deprecations

  • The --freeze switch for codeql pack create, codeql pack bundle, and codeql pack publish
    is now deprecated and ignored, as there is no longer a cache within a pack.
  • The --mode update switch to codeql pack resolve-dependencies is now deprecated.
  • The --mode switch to codeql 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.