|
16 | 16 | checklist for a CLI release, you can edit here. But then |
17 | 17 | you know what to do). |
18 | 18 | --> |
| 19 | + |
| 20 | +## Release 2.8.2 (2022-02-28) |
| 21 | + |
| 22 | +- The bundled extractors are updated to match the versions currently |
| 23 | + used on LGTM.com. These are newer than the last release (1.29) of |
| 24 | + LGTM Enterprise. If you plan to upload databases to an LGTM |
| 25 | + Enterprise 1.29 instance, you need to create them with release |
| 26 | + 2.6.3. |
| 27 | + |
| 28 | +### Breaking change |
| 29 | + |
| 30 | +- The support for the output formats SARIF v1.0.0 and SARIF v2.0.0 |
| 31 | + (Committee Specification Draft 1) that were deprecated in 2.7.1 has |
| 32 | + been removed. If you need this functionality, please file a public |
| 33 | + issue against https://github.com/github/codeql-cli-binaries, or open |
| 34 | + a private ticket with GitHub Support and request an escalation to |
| 35 | + engineering. |
| 36 | + |
| 37 | +### New Features |
| 38 | + |
| 39 | +- The CodeQL CLI is now compatible with Windows 11 and Windows Server |
| 40 | + 2022, including building databases for compiled languages. |
| 41 | + |
19 | 42 | ## Release 2.8.1 (2022-02-15) |
| 43 | + |
20 | 44 | - The bundled extractors are updated to match the versions currently |
21 | 45 | used on LGTM.com. These are newer than the last release (1.29) of |
22 | 46 | LGTM Enterprise. If you plan to upload databases to an LGTM |
|
25 | 49 |
|
26 | 50 | ### New Features |
27 | 51 |
|
28 | | -- Commands that find or run queries now allow you to refer to queries within a named CodeQL |
29 | | - pack. For example: |
| 52 | +- Commands that find or run queries now allow you to refer to queries |
| 53 | + within a named CodeQL pack. For example: |
30 | 54 |
|
31 | 55 | ```sh |
32 | 56 | # Analyze a database using all queries in the experimental/Security folder within the codeql/cpp-queries |
|
49 | 73 | 'codeql/cpp-queries@~0.0.3:codeql-suites/cpp-security-and-quality.qls' |
50 | 74 | ``` |
51 | 75 |
|
52 | | - The complete way to specify a set of queries is in the form `scope/name@range:path`, where: |
| 76 | + The complete way to specify a set of queries is in the form |
| 77 | + `scope/name@range:path`, where: |
53 | 78 |
|
54 | 79 | - `scope/name` is the qualified name of a CodeQL pack. |
55 | | - - `range` is a [semver range](https://docs.npmjs.com/cli/v6/using-npm/semver#ranges). |
| 80 | + - `range` is a [semver range][10]. |
56 | 81 | - `path` is a file system path |
57 | 82 |
|
58 | | - If a `scope/name` is specified, the `range` and `path` are optional. A missing `range` |
59 | | - implies the latest version of the specified pack. A missing `path` implies the default |
60 | | - query suite of the specified pack. |
| 83 | + If a `scope/name` is specified, the `range` and `path` are |
| 84 | + optional. A missing `range` implies the latest version of the |
| 85 | + specified pack. A missing `path` implies the default query suite |
| 86 | + of the specified pack. |
61 | 87 |
|
62 | | - The `path` can be one of a `*.ql` query file, a directory containing one or more queries, or a |
63 | | - `.qls` query suite file. If there is no pack name specified, then a `path` must be provided, and will |
64 | | - be interpreted relative to the current working directory of the current process. |
| 88 | + The `path` can be one of a `*.ql` query file, a directory |
| 89 | + containing one or more queries, or a `.qls` query suite file. If |
| 90 | + there is no pack name specified, then a `path` must be provided, |
| 91 | + and will be interpreted relative to the current working directory |
| 92 | + of the current process. |
65 | 93 |
|
66 | | - If a `scope/name` and `path` are specified, then the `path` cannot be absolute. It is considered |
67 | | - relative to the root of the CodeQL pack. |
| 94 | + If a `scope/name` and `path` are specified, then the `path` cannot |
| 95 | + be absolute. It is considered relative to the root of the CodeQL |
| 96 | + pack. |
68 | 97 |
|
69 | 98 | The relevant commands are: |
70 | 99 | - `codeql database analyze` |
71 | 100 | - `codeql database run-queries` |
72 | 101 | - `codeql execute queries` |
73 | 102 | - `codeql resolve queries` |
74 | 103 |
|
| 104 | + [10]: https://docs.npmjs.com/cli/v6/using-npm/semver#ranges |
| 105 | + |
75 | 106 | ### Bugs fixed |
76 | 107 |
|
77 | 108 | - Fixed a bug that would sometimes lead to query evaluation on |
78 | | - M1-based Macs to crash with `Did not preallocate enough |
79 | | - memory` error. |
| 109 | + M1-based Macs to crash with `Did not preallocate enough memory` |
| 110 | + error. |
80 | 111 |
|
81 | 112 | ## Release 2.8.0 (2022-02-04) |
82 | 113 |
|
|
0 commit comments