Skip to content

Kotlin: Add Kotlin 2.2.20 support - #20114

Merged
igfoo merged 7 commits into
github:mainfrom
igfoo:igfoo/kotlin-2.2.20
Jul 24, 2025
Merged

Kotlin: Add Kotlin 2.2.20 support#20114
igfoo merged 7 commits into
github:mainfrom
igfoo:igfoo/kotlin-2.2.20

Conversation

@igfoo

Copy link
Copy Markdown
Contributor

No description provided.

@igfoo
igfoo marked this pull request as ready for review July 23, 2025 16:06
CopilotAI review requested due to automatic review settings July 23, 2025 16:06
@igfoo
igfoo requested review from a team as code ownersJuly 23, 2025 16:06

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds support for Kotlin version 2.2.20 to the CodeQL extractor, expanding the supported Kotlin version range from 2.2.0x to 2.2.2x.

  • Adds Kotlin 2.2.20-Beta1 compiler and stdlib dependencies
  • Updates version compatibility checks and documentation
  • Implements version-specific utility functions for the new Kotlin version

Reviewed Changes

Copilot reviewed 12 out of 12 changed files in this pull request and generated 1 comment.

Show a summary per file
FileDescription
java/ql/lib/change-notes/2025-07-23-kotlin-2.2.20.mdDocuments the feature addition in change notes
java/ql/integration-tests/kotlin/all-platforms/diagnostics/kotlin-version-too-new/diagnostics.expectedUpdates maximum supported version in error message
java/kotlin-extractor/versions.bzlAdds 2.2.20-Beta1 to supported versions list
java/kotlin-extractor/src/main/kotlin/utils/versions/v_2_2_20-Beta1/getJvmModuleNameForDeserializedDescriptor.ktImplements version-specific utility function for 2.2.20
java/kotlin-extractor/src/main/kotlin/utils/versions/v_1_6_0/getJvmModuleNameForDeserializedDescriptor.ktAdds corresponding utility function for version 1.6.0
java/kotlin-extractor/src/main/kotlin/KotlinUsesExtractor.ktRemoves direct import, likely to use version-specific implementation
java/kotlin-extractor/deps/*.jarAdds Kotlin 2.2.20-Beta1 compiler and stdlib JAR files
java/kotlin-extractor/BUILD.bazelAdds compiler API deprecation warning suppression for 2.2.20+
docs/codeql/reusables/supported-versions-compilers.rstUpdates documentation to reflect new version support
MODULE.bazelRegisters new Kotlin 2.2.20-Beta1 dependencies

---
category: feature
---
* Kotlin versions up to 2.2.2\ *x* are now supported.

CopilotAIJul 23, 2025

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The backslash before the asterisk appears to be a formatting error. It should be '2.2.2x' without the backslash.

Suggested change
* Kotlin versions up to 2.2.2\ *x* are now supported.
* Kotlin versions up to 2.2.2*x* are now supported.

Copilot uses AI. Check for mistakes.

@IdrissRioIdrissRio left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@igfoo
igfoo merged commit 621b483 into github:mainJul 24, 2025
30 of 35 checks passed
@igfoo
igfoo deleted the igfoo/kotlin-2.2.20 branch July 24, 2025 10:59
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@igfoo@IdrissRio