|
17 | 17 | you know what to do). |
18 | 18 | --> |
19 | 19 |
|
| 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 | + |
20 | 72 | ## Release 2.11.1 (2022-10-11) |
21 | 73 |
|
22 | | -## Breaking changes |
| 74 | +### Breaking changes |
23 | 75 |
|
24 | 76 | - Pack installation using the CodeQL Packaging beta will now fail if a |
25 | 77 | compatible version cannot be found. This replaces the previous |
26 | 78 | behavior where `codeql pack download` and related commands would |
27 | 79 | instead install the latest version of the pack in this situation. |
28 | 80 |
|
29 | | -## Deprecations |
| 81 | +### Deprecations |
30 | 82 |
|
31 | 83 | - The `--[no-]count-lines` option to `codeql database create` and |
32 | 84 | related commands is now deprecated and will be removed in a future |
|
0 commit comments