|
16 | 16 | checklist for a CLI release, you can edit here. But then
|
17 | 17 | you know what to do).
|
18 | 18 | -->
|
| 19 | +## Release 2.15.3 (2023-11-22) |
| 20 | + |
| 21 | +### New features |
| 22 | + |
| 23 | +- A new compilation flag (`--fail-on-ambiguous-relation-name`) has been added to specify |
| 24 | + that compilation should fail if the compiler generates an ambiguous relation name. |
| 25 | +- The new (advanced) command-line option `--[no-]linkage-aware-import` disables the |
| 26 | + linkage-awareness phase of `codeql dataset import`, as a quick fix (at the expense of |
| 27 | + database completeness) for C++ projects where this part of database creation consumes |
| 28 | + too much memory. This option is available in the commands `database create`, |
| 29 | + `database finalize`, `database import`, `dataset import`, `test extract`, and |
| 30 | + `test run`. |
| 31 | +- The CodeQL language server now provides basic support for Rename, and you can |
| 32 | + now use the Rename Symbol functionality in Visual Studio Code for CodeQL. The |
| 33 | + current Rename support is less a refactoring tool and more a labor-saving |
| 34 | + device. You may have to perform some manual edits after using Rename, but it |
| 35 | + should still be faster and less work than renaming a symbol manually. |
| 36 | +- `codeql database analyze` now defaults to include markdown query help for all custom |
| 37 | + queries with help files available. To change the default behaviour you can pass the |
| 38 | + new flag `--sarif-include-query-help`, which provides the options `always` (which |
| 39 | + includes query help for all queries), `custom_queries_only` (the default) and `never` |
| 40 | + (which does not include query help for any query). The existing flag |
| 41 | + `--sarif-add-query-help` has been deprecated and will be removed in a future release. |
| 42 | + |
| 43 | +### Improvements |
| 44 | + |
| 45 | +- The Find References feature in the CodeQL language server now supports all |
| 46 | + CodeQL identifiers and offers improved performance compared to CodeQL CLI |
| 47 | + 2.14 releases. |
| 48 | +- The compiler generates shorter human-readable DIL and RA relation names. Due |
| 49 | + to use of an extended character set, full VS Code support for short relation |
| 50 | + names requires VS Code extension 1.9.4 or newer. |
| 51 | +- `codeql database create` and `codeql database finalize` now log more diagnostic |
| 52 | + information during database finalization, including the size of each relation, their |
| 53 | + total size, and the rate at which they were written to disk. |
| 54 | + |
| 55 | +### Bugs fixed |
| 56 | + |
| 57 | +- Fixed an internal error in the compiler when arguments to the `codePointCount` string |
| 58 | + primitive were not bound. |
| 59 | +- Fixed a bug where `codeql database finalize` would fail if a |
| 60 | + database under construction was moved between machines between |
| 61 | + `codeql database init` and `codeql database finalize`. This should |
| 62 | + now work, as long as both commands are run by the same _release_ of |
| 63 | + the CodeQL CLI and the extractors used are the ones bundled with the |
| 64 | + CLI. |
| 65 | +- Fixed a bug where `codeql database run-queries` would fail in some |
| 66 | + circumstances when the database path included an `@`. |
19 | 67 |
|
20 | 68 | ## Release 2.15.2 (2023-11-13)
|
21 | 69 |
|
|
65 | 113 |
|
66 | 114 | ### Deprecations
|
67 | 115 |
|
68 |
| -- The accepted values of the `codeql database cleanup --mode=` command line option have been renamed to bring them in line with what they are called in the VSCode extension and the query server: |
| 116 | +- The accepted values of the `--mode` option for `codeql database cleanup` have been renamed to bring them in line with what they are called in the VSCode extension and the query server: |
69 | 117 | - `--mode=brutal` is now `--mode=clear`.
|
70 | 118 | - `--mode=normal` is now `--mode=trim`.
|
71 | 119 | - `--mode=light` is now `--mode=fit`.
|
|
74 | 122 | ### Improvements
|
75 | 123 |
|
76 | 124 | - The list of failed tests at the end of a `codeql test run` is now sorted lexicographically.
|
| 125 | +- The syntax of DIL now more closely resembles the QL source code that it is |
| 126 | + compiled from. In particular, conjunctions and disjunctions now use the |
| 127 | + familiar `and` and `or` keywords, and clauses are enclosed in curly braces. |
77 | 128 |
|
78 | 129 | ### Bugs fixed
|
79 | 130 |
|
|
0 commit comments