release notes
release notes
Published 2/8/2023
Pre-ReleasePre-releaseKT-55510 K2: Lost designation for local classesKT-55191 AA: add an API to compare symbol pointersKT-55487 K2: symbol pointer restoring doesn't work for static membersKT-55336 K2 IDE: "java.lang.IllegalStateException: Required value was null." exception while importing a compiled JPS projectKT-55098 AA: KtDeclarationRenderer should render a context receiversKT-51181 LL API: errors for SAM with suspend function from another moduleKT-50250 Analysis API: Implement Analysis API of KtExpression.isUsedAsExpressionKT-54360 KtPropertySymbol: support JvmField in javaSetterName and javaGetterNameKT-54311 K2: proper implementation of KtSymbolPointerKT-50238 Analysis API: Implement KSymbolPointer for KtSymbolKT-52160 FIR: Substitution overrides on FirValueParameter-s are incorrectly unwrappedKT-54826 KtSymbolPointer: migrate from IdSignature to our own solutionKT-54464 MPP, Android SSL2: Add a flag for suppressing warning in case of using Android Style foldersKT-56160 Getting WebAssembly.CompileError in browsers not supported GC and other required proposalsKT-56166 Fix compatibility with Firefox NightlyKT-55589 Basic support of WASIKT-46773 Implement an experimental version of the Kotlin/Wasm compiler backendKT-53790 Reading from "node:module" is not handled by plugins error with Kotlin/Wasm 1.7.20-BetaKT-55949 Release experimental [@Volatile](https://github.com/Volatile) support in nativeKT-44698 Frontend (K2): print file name/line on compiler crash/exceptionKT-54666 K2: Allow to skip specifying type arguments for members from raw type scopeKT-54535 Implement custom equals and hashCode for value classes in Kotlin/JVMKT-54524 Implement Java synthetic property references in compilerKT-54024 K2: support -Xlink-via-signatures modeKT-53330 Optimize for-loops and contains over open-ended ranges with until operator (..<) for all backendsKT-48759 Infix compareTo boxes inline classesKT-55033 Make org.jetbrains.kotlin.resolve.calls.inference.model.NewConstraintSystemImpl#runTransaction an inline functionKT-33722 JVM: Result API causes unnecessary boxingKT-53153 Synthetic Enum.entries can be shadowed by user-defined declarationsKT-54140 SOE at IrBasedDescriptorsKt.makeKotlinType with mixing recursive definitely not nullable type with nullabilityKT-56224 Clarify message "Secondary constructors with bodies are reserved for for future releases" for secondary constructors in value classes with bodiesKT-54662 K2: Assign operator ambiguity on synthetic property from javaKT-54507 K2: Wrong implicitModality for interface in FirHelpersKT-55912 "UnsupportedOperationException: Unsupported const element type kotlin.Any" caused by kotlin fqn in annotationKT-55251 Enum.entries compilation error should be more specificKT-43296 FIR: Complicated interaction between smart cast and inference leads to false-positive diagnosticKT-55483 K2: Fir is not initialized for FirRegularClassSymbol java/lang/invoke/LambdaMetafactoryKT-56188 K/N: AssertionError when casting SAM wrapper with generic type parameterKT-54209 K2: false positive deprecation on a class literal with deprecated companionKT-55408 K2: can't access indirectly inherited from a package-private class Java members through a type aliasKT-55116 K2: store static qualifiers in dispatch receiver fieldKT-55436 K1: implement warning about shadowing of the derived property by the base class fieldKT-55368 K2/MPP: Metadata compilerKT-53846 K2 / Context receivers: ClassCastException on secondary constructor of class with context receiverKT-54305 K1: implement warning "synthetic setter projected out"KT-52027 "NullPointerException" when using context receivers with inline funKT-55984 Stack allocated array is not cleaned between loop iterationsKT-52593 Provide Alpha support for JS in the K2 platformKT-54656 NoSuchMethodError on invoking Java constructor which takes an inline value class as a parameterKT-55606 K2. Infix operator "in" works on ConcurrentHashMap when it's declared through another classKT-53884 K2: "IllegalStateException: Fir is not initialized for FirRegularClassSymbol com/appodeal/consent/Consent.a" when importing this classKT-54502 Synthetic extensions on raw types work differently from regular getter callsKT-49351 FIR: Raw type scopes are unsupportedKT-49345 FIR: Properly support raw types in type parameter upper boundsKT-55887 K2. "IllegalStateException: org.jetbrains.kotlin.ir.expressions.impl.IrErrorCallExpressionImpl is not expected" on adding kotlin.plugin.jpaKT-55733 K2. Reference resolve works incorrectly for classes declared through typealiasKT-46369 FIR: Investigate raw types for arraysKT-41794 [FIR] Implement raw type based scopeKT-55181 K2. No compilation error on throwing not throwableKT-55398 Kotlin inline nested inline lambda's inline variable will inline not correctlyKT-55359 K2. No error when secondary constructor does not delegate to primary oneKT-55759 K2: Unresolved reference of serializer if library linking is used (with kotlinx.serialization plugin)KT-54705 Kotlin scripting doesn't support files with UTF-8 BOMKT-51753 FIR: various errors due to expect/actual mapping absence in translatorKT-44515 FIR DFA: extract non-null info from anonymous object's initializationKT-55018 K2 / serialization: FIR2IR fails on local companionKT-55284 Refactor org.jetbrains.kotlin.diagnostics.KtDiagnosticReportContextHelpersKt#reportOn(...)KT-55693 K2. Type inference changed in k2KT-54332 Add deprecation warning for false-negative TYPE_MISMATCH for KT-49404KT-55597 K2. This type has a constructor, and thus must be initialized here error is missed for anonymous object inherits class with no-arg constructorKT-52459 Context receivers: AbstractMethodError caused by Interface method with both an extension and a context receiver is overriden incorrectly in subclassesKT-54357 "ClassCastException: class org.jetbrains.kotlin.resolve.scopes.receivers.ExtensionReceiver cannot be cast to class org.jetbrains.kotlin.resolve.scopes.receivers.ContextClassReceiver" with anonymous object extending a class with a context receiverKT-51397 "VerifyError: Bad type on operand stack" with context receiversKT-54905 KLIB check on compiled with pre-release versionKT-55615 K2 often does not expand type aliases in annotation positionKT-54522 K2: ambiguity between operator candidates on += (plusAssign) to reassigned var of MutableList typeKT-54300 K2: No "Projections are not allowed for immediate arguments of a supertype" for projection in supertypes of an anonymous objectKT-55495 K2: support lateinit intrinsic applicability checkerKT-33132 Cannot override the equals operator twice (in a class and its subclass) unless omitting the operator keyword in the subclassKT-55288 False negative WRONG_ANNOTATION_TARGET on type under a nullability qualifierKT-54730 K2: type aliases to generic functional interfaces attempt to re-infer explicitly specified type parametersKT-55611 IC / MPP: Optional internal annotations are not visible on incremental buildsKT-55656 K2: PRIMARY_CONSTRUCTOR_DELEGATION_CALL_EXPECTED being a warning causes a NPE in runtimeKT-51277 "NoSuchElementException: Collection contains no element matching the predicate" with context receivers and star projectionKT-52791 Class with multiple context receivers fails -Xvalidate-ir with "Validation failed in file"KT-55071 Shared Native Compilation: Calls from intermediate common source set cannot use default parameters declared in expect common functionsKT-54573 K2: untouched implicit types in delegated constructor call of data class with [@JvmRecord](https://github.com/JvmRecord)KT-55037 Support jspecify annotations moved to the new package org.jspecify.annotations in jspecify 0.3KT-48989 JVM / IR: "IllegalStateException: Bad exception handler end" when first parameter of inline function is nullable with "try/catch/finally" default value and second parameter tries to call toString() on the firstKT-55231 K2: Contract declarations are not passed to checkersKT-54411 False positive: INFERRED_TYPE_VARIABLE_INTO_POSSIBLE_EMPTY_INTERSECTION on kotlinx.coroutines codeKT-55005 Inconsistent behavior of array set operation in Kotlin 1.7.21KT-44625 Property backing/delegate field annotations are not serialized/deserialized for non-JVM targetsKT-42490 Receiver annotations are not serialized/deserialized for non-JVM targetsKT-53441 K2: cannot access static method of package-private Java grandparent classKT-54197 [K2] Exception from inliner for inline function with context receiverKT-55246 Disable 'CustomEqualsInValueClasses' feature in 1.9 language versionKT-55247 Disable 'InlineLateinit' feature in 1.9 language versionKT-53957 K2 and -Xlambdas=indy: LambdaConversionException on reference to method with both context and extension receiversKT-55421 K2: get rid of potentially redundant call of preCacheBuiltinClassMembers from getIrClassSymbolKT-52815 Compiler option -Xjdk-release fails to compile mixed projectsKT-52236 Different modality in psi and firKT-54921 K2: cannot access static field of package-private Java parent classKT-53698 K2: FIR2IR fails on call of inivisble extension function with SuppressKT-53920 K2: "NoSuchElementException: Key org.jetbrains.kotlin.fir.resolve.dfa.cfg.ClassExitNode is missing in the map" with unreachable code and anonymous objectKT-51290 "AssertionError: Parameter indices mismatch at context" with context receiversKT-51475 "ArrayIndexOutOfBoundsException: Index 4 out of bounds for length 4" with context(Any) on inline function with contractKT-51247 "AssertionError: org.jetbrains.kotlin.ir.expressions.impl.IrFunctionReferenceImpl" caused by context receiver functional typesKT-51951 "IllegalStateException: No receiver" caused by implicit invoke on typealias context receiverKT-52373 Context receivers: ClassCastException: function with dispatch, context, and extension receivers produces this when a parameter's default is includedKT-54807 K2. Support [@OnlyInputTypes](https://github.com/OnlyInputTypes) diagnostic checks (contains like calls)KT-54824 K2: missing smartcast after two levels of aliasing and a reassignmentKT-53368 Out of bounds read in sse version of String::hashCodeKT-51863 ClassCastException when using context receivers with named argument.KT-55123 JvmSerializableLambda is not applicable in common code in multiplatform projectsKT-45970 Missing deprecation warnings for constant operators calls in property initializersKT-54851 K2: analysis of as/is contains multiple errors that result in missing diagnosticsKT-54668 K2: Inference error in body of lazy property with elvis with Nothing in RHSKT-53070 Update intellij testdata fixes for FIR and merge it to masterKT-54950 NoSuchMethodError on calling 'addAll' on inline class implementing mutable listKT-53492 No parameter null check generated for constructor taking an inline class typeKT-55160 Kotlin's fragment element types must not extend IStubFileElementTypeKT-55143 K2: INAPPLICABLE_JVM_NAME in JVM does not work for inline classesKT-47933 Report warning if kotlin.annotation.Repeatable is used together with java.lang.annotation.RepeatableKT-55035 FIR: do not use FirValueParameter for FirFunctionalTypeRefKT-55095 Wrong containingDeclarationSymbol in type parameter from EnhancementKT-53946 K2: don't resolve Enum.declaringClass and Enum.getDeclaringClassKT-55074 OptIn false negative: constructor call with default argument valueKT-54260 K2: "AssertionError: No modifier list, but modifier has been found by the analyzer" when annotated annotation and AllOpen pluginKT-55034 FIR: provide information about containing function/constructor to FirValueParameterKT-53988 K2: False negative "The expression cannot be a selector (occur after a dot)"KT-53983 K2 crashes with NPE when 'this' is used inside enum class constructorKT-53371 Properly resolve FIR to get fully resolved annotationsKT-53519 FIR: argument mapping for annotations on value parameter is not properly builtKT-54827 MPP: "java.lang.IndexOutOfBoundsException: Index: 0" during compilation of androidMain targetKT-54417 K2: move receiver-targeted annotations to KtReceiverParameterSymbol and remove it from FirProperty receiver typeKT-54762 Private constructor is accessible from a public inline function via [@PublishedAPI](https://github.com/PublishedAPI) annotationKT-54732 DirectedGraphCondensationBuilder.paint fails with StackOverflowError during linkReleaseFrameworkIos64KT-54897 K2: value class with private constructor stripped by jvm-abi-gen cannot be used in another moduleKT-54784 NPE from IrSourceCompilerForInlineKt.nonLocalReturnLabel on non-local break and continue in anonymous initializers and in scriptsKT-54840 Field for const property on interface companion object loses deprecated status when copied to interfaceKT-53825 class files are generated when compilation fails with platform declaration clashKT-52157 Annotation on type parameter isn't present in the symbol loaded from the libraryKT-54654 K2: Implicit types leaks into delegated memberKT-53255 [FIR2IR] StackOverflowError with long when-expression conditionsKT-48861 No warning on incorrect usage of array type annotated as Nullable in JavaKT-54539 [@Deprecated](https://github.com/Deprecated) on members of private companion object is no longer neededKT-54401 Unhandled exception on compilation inline class with 'equals' from 'Any' returning 'Nothing'KT-54455 Unexpected result of equality comparison of inline class objectsKT-54378 K2: smart cast breaks subtyping in case with complex projectionsKT-53761 Reified type not propagated to supertype token through two inline functionsKT-53876 Manually instantiated annotations with unsigned arrays are not equalKT-51740 NO_VALUE_FOR_PARAMETER: Consider increasing error highlighting rangeKT-54084 ClassCastException when trying to call a context receiver's methodKT-51282 IllegalAccessError: Compiler for JVM 1.8+ makes lambdas access unaccessible classes when using [@JvmMultifileClasses](https://github.com/JvmMultifileClasses)KT-53479 False positive "Cannot access 'runCatching' before superclass constructor has been called"KT-50950 JVM IR: "AssertionError: FUN SYNTHETIC_GENERATED_SAM_IMPLEMENTATION" when using bound reference to suspend SAM functionKT-49364 "VerifyError: Bad type on operand stack" on cast which "can never succeed" from ULong to IntKT-55445 KtUltraLightClassModifierList.hasModifierProperty requires resolve for PsiModifier.PRIVATEKT-55862 Can't resolve kotlin-stdlib-js sources in IDEKT-55743 K2 SLC: SymbolLightClassForClassOrObject must have a nameKT-55604 Descriptor leakKT-55502 SLC: drop redundant 'final' modifier from synthetic static enum membersKT-55497 LC: drop [@NotNull](https://github.com/NotNull) annotation from parameter from synthetic Enum.valueOfKT-55496 SLC: generated synthetic enum methods by symbols instead of manual creationKT-55481 SLC: implement correct java annotations for annotation classes (Retention, Target, etc.)KT-55470 SLC: implement light class for RepeatableContainerKT-55442 SLC: 'isInheritor' for 'DefaultImpls' should work correctlyKT-40609 IDE: False positive "Exception is never thrown..." in Java when Kotlin getter is annotated with ThrowsKT-54051 Migrate symbol light classes from KtSymbol to KtElementKT-35655 Investigate could we use "names" field in SourceMaps to improve debug experienceKT-54118 Kotlin/JS IR: keep declarations with non-minified namesKT-55720 KJS: ReferenceError: SuspendFunction1 is not defined with 1.8 when importingkotlin.coroutines.SuspendFunction1KT-55930 KJS: A recursive callable reference of the inline function leads broken cross module referencesKT-31888 Kotlin/JS: make possible to call main() in main run tasks, but not in test tasksKT-51581 FIR: support JS backendKT-55786 KJS: Rewriting of secondary constructors if they are protectedKT-52563 KJS / IR: Invalid TypeScript generated for class extending base class with private constructorKT-55367 KJS / IR + IC: Moving an external declaration between different JsModules() doesn't rebuild the JS codeKT-55240 KJS: "NoSuchElementException: No element of given type found" caused by [@JsExport](https://github.com/JsExport) and Throwable's child classKT-54398 KJS / IR + IC: Support *.d.ts generationKT-55144 KJS / IR + IC: Modifying an inline function which is used as a default param in another inline function doesn't invalidate a callerKT-54134 KJS / IR: "TypeError: Cannot read properties of undefined" in js block wrapped with suspend functions aroundKT-54911 KJS / IR + IC: invalidate all klib dependencies after removing itKT-54912 KJS / IR + IC: Commit cache header only in the end (after lowering)KT-52677 Native: StackOverFlow during "kotlin.ir.util.RenderIrElementVisitor$renderTypeAnnotations$1.invoke"KT-54480 KJS: "Exported declaration contains non-consumable identifier" warning when exporting modules as defaultKT-41294 KJS: Weird behaviour of j2v8 in test infraKT-55344 Deprecate [@Synchronized](https://github.com/Synchronized) in platforms except JVMKT-55978 Provide Common Base64 encoding in stdlibKT-46211 [Kotlin/Native] Stack overflow crash in Regex classes with simple pattern and very large inputKT-31066 Add Closeable & use to common stdlibKT-55609 Introduce experimental kotlin.concurrent.Volatile annotationKT-39789 Segfault in Kotlin/Native regex interpreterKT-35508 EXC_BAD_ACCESS(code=2, address=0x16d8dbff0) crashes on iOS when using a sequence (from map() etc.)KT-53310 Native: HashMap/HashSet doesn't reclaim storage after removing elementsKT-55938 [Kotlin/Native] Inline functions accessing ObjC class companion cause compiler to crash when building static caches in 1.8.20 dev buildKT-55303 Objective-C import: improve -fmodules flag discoverability.KT-39120 Cinterop tool doesn't support the -fmodules compiler argumentKT-40426 Incorrect Objective-C extensions importing that prevents UIKit usageKT-55653 Since Kotlin 1.8.0 NSView.resetCursorRects doesn't exist anymore and cannot override itKT-54284 Kotlin/Native: cinterop produces non-deterministic metadataKT-56350 Kotlin/Native: restore "use Foundation" in generated Objective-C frameworksKT-53638 Native: support disabling mangling globally for Swift names in generated Objective-C headerKT-53069 SOE on K/N framework build for Arm64KT-53317 ObjCName annotation is not applied to an extension receiver in Objective-C exportKT-53064 Native: provide stdlib API to obtain memory management statisticsKT-27585 Flaky IllegalPropertyDelegateAccessException: Cannot obtain the delegate of a non-accessible property. Use "isAccessible = true" to make the property accessibleKT-55178 Improve performance of KCallable.callByKT-53279 Reflection: "KotlinReflectionInternalError: Method is not supported" caused by [@Repeatable](https://github.com/Repeatable) annotation deserialization at runtime if it's repeated and contains arraysKT-44977 Reflection: ClassCastException caused by annotations with "AnnotationTarget.TYPE" usage on array attributes accessKT-54652 Enable -Xuse-fir-lt by default when -Xuse-k2 is turned on, provide way to disableKT-55784 Unable to format compilation errors with ansi colors in compilation serverKT-54337 CLI: compiling module-info.java without explicitly specified JDK home leads to a weird errorKT-47429 [Commonizer] OKIO supportKT-51517 C Interop Commonizer Fails On Classifier That Doesn't ExistKT-53590 K2 Allopen does not look for transitive meta-annotationsKT-54020 [K2] [NEW_INFERENCE_NO_INFORMATION_FOR_PARAMETER] error in case 'static Name' param was added to @ AllArgsConstructor annotation and an empty list is set as a constructor param valueKT-53096 Create a pack of compiler utilities for generating declarations from pluginsKT-55248 K2/PluginAPI: getCallableNamesForClass/generateClassLikeDeclaration are not called for synthetic companions of local classesKT-54756 Deprecate "legacy" mode of jvm-abi-gen pluginKT-55233 jvm-abi-gen strips out InnerClass attributesKT-54500 Private type aliases can be referenced from public declarations, but are stripped by jvm-abi-genKT-49983 Implement prototype of kotlinx.serialization for K2 compilerKT-54441 Prohibit implicit serializer customization via companion objectKT-48733 "AssertionError: Unexpected IR element found during code generation" caused by Serialization and annotation with default parameterKT-54297 Regression in serializable classes with star projectionsKT-54492 Send gradle build errors from ideaKT-55540 Add compilation speed metric in build reportsKT-54691 Kotlin Gradle Plugin libraries alignment platformKT-55541 Validate FUS metrics values on Gradle sideKT-55995 Add ability to perform precise compilation task outputs backupKT-54836 Kotlin/JVM Gradle plugin creates task eagerly on Gradle 7.3+KT-54579 Kapt tasks slow down significantly on Windows when running with JDK 17 compared to JDK 11KT-54588 KotlinCompile: Avoid calling FileCollection.getFiles() multiple timesKT-52625 Compatibility with Gradle 7.4 releaseKT-55544 Gradle: add more debugging information for finding usages of kotlinOptions.freeCompilerArgsKT-52149 Gradle: declare shared build services usages with Task#usesServiceKT-53811 Compatibility with Gradle 7.6 releaseKT-52998 Compatibility with Gradle 7.5 releaseKT-55741 Gradle 8: Build service '' is being used by task '' without the corresponding declaration via 'Task#usesService'.KT-55174 KotlinCompile task produces deprecation "Build service 'variant_impl_factories_...' is being used by task"KT-54425 Kotlin Gradle Plugin should not use deprecated UsageContext#getUsage()KT-54998 "kotlin.gradle.performance" FUS collector reports data twiceKT-55520 Add required configuration for Kotlin Gradle Plugin API reference publicationKT-52963 Build report code breaks Gradle project isolation.KT-55164 KGP: "Cannot access project ':' from project ':list'" JVM - Project Isolation with Multi Modules and Configuration Cache failsKT-52490 Gradle: [org.jetbrains.kotlin.gradle.testing.internal] TestReport.destinationDir and TestReport.reportOn deprecation warningsKT-55000 Include information about the new IC into "kotlin.gradle.performance" FUS collectorKT-45748 Migrate all Kotlin Gradle plugin Android tests to new test setupKT-54029 Validate Binary Compatibility for kotlin-gradle-plugin-apiKT-41830 CocoaPods integration: Support link-only mode for podsKT-55801 Deprecate useLibrariesKT-55790 Improper sdk selected for watchosDeviceArm64 targetKT-37759 [Gradle, JS] Support arguments of command line for webpack and nodejs taskKT-33518 Allow specifying command line args for node in nodejs or mocha testsKT-46163 KJS / Ktor: Support run on the next free port if default one is occupiedKT-39108 Kotlin multiplatform plugin targeting js takes too long compared to the old kotlin-frontend pluginKT-45411 Investigate memory consumption in npm packageKT-55476 KotlinWebpack should be cacheableKT-51376 KJS / Gradle: Dukat tasks make impact on build time even if there's no npm dependenciesKT-56131 KJS / Gradle: Could not create an instance of type org.jetbrains.kotlin.gradle.targets.js.subtargets.KotlinNodeJs when task configuration avoidance is brokenKT-37668 Kotlin/JS: nodeTest failure due to main() function fail is reported as "BUILD SUCCESSFUL"KT-35285 Kotlin/JS + Gradle: browserDevelopementWebpack and browserProductionWebpack could write to different locationsKT-55593 KotlinJsCompilerType and KotlinJsCompilerTypeHolder LEGACY and BOTH constants should be marked as [@Deprecated](https://github.com/Deprecated) in 1.8KT-33291 JS: No build result with gradle parallel build in multiproject buildKT-40925 KJS: need a way to configure extra environment variables for the test taskKT-47236 KJS: kotlinNpmInstall fails if no yarn is downloadedKT-53288 KJS / Gradle: FileNotFoundException when customising moduleNameKT-54445 KJS Remove dukat integrationKT-54421 KJS / Legacy: Kotlin 1.7.20 fails when running tests on Node 14KT-54418 KJS: Change test running with kotlin-test adapterKT-54132 KJS IR: Sometimes karma failed on teamcity because of uninitialized browserKT-53570 multiplatform 'natural hierarchy' prototypeKT-55873 Unrequested dependencies leaking into common source sets: Regression after 703fd0f2KT-55891 Deprecate pre-HMPP flagsKT-56285 TCS: Gradle Sync: IdeProjectToProjectCInteropDependencyResolver: Ensure lenient resolutionKT-56115 Multiplatform;Composite Builds: Support import with cinterop commonization enabledKT-56204 KotlinTargetHierarchy: Changing naming from 'any' to 'with' prefixKT-54974 TCS: Gradle Sync: Implement IdeKotlinDependencyResolversKT-38712 Gradle configuration's name with word "implementation" is camelcased to "İmplementation" if default locale is TurkishKT-54975 TCS: Gradle Sync: Implement stdlib-common filter for platform source setsKT-36943 Gradle Plugin (multiplatform) - Consider publishing a 'sourcesElements' variant for the sources.jarKT-48839 Sources.jar of the root artifact of MPP library includes source files from test sourcesetsKT-55492 TCS: Gradle Sync: Sources and Documentation as extra 'classpath'KT-55237 TCS: Gradle Sync: Support stdlib-native sourcesKT-55475 TCS: Gradle Sync: Fine tune jvmAndAndroid source setsKT-55189 TCS: Gradle Sync: Support icons (native, js) and global librariesKT-55218 KotlinTargetHierarchy: Disambiguate declaring targets vs including targetsKT-55112 TCS: Gradle Sync: Resolve Source DependenciesKT-54977 TCS: Gradle Sync: Implement debugging toolsKT-54948 TCS: Gradle Sync: Port IdeaKpmPlatformDependencyResolver to TCSKT-55289 TCS: Gradle Sync: Prototypical sources jar resolutionKT-55238 TCS: Gradle Sync: Support commonized native distributionKT-55230 Remove metadata dependencies transformation for runtimeOnly scopeKT-53338 Prettify the message about incompatible AGP and KGP versionsKT-54506 Test tasks are considered up-to-date after a failure when triggered by allTestsKT-54787 Test tasks are not up-to-date when an individual test task called after aggregating test taskKT-54033 Multiplatform/Android Source Set Layout 1: Also support setting source dirs using AGP ApisKT-54202 CInterop Commonization fails on first run when native distribution is not yet commoniziedKT-54135 Add documentation with examples to CompositeMetadataArtifactKT-55650 Pass through errors from Gradle to XcodeKT-56205 Shared Native Compilation: False positive 'w: Could not find' warnings on metadata klibsKT-54969 Support podspec generation for the new K/N artifact DSLKT-53832 Enable new incremental compilation by default in GradleKT-55309 IC: Get rid of NonCachingLazyStorageKT-53402 Incremental compilation tries to compile resourcesKT-56165 Language version 1.9 and 2.0 is absent in Kotlin Compiler settingsKT-51536 [JPS] Recompile module on facet settings changeKT-53735 JPS / IC: "IOException: The system cannot find the file specified" on WindowsKT-47983 [JPS] Adding compilerSettings to Facet should initiate rebuild of moduleKT-54449 Cyrillic characters in a filename break builds on linuxKT-53135 Enable JVM IR for KAPT stub generation by defaultKT-41129 kotlin-maven-plugin + kapt - allow aptMode to be set according to docsKT-54380 Kapt / IR: Build failed when inheritance by functional interface with suspend modifierKT-55490 Kapt + JVM IR: "annotation [@Foo](https://github.com/Foo) is missing default values"KT-43786 KAPT: IllegalStateException: SimpleTypeImpl should not be created for error type: ErrorScopeKT-43117 Kapt: "System is already defined in this compilation unit"KT-46966 Kapt: correctErrorTypes: receiver type is NonExistentClassKT-46965 Kapt: correctErrorTypes: custom setter gets Object parameter typeKT-51087 KAPT: [@JvmRepeatable](https://github.com/JvmRepeatable) annotations are present in inverse order in KAPT stubsKT-54245 JVM IR / Kapt / Serialization: NullPointerException in SerializableIrGenerator.ktKT-54870 KAPT stub generation with JVM_IR backend throws exception for delegated propertiesKT-44350 Kapt Gradle integration tests failing with Android Gradle plugin 7.0KT-33847 Kapt does not included Filer-generated class files on compilation classpathKT-54030 Kapt: annotation processor warnings are displayed as errors on JDK 17+KT-32596 kapt replaces class generated by annotation processor with error.NonExistentClass when the class is used as an annotationKT-37586 KAPT: When delegated property use an unknown type (to-be-generated class), correctTypeError will mess up the $delegate field typeKT-29346 Add components.xml to automatically compile kotlin maven projectsKT-13995 Maven: Kotlin compiler plugin should respect model's compile source rootsKT-54822 Maven: Too low-level error message "Parameter specified as non-null is null: method kotlin.text.StringsKt__StringsJVMKt.startsWith, parameter " from Kotlin Maven plugin invoking compiler when tags are emptyKT-47110 Disable jdk8-specific warnings in kotlin-maven-pluginKT-54461 Warnings and stack traces when executing scripts via kotlin-maven-pluginKT-54733 Scripts: ConcurrentModificationException in *.main.kts scriptsKT-53283 Scripts: main-kts JAR does not relocate embedded SLF4J and jsoup librariesKT-54095 It is difficult (if not impossible) to use kotlin compiler plugins with scripting| File | Sha256 | | --- | --- | | kotlin-compiler-1.8.20-Beta.zip | ed487b3555967bb09ca46c1ccd2fca8d6ce8a813fcbd7ab31c74887a5826370a | | kotlin-native-linux-x86_64-1.8.20-Beta.tar.gz | 388df4048fa53d1137ce7ca1036d049061b6b7a5111f450dfbc6680d8bca30ed | | kotlin-native-macos-x86_64-1.8.20-Beta.tar.gz | b6856aeecf104c92dfedf23a603477e45711e064db10174cf863b94d0cff92e5 | | kotlin-native-macos-aarch64-1.8.20-Beta.tar.gz | eb8001fb8bf10ff599b749cf17761e4fe737b898b08bbbde07e03c082de6e856 | | kotlin-native-windows-x86_64-1.8.20-Beta.zip | f7d8f466f142ea0c4ca4692353d09efa1e86689e12906f27ddf604675feb188b |
release notes
Published 2/8/2023
Pre-ReleasePre-releaseKT-55510 K2: Lost designation for local classesKT-55191 AA: add an API to compare symbol pointersKT-55487 K2: symbol pointer restoring doesn't work for static membersKT-55336 K2 IDE: "java.lang.IllegalStateException: Required value was null." exception while importing a compiled JPS projectKT-55098 AA: KtDeclarationRenderer should render a context receiversKT-51181 LL API: errors for SAM with suspend function from another moduleKT-50250 Analysis API: Implement Analysis API of KtExpression.isUsedAsExpressionKT-54360 KtPropertySymbol: support JvmField in javaSetterName and javaGetterNameKT-54311 K2: proper implementation of KtSymbolPointerKT-50238 Analysis API: Implement KSymbolPointer for KtSymbolKT-52160 FIR: Substitution overrides on FirValueParameter-s are incorrectly unwrappedKT-54826 KtSymbolPointer: migrate from IdSignature to our own solutionKT-54464 MPP, Android SSL2: Add a flag for suppressing warning in case of using Android Style foldersKT-56160 Getting WebAssembly.CompileError in browsers not supported GC and other required proposalsKT-56166 Fix compatibility with Firefox NightlyKT-55589 Basic support of WASIKT-46773 Implement an experimental version of the Kotlin/Wasm compiler backendKT-53790 Reading from "node:module" is not handled by plugins error with Kotlin/Wasm 1.7.20-BetaKT-55949 Release experimental [@Volatile](https://github.com/Volatile) support in nativeKT-44698 Frontend (K2): print file name/line on compiler crash/exceptionKT-54666 K2: Allow to skip specifying type arguments for members from raw type scopeKT-54535 Implement custom equals and hashCode for value classes in Kotlin/JVMKT-54524 Implement Java synthetic property references in compilerKT-54024 K2: support -Xlink-via-signatures modeKT-53330 Optimize for-loops and contains over open-ended ranges with until operator (..<) for all backendsKT-48759 Infix compareTo boxes inline classesKT-55033 Make org.jetbrains.kotlin.resolve.calls.inference.model.NewConstraintSystemImpl#runTransaction an inline functionKT-33722 JVM: Result API causes unnecessary boxingKT-53153 Synthetic Enum.entries can be shadowed by user-defined declarationsKT-54140 SOE at IrBasedDescriptorsKt.makeKotlinType with mixing recursive definitely not nullable type with nullabilityKT-56224 Clarify message "Secondary constructors with bodies are reserved for for future releases" for secondary constructors in value classes with bodiesKT-54662 K2: Assign operator ambiguity on synthetic property from javaKT-54507 K2: Wrong implicitModality for interface in FirHelpersKT-55912 "UnsupportedOperationException: Unsupported const element type kotlin.Any" caused by kotlin fqn in annotationKT-55251 Enum.entries compilation error should be more specificKT-43296 FIR: Complicated interaction between smart cast and inference leads to false-positive diagnosticKT-55483 K2: Fir is not initialized for FirRegularClassSymbol java/lang/invoke/LambdaMetafactoryKT-56188 K/N: AssertionError when casting SAM wrapper with generic type parameterKT-54209 K2: false positive deprecation on a class literal with deprecated companionKT-55408 K2: can't access indirectly inherited from a package-private class Java members through a type aliasKT-55116 K2: store static qualifiers in dispatch receiver fieldKT-55436 K1: implement warning about shadowing of the derived property by the base class fieldKT-55368 K2/MPP: Metadata compilerKT-53846 K2 / Context receivers: ClassCastException on secondary constructor of class with context receiverKT-54305 K1: implement warning "synthetic setter projected out"KT-52027 "NullPointerException" when using context receivers with inline funKT-55984 Stack allocated array is not cleaned between loop iterationsKT-52593 Provide Alpha support for JS in the K2 platformKT-54656 NoSuchMethodError on invoking Java constructor which takes an inline value class as a parameterKT-55606 K2. Infix operator "in" works on ConcurrentHashMap when it's declared through another classKT-53884 K2: "IllegalStateException: Fir is not initialized for FirRegularClassSymbol com/appodeal/consent/Consent.a" when importing this classKT-54502 Synthetic extensions on raw types work differently from regular getter callsKT-49351 FIR: Raw type scopes are unsupportedKT-49345 FIR: Properly support raw types in type parameter upper boundsKT-55887 K2. "IllegalStateException: org.jetbrains.kotlin.ir.expressions.impl.IrErrorCallExpressionImpl is not expected" on adding kotlin.plugin.jpaKT-55733 K2. Reference resolve works incorrectly for classes declared through typealiasKT-46369 FIR: Investigate raw types for arraysKT-41794 [FIR] Implement raw type based scopeKT-55181 K2. No compilation error on throwing not throwableKT-55398 Kotlin inline nested inline lambda's inline variable will inline not correctlyKT-55359 K2. No error when secondary constructor does not delegate to primary oneKT-55759 K2: Unresolved reference of serializer if library linking is used (with kotlinx.serialization plugin)KT-54705 Kotlin scripting doesn't support files with UTF-8 BOMKT-51753 FIR: various errors due to expect/actual mapping absence in translatorKT-44515 FIR DFA: extract non-null info from anonymous object's initializationKT-55018 K2 / serialization: FIR2IR fails on local companionKT-55284 Refactor org.jetbrains.kotlin.diagnostics.KtDiagnosticReportContextHelpersKt#reportOn(...)KT-55693 K2. Type inference changed in k2KT-54332 Add deprecation warning for false-negative TYPE_MISMATCH for KT-49404KT-55597 K2. This type has a constructor, and thus must be initialized here error is missed for anonymous object inherits class with no-arg constructorKT-52459 Context receivers: AbstractMethodError caused by Interface method with both an extension and a context receiver is overriden incorrectly in subclassesKT-54357 "ClassCastException: class org.jetbrains.kotlin.resolve.scopes.receivers.ExtensionReceiver cannot be cast to class org.jetbrains.kotlin.resolve.scopes.receivers.ContextClassReceiver" with anonymous object extending a class with a context receiverKT-51397 "VerifyError: Bad type on operand stack" with context receiversKT-54905 KLIB check on compiled with pre-release versionKT-55615 K2 often does not expand type aliases in annotation positionKT-54522 K2: ambiguity between operator candidates on += (plusAssign) to reassigned var of MutableList typeKT-54300 K2: No "Projections are not allowed for immediate arguments of a supertype" for projection in supertypes of an anonymous objectKT-55495 K2: support lateinit intrinsic applicability checkerKT-33132 Cannot override the equals operator twice (in a class and its subclass) unless omitting the operator keyword in the subclassKT-55288 False negative WRONG_ANNOTATION_TARGET on type under a nullability qualifierKT-54730 K2: type aliases to generic functional interfaces attempt to re-infer explicitly specified type parametersKT-55611 IC / MPP: Optional internal annotations are not visible on incremental buildsKT-55656 K2: PRIMARY_CONSTRUCTOR_DELEGATION_CALL_EXPECTED being a warning causes a NPE in runtimeKT-51277 "NoSuchElementException: Collection contains no element matching the predicate" with context receivers and star projectionKT-52791 Class with multiple context receivers fails -Xvalidate-ir with "Validation failed in file"KT-55071 Shared Native Compilation: Calls from intermediate common source set cannot use default parameters declared in expect common functionsKT-54573 K2: untouched implicit types in delegated constructor call of data class with [@JvmRecord](https://github.com/JvmRecord)KT-55037 Support jspecify annotations moved to the new package org.jspecify.annotations in jspecify 0.3KT-48989 JVM / IR: "IllegalStateException: Bad exception handler end" when first parameter of inline function is nullable with "try/catch/finally" default value and second parameter tries to call toString() on the firstKT-55231 K2: Contract declarations are not passed to checkersKT-54411 False positive: INFERRED_TYPE_VARIABLE_INTO_POSSIBLE_EMPTY_INTERSECTION on kotlinx.coroutines codeKT-55005 Inconsistent behavior of array set operation in Kotlin 1.7.21KT-44625 Property backing/delegate field annotations are not serialized/deserialized for non-JVM targetsKT-42490 Receiver annotations are not serialized/deserialized for non-JVM targetsKT-53441 K2: cannot access static method of package-private Java grandparent classKT-54197 [K2] Exception from inliner for inline function with context receiverKT-55246 Disable 'CustomEqualsInValueClasses' feature in 1.9 language versionKT-55247 Disable 'InlineLateinit' feature in 1.9 language versionKT-53957 K2 and -Xlambdas=indy: LambdaConversionException on reference to method with both context and extension receiversKT-55421 K2: get rid of potentially redundant call of preCacheBuiltinClassMembers from getIrClassSymbolKT-52815 Compiler option -Xjdk-release fails to compile mixed projectsKT-52236 Different modality in psi and firKT-54921 K2: cannot access static field of package-private Java parent classKT-53698 K2: FIR2IR fails on call of inivisble extension function with SuppressKT-53920 K2: "NoSuchElementException: Key org.jetbrains.kotlin.fir.resolve.dfa.cfg.ClassExitNode is missing in the map" with unreachable code and anonymous objectKT-51290 "AssertionError: Parameter indices mismatch at context" with context receiversKT-51475 "ArrayIndexOutOfBoundsException: Index 4 out of bounds for length 4" with context(Any) on inline function with contractKT-51247 "AssertionError: org.jetbrains.kotlin.ir.expressions.impl.IrFunctionReferenceImpl" caused by context receiver functional typesKT-51951 "IllegalStateException: No receiver" caused by implicit invoke on typealias context receiverKT-52373 Context receivers: ClassCastException: function with dispatch, context, and extension receivers produces this when a parameter's default is includedKT-54807 K2. Support [@OnlyInputTypes](https://github.com/OnlyInputTypes) diagnostic checks (contains like calls)KT-54824 K2: missing smartcast after two levels of aliasing and a reassignmentKT-53368 Out of bounds read in sse version of String::hashCodeKT-51863 ClassCastException when using context receivers with named argument.KT-55123 JvmSerializableLambda is not applicable in common code in multiplatform projectsKT-45970 Missing deprecation warnings for constant operators calls in property initializersKT-54851 K2: analysis of as/is contains multiple errors that result in missing diagnosticsKT-54668 K2: Inference error in body of lazy property with elvis with Nothing in RHSKT-53070 Update intellij testdata fixes for FIR and merge it to masterKT-54950 NoSuchMethodError on calling 'addAll' on inline class implementing mutable listKT-53492 No parameter null check generated for constructor taking an inline class typeKT-55160 Kotlin's fragment element types must not extend IStubFileElementTypeKT-55143 K2: INAPPLICABLE_JVM_NAME in JVM does not work for inline classesKT-47933 Report warning if kotlin.annotation.Repeatable is used together with java.lang.annotation.RepeatableKT-55035 FIR: do not use FirValueParameter for FirFunctionalTypeRefKT-55095 Wrong containingDeclarationSymbol in type parameter from EnhancementKT-53946 K2: don't resolve Enum.declaringClass and Enum.getDeclaringClassKT-55074 OptIn false negative: constructor call with default argument valueKT-54260 K2: "AssertionError: No modifier list, but modifier has been found by the analyzer" when annotated annotation and AllOpen pluginKT-55034 FIR: provide information about containing function/constructor to FirValueParameterKT-53988 K2: False negative "The expression cannot be a selector (occur after a dot)"KT-53983 K2 crashes with NPE when 'this' is used inside enum class constructorKT-53371 Properly resolve FIR to get fully resolved annotationsKT-53519 FIR: argument mapping for annotations on value parameter is not properly builtKT-54827 MPP: "java.lang.IndexOutOfBoundsException: Index: 0" during compilation of androidMain targetKT-54417 K2: move receiver-targeted annotations to KtReceiverParameterSymbol and remove it from FirProperty receiver typeKT-54762 Private constructor is accessible from a public inline function via [@PublishedAPI](https://github.com/PublishedAPI) annotationKT-54732 DirectedGraphCondensationBuilder.paint fails with StackOverflowError during linkReleaseFrameworkIos64KT-54897 K2: value class with private constructor stripped by jvm-abi-gen cannot be used in another moduleKT-54784 NPE from IrSourceCompilerForInlineKt.nonLocalReturnLabel on non-local break and continue in anonymous initializers and in scriptsKT-54840 Field for const property on interface companion object loses deprecated status when copied to interfaceKT-53825 class files are generated when compilation fails with platform declaration clashKT-52157 Annotation on type parameter isn't present in the symbol loaded from the libraryKT-54654 K2: Implicit types leaks into delegated memberKT-53255 [FIR2IR] StackOverflowError with long when-expression conditionsKT-48861 No warning on incorrect usage of array type annotated as Nullable in JavaKT-54539 [@Deprecated](https://github.com/Deprecated) on members of private companion object is no longer neededKT-54401 Unhandled exception on compilation inline class with 'equals' from 'Any' returning 'Nothing'KT-54455 Unexpected result of equality comparison of inline class objectsKT-54378 K2: smart cast breaks subtyping in case with complex projectionsKT-53761 Reified type not propagated to supertype token through two inline functionsKT-53876 Manually instantiated annotations with unsigned arrays are not equalKT-51740 NO_VALUE_FOR_PARAMETER: Consider increasing error highlighting rangeKT-54084 ClassCastException when trying to call a context receiver's methodKT-51282 IllegalAccessError: Compiler for JVM 1.8+ makes lambdas access unaccessible classes when using [@JvmMultifileClasses](https://github.com/JvmMultifileClasses)KT-53479 False positive "Cannot access 'runCatching' before superclass constructor has been called"KT-50950 JVM IR: "AssertionError: FUN SYNTHETIC_GENERATED_SAM_IMPLEMENTATION" when using bound reference to suspend SAM functionKT-49364 "VerifyError: Bad type on operand stack" on cast which "can never succeed" from ULong to IntKT-55445 KtUltraLightClassModifierList.hasModifierProperty requires resolve for PsiModifier.PRIVATEKT-55862 Can't resolve kotlin-stdlib-js sources in IDEKT-55743 K2 SLC: SymbolLightClassForClassOrObject must have a nameKT-55604 Descriptor leakKT-55502 SLC: drop redundant 'final' modifier from synthetic static enum membersKT-55497 LC: drop [@NotNull](https://github.com/NotNull) annotation from parameter from synthetic Enum.valueOfKT-55496 SLC: generated synthetic enum methods by symbols instead of manual creationKT-55481 SLC: implement correct java annotations for annotation classes (Retention, Target, etc.)KT-55470 SLC: implement light class for RepeatableContainerKT-55442 SLC: 'isInheritor' for 'DefaultImpls' should work correctlyKT-40609 IDE: False positive "Exception is never thrown..." in Java when Kotlin getter is annotated with ThrowsKT-54051 Migrate symbol light classes from KtSymbol to KtElementKT-35655 Investigate could we use "names" field in SourceMaps to improve debug experienceKT-54118 Kotlin/JS IR: keep declarations with non-minified namesKT-55720 KJS: ReferenceError: SuspendFunction1 is not defined with 1.8 when importingkotlin.coroutines.SuspendFunction1KT-55930 KJS: A recursive callable reference of the inline function leads broken cross module referencesKT-31888 Kotlin/JS: make possible to call main() in main run tasks, but not in test tasksKT-51581 FIR: support JS backendKT-55786 KJS: Rewriting of secondary constructors if they are protectedKT-52563 KJS / IR: Invalid TypeScript generated for class extending base class with private constructorKT-55367 KJS / IR + IC: Moving an external declaration between different JsModules() doesn't rebuild the JS codeKT-55240 KJS: "NoSuchElementException: No element of given type found" caused by [@JsExport](https://github.com/JsExport) and Throwable's child classKT-54398 KJS / IR + IC: Support *.d.ts generationKT-55144 KJS / IR + IC: Modifying an inline function which is used as a default param in another inline function doesn't invalidate a callerKT-54134 KJS / IR: "TypeError: Cannot read properties of undefined" in js block wrapped with suspend functions aroundKT-54911 KJS / IR + IC: invalidate all klib dependencies after removing itKT-54912 KJS / IR + IC: Commit cache header only in the end (after lowering)KT-52677 Native: StackOverFlow during "kotlin.ir.util.RenderIrElementVisitor$renderTypeAnnotations$1.invoke"KT-54480 KJS: "Exported declaration contains non-consumable identifier" warning when exporting modules as defaultKT-41294 KJS: Weird behaviour of j2v8 in test infraKT-55344 Deprecate [@Synchronized](https://github.com/Synchronized) in platforms except JVMKT-55978 Provide Common Base64 encoding in stdlibKT-46211 [Kotlin/Native] Stack overflow crash in Regex classes with simple pattern and very large inputKT-31066 Add Closeable & use to common stdlibKT-55609 Introduce experimental kotlin.concurrent.Volatile annotationKT-39789 Segfault in Kotlin/Native regex interpreterKT-35508 EXC_BAD_ACCESS(code=2, address=0x16d8dbff0) crashes on iOS when using a sequence (from map() etc.)KT-53310 Native: HashMap/HashSet doesn't reclaim storage after removing elementsKT-55938 [Kotlin/Native] Inline functions accessing ObjC class companion cause compiler to crash when building static caches in 1.8.20 dev buildKT-55303 Objective-C import: improve -fmodules flag discoverability.KT-39120 Cinterop tool doesn't support the -fmodules compiler argumentKT-40426 Incorrect Objective-C extensions importing that prevents UIKit usageKT-55653 Since Kotlin 1.8.0 NSView.resetCursorRects doesn't exist anymore and cannot override itKT-54284 Kotlin/Native: cinterop produces non-deterministic metadataKT-56350 Kotlin/Native: restore "use Foundation" in generated Objective-C frameworksKT-53638 Native: support disabling mangling globally for Swift names in generated Objective-C headerKT-53069 SOE on K/N framework build for Arm64KT-53317 ObjCName annotation is not applied to an extension receiver in Objective-C exportKT-53064 Native: provide stdlib API to obtain memory management statisticsKT-27585 Flaky IllegalPropertyDelegateAccessException: Cannot obtain the delegate of a non-accessible property. Use "isAccessible = true" to make the property accessibleKT-55178 Improve performance of KCallable.callByKT-53279 Reflection: "KotlinReflectionInternalError: Method is not supported" caused by [@Repeatable](https://github.com/Repeatable) annotation deserialization at runtime if it's repeated and contains arraysKT-44977 Reflection: ClassCastException caused by annotations with "AnnotationTarget.TYPE" usage on array attributes accessKT-54652 Enable -Xuse-fir-lt by default when -Xuse-k2 is turned on, provide way to disableKT-55784 Unable to format compilation errors with ansi colors in compilation serverKT-54337 CLI: compiling module-info.java without explicitly specified JDK home leads to a weird errorKT-47429 [Commonizer] OKIO supportKT-51517 C Interop Commonizer Fails On Classifier That Doesn't ExistKT-53590 K2 Allopen does not look for transitive meta-annotationsKT-54020 [K2] [NEW_INFERENCE_NO_INFORMATION_FOR_PARAMETER] error in case 'static Name' param was added to @ AllArgsConstructor annotation and an empty list is set as a constructor param valueKT-53096 Create a pack of compiler utilities for generating declarations from pluginsKT-55248 K2/PluginAPI: getCallableNamesForClass/generateClassLikeDeclaration are not called for synthetic companions of local classesKT-54756 Deprecate "legacy" mode of jvm-abi-gen pluginKT-55233 jvm-abi-gen strips out InnerClass attributesKT-54500 Private type aliases can be referenced from public declarations, but are stripped by jvm-abi-genKT-49983 Implement prototype of kotlinx.serialization for K2 compilerKT-54441 Prohibit implicit serializer customization via companion objectKT-48733 "AssertionError: Unexpected IR element found during code generation" caused by Serialization and annotation with default parameterKT-54297 Regression in serializable classes with star projectionsKT-54492 Send gradle build errors from ideaKT-55540 Add compilation speed metric in build reportsKT-54691 Kotlin Gradle Plugin libraries alignment platformKT-55541 Validate FUS metrics values on Gradle sideKT-55995 Add ability to perform precise compilation task outputs backupKT-54836 Kotlin/JVM Gradle plugin creates task eagerly on Gradle 7.3+KT-54579 Kapt tasks slow down significantly on Windows when running with JDK 17 compared to JDK 11KT-54588 KotlinCompile: Avoid calling FileCollection.getFiles() multiple timesKT-52625 Compatibility with Gradle 7.4 releaseKT-55544 Gradle: add more debugging information for finding usages of kotlinOptions.freeCompilerArgsKT-52149 Gradle: declare shared build services usages with Task#usesServiceKT-53811 Compatibility with Gradle 7.6 releaseKT-52998 Compatibility with Gradle 7.5 releaseKT-55741 Gradle 8: Build service '' is being used by task '' without the corresponding declaration via 'Task#usesService'.KT-55174 KotlinCompile task produces deprecation "Build service 'variant_impl_factories_...' is being used by task"KT-54425 Kotlin Gradle Plugin should not use deprecated UsageContext#getUsage()KT-54998 "kotlin.gradle.performance" FUS collector reports data twiceKT-55520 Add required configuration for Kotlin Gradle Plugin API reference publicationKT-52963 Build report code breaks Gradle project isolation.KT-55164 KGP: "Cannot access project ':' from project ':list'" JVM - Project Isolation with Multi Modules and Configuration Cache failsKT-52490 Gradle: [org.jetbrains.kotlin.gradle.testing.internal] TestReport.destinationDir and TestReport.reportOn deprecation warningsKT-55000 Include information about the new IC into "kotlin.gradle.performance" FUS collectorKT-45748 Migrate all Kotlin Gradle plugin Android tests to new test setupKT-54029 Validate Binary Compatibility for kotlin-gradle-plugin-apiKT-41830 CocoaPods integration: Support link-only mode for podsKT-55801 Deprecate useLibrariesKT-55790 Improper sdk selected for watchosDeviceArm64 targetKT-37759 [Gradle, JS] Support arguments of command line for webpack and nodejs taskKT-33518 Allow specifying command line args for node in nodejs or mocha testsKT-46163 KJS / Ktor: Support run on the next free port if default one is occupiedKT-39108 Kotlin multiplatform plugin targeting js takes too long compared to the old kotlin-frontend pluginKT-45411 Investigate memory consumption in npm packageKT-55476 KotlinWebpack should be cacheableKT-51376 KJS / Gradle: Dukat tasks make impact on build time even if there's no npm dependenciesKT-56131 KJS / Gradle: Could not create an instance of type org.jetbrains.kotlin.gradle.targets.js.subtargets.KotlinNodeJs when task configuration avoidance is brokenKT-37668 Kotlin/JS: nodeTest failure due to main() function fail is reported as "BUILD SUCCESSFUL"KT-35285 Kotlin/JS + Gradle: browserDevelopementWebpack and browserProductionWebpack could write to different locationsKT-55593 KotlinJsCompilerType and KotlinJsCompilerTypeHolder LEGACY and BOTH constants should be marked as [@Deprecated](https://github.com/Deprecated) in 1.8KT-33291 JS: No build result with gradle parallel build in multiproject buildKT-40925 KJS: need a way to configure extra environment variables for the test taskKT-47236 KJS: kotlinNpmInstall fails if no yarn is downloadedKT-53288 KJS / Gradle: FileNotFoundException when customising moduleNameKT-54445 KJS Remove dukat integrationKT-54421 KJS / Legacy: Kotlin 1.7.20 fails when running tests on Node 14KT-54418 KJS: Change test running with kotlin-test adapterKT-54132 KJS IR: Sometimes karma failed on teamcity because of uninitialized browserKT-53570 multiplatform 'natural hierarchy' prototypeKT-55873 Unrequested dependencies leaking into common source sets: Regression after 703fd0f2KT-55891 Deprecate pre-HMPP flagsKT-56285 TCS: Gradle Sync: IdeProjectToProjectCInteropDependencyResolver: Ensure lenient resolutionKT-56115 Multiplatform;Composite Builds: Support import with cinterop commonization enabledKT-56204 KotlinTargetHierarchy: Changing naming from 'any' to 'with' prefixKT-54974 TCS: Gradle Sync: Implement IdeKotlinDependencyResolversKT-38712 Gradle configuration's name with word "implementation" is camelcased to "İmplementation" if default locale is TurkishKT-54975 TCS: Gradle Sync: Implement stdlib-common filter for platform source setsKT-36943 Gradle Plugin (multiplatform) - Consider publishing a 'sourcesElements' variant for the sources.jarKT-48839 Sources.jar of the root artifact of MPP library includes source files from test sourcesetsKT-55492 TCS: Gradle Sync: Sources and Documentation as extra 'classpath'KT-55237 TCS: Gradle Sync: Support stdlib-native sourcesKT-55475 TCS: Gradle Sync: Fine tune jvmAndAndroid source setsKT-55189 TCS: Gradle Sync: Support icons (native, js) and global librariesKT-55218 KotlinTargetHierarchy: Disambiguate declaring targets vs including targetsKT-55112 TCS: Gradle Sync: Resolve Source DependenciesKT-54977 TCS: Gradle Sync: Implement debugging toolsKT-54948 TCS: Gradle Sync: Port IdeaKpmPlatformDependencyResolver to TCSKT-55289 TCS: Gradle Sync: Prototypical sources jar resolutionKT-55238 TCS: Gradle Sync: Support commonized native distributionKT-55230 Remove metadata dependencies transformation for runtimeOnly scopeKT-53338 Prettify the message about incompatible AGP and KGP versionsKT-54506 Test tasks are considered up-to-date after a failure when triggered by allTestsKT-54787 Test tasks are not up-to-date when an individual test task called after aggregating test taskKT-54033 Multiplatform/Android Source Set Layout 1: Also support setting source dirs using AGP ApisKT-54202 CInterop Commonization fails on first run when native distribution is not yet commoniziedKT-54135 Add documentation with examples to CompositeMetadataArtifactKT-55650 Pass through errors from Gradle to XcodeKT-56205 Shared Native Compilation: False positive 'w: Could not find' warnings on metadata klibsKT-54969 Support podspec generation for the new K/N artifact DSLKT-53832 Enable new incremental compilation by default in GradleKT-55309 IC: Get rid of NonCachingLazyStorageKT-53402 Incremental compilation tries to compile resourcesKT-56165 Language version 1.9 and 2.0 is absent in Kotlin Compiler settingsKT-51536 [JPS] Recompile module on facet settings changeKT-53735 JPS / IC: "IOException: The system cannot find the file specified" on WindowsKT-47983 [JPS] Adding compilerSettings to Facet should initiate rebuild of moduleKT-54449 Cyrillic characters in a filename break builds on linuxKT-53135 Enable JVM IR for KAPT stub generation by defaultKT-41129 kotlin-maven-plugin + kapt - allow aptMode to be set according to docsKT-54380 Kapt / IR: Build failed when inheritance by functional interface with suspend modifierKT-55490 Kapt + JVM IR: "annotation [@Foo](https://github.com/Foo) is missing default values"KT-43786 KAPT: IllegalStateException: SimpleTypeImpl should not be created for error type: ErrorScopeKT-43117 Kapt: "System is already defined in this compilation unit"KT-46966 Kapt: correctErrorTypes: receiver type is NonExistentClassKT-46965 Kapt: correctErrorTypes: custom setter gets Object parameter typeKT-51087 KAPT: [@JvmRepeatable](https://github.com/JvmRepeatable) annotations are present in inverse order in KAPT stubsKT-54245 JVM IR / Kapt / Serialization: NullPointerException in SerializableIrGenerator.ktKT-54870 KAPT stub generation with JVM_IR backend throws exception for delegated propertiesKT-44350 Kapt Gradle integration tests failing with Android Gradle plugin 7.0KT-33847 Kapt does not included Filer-generated class files on compilation classpathKT-54030 Kapt: annotation processor warnings are displayed as errors on JDK 17+KT-32596 kapt replaces class generated by annotation processor with error.NonExistentClass when the class is used as an annotationKT-37586 KAPT: When delegated property use an unknown type (to-be-generated class), correctTypeError will mess up the $delegate field typeKT-29346 Add components.xml to automatically compile kotlin maven projectsKT-13995 Maven: Kotlin compiler plugin should respect model's compile source rootsKT-54822 Maven: Too low-level error message "Parameter specified as non-null is null: method kotlin.text.StringsKt__StringsJVMKt.startsWith, parameter " from Kotlin Maven plugin invoking compiler when tags are emptyKT-47110 Disable jdk8-specific warnings in kotlin-maven-pluginKT-54461 Warnings and stack traces when executing scripts via kotlin-maven-pluginKT-54733 Scripts: ConcurrentModificationException in *.main.kts scriptsKT-53283 Scripts: main-kts JAR does not relocate embedded SLF4J and jsoup librariesKT-54095 It is difficult (if not impossible) to use kotlin compiler plugins with scripting| File | Sha256 | | --- | --- | | kotlin-compiler-1.8.20-Beta.zip | ed487b3555967bb09ca46c1ccd2fca8d6ce8a813fcbd7ab31c74887a5826370a | | kotlin-native-linux-x86_64-1.8.20-Beta.tar.gz | 388df4048fa53d1137ce7ca1036d049061b6b7a5111f450dfbc6680d8bca30ed | | kotlin-native-macos-x86_64-1.8.20-Beta.tar.gz | b6856aeecf104c92dfedf23a603477e45711e064db10174cf863b94d0cff92e5 | | kotlin-native-macos-aarch64-1.8.20-Beta.tar.gz | eb8001fb8bf10ff599b749cf17761e4fe737b898b08bbbde07e03c082de6e856 | | kotlin-native-windows-x86_64-1.8.20-Beta.zip | f7d8f466f142ea0c4ca4692353d09efa1e86689e12906f27ddf604675feb188b |
The Kotlin Programming Language.