Skip to content

Commit d9ff04b

Browse files
Update changelog for 2.11.2
1 parent 7471af1 commit d9ff04b

File tree

1 file changed

+54
-2
lines changed

1 file changed

+54
-2
lines changed

CHANGELOG.md

Lines changed: 54 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,68 @@
1717
you know what to do).
1818
-->
1919

20+
## Release 2.11.2 (2022-10-25)
21+
22+
### Breaking changes
23+
24+
- Bundling and publishing a CodeQL pack will no longer include nested
25+
CodeQL packs. If you want to include a nested pack in your published pack,
26+
then you must explicitly include it using the `include` property in the
27+
top-level `qlpack.yml` file.
28+
29+
For example, if your package structure looks like this:
30+
31+
```text
32+
qlpack.yml
33+
nested-pack
34+
∟ qlpack.yml
35+
query.ql
36+
```
37+
38+
then the contents of `nested-pack` will not be included by default within
39+
the published package. To include `nested-pack`, add an entry like this
40+
to the top level `qlpack.yml` file:
41+
42+
```yml
43+
include:
44+
- nested-pack/**
45+
```
46+
47+
### Bugs fixed
48+
49+
- Using the `--codescanning-config=<file>` option in
50+
`codeql database init` will now correctly process the `paths` and
51+
`pathsIgnore` properties of the configuration file in a way that is
52+
identical to the behavior of the `codeql-action`. Previously, `paths`
53+
or `pathsIgnore` entries that end in `/**` or start with `/` were
54+
incorrectly rejected by the CLI.
55+
56+
- Fixed a bug where the `--compilation-cache` option to
57+
`codeql pack publish` and `codeql pack create` was being ignored
58+
when creating a query pack. Now, the indicated cache is used
59+
when pre-compiling the queries in it.
60+
61+
- Fixed a bug that would make the "Show DIL" command in the VSCode
62+
extension display nothing.
63+
64+
### Other changes
65+
66+
- Emit a detailed warning if package resolution fails, the legacy
67+
`--search-path` option is provided, _and_ there is at least one
68+
referenced pack that does not use legacy package resolution.
69+
In this case, `--additional-packs` should be used to extend the
70+
search to additional directories, instead of `--search-path`.
71+
2072
## Release 2.11.1 (2022-10-11)
2173

22-
## Breaking changes
74+
### Breaking changes
2375

2476
- Pack installation using the CodeQL Packaging beta will now fail if a
2577
compatible version cannot be found. This replaces the previous
2678
behavior where `codeql pack download` and related commands would
2779
instead install the latest version of the pack in this situation.
2880

29-
## Deprecations
81+
### Deprecations
3082

3183
- The `--[no-]count-lines` option to `codeql database create` and
3284
related commands is now deprecated and will be removed in a future

0 commit comments

Comments
 (0)