Skip to content

Kotlin 1.6.10-RC

Pre-release
Pre-release
Compare
Choose a tag to compare
@woainikk woainikk released this 07 Dec 13:13
· 11 commits to 1.6.0 since this release

Learn how to install Kotlin 1.6.10-RC plugin and how to configure build with 1.6.10-RC

Changelog

Android

  • KT-49798 [MPP] [Android] AGP 7.1.0+ android target publications leak 'AgpVersionAttr' attribute

Compiler

Performance Improvements

  • KT-49821 Optimize LazyClassMemberScope#getContributedDescriptors: use nameFilter

Fixes

  • KT-49838 Type inference fails on 1.6.0: Cannot use 'CapturedType(*)' as reified type parameter
  • KT-49752 Regression in method return type inference: "IllegalStateException: Expected some types"
  • KT-49876 Kotlin/Native: cross-compilation of Linux static library is broken in Windows in 1.6.0
  • KT-49833 java.lang.NullPointerException caused by accidental newline in package directive
  • KT-49792 Atomicfu: "standalone invocation of kotlinx.atomicfu.AtomicInt::compareAndSet that was not traced to previous field load" with suspend function
  • KT-49834 Coroutine method transformer generates invalid locals table.
  • KT-49441 Support friend modules in Kotlin Native
  • KT-49248 K/N: Symbol with IrSimpleFunctionSymbolImpl is unbound after 1.5.30
  • KT-49651 Inconsistent compiler APIs for repeatable annotations
  • KT-49168 JVM IR: IndexOutOfBoundsException with fun interface + suspend function as SAM method
  • KT-49573 No annotated types, compiler emits "Annotated types are not supported in typeOf"
  • KT-47192 Build Fake Overrides for internal members of classes from friend module
  • KT-48673 IR: IllegalStateException for usage of internal member declared in a superclass in another module

JavaScript

  • KT-47811 KJS / IR: "ClassCastException" when using suspend function in console.log

Tools. Android Extensions

  • KT-49799 NullPointerException when using kotlin-android-extensions synthetic after update to Kotlin 1.6.0

Tools. Compiler Plugins

  • KT-50005 jvm-abi-gen plugin: do not change the declaration order in generated jars
  • KT-49726 JVM/IR: "IllegalArgumentException: Null argument in ExpressionCodegen for parameter VALUE_PARAMETER": Serialization with sealed class as type parameter

Tools. Gradle

  • KT-49835 Android consumers can't resolve Android debug variants of published MPP libraries published with Kotlin 1.6.0 & Gradle 7.0+
  • KT-49910 Incremental compilation speed regression in 1.6.0 for Android projects

Tools. Gradle. JS

  • KT-34014 Gradle, JS: Ability to persist / reuse yarn.lock
  • KT-49505 KJS / IR: Installation of NPM dependencies should be with ignore-scripts

Tools. Gradle. Native

  • KT-49931 Kotlin Multiplatform Fails in Windows after 1.6.0 upgrade - Cannot run program "pod"
  • KT-49771 podInstall task is not executed after adding a pod dependency to the shared module

Tools. Incremental Compile

  • KT-49822 Incremental compilation state is modified when the build fails in Kotlin 1.6
  • KT-49340 "IllegalStateException: @NotNull method org/jetbrains/kotlin/com/intellij/openapi/application/AsyncExecutionService.getService must not return null" with Anvil plugin and incremental compilation

Checksums

File Sha256
kotlin-compiler-1.6.10-RC.zip e0fe4778f2494b8584039a3ff4268fdc74205841aed2d4036361f63dd540c287
kotlin-native-linux-x86_64-1.6.10-RC.tar.gz 88c4e51b5ed0d68c208394fccf61e14560121ed1be944a89b9ff7d8f7d4e7218
kotlin-native-macos-x86_64-1.6.10-RC.tar.gz 66b87d7e0d72b27d1da8a078fe5a5289f75f3312d8233b2b58719d04ebeb4c35
kotlin-native-macos-aarch64-1.6.10-RC.tar.gz 28cd94bd255c0fe3b639091a3bc66753c08c5136c3ebeb0a8a9cf8711240698a
kotlin-native-windows-x86_64-1.6.10-RC.zip 45f3f430588210b6ef906c7ebfdcf82a9b8d6bb367fb53aa35dde73a51cb2e3e