|
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.18.1 (2024-07-25) |
| 21 | + |
| 22 | +# Security Updates |
| 23 | + |
| 24 | +- Fixes CVE-2024-41807, an arbitrary file overwrite that can be triggered when |
| 25 | + using untrusted third-party queries from a git repository. See the |
| 26 | + [security advisory](https://github.com/github/codeql-cli-binaries/security/advisories/GHSA-x4gx-f2xv-6wj9) |
| 27 | + for more information. |
| 28 | +- The following dependencies have been updated. These updates include |
| 29 | + security fixes in the respective libraries that prevent |
| 30 | + out-of-bounds accesses or denial-of-service in scenarios where |
| 31 | + untrusted files are processed. These scenarios are not likely to be |
| 32 | + encountered in most uses of CodeQL and code scanning, and only |
| 33 | + apply to advanced use cases where precompiled query packs, |
| 34 | + database ZIP files, or database TRAP files are obtained from |
| 35 | + untrusted sources and then processed on a trusted machine. |
| 36 | + - airlift/aircompressor is updated to version 0.27. |
| 37 | + - Apache Ant is updated to version 1.10.11. |
| 38 | + - Apache Commons Compress is updated to version 1.26.0. |
| 39 | + - Apache Commons IO is updated to version 2.15.1. |
| 40 | + - Apache Commons Lang3 is updated to version 3.14.0. |
| 41 | + - jsoup is updated to version 1.15.3. |
| 42 | + - Logback is updated to version 1.2.13. |
| 43 | + - Snappy is updated to version 0.5. |
| 44 | + |
| 45 | +### New features |
| 46 | + |
| 47 | +- The *experimental* type `QlBuiltins::BigInt` of arbitrary-precision integers |
| 48 | + has been introduced. To opt in to this API, compile your queries with |
| 49 | + `--allow-experimental=bigint`. Big integers can be constructed using the |
| 50 | + `.toBigInt()` methods of `int` and `string`. The built-in operations are: |
| 51 | + - comparisons: `=`, `!=`, `<`, `<=`, `>`, `>=`, |
| 52 | + - conversions: `.toString()`, `.toInt()`, |
| 53 | + - arithmetic: binary `+`, `-`, `*`, `/`, `%`, unary `-`, |
| 54 | + - bitwise operations: `.bitAnd(BigInt)`, `.bitOr(BigInt)`, |
| 55 | + `.bitXor(BigInt)`, `.bitShiftLeft(int)`, `.bitShiftRightSigned(int)`, |
| 56 | + `.bitNot()`, |
| 57 | + - aggregates: `min`, `max`, (`strict`)`sum`, (`strict`)`count`, `avg`, |
| 58 | + `rank`, `unique`, `any`. |
| 59 | + - other: `.pow(int)`, `.abs()`, `.gcd(BigInt)`, `.minimum(BigInt)`, |
| 60 | + `.maximum(BigInt)`. |
| 61 | +- `codeql test run` now supports postprocessing of test results. When .qlref |
| 62 | + files specify a path to a `postprocess` query, then this is evaluated after |
| 63 | + the test query to transform the test outputs prior to concatenating them into |
| 64 | + the `actual` results. |
| 65 | + |
| 66 | +### Improvements |
| 67 | + |
| 68 | +- The 30% QL query compilation slowdown noted in 2.18.0 has been fixed. |
| 69 | + |
19 | 70 | ## Release 2.18.0 (2024-07-11)
|
20 | 71 |
|
21 | 72 | ### Breaking changes
|
|
412 | 463 |
|
413 | 464 | - Fixed an issue where CodeQL would sometimes incorrectly report that no files
|
414 | 465 | were scanned when running on Windows.
|
415 |
| - This affected the human-readable summary produced by `codeql database analyze` |
| 466 | + This affected the human-readable summary produced by `codeql database analyze` |
416 | 467 | and `codeql database interpret-results`, but did not impact the file coverage
|
417 | 468 | information produced in the SARIF output and displayed on the tool status page.
|
418 | 469 | - When analyzing Swift codebases, CodeQL build tracing will now ignore the
|
|
0 commit comments