Changelog
Compiler
Fixes
KT-77259
Confusing message forANNOTATION_WILL_BE_APPLIED_ALSO_TO_PROPERTY_OR_FIELD
KT-77219
"@Composable
annotation is not applicable" on vararg@Composable
() -> Unit in Kotlin 2.2.0KT-77397
Report UNSUPPORTED_CONTEXTUAL_DECLARATION_CALL when calling declaration with contextual function type in signatureKT-74470
NSME on calling in runtime internal constructor of value class with default arg from testsKT-77137
K2: Controversial behavior allows resolving annotation arguments on a companion inside itKT-77150
Native: compilation fails with an assertion errorKT-76357
K2: a nested class annotation observes member declarations of the outer classKT-77283
Binary compatibility of FirDeclarationCheckerKT-75457
Native: cache machinery uses stdlib cache with default runtime options even if custom runtime options are supplied when partial linkage is disabledKT-76898
K2: ClassCastException when data class shadows supertype'scomponentX
method with wrong typeKT-77078
K2: anonymous object is wrongly allowed to implement interfaces by unsafe DelegationKT-77001
Leave ForbidParenthesizedLhsInAssignments as a warning
Compose compiler
CMP-7873
Native build fails with "e: Compilation failed: Exception during generating code for following declaration"b/412584977
Fix false positive for overriding open functions from older dependencies
JavaScript
KT-77418
KJS: cannot debug with whole-program granularityKT-77271
KJS / Serialization: "Cannot set property message of Error which has only a getter"KT-69591
KJS / d.ts: Wrong type of SerializerFactory for abstract classesKT-42305
KJS / IR: "Class constructor is marked as private"@JsExport
produces wrong TS code for sealed classesKT-52563
KJS / IR: Invalid TypeScript generated for class extending base class with private constructor
Native
KT-76992
Native: update llvm for windows targets
Native. Build Infrastructure
KT-77349
Kotlin/Native: default cache for stdlib is unused
Tools. Gradle
KT-76138
Compile against Gradle API 8.14KT-76139
Run integration tests against Gradle 8.14KT-76137
Compatibility with Gradle 8.14 releaseKT-76797
KGP: StdlibDependencyManagementKt.configureStdlibVersionAlignment() triggering eager configuration realizationKT-77288
Using 'KotlinJvmOptions' is an error - Gradle sync issue when using 2.2.0-Beta2 with Android Gradle PluginKT-77035
A compiler diagnostic isn't reported when its severity is set to warning with GradleKT-73142
Kotlin Gradle plugin: Remove usage of Gradle's internal ExecHandleBuilderKT-75823
Resources bundle with XCFrameworks for iOS
Tools. Gradle. JS
KT-77119
KJS: Gradle: Setting custom environment variables in KotlinJsTest tasks no longer works
Tools. Gradle. Native
KT-77067
Kotlin Gradle plugin with the configuration cache passes all platform libraries to the compiler when compiling a binary for the first time
Tools. Wasm
KT-76948
Wasm: Rename kotlinBinaryenSetup and kotlinD8Setup