Skip to content

Commit bac6f8e

Browse files
committed
changelog for release 2.5.1
1 parent 7765dc8 commit bac6f8e

File tree

1 file changed

+57
-0
lines changed

1 file changed

+57
-0
lines changed

CHANGELOG.md

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,62 @@
11
# CodeQL CLI changelog
22

3+
## Release 2.5.1 (2021-04-19)
4+
5+
- The bundled extractors are updated to match the versions currently
6+
used on LGTM.com. These are newer than the last release (1.27) of
7+
LGTM Enterprise. If you plan to upload databases to an LGTM
8+
Enterprise 1.27 instance, you need to create them with release
9+
2.4.6.
10+
11+
### Potentially breaking changes
12+
13+
- The QL compiler will now reject queries where the query metadata (if
14+
present) at the top of the `.ql` file is inconsistent with the
15+
output format of the query. This check can be disabled by giving
16+
the `--no-metadata-verification` flag. (The flag already existed
17+
but has not had any effect until now.)
18+
19+
### Bugs fixed
20+
21+
- Environment variables required for Java extraction are now
22+
propagated by the tracer. This may resolve issues with tracing and
23+
extraction in the context of certain build systems such as Bazel.
24+
25+
- A number of `--check-CONDITION` options to `codeql database
26+
finalize` and `codeql dataset import` designed to look for
27+
consistency errors in the intermediate "TRAP" output from extractors
28+
erroneously did nothing. They will now actually print warnings if
29+
errors are found. The warnings become fatal errors if the new
30+
`--fail-on-trap-errors` option is also given.
31+
32+
### Features added
33+
34+
- `codeql resolve qlref` is a new command that takes in a `.qlref`
35+
file for a CodeQL test case and returns the path of the `.ql` file
36+
it references.
37+
38+
- `codeql database analyze` and `codeql database interpret-results`
39+
have a new `--sarif-group-rules-by-pack` option which will place the
40+
SARIF rule object for each query underneath its corresponding query
41+
pack in `runs[].tool.extensions`.
42+
43+
- `codeql database finalize` and `codeql dataset import` have a new
44+
`--fail-on-trap-errors` option that will make database creation fail
45+
if extractors produce ill-formatted "TRAP" data for inclusion into a
46+
database. This is not enabled by default because some of the
47+
existing extractors have minor output bugs that cause the check to
48+
fail.
49+
50+
- `codeql database finalize` and `codeql dataset import` have a new
51+
`--check-undefined-labels` option that enables stricter consistency
52+
checks on the "TRAP" output from extractors.
53+
54+
### QL language improvements
55+
56+
- `super` may now be used unqualified, e.g. `super.predicateName()`,
57+
when the declaring class has multiple super types, as long as the
58+
call itself is unambiguous.
59+
360
## Release 2.5.0 (2021-03-26)
461

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

0 commit comments

Comments
 (0)