Skip to content

Kotlin: update to 2.3.20#21583

Open
redsun82 wants to merge 10 commits intomainfrom
redsun82/update-kotlin-2.3.20
Open

Kotlin: update to 2.3.20#21583
redsun82 wants to merge 10 commits intomainfrom
redsun82/update-kotlin-2.3.20

Conversation

@redsun82
Copy link
Copy Markdown
Contributor

No description provided.

@redsun82 redsun82 added the depends on internal PR This PR should only be merged in sync with an internal Semmle PR label Mar 27, 2026
@redsun82 redsun82 force-pushed the redsun82/update-kotlin-2.3.20 branch from 7819c88 to 630eaa8 Compare March 27, 2026 16:33
@github-actions github-actions bot removed the Kotlin label Mar 27, 2026
@redsun82 redsun82 force-pushed the redsun82/update-kotlin-2.3.20 branch 2 times, most recently from 14d0054 to 2a3d2b8 Compare March 27, 2026 17:06
@redsun82 redsun82 marked this pull request as ready for review March 31, 2026 09:39
@redsun82 redsun82 requested a review from a team as a code owner March 31, 2026 09:39
Copilot AI review requested due to automatic review settings March 31, 2026 09:39
@redsun82 redsun82 requested review from a team as code owners March 31, 2026 09:39
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the repository’s Kotlin toolchain support to Kotlin 2.3.20, aligning Bazel module deps, the Kotlin extractor’s supported-version list, dev tooling defaults, and accompanying tests/change notes.

Changes:

  • Add Kotlin 2.3.20 compiler / embeddable compiler / stdlib artifacts to Bazel module repos and checked-in extractor deps.
  • Extend the Kotlin extractor’s supported versions to include 2.3.20 and suppress newly introduced Kotlin 2.3.20 deprecations in a helper file.
  • Update integration test expectations and add a Java QL change note for the new supported Kotlin version.

Reviewed changes

Copilot reviewed 11 out of 11 changed files in this pull request and generated no comments.

Show a summary per file
File Description
MODULE.bazel Adds kotlin-*-2.3.20 repositories to the kotlin_extractor_deps use_repo list.
java/ql/lib/change-notes/2026-03-26-kotlin-2.3.20.md Adds an unreleased change note announcing Kotlin support through 2.3.20.
java/ql/integration-tests/kotlin/all-platforms/diagnostics/kotlin-version-too-new/diagnostics.expected Updates expected diagnostic message threshold for “version too new”.
java/ql/integration-tests/kotlin/all-platforms/annotation-id-consistency/PrintAst.expected Updates expected AST output for Kotlin 2.3.20-related annotation structure changes.
java/kotlin-extractor/versions.bzl Adds 2.3.20 to the supported Kotlin versions list used by Bazel deps.
java/kotlin-extractor/src/main/kotlin/utils/GetByFqName.kt Suppresses deprecation warnings introduced in Kotlin 2.3.20 for referenced APIs.
java/kotlin-extractor/dev/wrapper.py Bumps the dev wrapper’s default Kotlin version to 2.3.20.
java/kotlin-extractor/deps/kotlin-stdlib-2.3.20.jar Adds LFS-tracked stdlib jar for 2.3.20.
java/kotlin-extractor/deps/kotlin-compiler-embeddable-2.3.20.jar Adds LFS-tracked embeddable compiler jar for 2.3.20.
java/kotlin-extractor/deps/kotlin-compiler-2.3.20.jar Adds LFS-tracked compiler jar for 2.3.20.
.pre-commit-config.yaml Broadens the test-path exclusion pattern for whitespace/EOF hooks to cover test* directories.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

depends on internal PR This PR should only be merged in sync with an internal Semmle PR documentation Java Kotlin

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants