Skip to content

Kotlin: update to 2.3.20 - #21583

Merged
redsun82 merged 11 commits into
mainfrom
redsun82/update-kotlin-2.3.20
Apr 2, 2026
Merged

Kotlin: update to 2.3.20#21583
redsun82 merged 11 commits into
mainfrom
redsun82/update-kotlin-2.3.20

Conversation

@redsun82

Copy link
Copy Markdown
Contributor

No description provided.

@redsun82redsun82 added the depends on internal PR This PR should only be merged in sync with an internal Semmle PR label Mar 27, 2026
@redsun82
redsun82force-pushed the redsun82/update-kotlin-2.3.20 branch from 7819c88 to 630eaa8CompareMarch 27, 2026 16:33
@redsun82
redsun82force-pushed the redsun82/update-kotlin-2.3.20 branch 2 times, most recently from 14d0054 to 2a3d2b8CompareMarch 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 ownerMarch 31, 2026 09:39
CopilotAI review requested due to automatic review settings March 31, 2026 09:39
@redsun82
redsun82 requested review from a team as code ownersMarch 31, 2026 09:39

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

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
FileDescription
MODULE.bazelAdds kotlin-*-2.3.20 repositories to the kotlin_extractor_depsuse_repo list.
java/ql/lib/change-notes/2026-03-26-kotlin-2.3.20.mdAdds an unreleased change note announcing Kotlin support through 2.3.20.
java/ql/integration-tests/kotlin/all-platforms/diagnostics/kotlin-version-too-new/diagnostics.expectedUpdates expected diagnostic message threshold for “version too new”.
java/ql/integration-tests/kotlin/all-platforms/annotation-id-consistency/PrintAst.expectedUpdates expected AST output for Kotlin 2.3.20-related annotation structure changes.
java/kotlin-extractor/versions.bzlAdds 2.3.20 to the supported Kotlin versions list used by Bazel deps.
java/kotlin-extractor/src/main/kotlin/utils/GetByFqName.ktSuppresses deprecation warnings introduced in Kotlin 2.3.20 for referenced APIs.
java/kotlin-extractor/dev/wrapper.pyBumps the dev wrapper’s default Kotlin version to 2.3.20.
java/kotlin-extractor/deps/kotlin-stdlib-2.3.20.jarAdds LFS-tracked stdlib jar for 2.3.20.
java/kotlin-extractor/deps/kotlin-compiler-embeddable-2.3.20.jarAdds LFS-tracked embeddable compiler jar for 2.3.20.
java/kotlin-extractor/deps/kotlin-compiler-2.3.20.jarAdds LFS-tracked compiler jar for 2.3.20.
.pre-commit-config.yamlBroadens the test-path exclusion pattern for whitespace/EOF hooks to cover test* directories.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

@jketemajketema 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.

Based on my current understanding of the update process, this LGTM.

Do we still want to run some DCA on this to see nothing has regressed?

@redsun82
redsun82 merged commit cedacc9 into mainApr 2, 2026
82 of 90 checks passed
@redsun82
redsun82 deleted the redsun82/update-kotlin-2.3.20 branch April 2, 2026 13:58
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

depends on internal PRThis PR should only be merged in sync with an internal Semmle PRdocumentationJavaKotlin

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@redsun82@jketema