|
20 | 20 |
|
21 | 21 | ### New features |
22 | 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 | 23 | - `codeql database analyze` now defaults to include markdown query help for all custom |
37 | 24 | queries with help files available. To change the default behaviour you can pass the |
38 | 25 | new flag `--sarif-include-query-help`, which provides the options `always` (which |
39 | 26 | includes query help for all queries), `custom_queries_only` (the default) and `never` |
40 | 27 | (which does not include query help for any query). The existing flag |
41 | 28 | `--sarif-add-query-help` has been deprecated and will be removed in a future release. |
| 29 | +- The new (advanced) command-line option `--[no-]linkage-aware-import` disables the |
| 30 | + linkage-awareness phase of `codeql dataset import`, as a quick fix (at the expense of |
| 31 | + database completeness) for C++ projects where this part of database creation consumes |
| 32 | + too much memory. This option is available in the commands `database create`, |
| 33 | + `database finalize`, `database import`, `dataset import`, `test extract`, and |
| 34 | + `test run`. |
| 35 | +- The CodeQL language server now provides basic support for Rename, and you can now use |
| 36 | + the Rename Symbol functionality in Visual Studio Code for CodeQL. The current Rename |
| 37 | + support is less a refactoring tool and more a labor-saving device. You may have to |
| 38 | + perform some manual edits after using Rename, but it should still be faster and less |
| 39 | + work than renaming a symbol manually. |
42 | 40 |
|
43 | 41 | ### Improvements |
44 | 42 |
|
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. |
| 43 | +- The Find References feature in the CodeQL language server now supports all CodeQL |
| 44 | + identifiers and offers improved performance compared to CodeQL CLI 2.14 releases. |
| 45 | +- The compiler generates shorter human-readable DIL and RA relation names. Due to use |
| 46 | + of an extended character set, full VS Code support for short relation names requires |
| 47 | + VS Code extension 1.9.4 or newer. |
51 | 48 | - `codeql database create` and `codeql database finalize` now log more diagnostic |
52 | 49 | information during database finalization, including the size of each relation, their |
53 | 50 | total size, and the rate at which they were written to disk. |
|
56 | 53 |
|
57 | 54 | - Fixed an internal error in the compiler when arguments to the `codePointCount` string |
58 | 55 | 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 `@`. |
| 56 | +- Fixed a bug where `codeql database finalize` would fail if a database under construction |
| 57 | + was moved between machines between `codeql database init` and `codeql database finalize`. |
| 58 | + This should now work, as long as both commands are run by the same _release_ of the |
| 59 | + CodeQL CLI and the extractors used are the ones bundled with the CLI. |
| 60 | +- Fixed a bug where `codeql database run-queries` would fail in some circumstances when |
| 61 | + the database path included an `@`. |
67 | 62 |
|
68 | 63 | ## Release 2.15.2 (2023-11-13) |
69 | 64 |
|
|
0 commit comments