Skip to content

Commit 95cac33

Browse files
committed
Add entry for CLI v2.18.0
1 parent ae80a68 commit 95cac33

File tree

1 file changed

+66
-0
lines changed

1 file changed

+66
-0
lines changed

CHANGELOG.md

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,72 @@
1616
checklist for a CLI release, you can edit here. But then
1717
you know what to do).
1818
-->
19+
## Release 2.18.0 (2024-07-11)
20+
21+
### Breaking changes
22+
23+
- A number of breaking changes have been made to the C and C++ CodeQL
24+
environment:
25+
- The environment no longer defines any GNU-specific builtin macros.
26+
If these macros are still needed, please define them via
27+
`semmle-extractor-options`.
28+
- The `--force-recompute` option is no longer directly supported by
29+
`semmle-extractor-options`. Instead, `--edg --force-recompute`
30+
should be specified.
31+
- The `--gnu_version` and `--microsoft_version` options that can be
32+
specified via `semmle-extractor-options` are now synonyms, and only
33+
one should be specified as part of `semmle-extractor-options`.
34+
Furthermore, is also no longer possible to specify these options
35+
via the following syntax.
36+
37+
- `--edg --gnu_version --edg <version number>`, and
38+
- `--edg --microsoft_version --edg <version number>`
39+
40+
The shorter `--gnu_version <version number>` and
41+
`--microsoft_version <version number>` should be used.
42+
- The `--build_error_dir` and `--predefined_macros` command line options
43+
have been removed from the C/C++ extractor. It has never been possible
44+
to pass these options through the CLI, but some customers with advanced
45+
setups may have been passing them through internal undocumented interfaces.
46+
Passing the option `--build_error_dir` did not have any effect, and it
47+
is safe to remove the option. The `--predefined_macros` option should
48+
have been unnecessary, as long as the extractor was invoked with the
49+
`--mimic` option.
50+
51+
### Regressions
52+
53+
- Compilation of QL queries is about 30% slower than in previous releases. This only affects users who write custom queries, and only at compilation time, not at run time. This regression will be fixed in the upcoming 2.18.1 release.
54+
55+
### Improvements
56+
57+
- Introduced the `--include-logs` option to the `codeql database bundle`
58+
command. This new feature allows users to include logs in the generated
59+
database bundle, allowing for a more complete treatment of the bundle, and
60+
bringing the tool capabilities up-to-speed with the documentation.
61+
- `codeql database init` and `codeql database create` now support the
62+
`--force-overwrite` option. When this option is specified, the command will
63+
delete the specified database directory even if it does not look like a
64+
database directory. This option is only recommended for automation. For
65+
directcommand line commands, it is recommended to use the `--overwrite`
66+
option, which includes extra protection and will refuse to delete a
67+
directory that does not look like a database directory.
68+
- Extract `.xsaccess`, `*.xsjs` and `*.xsjslib` files for SAP HANA XS as
69+
Javascript.
70+
- We have updated many compiler error messages and warnings to improve their
71+
readability and standardize their grammar.
72+
Where necessary, please use the `--learn` option for the `codeql test run`
73+
command.
74+
75+
### Bugs fixed
76+
77+
- Where a MacOS unsigned binary cannot be signed, CodeQL will now continue
78+
trying to trace compiler invocations created by that process and its
79+
children. In particular this means that Bazel builds on MacOS are now
80+
traceable.
81+
- Fixed a bug where test discovery would fail if there is a syntax error in a
82+
qlpack file. Now, a warning message will be printed and discovery will
83+
continue.
84+
1985
## Release 2.17.6 (2024-06-27)
2086

2187
### New features

0 commit comments

Comments
 (0)