Changelog
Compiler
New Features
KT-28791
Kotlin serialization with inline classesKT-43920
Support loading binary Java annotations on fields
Performance Improvements
KT-44153
NI: Low Memory and IntelliJ hangs when quotes in split() are missedKT-45410
JVM / IR: Extreme performance regression on arithmetic operations inside a loop
Fixes
KT-35224
It's possible to pass non-spread arrays after arguments with SAM-conversionKT-36853
IR: UninitializedPropertyAccessException on tailrec with object expression in default argumentKT-41056
Increase stub version due to new "contract" keywordKT-43887
Problem with FunctionReferenceLowering$FunctionReferenceBuilder in kotlin nativeKT-44210
KJS / IR: "AssertionError: Undefined parameter referenced: defined" caused by plus assign operators in build blocksKT-44947
Sealed interfaces: Sealed fun interface leads to "NoWhenBranchMatchedException"KT-44993
JVM IR: VerifyError on getfield with Kotlin generic field and elvis operatorKT-45139
Inline class: AssertionError: Expected top level inline classKT-45195
JVM IR: annotation methods are generated as default interface methods ifallopen
is usedKT-45446
JVM / IR: NullPointerException caused by unreachable code and comparisonKT-45721
JVM / IR: "Unbound symbols not allowed" caused by class reference in sequence lambdaKT-45853
JVM / IR: "Accidental override" caused by inheriting Throwable.getCause from Java interfaceKT-45861
Turning warnings into errors for calls with type parameters annotated by @OnlyInputTypesKT-45868
JVM IR: ClassCastException with SAM function in init block when SAM is generated via invokedynamicKT-45920
JVM IR: "Accidental override" on redefiningget()
in custom Map classKT-45963
JVM / IR: "AbstractMethodError: Receiver class does not define or inherit an implementation of the resolved method" in Dokka testsKT-45967
JVM IR: "IllegalAccessError" with invokedynamic to Java SAM over callable reference to private functionKT-45982
Wrong subtyping result on captured types with postponed type variables
IDE. Inspections and Intentions
KT-38155
Lift assignment out of 'if' produces type mismatch without manually adding a semicolon
JavaScript
KT-44796
KJS / IR: default parameter of function with @JsName leads to "RangeError: Maximum call stack size exceeded"
Libraries
KT-39177
Make CharCategory available in common multiplatform codeKT-43772
Kotlin/Native unfinished workers detected.
Tools. Gradle
KT-43605
Kotlin Gradle Plugin 1.4.20 undeclared system property reads cause problems with Gradle configuration cache enabledKT-44462
Kotlin Gradle plugin createscompile
configuration with Gradle 7.0KT-44949
Compatibility with Gradle 7.0KT-44957
gradle - target.compilations seems to be deprecatedKT-45340
Update minimal supported version of Kotlin Gradle Plugin to 6.1
Tools. Gradle. Multiplatform
KT-44900
Support gradle configuration cache with kotlin.multiplatform plugin
Tools. kapt
KT-43686
KaptWithoutKotlincTask should use@CompileClasspath
forkotlinStdlibClasspath
for cache relocateability.KT-44130
KAPT changes field order in 1.4.30-M1
Checksums
File | Sha256 |
---|---|
kotlin-compiler-1.5.0-RC.zip | 91a82ea9ff1b49ef1c342d52b3fe54fed92aa79201ee0d452fe9b72e698ea98b |
kotlin-native-linux-1.5.0-RC.tar.gz | 6336cf1d360bd62adfffb4442a31e06150721cc767c76eca2830e9e45eed9bbc |
kotlin-native-macos-1.5.0-RC.tar.gz | 2d868b738b77ca290ea4c714669e31ed29f3befbb71aa0d0b4b0ad1ebddf1a9d |
kotlin-native-windows-1.5.0-RC.zip | dd3c6bec6aa1b50e1764484406d450d4ae491169a47add5e2174e82de73e567d |