Skip to content

Kotlin 1.8.0-RC

Pre-release
Pre-release
Compare
Choose a tag to compare
@woainikk woainikk released this 08 Dec 08:40
· 41 commits to 1.8.0 since this release

Changelog

Compiler

  • KT-55108 IR interpreter: Error occurred while optimizing an expression: VARARG
  • KT-54884 "StackOverflowError: null" caused by Enum constant name in constructor of the same Enum constant
  • KT-55013 State checker use-after-free with XCode 14.1
  • KT-54275 K2: "IllegalArgumentException: KtParameter is not a subtype of class KtAnnotationEntry for factory REPEATED_ANNOTATION"

JavaScript

  • KT-55097 KJS / IR + IC: Using an internal function from a friend module throws an unbound symbol exception
  • KT-54934 KJS / IR + IC: Suspend abstract function stubs are generated with unstable lowered ic signatures
  • KT-54895 KJS / IR + IC: broken cross module references for function default param wrappers

Language Design

  • KT-48516 Forbid @Synchronized annotation on suspend functions

Libraries

  • KT-54835 Document that Iterable.all(emptyCollection) returns TRUE.
  • KT-54168 Expand on natural order in comparator docs

Native. Platform Libraries

Tools. Compiler plugins. Serialization

  • KT-55296 Improve exceptions in serialization plugin
  • KT-55180 KJS: regression in serialization for Kotlin 1.8.0-beta
  • KT-54878 JVM/IR: java.lang.ClassCastException: class org.jetbrains.kotlin.ir.types.impl.IrStarProjectionImpl cannot be cast to class org.jetbrains.kotlin.ir.types.IrTypeProjection on serializer<Box<*>>()

Tools. Gradle

  • KT-50115 Setting toolchain via Java extension does not configure 'kotlinOptions.jvmTarget' value when Kotlin compilation tasks are created eagerly
  • KT-55222 Migrate AndroidDependencyResolver to the new Gradle API
  • KT-54993 Raise kotlin.jvm.target.validation.mode check default level to error when build is running on Gradle 8+
  • KT-54995 [1.8.0-Beta] compileAppleMainKotlinMetadata fails on default parameters with No value passed for parameter 'mustExist'
  • KT-45335 kotlinOptions.jvmTarget conflicts with Gradle variants
  • KT-55019 Gradle sync: UnknownConfigurationException when adding implementation dependencies to a Kotlin with Java compilation
  • KT-55004 jvmTarget value is ignored by depending modules if a task "UsesKotlinJavaToolchain" is configured for all project modules using allProjects {}
  • KT-54888 Add Gradle property to suppress kotlinOptions.freeCompilerArgs modification on execution phase

Tools. Gradle. JS

  • KT-55099 K/JS: Second declaration of JS target without compiler type report warning incorrectly

Tools. Gradle. Multiplatform

  • KT-54634 MPP: Test Failure causes: KotlinJvmTest$Executor$execute$1 does not define failure

Tools. Incremental Compile

  • KT-54144 New IC: "IllegalStateException: The following LookupSymbols are not yet converted to ProgramSymbols" when changing an inline function with custom JvmName

Checksums

File Sha256
kotlin-compiler-1.8.0-RC.zip 20437cf085cfc1e70d63ba0be9034db1c4dd9f280872b626213f974b130b8dfe
kotlin-native-linux-x86_64-1.8.0-RC.tar.gz 195b2ef759a28138df5e305259b77b3512ad1942c3aaed2dd2cba54235ac693f
kotlin-native-macos-x86_64-1.8.0-RC.tar.gz d7b55e44f0a41f7e1b62d41fad4d130a6bbe981422776cd8b1c98d13c0e209d9
kotlin-native-macos-aarch64-1.8.0-RC.tar.gz a91fb1b057140dc5508b0a83bd551384e3d0364196f45ca5dbe4e2ff51113fc5
kotlin-native-windows-x86_64-1.8.0-RC.zip d38a39e1e53bba5bdb5f52a04e55dca360dcc527434d2c5c338c92ba1bf03b6a