Merge pull request #2746 from github/update-v3.28.8-a91a3f767 · github/codeql-action@dd74661 (original) (raw)

Original file line number Diff line number Diff line change
@@ -2,6 +2,10 @@
2 2
3 3 See the [releases page](https://github.com/github/codeql-action/releases) for the relevant changes to the CodeQL CLI and language packs.
4 4
5 +## 3.28.8 - 29 Jan 2025
6 +
7 +- Enable support for Kotlin 2.1.10 when running with CodeQL CLI v2.20.3. [#2744](https://github.com/github/codeql-action/pull/2744)
8 +
5 9 ## 3.28.7 - 29 Jan 2025
6 10
7 11 No user facing changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
1 1 {
2 2 "name": "codeql",
3 -"version": "3.28.7",
3 +"version": "3.28.8",
4 4 "private": true,
5 5 "description": "CodeQL action",
6 6 "scripts": {
Original file line number Diff line number Diff line change
@@ -539,6 +539,15 @@ async function run() {
539 539 core.exportVariable("CODEQL_EXTRACTOR_JAVA_AGENT_DISABLE_KOTLIN", "true");
540 540 }
541 541
542 +const kotlinLimitVar =
543 +"CODEQL_EXTRACTOR_KOTLIN_OVERRIDE_MAXIMUM_VERSION_LIMIT";
544 +if (
545 +(await codeQlVersionAtLeast(codeql, "2.20.3")) &&
546 +!(await codeQlVersionAtLeast(codeql, "2.20.4"))
547 +) {
548 +core.exportVariable(kotlinLimitVar, "2.1.20");
549 +}
550 +
542 551 if (config.languages.includes(Language.cpp)) {
543 552 const envVar = "CODEQL_EXTRACTOR_CPP_TRAP_CACHING";
544 553 if (process.env[envVar]) {