Skip to content

Commit 799e59b

Browse files
committed
Update changelog for 2.13.5 and 2.14.0
1 parent 97d73d0 commit 799e59b

File tree

1 file changed

+82
-0
lines changed

1 file changed

+82
-0
lines changed

CHANGELOG.md

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

20+
## Release 2.14.0 (2023-07-13)
21+
22+
### Potentially breaking changes
23+
24+
- The legacy option `--search-path` will now be used, if provided, when
25+
searching for the dependencies of packages that have no lock file.
26+
- CodeQL query packs that specify their dependencies using the legacy
27+
`libraryPathDependencies` property in `qlpack.yml`/`codeql-pack.yml`
28+
files are no longer permitted to contain a `codeql-pack.lock.yml` lock file.
29+
This will lead to a compilation error. This change is intended to prevent
30+
confusing behavior arising from a mix of legacy (unversioned) and modern
31+
(versioned) package dependencies. To fix this error, either delete the lock
32+
file, or convert `libraryPathDependencies` to `dependencies`.
33+
- CodeQL CLI commands that create packages or update package lock files, such
34+
as `codeql pack publish` and `codeql pack create`, will no longer work on
35+
query packs that specify their dependencies using the legacy
36+
`libraryPathDependencies` property. To fix this error, convert
37+
`libraryPathDependencies` to `dependencies`.
38+
39+
### Deprecations
40+
41+
- Missing override annotations on class member predicates now raise
42+
errors rather than warnings. This is to avoid confusion with the
43+
shadowing behaviour in the presence of final member predicates.
44+
```ql
45+
class Foo extends Base {
46+
final predicate foo() { ... }
47+
48+
predicate bar() { ... }
49+
}
50+
51+
class Bar extends Foo {
52+
// This method shadows Foo::foo.
53+
predicate foo() { ... }
54+
55+
// This used to override Foo::bar with a warning, now raises error.
56+
predicate bar() { ... }
57+
}
58+
```
59+
60+
### Improvements
61+
62+
- Unqualified imports can now be marked as deprecated to indicate that the
63+
import may be removed in the future. Usage of names only reachable through
64+
deprecated imports will generate deprecation warnings.
65+
- Classes declared inside a parameterized modules can final extend
66+
parameters of the module as well as types that are declared outside
67+
the parameterized module.
68+
- Fields are fully functional when extending types from within a module
69+
instantiation.
70+
- Files with a `.yaml` extension will now be included in compiled
71+
CodeQL packs. Previously, files with this extension were excluded
72+
even though `.yml` files were included.
73+
- When interpreting results (e.g., using `bqrs interpret` or
74+
`database interpret-results`), extra placeholders in alert messages are
75+
treated as normal text. Previously, results with more placeholders than
76+
placeholder values were skipped.
77+
- Windows users of the CodeQL extension for VS Code will see faster start times.
78+
- In VS Code, errors in the current file are rechecked when dependencies change.
79+
- In VS Code, autocomplete in large QL files is now faster.
80+
- Member predicates can shadow final member predicates of the same arity even
81+
when the signatures are not fully matching.
82+
83+
### Bugs fixed
84+
85+
- Fixed super calls on final base classes (or final aliases) so that they
86+
are now dispatched the same way as super calls on instanceof supertypes.
87+
- Fixed a bug where running `codeql database finalize` with a large number of
88+
threads would fail due to running out of file descriptors.
89+
- Fixed a bug where `codeql database create --overwrite` would not work
90+
with database clusters.
91+
- Fixed a bug where the CodeQL documentation coverage statistics were
92+
incorrect.
93+
- Fixed a bug where the generated CodeQL libarary documentation could
94+
generate invalid uris on windows.
95+
96+
## Release 2.13.5 (2023-07-05)
97+
98+
### New Features
99+
100+
- The Swift extractor now supports Swift 5.8.1.
101+
20102
## Release 2.13.4 (2023-06-19)
21103

22104
### New features

0 commit comments

Comments
 (0)