v2.7.2
- The bundled extractors are updated to match the versions currently used on LGTM.com. These are newer than the last release (1.28) of LGTM Enterprise. If you plan to upload databases to an LGTM Enterprise 1.28 instance, you need to create them with release 2.5.9.
Potentially breaking changes
-
The Java extractor now defaults to extracting all XML documents under 10MB in size, a change from the previous default of only extracting documents with particular well-known names (e.g.
pom.xml). However, if the source tree contains more than 50MB of XML in total, it prints a warning and falls back to the old default behaviour. Set the environment variableLGTM_INDEX_XML_MODEtobynameto get the old default behaviour, orallto extract all documents under 10MB regardless of total size. -
The experimental command-line option
--native-library-paththat was introduced to support internal experiments has been removed. -
The beta
codeql pack publishcommand will now prevent accidental publishing of packages with pre-release version qualifiers. Prerelease versions are those that include a-after the major, minor, and patch versions such as1.2.3-dev. To avoid this change, use the--allow-prereleaseoption.
Bugs fixed
-
Fixed an issue when using the
--evaluator-logoption where aNullPointerExceptioncould sometimes occur non-deterministically. -
Fixed bugs observed when using indirect build tracing using a CodeQL distribution unpacked to a path containing spaces or on Arch Linux.
New features
- CodeQL databases now contain metadata about how and when they were created. This can be found in the
creationMetadatafield of thecodeql-database.ymlfile within the CodeQL database directory. More information may be added to this field in future releases.
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.