Skip to content

Kotlin 1.9.20-Beta2

Pre-release
Pre-release
Compare
Choose a tag to compare
@KotlinBuild KotlinBuild released this 21 Sep 08:38
· 221 commits to 1.9.20 since this release

Changelog

Backend. Wasm

  • KT-59720 K/Wasm: update to final opcodes

Compiler

  • KT-62027 "java.lang.IndexOutOfBoundsException: Empty list doesn't contain element at index 0" caused by ClassicExpectActualMatchingContext.kt when annotation @AllowDifferentMembersInActual used
  • KT-61668 Put expect/actual diagnostics introduced in 1.9.20 release under 1.9 Language Version
  • KT-61645 K2/KMP: Set stdlib-native before stdlib-commonMain in dependencies for shared native metadata compilation
  • KT-61924 Native: problem with abstract fake override from Any
  • KT-61725 KMP: Annotation matching requirement for expect/actual leads to errors for annotations with @OptionalExpectation
  • KT-61784 KMP: [DEFAULT_ARGUMENTS_IN_EXPECT_WITH_ACTUAL_TYPEALIAS] checker missed for companion functions
  • KT-61167 Runtime failure: ReferenceError: MyPromise is not defined
  • KT-59094 K2: Fix Scripting K2 tests

IDE. Navigation

  • KT-61894 Navigation from java sources leads to Kotlin decompiled code in case of suspend function

Native. C and ObjC Import

  • KT-56369 Hint about "-fmodules" is not shown

Tools. Compiler Plugin API

  • KT-61872 K2: Adding annotations to metadata from backend plugin doesn't work in the presence of comments on annotated declaration
  • KT-61833 K2: annotations added via addMetadataVisibleAnnotationsToElement to declarations from common sourceset in MPP project are invisible

Tools. Gradle

  • KT-61401 The reported language version value for KotlinNativeLink tasks in build reports and build scans is inaccurate
  • KT-61950 K/Wasm: Add warning about changed sourceSets
  • KT-61895 KotlinTopLevelExtension.useCompilerVersion is not marked as experimental

Tools. Gradle. Multiplatform

  • KT-59042 "Cannot build 'KotlinProjectStructureMetadata' during project configuration phase" when configuration cache enabled
  • KT-61652 MPP ConcurrentModificationException on transformCommonMainDependenciesMetadata
  • KT-61622 Upgrading to Kotlin 1.9 prevents commonMain sourceset classes from being processed by kapt/ksp (dagger/Hilt)

Tools. Gradle. Native

  • KT-61700 Native: linkDebugExecutableNative has duplicated freeCompilerArgs

Tools. Wasm

  • KT-61971 K/Wasm: wasmWasiTest should depends on kotlinNodeJsSetup

Checksums

File Sha256
kotlin-compiler-1.9.20-Beta2.zip 2ec2dd53daae4acc1fd04fe95d42332e21a350a6f3384c63a18b079e90ab5576
kotlin-native-linux-x86_64-1.9.20-Beta2.tar.gz f51bca5632e60910fb5fb8a3c08bf29c0e56fa413efd43944dd7b8e80f2fb8db
kotlin-native-macos-x86_64-1.9.20-Beta2.tar.gz 13a7ed1505e751860516b6729bba533861ad5d640bac1864702b5b098157e4b8
kotlin-native-macos-aarch64-1.9.20-Beta2.tar.gz 4f7b4096bfe0245be3ed18d73fb3c8f8f9687444852e7397c0329dc9a0b516e9
kotlin-native-windows-x86_64-1.9.20-Beta2.zip d2ac8d34bd0e4ef651969e3db9c65c9f9ed7db23a3b66f4d2f8f1aefc0120cb1