|
17 | 17 | you know what to do). |
18 | 18 | --> |
19 | 19 |
|
| 20 | +## Release 2.6.2 (2021-09-21) |
| 21 | + |
| 22 | +- CodeQL CLI 2.6.2 includes the same functionality as **the CodeQL runner**, |
| 23 | + which is being deprecated. For more information, see [CodeQL runner |
| 24 | + deprecation][5]. |
| 25 | + |
| 26 | + [5]: https://github.blog/changelog/2021-09-21-codeql-runner-deprecation/ |
| 27 | + |
| 28 | +- The bundled extractors are updated to match the versions currently |
| 29 | + used on LGTM.com. These are newer than the last release (1.27) of |
| 30 | + LGTM Enterprise. If you plan to upload databases to an LGTM |
| 31 | + Enterprise 1.27 instance, you need to create them with release |
| 32 | + 2.4.6. |
| 33 | + |
| 34 | +### Bugs fixed |
| 35 | + |
| 36 | +- A bug where `codeql generate log-summary` would sometimes crash with |
| 37 | + a `JsonMappingException` has been fixed. |
| 38 | + |
| 39 | +### New features |
| 40 | + |
| 41 | +- The CodeQL CLI now counts the lines of code found under `--source-root` |
| 42 | + when `codeql database init` or `codeql database create` is called. This |
| 43 | + information can be viewed later by either the new |
| 44 | + `codeql database print-baseline` command or the new `--print-baseline-loc` |
| 45 | + argument to `codeql database interpret-results`. |
| 46 | +- `qlpack.yml` files now support an additional field `include` in which |
| 47 | + glob patterns of additional files that should be included (or excluded) |
| 48 | + when creating a given CodeQL pack can be specified. |
| 49 | +- QL packs created by the experimental `codeql pack create` command will |
| 50 | + now include some information about the build in a new `buildMetadata` |
| 51 | + field of their `qlpack.yml` file. |
| 52 | +- `codeql database create` now supports the same flags as `codeql database init` |
| 53 | + for automatically recognizing the languages present in checkouts of GitHub |
| 54 | + repositories: |
| 55 | + - `--github-url` accepts the URL of a custom GitHub instance (previously |
| 56 | + only `github.com` was supported). |
| 57 | + - `--github-auth-stdin` allows a personal access token to be provided |
| 58 | + through standard input (previously only the `GITHUB_TOKEN` environment |
| 59 | + variable was supported). |
| 60 | + |
| 61 | +### Notable documentation changes |
| 62 | + |
| 63 | +- Documentation has been added detailing how to use the "indirect build |
| 64 | + tracing" feature, which is enabled by using the `--begin-tracing` flag |
| 65 | + provided by `codeql database init`. The new documentation can be found |
| 66 | + [here][4]. This feature was temporarily described as "sandwiched tracing" |
| 67 | + in the 2.6.0 release notes. |
| 68 | + |
| 69 | + [4]: https://aka.ms/codeql-docs/indirect-tracing |
| 70 | + |
20 | 71 | ## Release 2.6.1 (2021-09-07) |
21 | 72 |
|
22 | 73 | - The bundled extractors are updated to match the versions currently |
|
0 commit comments