Changelog
Backend. Native. Debug
KT-47405
Incorrect path from inlined method in stacktrace on iOS-simulator ARM64KT-47408
Incorrect line number of inlined method on iOS-simulator ARM64
Compiler
New Features
KT-47709
Make when statements with enum, sealed, and Boolean subjects exhaustive by defaultKT-47699
Support programmatic creation of class annotations and corresponding feature flag on JVM
Performance Improvements
KT-47785
Compilation time increased when trying to compile AssertJ DB expression in 1.5.21
Fixes
KT-47941
"IllegalStateException: Expected some types" on a call with several excepted type constraintsKT-47854
"IllegalArgumentException: Type is inconsistent" with Android's @nullable annotation starting in Kotlin 1.5.20KT-47899
"AssertionError: Intersection type should not be marked nullable" with 1.5.21KT-47846
Stack overflow when handling enhanced recursive type parameterKT-47747
Introduce specific error for calls which could be resolved only with unrestricted builder inferenceKT-47739
JVM / IR: NoSuchFieldError with generic sealed classesKT-47422
-Xjspecify-annotations: If a class has a @nullable type-parameter bound, Kotlin should still treat some users' type arguments as platform typesKT-47437
Type inference failure with raw types under -Xjspecify-annotations=strictKT-47396
<?> in @NullMarked code should permit nullable typesKT-47729
False positive INTEGER_OPERATOR_RESOLVE_WILL_CHANGE warning: "expression will be resolved to Int in future releases"KT-47333
Xcode 13: Compilation for iOS simulator failsKT-47772
False negative WRONG_ANNOTATION_TARGET on type argument to function callKT-47467
JVM / IR: "AssertionError: Annotation class expected: deserialized class Array" caused by java annotation as a parameter of another annotationKT-47744
UninitializedPropertyAccessException compiler exception on nested builder inference callsKT-47724
Type inference: False positive "Returning type parameter has been inferred to Nothing implicitly"KT-47660
JVM / IR: Mockito verification fails when named parameters are ordered differentlyKT-47589
Using RequiresOptIn annotation on constructor property results in error even if the annotation has no VALUE_PARAMETER target
IDE
KT-47947
Add language version 1.6 to the compiler configuration preferences
Libraries
KT-23351
Regex.splitToSequence, CharSequence.splitToSequence(Regex)KT-42851
kotlin.time.Duration toString() shows wrong result for secondsKT-45325
Parsing Duration from StringKT-34021
Regex.matchAt / matchesAt
Native. Stdlib
KT-47915
Kotlin/Native: Provide access to test cases generated by the compiler
Reflection
KT-47650
KClass::nestedClasses throws ClassCastException for script classes with type aliases
Tools. CLI
KT-47623
Deprecate -Xuse-experimentalKT-30778
kotlin-compiler.jar contains shaded but not relocated kotlinx.coroutines
Tools. Commonizer
KT-47433
[Commonizer] Commonize functions/properties with TA/Class types in signatureKT-47691
[Commonizer] Commonizevar
andval
propertiesKT-47434
[Commonizer] Commonize parameterized (type-alias + class) typesKT-47432
[Commonizer] Commonize (type-alias + class) types used in functions
Tools. Daemon
KT-47152
Incremental Compilation with Kotlin compile daemon and JDK 17 fails with IllegalAccessException
Tools. Gradle
New Features
KT-45757
Add an easier way to explicitly set Kotlin daemon jvm arguments
Fixes
KT-47940
Kotlin JVM toolchain breaks configuration cacheKT-46626
kotlin-android plugin with kotlin-dsl: Extension with name 'android' does not exist. Currently registered extension names: [ext, kotlin, kotlinTestRegistry]KT-47754
“'compileDebugUnitTestJavaWithJavac' task (current target is 1.8)” during build android project without specified target and with jvmToolchain = JDK 11KT-47520
Kotlin and Java target compatibility check produces false positive on using Gradle toolchainsKT-46978
Duplicate resource errors on gradle 7 with multi-module multiplatform project with withJavaKT-27687
Empty directories in source set causes gradle cache miss for KotlinCompile taskKT-47635
Kotlin version conflict on using 'noarg' Gradle pluginKT-47636
Kotlin version conflict on using 'sam-with-receiver' Gradle pluginKT-47354
Kotlin version conflict on using 'allopen' Gradle pluginKT-45202
Kapt crashes with java.io.UTFDataFormatException
Tools. Gradle. JS
KT-47559
KJS / Gradle: Run task created using eager API and breaks task configuration avoidance
Tools. Gradle. Multiplatform
KT-38111
Gradle DSL: rename useExperimentalAnnotation functionKT-47612
Task :buildKotlinToolingMetadata is incompatible with Gradle configuration cacheKT-47611
Task :generateMetadataFileForKotlinMultiplatformPublication is incompatible with Gradle configuration cache
Tools. Gradle. Native
KT-47653
Support multi arch build via embedAndSign taskKT-47078
Support Apple Silicon in cocoapods gradle pluginKT-47077
Support Apple Silicon in embedAndSign task
Tools. Maven
KT-45689
JDK-16: kotlin-maven-plugin fails withIllegalAccessError: class com.intellij.util.io.FileChannelUtil
when using incremental compilation
Tools. Scripts
KT-43917
Gradle dependency conflict with resolutionStrategy failOnVersionConflict and kotlin 1.4
Checksums
File | Sha256 |
---|---|
kotlin-compiler-1.5.30-RC.zip | 5b59032acde09c1eab1c73ac5d494cc0b9abbe4183230ceb60039e561586a958 |
kotlin-native-linux-x86_64-1.5.30-RC.tar.gz | 7a3d09ae6053af5278b23c92336a7dc4177bb8642da0b93cda8f05d7fa978d6b |
kotlin-native-macos-x86_64-1.5.30-RC.tar.gz | 05f298b4b82db524d27e9b114fa9047be84adf0cbfb655c773d9ea821b096d3c |
kotlin-native-macos-aarch64-1.5.30-RC.tar.gz | 3c7765b68f0c88cca3e7794e3511e0f48b69d9c0c1da13c249bd5f3307e3fe9f |
kotlin-native-windows-x86_64-1.5.30-RC.zip | 435feb53f5e3bd60d5cf4723ffed9fdc563632b375d509e3e61836fbf1626a98 |