From 3afb1b573416cac02b064afecfdb73614de10038 Mon Sep 17 00:00:00 2001 From: Anders Peter Fugmann Date: Wed, 11 Nov 2026 09:44:14 +0100 Subject: [PATCH] Kotlin: update test compiler and document 2.4.2x support Use Kotlin 2.4.21 by default for extractor testing and restore the documented wildcard range through 2.4.2x. These patch releases are already accepted by the existing extractor, so there is no analysis behaviour change. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- docs/codeql/reusables/supported-versions-compilers.rst | 2 +- java/kotlin-extractor/dev/wrapper.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/codeql/reusables/supported-versions-compilers.rst b/docs/codeql/reusables/supported-versions-compilers.rst index e08ae794d1f1..6686991b0ff1 100644 --- a/docs/codeql/reusables/supported-versions-compilers.rst +++ b/docs/codeql/reusables/supported-versions-compilers.rst @@ -21,7 +21,7 @@ Java,"Java 7 to 26 [5]_","javac (OpenJDK and Oracle JDK), Eclipse compiler for Java (ECJ) [6]_",``.java`` - Kotlin,"Kotlin 1.8.0 to 2.4.20","kotlinc",``.kt`` + Kotlin,"Kotlin 1.8.0 to 2.4.2\ *x*","kotlinc",``.kt`` JavaScript,ECMAScript 2022 or lower,Not applicable,"``.js``, ``.jsx``, ``.mjs``, ``.es``, ``.es6``, ``.htm``, ``.html``, ``.xhtm``, ``.xhtml``, ``.vue``, ``.hbs``, ``.ejs``, ``.njk``, ``.json``, ``.yaml``, ``.yml``, ``.raml``, ``.xml`` [7]_" Python [8]_,"2.7, 3.5, 3.6, 3.7, 3.8, 3.9, 3.10, 3.11, 3.12, 3.13, 3.14",Not applicable,``.py`` Ruby,"up to 3.3",Not applicable,"``.rb``, ``.erb``, ``.gemspec``, ``Gemfile``" diff --git a/java/kotlin-extractor/dev/wrapper.py b/java/kotlin-extractor/dev/wrapper.py index 6940765cbc33..d8f2dd196dd3 100755 --- a/java/kotlin-extractor/dev/wrapper.py +++ b/java/kotlin-extractor/dev/wrapper.py @@ -27,7 +27,7 @@ import io import os -DEFAULT_VERSION = "2.4.20" +DEFAULT_VERSION = "2.4.21" def options():