Skip to content

Commit 3f63943

Browse files
committed
changelog for 2.6.0
1 parent 484600c commit 3f63943

File tree

1 file changed

+83
-0
lines changed

1 file changed

+83
-0
lines changed

CHANGELOG.md

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,89 @@
1717
you know what to do).
1818
-->
1919

20+
## Release 2.6.0 (2021-08-24)
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.27) of
24+
LGTM Enterprise. If you plan to upload databases to an LGTM
25+
Enterprise 1.27 instance, you need to create them with release
26+
2.4.6.
27+
28+
### Bugs fixed
29+
30+
- The `physicalLocation.artifactLocation.uri` fields in SARIF output
31+
are now properly encoded as specified by RFC 3986.
32+
33+
- The `--include-extension` option to the `codeql database
34+
index-files` command no longer includes directories that are named
35+
with the provided extension. For example, if the option
36+
`--include-extension=.rb` is provided, then a directory named
37+
`foo.rb/` will be excluded from the indexing.
38+
39+
### New features
40+
41+
- A new `codeql database unbundle` subcommand performs the reverse of
42+
`codeql database bundle` and extracts a CodeQL database from an
43+
archive.
44+
45+
- The CLI now understands per-codebase configuration files in [the
46+
format already supported by the CodeQL Action][3]. The
47+
configuration file must be given in a `--codescanning-config` option
48+
to `codeql database create` or `codeql database init`. For some
49+
languages, this configuration can contain pathname filters that
50+
control which parts of the codebase is analysed; the configuration
51+
file is the only way this functionality is exposed. The
52+
configuration file can also control which queries are run, including
53+
custom queries from repositories that must first be downloaded. To
54+
actually use those queries, run `codeql database analyze` without
55+
any query-selection arguments.
56+
57+
[3]: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#example-configuration-files
58+
59+
- The CLI now supports the "sandwiched tracing" feature that has
60+
previously only been offered through the separate CodeQL Runner.
61+
This feature is intended for use with CI systems that cannot be
62+
configured to wrap build actions with `codeql database
63+
trace-command`. Instead the CI system must be able to set custom
64+
environment variables for each build action; the required
65+
environment variables are output by `codeql database init` when
66+
given a `--begin-tracing` argument.
67+
68+
On Windows, `codeql database init --begin-tracing` will also inject
69+
build-tracing code into the calling process or an ancestor; there
70+
are additional options to control this.
71+
72+
- This version contains _beta_ support for a new packaging and
73+
publishing system for third-party QL queries and libraries. It
74+
comprises the following new commands:
75+
76+
- `codeql pack init`: Creates an empty CodeQL pack from a template.
77+
78+
- `codeql pack add`: Adds a dependency to a CodeQL pack.
79+
80+
- `codeql pack install`: Installs all pack dependencies specified in
81+
the `qlpack.yml` file.
82+
83+
- `codeql pack download`: Downloads one or more pack dependencies
84+
into the global package cache.
85+
86+
- `codeql pack publish`: Publishes a package to the GitHub Container
87+
Registry.
88+
89+
- (Plumbing) `codeql pack bundle`: Builds a `.zip` file for a CodeQL
90+
query or library pack from sources. Used by `codeql pack publish`.
91+
92+
- (Plumbing) `codeql pack create`: Creates a compiled CodeQL query
93+
or library pack from sources. Used by `codeql pack bundle`.
94+
95+
- (Plumbing) `codeql pack packlist`: Lists all files in a local
96+
CodeQL pack that will be included in the pack's bundle. Used by
97+
`codeql pack create`.
98+
99+
- (Plumbing) `codeql pack resolve-dependencies`: Resolves all
100+
transitive dependencies of a local CodeQL pack. Used by `codeql
101+
pack install`.
102+
20103
## Release 2.5.9 (2021-08-09)
21104

22105
- The bundled extractors are updated to match the versions currently

0 commit comments

Comments
 (0)