release notes
release notes
Published 7/20/2021
Pre-ReleasePre-releaseKT-32443 Experimental declarations should be contagious even when they are not explicitly usedKT-45844 Forbid using experimental markers on override declarationsKT-45845 Forbid using experimental markers on getterKT-46644 Resolve overrides for IrProperty on deserializationKT-46967 Support class type parameters annotations in FIRKT-47402 Native: optimize access to object declarations that have only const vals and no init blocksKT-22852 Report diagnostics on implicit usages of experimental APIKT-22941 Experimental marker annotation with SOURCE retention is compiled without errorKT-24993 Inference for buildSequence/yield doesn't work for labeled lambdasKT-31728 Incorrect EXPERIMENTAL_OVERRIDE_ERROR for override of experimental function in anonymous objectKT-33364 Kotlin/Native debugger: execution stops only at next line for breakpoint at when expression without parameterKT-42139 NI: NEW_INFERENCE_NO_INFORMATION_FOR_PARAMETER for emptyList / listOf (with no arguments) / emptyMap / mapOf (with no arguments) inside if block inside sequence blockKT-44241 NI: BuilderInference regressionKT-44372 FIR: KClass::java cannot be resolved as callable referenceKT-44547 Native: wrong RTTI when overriding functions with equal signatures but different type argumentsKT-44571 Segfault on unnecessary int unboxingKT-45083 Problem with property reference in builder inferenceKT-45315 Deprecate (V)::a reference resolution to companion in FE 1.0KT-46393 AE: "1 trailing arguments were found in Any type" for private function with implicit anonymous return type inside generic classKT-46661 FIR: Investigate inference issue with self-types and star projectionKT-46775 [Native] [IR] Support multiple suspend lambdas as class supertypesKT-46836 Error: Invalid LLVM module on inlineClasses external testsKT-46838 NullPointerException: Parameter specified as non-null is null in CollectionsKt.joinToString()KT-46896 Native IR: NPE when using irBuiltIns.suspendFunctionKT-46996 FIR: INFERENCE_NO_INFORMATION_FOR_PARAMETER on type aliases with non-trivial expansionsKT-47034 KtValueArgument.getArgumentExpression could lead to StubBasedPsiElementBase.notBoundInExistingAstKT-47052 BuilderInference case with flatMapTo doesn't work properlyKT-47082 Stub type variable is leaked (reproduces with K/N during deserialization)KT-47143 ClassicTypeSystemContext couldn't handle: Captured(*) in Kotlin 1.5.0KT-47148 Type mismatch: inferred type is Any? but T? was expectedKT-47180 Forbid using OptIn markers on local variable, value parameter or fieldKT-47181 Forbid using OptIn markers on types or type parametersKT-47183 Segfault on int unboxingKT-47208 Backend Internal error: Exception during IR lowering: assert at IrOverridingUtilKt.buildFakeOverrideMemberKT-47276 Nullability annotations without target are ignored if type enhancement improvements are enabledKT-47450 StackOverflowException in psi2ir with many chained binary expressionsKT-47462 K/N: AssertionError: Unbound private symbol org.jetbrains.kotlin.ir.symbols.impl.IrClassSymbolImpl@6cb748db (NON-PUBLIC API): deserialized class CompanionKT-44643 ISE: Could not generate LightClass for some declared in on initialisation by lazy in a JVM module of a multiplatform projectKT-47163 KJS / Gradle: Could not resolve <artifact> despite being resolvable & project buildableKT-47557 KJS: With NPM dependency IDEA import fails when performed before Gradle buildKT-38363 JS IR BE: support IC for loweringsKT-45738 KJS / IR: Wrong generated code for when statementKT-46520 KJS / IR: ISE "Can't find name for declaration FUN name:CharArray_init_$Create$" on callable reference to Array constructorKT-46551 KJS / IR: Add a basic sourcemap generationKT-47477 Could not resolve kotlin-test during project import in case of multiplatform with only JVM target platformKT-35001 warning: linking module flags 'SDK Version': IDs have conflicting values ('[2 x i32] [i32 13, i32 2]'KT-43475 Kotlin/Native compiler: Including a static C library increased cross-compilation time from 3.5minutes to 1 hour 40 minutesKT-44148 Escape analysis failure: Heap space out of memoryKT-46711 platform.windows._LARGE_INTEGER cannot be passed by valueKT-43780 Improve Swift/Obj-C ergonomics for object and companion objectKT-46431 KMP accessing a property of an anonymous inner class that inherits from an abstract class causes a 'NSGenericException', reason: '[Shared_kobjcc0 ] is abstract' exception.KT-47042 Kotlin/Native: Concurrency Interoperability with Objective-C (Swift 5.5)KT-44321 Support Apple Silicon without Rosetta 2KT-18277 InvalidProtocolBufferException: Stream closed on multithreaded access to built-ins data in reflectionKT-44977 Reflection: ClassCastException caused by annotations with "AnnotationTarget.TYPE" usage on array attributes accessKT-40979 CLI: Executing "kotlinc.bat" at a root path, errors are not reported with a correct filepathKT-40994 CLI: Add documentation for -J argument in kotlinc -helpKT-46764 CLI: Java record defined in a single file root is not resolvedKT-45992 [Commonizer] Allow commonization of TypeAlias and Class with same nameKT-46716 [Commonizer] Analyze leaf source sets with original platform librariesKT-46957 [Commonizer] Unresolved classifier: platform/posix/ptrdiff_t for linuxMips32KT-47133 Forbid cinterop commonization with hierarchical commonization turned offKT-47301 [Commonizer] Associative commonizationKT-46723 Kotlin Lombok: JPS: config file is searched in directory relative to compiler daemonKT-46739 @SerialInfo NPE with default parameterKT-13258 Kotlin compiler doesn't respect Gradle's "sourceCompatibility" and "targetCompatibility"KT-43095 Add support for Java Toolchain to the Gradle pluginKT-45611 KGP should declare JDK version as inputKT-47185 Migrate Gradle Integration tests to use cache redirectorKT-47176 KJS: Actualize NPM dependenciesKT-47154 KJS / Gradle: Compile task reads dependencies metadata from filesystem too long on large projectsKT-47114 KJS / IR: Could not resolve coroutines-core-jsKT-43379 KJS / Gradle: On windows, an invalid regex is generated for Webpack ProgressPluginKT-47126 ios() target shortcuts should not include Apple Silicon by defaultKT-42023 Kotlin Native Cocoapods plugin fails when Xcode project has custom CONFIGURATION namesKT-27660 JS Incremental compilation fails with java.io.IOException: java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 0KT-45763 Failing tests in KotlinIDEKT-46646 Scripts: ArrayIndexOutOfBoundsException on an empty script running| File | Sha256 | | --- | --- | | kotlin-compiler-1.5.30-M1.zip | 63cf21ed7a642926786541aeb964bbe0c5a76025ed6c37ef57d145c795921575 | | kotlin-native-linux-x86_64-1.5.30-M1.tar.gz | 88f021688d36a29062081274e18101b2cc619b9bdd6e726ba869010cc2ee1b27 | | kotlin-native-macos-x86_64-1.5.30-M1.tar.gz | f0401b6bc6c15794c3776a9752e9dc39ccab27c9a31fadfd41ba40a3b9615f86 | | kotlin-native-macos-aarch64-1.5.30-M1.tar.gz | 1df2da185c8d4312c5020766e1b635fb37c840a20e9b3809435a8732c31e8815 | | kotlin-native-windows-x86_64-1.5.30-M1.zip | b71405030f2f4ca59452eee97792179731af9545ecff1da23408326815363e9e |
release notes
Published 7/20/2021
Pre-ReleasePre-releaseKT-32443 Experimental declarations should be contagious even when they are not explicitly usedKT-45844 Forbid using experimental markers on override declarationsKT-45845 Forbid using experimental markers on getterKT-46644 Resolve overrides for IrProperty on deserializationKT-46967 Support class type parameters annotations in FIRKT-47402 Native: optimize access to object declarations that have only const vals and no init blocksKT-22852 Report diagnostics on implicit usages of experimental APIKT-22941 Experimental marker annotation with SOURCE retention is compiled without errorKT-24993 Inference for buildSequence/yield doesn't work for labeled lambdasKT-31728 Incorrect EXPERIMENTAL_OVERRIDE_ERROR for override of experimental function in anonymous objectKT-33364 Kotlin/Native debugger: execution stops only at next line for breakpoint at when expression without parameterKT-42139 NI: NEW_INFERENCE_NO_INFORMATION_FOR_PARAMETER for emptyList / listOf (with no arguments) / emptyMap / mapOf (with no arguments) inside if block inside sequence blockKT-44241 NI: BuilderInference regressionKT-44372 FIR: KClass::java cannot be resolved as callable referenceKT-44547 Native: wrong RTTI when overriding functions with equal signatures but different type argumentsKT-44571 Segfault on unnecessary int unboxingKT-45083 Problem with property reference in builder inferenceKT-45315 Deprecate (V)::a reference resolution to companion in FE 1.0KT-46393 AE: "1 trailing arguments were found in Any type" for private function with implicit anonymous return type inside generic classKT-46661 FIR: Investigate inference issue with self-types and star projectionKT-46775 [Native] [IR] Support multiple suspend lambdas as class supertypesKT-46836 Error: Invalid LLVM module on inlineClasses external testsKT-46838 NullPointerException: Parameter specified as non-null is null in CollectionsKt.joinToString()KT-46896 Native IR: NPE when using irBuiltIns.suspendFunctionKT-46996 FIR: INFERENCE_NO_INFORMATION_FOR_PARAMETER on type aliases with non-trivial expansionsKT-47034 KtValueArgument.getArgumentExpression could lead to StubBasedPsiElementBase.notBoundInExistingAstKT-47052 BuilderInference case with flatMapTo doesn't work properlyKT-47082 Stub type variable is leaked (reproduces with K/N during deserialization)KT-47143 ClassicTypeSystemContext couldn't handle: Captured(*) in Kotlin 1.5.0KT-47148 Type mismatch: inferred type is Any? but T? was expectedKT-47180 Forbid using OptIn markers on local variable, value parameter or fieldKT-47181 Forbid using OptIn markers on types or type parametersKT-47183 Segfault on int unboxingKT-47208 Backend Internal error: Exception during IR lowering: assert at IrOverridingUtilKt.buildFakeOverrideMemberKT-47276 Nullability annotations without target are ignored if type enhancement improvements are enabledKT-47450 StackOverflowException in psi2ir with many chained binary expressionsKT-47462 K/N: AssertionError: Unbound private symbol org.jetbrains.kotlin.ir.symbols.impl.IrClassSymbolImpl@6cb748db (NON-PUBLIC API): deserialized class CompanionKT-44643 ISE: Could not generate LightClass for some declared in on initialisation by lazy in a JVM module of a multiplatform projectKT-47163 KJS / Gradle: Could not resolve <artifact> despite being resolvable & project buildableKT-47557 KJS: With NPM dependency IDEA import fails when performed before Gradle buildKT-38363 JS IR BE: support IC for loweringsKT-45738 KJS / IR: Wrong generated code for when statementKT-46520 KJS / IR: ISE "Can't find name for declaration FUN name:CharArray_init_$Create$" on callable reference to Array constructorKT-46551 KJS / IR: Add a basic sourcemap generationKT-47477 Could not resolve kotlin-test during project import in case of multiplatform with only JVM target platformKT-35001 warning: linking module flags 'SDK Version': IDs have conflicting values ('[2 x i32] [i32 13, i32 2]'KT-43475 Kotlin/Native compiler: Including a static C library increased cross-compilation time from 3.5minutes to 1 hour 40 minutesKT-44148 Escape analysis failure: Heap space out of memoryKT-46711 platform.windows._LARGE_INTEGER cannot be passed by valueKT-43780 Improve Swift/Obj-C ergonomics for object and companion objectKT-46431 KMP accessing a property of an anonymous inner class that inherits from an abstract class causes a 'NSGenericException', reason: '[Shared_kobjcc0 ] is abstract' exception.KT-47042 Kotlin/Native: Concurrency Interoperability with Objective-C (Swift 5.5)KT-44321 Support Apple Silicon without Rosetta 2KT-18277 InvalidProtocolBufferException: Stream closed on multithreaded access to built-ins data in reflectionKT-44977 Reflection: ClassCastException caused by annotations with "AnnotationTarget.TYPE" usage on array attributes accessKT-40979 CLI: Executing "kotlinc.bat" at a root path, errors are not reported with a correct filepathKT-40994 CLI: Add documentation for -J argument in kotlinc -helpKT-46764 CLI: Java record defined in a single file root is not resolvedKT-45992 [Commonizer] Allow commonization of TypeAlias and Class with same nameKT-46716 [Commonizer] Analyze leaf source sets with original platform librariesKT-46957 [Commonizer] Unresolved classifier: platform/posix/ptrdiff_t for linuxMips32KT-47133 Forbid cinterop commonization with hierarchical commonization turned offKT-47301 [Commonizer] Associative commonizationKT-46723 Kotlin Lombok: JPS: config file is searched in directory relative to compiler daemonKT-46739 @SerialInfo NPE with default parameterKT-13258 Kotlin compiler doesn't respect Gradle's "sourceCompatibility" and "targetCompatibility"KT-43095 Add support for Java Toolchain to the Gradle pluginKT-45611 KGP should declare JDK version as inputKT-47185 Migrate Gradle Integration tests to use cache redirectorKT-47176 KJS: Actualize NPM dependenciesKT-47154 KJS / Gradle: Compile task reads dependencies metadata from filesystem too long on large projectsKT-47114 KJS / IR: Could not resolve coroutines-core-jsKT-43379 KJS / Gradle: On windows, an invalid regex is generated for Webpack ProgressPluginKT-47126 ios() target shortcuts should not include Apple Silicon by defaultKT-42023 Kotlin Native Cocoapods plugin fails when Xcode project has custom CONFIGURATION namesKT-27660 JS Incremental compilation fails with java.io.IOException: java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 0KT-45763 Failing tests in KotlinIDEKT-46646 Scripts: ArrayIndexOutOfBoundsException on an empty script running| File | Sha256 | | --- | --- | | kotlin-compiler-1.5.30-M1.zip | 63cf21ed7a642926786541aeb964bbe0c5a76025ed6c37ef57d145c795921575 | | kotlin-native-linux-x86_64-1.5.30-M1.tar.gz | 88f021688d36a29062081274e18101b2cc619b9bdd6e726ba869010cc2ee1b27 | | kotlin-native-macos-x86_64-1.5.30-M1.tar.gz | f0401b6bc6c15794c3776a9752e9dc39ccab27c9a31fadfd41ba40a3b9615f86 | | kotlin-native-macos-aarch64-1.5.30-M1.tar.gz | 1df2da185c8d4312c5020766e1b635fb37c840a20e9b3809435a8732c31e8815 | | kotlin-native-windows-x86_64-1.5.30-M1.zip | b71405030f2f4ca59452eee97792179731af9545ecff1da23408326815363e9e |
The Kotlin Programming Language.