Skip to content

Commit 769affc

Browse files
committed
changelog for 2.5.5
1 parent 861cb82 commit 769affc

File tree

1 file changed

+66
-4
lines changed

1 file changed

+66
-4
lines changed

CHANGELOG.md

Lines changed: 66 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,70 @@
11
# CodeQL CLI changelog
22

3+
<!-- *********************************
4+
** **
5+
** DO NOT EDIT THIS FILE! **
6+
** **
7+
*********************************
8+
.
9+
Pull requests should instead drop Markdown snippets in the
10+
subdirectory `unreleased-changelog-entries` found next to
11+
the authoritative copy of this file in semmle-code.
12+
Please include a three-hash heading such as "Bugs fixed"
13+
and format your snippet as a list item.
14+
.
15+
(Okay, if you're the CLI release manager following the
16+
checklist for a CLI release, you can edit here. But then
17+
you know what to do).
18+
-->
19+
20+
## Release 2.5.5 (2021-05-17)
21+
22+
- The bundled extractors are updated to match the versions currently
23+
used on LGTM.com. These are newer than the last release (1.27) of
24+
LGTM Enterprise. If you plan to upload databases to an LGTM
25+
Enterprise 1.27 instance, you need to create them with release
26+
2.4.6.
27+
28+
### Potentially breaking changes
29+
30+
- When scanning the disk for QL packs and extractors, directories of
31+
the form `.../SOMETHING/SOMETHING.testproj` (where the two
32+
`SOMETHING` are identical) will now be ignored. Names of this form
33+
are used by `codeql test run` for ephemeral test databases, which
34+
can sometimes contain files that confuse QL compilations.
35+
36+
### Features added
37+
38+
- Query writers can now optionally use `@severity` in place of
39+
`@problem.severity` in the metadata for alert queries. SARIF
40+
consumers should continue to consume this severity information using
41+
the `rule.defaultConfiguration.level` property for SARIF v2.1.0, and
42+
corresponding properties for other versions of SARIF. They should
43+
not depend on the value stored in the `rule.properties` property
44+
bag, since this will contain either `@problem.severity` or
45+
`@severity` based on exactly what was written in the query metadata.
46+
47+
- When exporting analysis results to SARIF v2.1.0, results and metric
48+
results now contain a [reporting descriptor reference object][1]
49+
that specifies the rule that produced them. For metric results, this
50+
new property replaces the `metric` property.
51+
52+
[1]: https://docs.oasis-open.org/sarif/sarif/v2.1.0/csprd01/sarif-v2.1.0-csprd01.html#_Toc10541300
53+
54+
- `codeql database analyze` now outputs a table that summarises the
55+
results of metric queries that were part of the analysis. This can
56+
be suppressed by passing the `--no-print-metrics-summary` flag.
57+
58+
### Bugs fixed
59+
60+
- When using the `--sarif-group-rules-by-pack` flag to place the SARIF
61+
rule object for each query underneath its corresponding query pack
62+
in `runs[].tool.extensions`, the `rule` property of result objects
63+
can now be used to look up the rule within the `rules` property of
64+
the appropriate query pack in `runs[].tool.extensions`. Previously,
65+
rule lookup for result objects in the SARIF output was not
66+
well-defined when the `--sarif-group-rules-by-pack` flag was passed.
67+
368
## Release 2.5.4 (2021-05-03)
469

570
- This release is identical to release 2.5.3, except that
@@ -9,10 +74,7 @@
974
`--sarif-category` was autogenerated if not present.
1075
- Code Scanning users should upgrade to this version and
1176
avoid 2.5.3.
12-
- If you plan to upload databases to an LGTM
13-
Enterprise 1.27 instance, you need to create them with release
14-
2.4.6.
15-
77+
1678
## Release 2.5.3 (2021-04-30)
1779

1880
- The bundled extractors are updated to match the versions currently

0 commit comments

Comments
 (0)