|
17 | 17 | you know what to do). |
18 | 18 | --> |
19 | 19 |
|
| 20 | +## Release 2.15.0 (2023-10-11) |
| 21 | + |
| 22 | +### Deprecations |
| 23 | + |
| 24 | +- `pragma[assume_small_delta]` is now deprecated. The pragma has no effect and |
| 25 | + should be removed. |
| 26 | + |
| 27 | +- Missing override annotations on class fields now raise errors rather than |
| 28 | + warnings. This is to avoid confusion with the shadowing behavior in the |
| 29 | + presence of final fields. |
| 30 | + |
| 31 | +- The CodeQL CLI no longer supports ML-powered alerts. For more information, |
| 32 | + including details of our work in the AI-powered security technology space, |
| 33 | + see |
| 34 | + "[CodeQL code scanning deprecates ML-powered alerts](https://github.blog/changelog/2023-09-29-codeql-code-scanning-deprecates-ml-powered-alerts/)." |
| 35 | + |
| 36 | +### New Features |
| 37 | + |
| 38 | +- The output of `codeql version --format json` now includes a `features` |
| 39 | + property. Each key in the map identifies a feature of the CodeQL CLI. The |
| 40 | + value for a key is always `true`. Going forward, whenever a significant new |
| 41 | + feature is added to the CodeQL CLI, a corresponding entry will be added to the |
| 42 | + `features` map. This is intended to make it easier for tools that invoke the |
| 43 | + CodeQL CLI to know if the particular version of the CLI they are invoking |
| 44 | + supports a given feature, without having to know exactly what CLI version |
| 45 | + introduced that feature. |
| 46 | + |
| 47 | +### Improvements |
| 48 | + |
| 49 | +- You can now specify the CodeQL languages C/C++, Java/Kotlin, and |
| 50 | + JavaScript/TypeScript using `--language c-cpp`, `--language java-kotlin`, and |
| 51 | + `--language javascript-typescript` respectively. These new CodeQL language |
| 52 | + names convey more clearly what languages each CodeQL language will analyze. |
| 53 | + |
| 54 | + You can also reference these CodeQL languages via their secondary language |
| 55 | + names (C/C++ via `--language c` or `--language cpp`, Java/Kotlin via |
| 56 | + `--language java` or `--language kotlin`, and JavaScript/TypeScript via |
| 57 | + `--language javascript` or `--language typescript`), however we recommend you |
| 58 | + refer to them via the new primary CodeQL language names for improved clarity. |
| 59 | + |
| 60 | +- CodeQL now respects custom home directories set by the `$HOME` environment |
| 61 | + variable on MacOS and Linux and `%USERPROFILE%` on Windows. When set, CodeQL |
| 62 | + will use the variable's value to change the default location of downloaded |
| 63 | + packages and the global compilation cache. |
| 64 | + |
| 65 | +- This release improves the quality of |
| 66 | + [file coverage information](https://docs.github.com/en/code-security/code-scanning/managing-your-code-scanning-configuration/about-the-tool-status-page#using-the-tool-status-page) |
| 67 | + for repositories that vendor their dependencies. This is currently supported |
| 68 | + for Go and JavaScript projects. |
| 69 | + |
| 70 | +### Bugs fixed |
| 71 | + |
| 72 | +- Fixed an issue with analyzing Python projects using Python 3.12. |
| 73 | + |
| 74 | +### QL language improvements |
| 75 | + |
| 76 | +- The QL language now has two new methods `codePointAt` and `codePointCount` on |
| 77 | + the `string` type. The methods both return integers and act the same as the |
| 78 | + similarly named Java methods on strings. For example, `"abc".codePointAt(2)` |
| 79 | + is `99` and `("a" + 128512.toUnicode() + "c").codePointAt(1)` is a `128512`. |
| 80 | + |
20 | 81 | ## Release 2.14.6 (2023-09-26) |
21 | 82 |
|
22 | 83 | ### Bugs fixed |
|
0 commit comments