Skip to content
Release Radar

Kotlin 2.0

End of life
Released
May 21, 2024
Latest patch
2.0.21 · Oct 10, 2024
Active support until
—
End of life
Nov 27, 2024

What's new in Kotlin 2.0.21

This is a bug-fix release of Kotlin 2.0 (version 2.0.21) with no new language features announced. It mainly adds Xcode 16 support for Kotlin/Native and fixes compiler, Compose, Native and Gradle issues. The notes list no breaking changes or deprecations.

  • Adds Xcode 16 support in Kotlin, and rebuilds the platform libraries with Xcode 16 headers.
  • Fixes a K2 regression reported as causing an NPE at runtime (KT-71122).
  • Fixes several K2 compiler crashes and internal errors, including "failed to build cache" in Native (KT-69399) and internal compiler errors in fake overrides (KT-70683).
  • Fixes K2 handling of Java static fields and annotations in IR (KT-69735, KT-70930).
  • Fixes Compose compiler issues: open and overridden composable functions are made non-restartable, and the live literal transform respects its disabling flag.
  • Fixes Gradle integration issues, including POMs from Kotlin 2.0.20 that KMP projects with Android targets could not consume (KT-71444) and a Gradle 8.10 property error (KT-70700).
  • Fixes a PowerAssert compiler crash with a constant on the right side of the elvis operator (KT-71038).

Based on the official release notes.

FAQ

When was Kotlin 2.0 released?

Kotlin 2.0 was released on May 21, 2024.

What is the latest Kotlin 2.0 release?

The latest release in the Kotlin 2.0 cycle is 2.0.21, released on October 10, 2024.

Is Kotlin 2.0 still supported?

No. Kotlin 2.0 has reached end of life on November 27, 2024 and no longer gets fixes.

Data: endoflife.date.

Kotlin news on Blozhik

blozhikDeveloper news from across the web, explained. Every story links to its original sources.