Kotlin Versions Save

The Kotlin Programming Language.

v1.9.20-RC2

6 months ago

Changelog

Compiler

  • KT-62747 Wrong warning message when overriding vararg with Array during actualization
  • KT-62655 Don't report a warning when new members and new supertypes are added to open expect actualization
  • KT-62313 Kotlin/Native Compiler crash: ClassCastException in IntrinsicGenerator

JavaScript

  • KT-62790 java.lang.ClassCastException in compiler when ::class is used

Libraries

  • KT-62656 Drop @AllowDifferentMembersInActual from stdlib

Reflection

  • KT-47973 Reflection: "IllegalArgumentException: argument type mismatch" when using callSuspend to call a function returning value class over primitive

Tools. Gradle

  • KT-61359 "Unresolved reference: platform" when enabling Gradle configuration cache
  • KT-62496 Configuration time regression with KGP 1.9.20-Beta caused by loading of properties

Checksums

File Sha256
kotlin-compiler-1.9.20-RC2.zip e7ecbb754203a427adcdfa97f609472e0840ef7c6722c04daaf218900b669728
kotlin-native-linux-x86_64-1.9.20-RC2.tar.gz 5faf5f8b1f20c8214767f23a1c9918ab97191abbb93d39aae9fd529b1a93b463
kotlin-native-macos-x86_64-1.9.20-RC2.tar.gz 64d40e0d3398a6fecc948391d1ccd02c30371a56da3710ee6491b5b7b98f7a24
kotlin-native-macos-aarch64-1.9.20-RC2.tar.gz 41be3a0f63a6f726118024c5a9960e480390267a96a30a45211d2bcf49104c33
kotlin-native-windows-x86_64-1.9.20-RC2.zip a5305b21517756b108c748ade77780af564589b1f64feb810ce211fb72b2da2b

v1.9.20-RC

6 months ago

Changelog

Compiler

  • KT-62127 "NoSuchFieldError: TRUE$delegate" on referencing companion's variable in submodule
  • KT-62335 Improve debuggability of code generator crashes
  • KT-62263 Turn "different expect/actual members" error into a warning
  • KT-61933 K2: "Argument type mismatch: actual type is 'Foo<kotlin/Function0<kotlin/Unit>>' but 'Foo<kotlin/coroutines/SuspendFunction0<kotlin/Unit>>' was expected"

IDE. Multiplatform

  • KT-61686 Check and update places in compiler and IDE where we are saying that MPP is experimental/Beta/Alpha

Native

  • KT-62532 Support Xcode 15.0 frameworks as Kotlin/Native platform libraries

Native. Runtime. Memory

  • KT-61914 Kotlin/Native: massive increase in memory usage
  • KT-61741 Kotlin/Native: tsan error in parallel mark

Tools. Gradle

  • KT-62318 Android Studio sync memory leak in 1.9.20-Beta
  • KT-61368 Native compiler option 'module-name' isn't available within the compilerOptions extension for native target while configuring it inside compilations
  • KT-61355 freeCompilerArgs arguments and its values are passed to the compiler 5 times if added through target-level compilerOptions{} extension inside compilations

Tools. Gradle. Multiplatform

  • KT-62029 Kotlin 1.9.20-Beta fails to detect some transitive dependency references in JVM+Android source set

Tools. Incremental Compile

  • KT-61852 Kotlin 1.9.20-Beta: incremental compilation fails with files outside of the project folder

Tools. Kapt

  • KT-62438 Change experimental K2 kapt diagnostic message
  • KT-61879 K2 Kapt: java.lang.NoSuchMethodError during stub generation

Tools. Wasm

  • KT-61973 K/Wasm: wasmWasiNodeRun is missed
  • KT-61971 K/Wasm: wasmWasiTest should depends on kotlinNodeJsSetup

Checksums

File Sha256
kotlin-compiler-1.9.20-RC.zip 12d0ff13c62aedeabb6e03a9619b59f8275ec9600b4de25560d5b451e1deafdf
kotlin-native-linux-x86_64-1.9.20-RC.tar.gz 54cbb138324cf4a9bc1133329da40d9ffdd428b9441367dca6f96e49034423fa
kotlin-native-macos-x86_64-1.9.20-RC.tar.gz 82e8346bbfd01d06b3630ed0370982f24ace7e7abffd53cefdf1399ceb1ca5f0
kotlin-native-macos-aarch64-1.9.20-RC.tar.gz 9b57d7631c879110e747eaa6da7a8819e48a191be3cb77169d0a4bfcef38bcca
kotlin-native-windows-x86_64-1.9.20-RC.zip ec6381d769481209394c5b451145309075906a011e74b5ba9e0670579979323a

v1.9.20-Beta2

7 months ago

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

v1.9.20-Beta

7 months ago

v1.9.10

8 months ago

Changelog

Compiler

  • KT-60769 Partially revert KT-58371
  • KT-60659 Incorrect 'unresolved reference: addFirst' error with JDK 21
  • KT-60371 Native custom allocator link error
  • KT-60986 Native: static caches with custom runtime options are broken on Linux
  • KT-60770 Fix false-positive ABSTRACT_MEMBER_NOT_IMPLEMENTED on toArray with JDK 21
  • KT-60231 NoClassDefFoundError: $$$$$NON_LOCAL_RETURN$$$$$ after upgrade to Kotlin 1.9.0

JavaScript

  • KT-60785 KJS: Destructured value class in suspend function fails with Uncaught TypeError: can't convert to primitive type error
  • KT-60852 Kotlin JS(IR): IllegalArgumentException: Cross module dependency resolution failed when updating to Kotlin 1.9.0
  • KT-57509 KJS: Compiler generates native JS operator == for comparing values with Any type

Native

  • KT-60230 Native: "unknown options: -ios_simulator_version_min -sdk_version" with Xcode 15 beta 3
  • KT-60758 Native: Building for 'iOS-simulator', but linking in dylib built for 'iOS' in Xcode 15 beta 4

Native. C and ObjC Import

  • KT-59167 Native: cinterop is unable to build interop libraries against the Xcode 15 Beta 1

Tools. Gradle

  • KT-61147 Kotlin Compiler 1.9.0 bundles a stripped unshadowed version of Gson
  • KT-60543 NoClassDefFoundError for com/gradle/scan/plugin/BuildScanExtension

Checksums

File Sha256
kotlin-compiler-1.9.10.zip 7d74863deecf8e0f28ea54c3735feab003d0eac67e8d3a791254b16889c20342
kotlin-native-linux-x86_64-1.9.10.tar.gz 1db3679919f4449514e9d82451e7dfa73558ac9bc80b82579cd74d452c8faa5b
kotlin-native-macos-x86_64-1.9.10.tar.gz f5650f2560438a692803d8fe07124529c19f1972f84fe09cfa2329b93f43828d
kotlin-native-macos-aarch64-1.9.10.tar.gz d2cf5a484ac0808ab29fd3f6099df7c07330f81f3cbab949947e42e36138c3de
kotlin-native-windows-x86_64-1.9.10.zip a34d56661455e94e1ba4dd09ec3c1adac6148fdedcf55eefb9a79c8ed01ff02c

v1.9.0

10 months ago

v1.9.0-RC

10 months ago

Changelog

Backend. Wasm

  • KT-58188 Restore binary compatibility of PlatformDiagnosticSuppressor.shouldReportUnusedParameter
  • KT-58293 Wasm: ReferenceError: e is not defined in kotlin.test.jsThrow
  • KT-58931 Wasm tests are failing to start on Kotlin 1.9.0-Beta

Compiler

Fixes

  • KT-58621 K2: Private class shadows public function defined in the same package
  • KT-59102 K2: constant evaluator does not provide Long type on shl
  • KT-59079 "AE: SyntheticAccessorLowering should not attempt to modify other files!" with callable reference to constructor with value class parameter
  • KT-58787 KAPT: "NullPointerException: null cannot be cast to non-null type" with delegate
  • KT-58837 Partial linkage fails to report any compiler message on Windows when launched through Gradle plugin
  • KT-59030 [PL] Workaround for broken @Deprecated annotations in c-interop KLIBs
  • KT-58618 K2: Local property delegates cannot infer generic return type
  • KT-58897 K2: False positive unresolved reference with same-named enum class and its entry
  • KT-56927 Enum with secondary constructor can't be compiled with K2 using JS/Native backend
  • KT-57570 Remove source code excerpts from platform type nullability assertion exceptions
  • KT-52774 Resolve unqualified enum constants based on expected type

IDE. Gradle Integration

  • KT-59034 MPP build failed with "Factory type is not known for plugin variants" in kt-231-*

JavaScript

  • KT-58570 KJS: ES6 classes + PL throw java.lang.NullPointerException
  • KT-58835 K2/JS: Fix incremental compilation klib tests
  • KT-58794 KJS / K2: Assertion failed with Space build

Libraries

  • KT-58985 Update KClass.isData KDoc
  • KT-58276 Deprecate redundant public declarations in kotlin.native.concurrent

Native. ObjC Export

  • KT-58839 K/N: Exception during HiddenFromObjC marked class extension function compiling

Tools. Compiler plugins. Serialization

  • KT-58918 Serialization: NPE at run time obtaining a serializer for a sealed class with a generic self-referencing property
  • KT-58954 Serialization: NPE at run time when accessing a delegating property of a deserialized object
  • KT-59113 Serialization: NPE at run time when accessing a delegating property of a deserialized object
  • KT-57647 Serialization: "IllegalAccessError: Update to static final field" caused by serializable value class

Tools. Gradle

  • KT-59256 [1.9.0-Beta] ServiceLoader does not pick up classes defined in the same project
  • KT-58662 Gradle 8.1 + Configuration Cache: custom values data is missing from build report
  • KT-59063 Explicit API mode broken in Kotlin 1.9.0-Beta
  • KT-59191 Actual compilation failure exception might be hidden in the case of a Kotlin daemon crash
  • KT-59056 FreeCompilerArgs options added using 'subprojects' extension override module-level freeCompilerArgs options
  • KT-55740 Gradle 8: Listener registration using Gradle.addBuildListener() has been deprecated
  • KT-58251 Build Statistics. Kotlin-specific tags are missing in build scans if projects use Gradle 8+
  • KT-58916 [1.9.0-Beta] PLUGIN_CLASSPATH_CONFIGURATION_NAME and NATIVE_COMPILER_PLUGIN_CLASSPATH_CONFIGURATION_NAME should stay public or offer an alternative API
  • KT-58869 K2, Gradle: Improve message "100% (2/2) tasks have compiled with Kotlin 2"

Tools. Gradle. JS

  • KT-59116 K/JS npm dependcies are not resolved properly on Kotlin 1.9
  • KT-58970 browserTest gradle task fails if karma is used and gradle configuration cache is enabled
  • KT-59004 Kotlin JS 1.9.0-Beta, yarn.lock is unstable in multi module project

Tools. Gradle. Multiplatform

  • KT-57903 Prepare for migration to the pluggable android target plugin
  • KT-58661 KGP: KotlinJvmTarget: Implement 'run' carrier task
  • KT-59055 KotlinJvmRun not respecting jvmToolchain setting

Tools. Gradle. Native

  • KT-57823 KotlinNativeCompileOptions.moduleName value is ignored and replaced with the default one if to set up using compilations
  • KT-58838 KGP/Multiplatform: 1.9.0-Beta with custom cinterops: IllegalStateException: Could not create domain object 'jni' (DefaultCInteropSettings)

Tools. Incremental Compile

  • KT-58986 New IC: ISE "The following LookupSymbols are not yet converted to ProgramSymbols: LookupSymbol(name=$$delegatedProperties, ...)"

Tools. Parcelize

  • KT-59112 K2: "IllegalStateException: Function has no body with @Parcelize" on nested sealed class hierarchies

Checksums

File Sha256
kotlin-compiler-1.9.0-RC.zip d00312caa89de1dd3f62d80d5b31724efc333101616ba4a22caf4458862315e7
kotlin-native-linux-x86_64-1.9.0-RC.tar.gz 2dc30ef2b73bcc561decd5efc7b78b7431cfe2fb982c471baaa6762c5022ce5a
kotlin-native-macos-x86_64-1.9.0-RC.tar.gz a4b9b2dbb6793ee6857e3cbdecceb2d972aba1c1055e64bd7cce90fe0c776afc
kotlin-native-macos-aarch64-1.9.0-RC.tar.gz 1ca609007c2cbc587b4ce5e689064867ec18a377ce0ca24a777edf8d74cb7df9
kotlin-native-windows-x86_64-1.9.0-RC.zip b3e35851992132fea2608fa6be87f0fda4b613bca2a4417e5dc3bf1509128a2d

v1.8.22

10 months ago

Changelog

Tools. Gradle

  • KT-58280 org.jetbrains.kotlin.jvm Gradle plugin contributes build directories to the test compile classpath

Checksums

File Sha256
kotlin-compiler-1.8.22.zip 91f50fe25c9edfb1e79ae1fe2ede85fa4728f7f4b0587644a4eee40252cdfaa6
kotlin-native-linux-x86_64-1.8.22.tar.gz a1fb41fc010b347d5d9a5449ebb48ad200c59ec2a9121b01db5165db6697e58b
kotlin-native-macos-x86_64-1.8.22.tar.gz 0d6e6b12569a4b8ff2f301f827192dd715a29962cc01eed05557aa8e6eb7c20d
kotlin-native-macos-aarch64-1.8.22.tar.gz 29805af3220eab3c163ac54f02a6097436d4ddfa83eca7815eb053517093e417
kotlin-native-windows-x86_64-1.8.22.zip 91b04aa9f3dc3d5968c75d8e7f163e542458867915777e995162864cc805b2e5

v1.9.0-Beta

11 months ago

v1.8.21

1 year ago

Changelog

Compiler

  • KT-57848 Native: compilation of dynamic/static library fails with Xcode 14.3
  • KT-57875 Native compilation failure: Suspend functions should be lowered out at this point, but FUN LOCAL_FUNCTION_FOR_LAMBDA
  • KT-57946 KAPT: "RuntimeException: No type for expression" with delegate

JavaScript

  • KT-57356 KJS: StackOverflowException on @JsExport with type parameters referring to one another

Tools. Commonizer

  • KT-57796 NoSuchFileException in :module-B:commonizeCInterop with Kotlin 1.8.20

Tools. Compiler plugins. Serialization

  • KT-58067 Serialization: NullPointerException caused by @Contextual property with type with generic
  • KT-57730 Serialization: "IllegalStateException: Serializer for element of type .Foo has not been found" caused by serialization of Java type

Tools. Gradle. JS

  • KT-57766 KJS / Gradle "Module not found: Error: Can't resolve 'kotlin-kotlin-stdlib-js-ir'" when using "useEsModules"

Tools. Kapt

  • KT-58027 Kotlin 1.8.20 kapt issue "null: KtCallExpression: build()"

Tools. Maven

  • KT-58048 Maven: "Too many source module declarations found" after upgrading to 1.8.20
  • KT-58101 'Unable to access class' in kotlin-maven-plugin after updating to Kotlin 1.8.20

Checksums

File Sha256
kotlin-compiler-1.8.21.zip 6e43c5569ad067492d04d92c28cdf8095673699d81ce460bd7270443297e8fd7
kotlin-native-linux-x86_64-1.8.21.tar.gz 0fc854641dd6d88dce3cc044bb5bc99b9035480474e23541eff03771690c68cf
kotlin-native-macos-x86_64-1.8.21.tar.gz e73bfdac0461ee0c84f25e61063c243bf8d4eb8e0ff5da250456d6a23c677fd6
kotlin-native-macos-aarch64-1.8.21.tar.gz 0a97957921ed55458f3e6cc9117643914ccf3663d8ad7eb161a4a03035a7521b
kotlin-native-windows-x86_64-1.8.21.zip f23d3288a47ee580f82f862d55452a75074fce3d26fe7e7f55e27b6015226d8d