github JetBrains/kotlin v2.1.10-RC
Kotlin 2.1.10-RC

latest releases: build-2.1.20-dev-9221, build-2.1.20-dev-9217, build-2.1.20-dev-9184...
pre-releaseone day ago

Changelog

Compiler

  • KT-73454 K2: Fix type parameters mapping for typealiases with inner RHS
  • KT-73043 K2 Compiler does not allow references to inner constructors with typealiases
  • KT-73339 K2: "VerifyError: Bad type on operand stack" because of missing implicit cast on generic field receiver with star projection
  • KT-72585 K2: Compilation failure when upgrading to Kotlin 2.0.20+: Cannot replace top-level type with star projection: S
  • KT-73399 compile-time JVM codegen failure on a KProperty argument of a KSuspendFunction parameter
  • KT-72725 KMP: Unsupported actualization of inherited java field in expect class
  • KT-73153 K2: Standalone diagnostics on type arguments are not reported

Compose compiler

  • CMP-5680 Compose compiler: unexpected stability warnings for classes compiled with 2.0.10

IR. Inlining

  • KT-73981 Cherry-pick the fix for KT-73482 to 2.1.10

JavaScript

  • KT-58797 Optimize the code generated for objects on JS and Wasm backends
  • KT-70778 Kotlin Js companion is undefined in production build
  • KT-73130 KJS: Missed break for do/while in generated JS code

Klibs

  • KT-73951 Workaround for "Partial linkage engine may not patch some discrepancies in IR when compiling Kotlin/Native static caches" in 2.1.10

Native

  • KT-73559 K/Native: AndroidNativeArm64 linking fails starting from Kotlin 2.1.0

Tools. CLI

  • KT-73967 JDK 25: "IllegalArgumentException: 25-ea" with EA builds

Tools. Daemon

  • KT-73311 "Unable to release compile session, maybe daemon is already down" flakiness

Tools. Gradle

  • KT-73728 'generatePomFileForMavenPublication' creates pom with dependencies with 'unspecified' version

Tools. Gradle. Multiplatform

  • KT-73620 KMP 2.1.0: Transitive dependency is broken when setting publication groupId

Tools. Gradle. Native

  • KT-73572 [Gradle] kotlin.native.cacheKind=none doesn't work anymore
  • KT-62826 Show a warning when KGP and K/N versions mismatch
  • KT-71419 Light bundle KGP IT run against a stable K/N version

Don't miss a new kotlin release

NewReleases is sending notifications on new releases.