v2.6.2
-
CodeQL CLI 2.6.2 includes the same functionality as the CodeQL runner, which is being deprecated. For more information, see: CodeQL runner deprecation.
-
The bundled extractors are updated to match the versions currently used on LGTM.com. These are newer than the last release (1.27) of LGTM Enterprise. If you plan to upload databases to an LGTM Enterprise 1.27 instance, you need to create them with release 2.4.6.
Bugs fixed
- A bug where
codeql generate log-summarywould sometimes crash with aJsonMappingExceptionhas been fixed.
New features
- The CodeQL CLI now counts the lines of code found under
--source-rootwhencodeql database initorcodeql database createis called. This information can be viewed later by either the newcodeql database print-baselinecommand or the new--print-baseline-locargument tocodeql database interpret-results. qlpack.ymlfiles now support an additional fieldincludein which glob patterns of additional files that should be included (or excluded) when creating a given CodeQL pack can be specified.- QL packs created by the experimental
codeql pack createcommand will now include some information about the build in a newbuildMetadatafield of theirqlpack.ymlfile. codeql database createnow supports the same flags ascodeql database initfor automatically recognizing the languages present in checkouts of GitHub repositories:--github-urlaccepts the URL of a custom GitHub instance (previously onlygithub.comwas supported).--github-auth-stdinallows a personal access token to be provided through standard input (previously only theGITHUB_TOKENenvironment variable was supported).
Notable documentation changes
- Documentation has been added detailing how to use the "indirect build tracing" feature, which is enabled by using the
--begin-tracingflag provided bycodeql database init. The new documentation can be found here. This feature was temporarily described as "sandwiched tracing" in the 2.6.0 release notes.
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.