|
1 | 1 | # CodeQL CLI changelog |
2 | 2 |
|
| 3 | +## Release 2.3.0 (2020-09-28) |
| 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.25) of |
| 7 | + LGTM Enterprise. If you plan to upload databases to an LGTM |
| 8 | + Enterprise 1.25 instance, you need to create them with release |
| 9 | + 2.2.6. |
| 10 | + |
| 11 | +### Potentially breaking changes |
| 12 | + |
| 13 | +- The Java extractor no longer supports builds running on a Java 6 |
| 14 | + JRE. The minimum supported version is Java 7. |
| 15 | + |
| 16 | +- The interpretation of binding set annotations in QL has changed |
| 17 | + subtly. In rare cases, existing QL code that contains explicit |
| 18 | + binding set annotations on overriding class predicates may now be |
| 19 | + rejected with errors of the form "... is not bound to a value". You |
| 20 | + can fix this by adding explicit binding sets to the overridden |
| 21 | + predicate, or to the abstract class itself in the case of the |
| 22 | + characteristic predicate. For more information about binding sets, |
| 23 | + see [Annotations](https://help.semmle.com/QL/ql-handbook/annotations.html#binding-sets) |
| 24 | + in the QL language reference. |
| 25 | + |
| 26 | +### QL language improvements |
| 27 | + |
| 28 | +- You can now use binding sets on class bodies. This lets you |
| 29 | + explicitly annotate dynamically dispatched characteristic |
| 30 | + predicates. |
| 31 | + |
| 32 | +### New features |
| 33 | + |
| 34 | +- Query authors can use the new subcommand `codeql generate query-help` to |
| 35 | + validate query help files and render the files as Markdown. For more information, |
| 36 | + see [Testing query help files](https://help.semmle.com/codeql/codeql-cli/procedures/testing-query-help-files.html). |
| 37 | + |
| 38 | +- The new subcommand `codeql bqrs hash` computes a stable hash of a |
| 39 | + BQRS file. |
| 40 | + |
| 41 | +- `codeql query decompile` now accepts a `--kind` flag. This allows |
| 42 | + advanced users to choose which intermediate representation to show |
| 43 | + for a compiled QL query. `--kind dil` shows the Datalog |
| 44 | + representation while `--kind ra` shows the relational algebra |
| 45 | + representation used by the evaluator. |
| 46 | + |
3 | 47 | ## Release 2.2.6 (2020-09-11) |
4 | 48 |
|
5 | 49 | This release corresponds to release 1.25.x of LGTM Enterprise, and |
|
0 commit comments