NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Maven Central · #181 by repository stars
Kotlin Gradle Plugin Model
Last release 11 months ago
23 Oct 2025
Ships fairly regularly
a new release about every 2 weeks
Nearly every release is documented
notes for 58 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
149 releases · first in 2018
`KT-29604` Do not implicitly propagate deprecations originated in Java
The release contains the JVM version of Kotlin compiler and also one native system dependent version for every major platform (Linux, macOS, and Windows). Those binaries are built with Excelsior JET AOT compiler (https://www.excelsiorjet.com/) and have faster startup time which is suitable for building small files or scripts.
KT-19664 Allow more permissive visibility for non-virtual actual declarationsKT-29586 Add support for Android platform annotationsKT-29604 Do not implicitly propagate deprecations originated in JavaKT-24876 Emit calls to java.lang.Long.divideUnsigned for unsigned types when target version is 1.8KT-25974 'when' by unsigned integers is not translated to tableswitch/lookupswitchKT-28015 Coroutine state-machine shall use Result.throwOnFailureKT-29229 Intrinsify 'in' operator for unsigned integer rangesKT-29230 Specialize 'next' method call for unsigned integer range and progression iteratorsKT-7185 Parse import directives in the middle of the file, report a diagnostic insteadKT-7237 Parser recovery (angle bracket mismatch)KT-11656 Could not generate LightClass because of ISE from bridge generation on invalid codeKT-13497 Better recovery in comma-separated lists in case of missing commaKT-13703 Restore parser better when class is missing from enum declarationKT-13731 Recover parser on value parameter without a typeKT-14227 Incorrect code is generated when using MutableMap.set with plusAssign operatorKT-19389 Couldn't inline method call 'with'KT-20065 "Cannot serialize error type: [ERROR : Unknown type parameter 0]" with generic typealiasKT-20322 Debug: member value returned from suspending function is not updated immediatelyKT-20780 "Cannot serialize error type: [ERROR : Unknown type parameter 0]" with parameterized inner type aliasKT-21405 Throwable “Rewrite at slice LEXICAL_SCOPE key: VALUE_PARAMETER_LIST” on editing string literal in kotlin-js moduleKT-21775 "Cannot serialize error type: [ERROR : Unknown type parameter 0]" with typealias used from a different moduleKT-22818 "UnsupportedOperationException: Don't know how to generate outer expression" on using non-trivial expression in default argument of expect functionKT-23117 Local delegate + local object = NoSuchMethodErrorKT-23701 Report error when -Xmultifile-parts-inherit is used and relevant JvmMultifileClass parts have any stateKT-23992 Target prefixes for annotations on supertype list elements are not checkedKT-24490 Wrong type is inferred when last expression in lambda has functional typeKT-24871 Optimize iteration and contains for UIntRange/ULongRangeKT-24964 "Cannot serialize error type: [ERROR : Unknown type parameter 0]" with Validated typealias from ArrowKT-25383 Named function as last statement in lambda doesn't coerce to UnitKT-25431 Type mismatch when trying to bind mutable property with complex common systemKT-25435 Try/catch as the last expression of lambda cause type mismatchKT-25437 Type variable fixation of postponed arguments and type variables with Nothing constraintKT-25446 Empty labeled return doesn't force coercion to UnitKT-26069 NoSuchMethodError on calling remove/getOrDefault on a Kotlin subclass of Java subclass of MapKT-26638 Check for repeatablilty of annotations doesn't take into account annotations with use-site targetKT-26816 Lambdas to Nothing is inferred if multilevel collections is used (listOf, mapOf, etc)KT-27190 State machine elimination after inlining stopped working (regression)KT-27241 Contracts: smartcasts don't work correctly if type checking for contract function is usedKT-27565 Lack of fallback resolution for SAM conversions for Kotlin functions in new inferenceKT-27799 Prohibit references to reified type parameters in annotation arguments in local classes / anonymous objectsKT-28182 Kotlin Bytecode tool window shows incorrect output on annotated property with backing fieldKT-28236 "Cannot serialize error type: [ERROR : Unknown type parameter 2]" with inferred type arguments in generic extension function from ArrowKT-28309 Do not generate LVT entries with different types pointing to the same slot, but have different typesKT-28317 Strange behavior in testJvmAssertInlineFunctionAssertionsEnabled on Jdk 6 and exception on JDK 8KT-28453 Mark anonymous classes for callable references as syntheticKT-28598 Type is inferred incorrectly to Any on a deep generic type with out projectionKT-28654 No report about type mismatch inside a lambda in generic functions with a type parameter as a return typeKT-28670 Not null smartcasts on an intersection of nullable types don't workKT-28718 progressive mode plus new inference result in different floating-point number comparisonsKT-28810 Suspend function's continuation parameter is missing from LVTKT-28855 NoSuchMethodError with vararg of unsigned Int in generic class constructorKT-28984 Exception when subtype of kotlin.Function is used as an expected one for lambda or callable referenceKT-28993 Incorrect behavior when two lambdas are passed outside a parenthesized argument listKT-29144 Interface with companion object generates invalid bytecode in progressive modeKT-29228 Intrinsify 'for' loop for unsigned integer ranges and progressionsKT-29324 Warnings indexing jdk 11 classesKT-29367 New inference doesn't wrap annotated type from java to TypeWithEnhancementKT-29507 @field-targeted annotation on property with both getter and setter is absent from bytecodeKT-29705 'Rewrite at slice CONSTRUCTOR` of JS class while editing another JVM-classKT-29792 UnsupportedOperationException: Unsupported annotation argument type when using Java annotation with infinity or NaN as a default valueKT-29891 Kotlin doesn't allow to use local class literals as annotation argumentsKT-29912 Crossinline nonsuspend lambda leads to KNPE during inliningKT-29965 Don't generate annotation on $default methodKT-30030 Extensive 'Rewrite at slice'-exception with contracts in JS module of multiplatform projectKT-22043 Report an error when comparing enum (==/!=/when) to any other incompatible type since 1.4KT-26150 KotlinFrontendException is thrown when callsInPlace called twice with different InvocationKind in functions with contractsKT-26153 Contract is allowed when it's at the beginning in control flow terms, but not in tokens order terms (contract doesn't work)KT-26191 Contract may not be the first statement if it's part of the expressionKT-29178 Prohibit arrays of reified type parameters in annotation arguments in local classes / anonymous objectsKT-20507 PROTECTED_CONSTRUCTOR_NOT_IN_SUPER_CALL not reported for generic base class constructor call, IAE at run-timeKT-20849 Inference results in Nothing type argument in case of passing 'out T' to 'in T1'KT-28285 NullPointerException on calling Array constructor compiled via Excelsior JETKT-29376 Report a deprecation warning when comparing enum to any other incompatible typeKT-29884 Report warning on @Synchronized on inline methodKT-30073 ClassCastException on coroutine start with crossinline lambdaKT-30597 "Extend selection" throws exception in empty class body caseKT-29492 Double cross-inline of suspending functions produces incorrect codeKT-30508 Wrong file name in metadata of suspend function capturing crossinline lambdaKT-30679 "KotlinFrontEndException: Front-end Internal error: Failed to analyze declaration" exception during a compilation of a multiplatform project containing Kotlin Script FileKT-26950 Support Multiline TODO commentsKT-29034 Make JvmDeclarationSearch find private fields in kotlin classesKT-29457 FindImplicitNothingAction#update freezes UI for 30 secsKT-29551 CreateKotlinSdkActivity runs on UI threadKT-11143 Do not insert closing brace for string template between open brace and identifierKT-18503 Optimize imports produces red codeKT-27283 KotlinULiteralExpression and PsiLanguageInjectionHost mismatchKT-27794 KotlinAnnotatedElementsSearcher doesn't process method parametersKT-28272 UAST: Need to be able to identify SAM conversionsKT-28360 Getting tons of "There are 2 classes with same fqName" logs in IntelliJKT-28739 Bad caret position after Insert curly braces around variable inspectionKT-29013 Injection with interpolation loses suffixKT-29025 Implement UReferenceExpression.referenceNameElement for KotlinKT-29287 Exception in ultra-light classes on method annotated with @ThrowsKT-29381 Highlight return lambda expressions when cursor is one the call with lambda argumentKT-29434 Can not detect injection host in string passed as argument into arrayOf() functionKT-29464 Project reopening does not create missing Kotlin SDK for Native modules (like it does for other non-JVM ones)KT-29467 Maven/Gradle re-import does not add missing Kotlin SDK for kotlin2js modules (non-MPP JavaScript)KT-29804 Probable error in the "Kotlin (Mobile Android/iOS)" new project template in IntelliJKT-30033 UAST: Delegation expression missing from parse treeKT-30388 Disable constant exception reporting from release versionsKT-30524 "java.lang.IllegalStateException: This method shouldn't be invoked for LOCAL visibility" on add importKT-30534 KotlinUObjectLiteralExpression returns classReference whose referenceNameElement is nullKT-30546 Kotlin UImportStatement's children references always resolve to nullKT-5435 Surround with try/catch should generate more Kotlin-style codeKT-29847 Many IDEA plugins are not loaded in presence of Kotlin plugin: "Plugins should not have cyclic dependencies"KT-23295 One-line comment indentation in functions with expression bodyKT-28905 When is "... if long" hitting?KT-29304 Settings / Code Style / Kotlin mentions "methods" instead of functionsKT-26954 Bad indentation for single function with expression body in new code styleKT-18663 Support "smart enter/complete statement" completion for method callsKT-28394 Improve code completion for top level class/interface to incorporate filenameKT-29435 org.jetbrains.kotlin.types.TypeUtils.contains hanging forever and freezing IntelliJKT-27915 Stop auto-completing braces for companion objectsKT-22250 Evaluate: 'this' shows different values when evaluated as a variable/watchKT-24829 Access to coroutineContext in 'Evaluate expression'KT-25220 Evaluator: a instance of Pair returned instead of String ("Extract function" failed)KT-25222 Evaluate: ClassCastException: ObjectValue cannot be cast to IntValue ("Extract function" failed)KT-26913 Change local variable name mangling ($receiver -> this_<label>)KT-28087 [Kotlin/JVM view] Inconsistent debugging data inside forEachIndexedKT-28134 Separate JVM/Kotlin views in "Variables" tool windowKT-28192 Exception from KotlinEvaluator: cannot find local variableKT-28680 Missing this word completion in "Evaluate expression" windowKT-28728 Async stack trace support for Kotlin coroutinesKT-21650 Debugger: Can't evaluate value, resolution errorKT-23828 Debugger: "Smart cast is impossible" when evaluating expressionKT-29661 Evaluate expression: "Cannot find local variable" for variable name escaped with backticksKT-29814 Can't evaluate a property on star-projected typeKT-29871 Debugger in IDE does not handle correctly extensions.KT-30182 Incorrect KT elvis expression debugger evaluationKT-29189 [BE] 'Step Over' falls through 'return when' (and 'return if') instead of executing individual branchesKT-29234 ISE “@NotNull method org/jetbrains/kotlin/codegen/binding/CodegenBinding.anonymousClassForCallable must not return null” on debugging with breakpoints in Kotlin script fileKT-29423 Unable to evaluate lambdas on jdk 9-11KT-30220 Empty variables view when breakpoint inside an lambda inside classKT-30318 KotlinCoroutinesAsyncStackTraceProvider slows down java debuggingKT-17811 Couldn't inline method error for inline method with anonymous object initialization and reified type parameterKT-30611 Debugger: in projects with stdlib of 1.2.n version Frames view can't complete loading, EvaluateException: "Method threw 'java.lang.ClassNotFoundException' exception." at EvaluateExceptionUtil.createEvaluateException()KT-9618 Exception in ClassClsStubBuilder.createNestedClassStub() while opening recent projectKT-29427 Exception in ClassClsStubBuilder.createNestedClassStub() for obfuscated libraryKT-26865 Gradle build in IDE: error messages in Native sources are not hyperlinksKT-28515 Failed to import Kotlin project with gradle 5.0KT-29564 kotlin.parallel.tasks.in.project=true causes idea to create kotlin modules with target JVM 1.6KT-30076 Memory leaks in Kotlin importKT-30379 Gradle 5.3 publishes an MPP with broken Maven scope mappingKT-27684 Gradle Kotlin DSL: the rootProject field is unresolved in IDEA for a common moduleKT-29465 IndexNotReadyException on context menu invocation for build.gradle.kts fileKT-29707 "Navigate declaration" navigates to compiled class in gradle cache folder instead of classes defined in gradle buildSrc folderKT-29832 Multiple Script Definitions for settings.gradle.ktsKT-30623 Errors in build.gradle.kts after applying new script dependenciesKT-29474 Regression in 1.3.20: Kotlin IDE plugin parses all *.gradle.kts files when any class in buildSrc is openedKT-30130 “Access is allowed from event dispatch thread only.” from ScriptNewDependenciesNotificationKt.removeScriptDependenciesNotificationPanel() on creating foo.gradle.kts files in IJ from masterKT-29196 Variable type hints are redundant for constructor calls of nested classesKT-30058 IndexNotReadyException from quick documentation when popup is activeKT-19558 Wrong position of type hint while renaming Kotlin variableKT-27438 "Show lambda return expression hints" breaks code indentationKT-28870 Rework "Lambda return expression" hint as between_lines_hint of disable it by defaultKT-29574 Incorrect parameter info popup for lambda nested in objectKT-16118 "Introduce import alias" intentionKT-17119 Inspection for (Scala-like) = { ... } syntax without expected type in function definitionKT-26128 Inspection for suspension inside synchronized and withLock functionsKT-27556 Add intention for collections, !collection.isEmpty() -> collection.isNotEmpty()KT-27670 Add quick fix: wrap expression in a lambda if compatible functional type is requiredKT-28803 Inspection: result of enum entries comparison is always false / trueKT-28953 Add intention to add underscores to decimal numerical literalKT-29001 Add intention to move variable declaration before when-expression into when's subjectKT-29113 Warn about redundant requireNotNull and checkNotNull usagesKT-29321 "Remove empty primary constructor": apply for enum entriesKT-12134 Suggest to remove qualifier in FQN nameKT-17278 Inspection to replace Java 8 Map.forEach with Kotlin's forEachKT-26965 Add inspection + quickfix for replacing Collection<T>.count() with .sizeKT-30123 Add intention to replace isEmpty/isNotEmpty method negationKT-25272 Unused expression as last expression of normal function should have quickfix to add "return"KT-30456 Improve: intention "Introduce Import Alias" should suggest new names for the new alias.KT-7593 On splitting property declaration for functional expression additional bracket addedKT-12273 "Replace with operator" intention is suggested for some non-operator functions and produces invalid codeKT-18715 Replace if with elvis swallows commentsKT-19254 Intention to convert object literal to class always creates a class named "O"KT-25501 "Replace overloaded operator with function call" changes semantics of increment and decrement operatorsKT-26979 "Lambda argument inside parentheses" inspection is not reported, if function type is actual type argument, but not formal parameter typeKT-27143 Intention "Replace camel-case name with spaces" is suggested for snake_case names in test functions and renames them incorrectlyKT-28081 "Convert to lambda" changes expression type for interface with multiple supertypesKT-28131 False positive "Redundant lambda arrow" with a functional type argumentKT-28224 "Add braces to 'else' statement" moves comment outside braces when 'if-else' is inside 'if / when' branchKT-28592 False positive "Remove redundant backticks" for underscore variable nameKT-28596 "Can be replaced with binary operator" shouldn't be suggested when receiver or argument is floating point typeKT-28641 "Remove useless cast" produces a dangling lambda ("Too many arguments" error)KT-28698 "Convert to apply" intention: include function calls with this passed as an argumentKT-28773 Kotlin/JS: Wrong inspection to replace .equals() with == on dynamic valuesKT-28851 'Convert parameter to receiver' adds Array<out T> wrapper to vararg parameter and drops override modifier in implementationsKT-28969 TYPE_MISMATCH in array vs non-array case: two quick fixes exist for annotation and none of them adds array literalKT-28995 "Add parameter to constructor" quickfix for first enum member changes arguments for all membersKT-29051 "Add parameter to constructor" quickfix for not-first enum member: "PsiInvalidElementAccessException: Element: class org.jetbrains.kotlin.psi.KtStringTemplateExpression #kotlin because: different providers"KT-29052 "Add parameter to constructor" quickfix for not-first enum member inserts FQN type for parameterKT-29056 KNPE in ConvertPrimaryConstructorToSecondary with missing property identifierKT-29085 False positive "Class member can have 'private' visibility" for a const val used in a public inline functionKT-29093 False positive inspection "Redundant lambda arrow" with nested lambdasKT-29099 "Convert to apply" intention is not available for a single function callKT-29128 False positive 'Explicitly given type is redundant here' when typealias is usedKT-29153 False negative "'rangeTo' or the '..' call should be replaced with 'until'" with bracketed expressionsKT-29193 Quick fix "Create extension function" List<Int>.set should not be suggested for read-only collectionsKT-29238 Non-canonical modifiers order inspection incorrectly includes annotations into rangeKT-29248 "Convert member to extension" doesn't preserve visibilityKT-29416 False positive "Redundant property getter" for external getterKT-29469 False positive in "Boolean literal argument without parameter name" inspection for varargs parametersKT-29549 Make package name convention inspection globalKT-29567 "Remove empty class body" is a poor name for inspection textKT-29606 Do not propose to remove unused parameter of property setterKT-29763 False negative "Object literal can be converted to lambda" for block body function with explicit returnKT-30007 False negative "Add import for '...'" in UserTypeKT-19944 multiplatform: Convert expect/actual function to property should keep the caret on the converted functionKT-27289 "Create" quick fix on FQN does nothing with KNPE at KotlinRefactoringUtilKt$chooseContainerElement$1.renderText()KT-29312 "Make constructor parameter a property" produces wrong modifier order + exception "Invalid range specified"KT-29414 "Main parameter is not necessary" inspection reports parameter of main() in objectKT-29499 "Unsafe call of inline function with nullable extension receiver" inspection ignores inferred nullabilityKT-29927 Missing "Import members from" intention with type check operator in when branchKT-30010 Introduce alternative quick-fixes for map[key]!!KT-30166 False positive "Redundant companion reference" on companion with the outer class nameKT-14886 Create Property from Usage should place generated property next to other propertiesKT-16139 Adding explicit type argument leads to type mismatchKT-19462 False positive inspection "Redundant lambda arrow" for overloaded functionsKT-22137 Create class quickfix is not suggested in return statementKT-23259 False positive unchecked cast warning/quickfix result in good code turning redKT-27641 "Specify type explicitly" suggests too general type even when type hint shows specific generic typeKT-29124 False positive inspection 'Redundant lambda arrow' with generic function/constructor with lambda argumentKT-29590 False positive inspection "Redundant lambda arrow" with vararg lambda arguments passed via spread operatorKT-29977 False positive "Unused import directive" for typealias of an enum imported as staticKT-30233 Change order of the quick fixes when method does not accept nullable typesKT-30341 False positive 'Use withIndex() instead of manual index increment' inspection with destructive declaration in 'for' loopKT-30414 "Replace return with 'if' expression" drops return labelKT-30426 Don't preserve extra line when adding remaining branches for whenKT-30433 "Convert member to extension" doesn't update external Kotlin callsKT-30117 Kotlin unused import analysis accesses file editor manager model outside UI threadKT-29143 Unnecessary primary constructor keyword inspectionKT-29444 "Make public" intention does not remove additional white-space to conform to proper styleKT-30337 Do not propose to move variable declaration into "when" if it's not used inside the when-expressionKT-29918 Outdated Ktor version in Kotlin (JS Client/JVM Server) multiplatform project generated via New Project WizardKT-26924 Overriding Methods list has more values than it should be in case of inline classKT-28661 "Is implemented in" gutter icon shows duplicate function implementations in inline classesKT-28838 Group by file structure doesn't work for text search in KotlinKT-27602 Kotlin property renaming change target name several times during rename making it hard to process it by reference handlersKT-29062 Extract Superclass refactoring throws Exception if sourceRoots.size() <= 1KT-29796 Label rename refactoring does not work on label usageKT-23985 Allow to run Kotlin Worksheet without module classpathKT-27955 Interactive mode for Kotlin Scratch filesKT-28958 Exception "Read access is allowed from event dispatch thread or inside read-action only" when running a scratch file with "Use REPL" and "Make before Run" enabledKT-30200 "java.lang.Throwable: Couldn't find expression with start line ..." on edition of a scratch file during its execution with interactive mode enabledKT-29770 IntelliJ IDEA makes too many requests for the classpath of a Gradle Kotlin build scriptKT-29893 IDE is frozen during project configuration because of ScriptTemplatesFromDependenciesProviderKT-30146 Preferences from Kotlin scripting section reset to default after project reopeningKT-25956 With failed test function class gutter icon is "failure", but function icon is "success"KT-17829 Please unify naming of Kotlin projects and frameworks for JVMKT-28941 Tip of the day: obsolete project types from "New project wizard"KT-27108 .toDouble() and .toFloat() conversions for unsigned typesKT-29520 Random.Default cannot be used asJavaRandomKT-30109 Documentation for Result.onSuccess and Result.onFailure are flipped aroundKT-26378 'contains' overloads for unsigned integer ranges with other unsigned integer typesKT-26410 High-order function overloads for unsigned arraysKT-27262 Binary search for specialized arrays of unsigned integersKT-28339 Add fill extension function for unsigned primitive arraysKT-28397 UByteArray plus UByteArray = List<UByte>KT-28779 Implement method sum() for arrays of unsigned primitivesKT-29151 Documentation for CharSequence.take() & String.take() shows examples of Iterable<T>.take()KT-30035 add max/maxOf/min/minOf for unsigned typesKT-30051 elementAt extension function of Array/PrimitiveAray/UnsignedArray does not throw IndexOutOfBoundException on incorrect index (JS only)KT-30141 JS: document Array.get behaviorKT-30704 Documentation of Random function not quite correctKT-26240 Support JVM bytecode targets 9, 10, 11, 12KT-12295 Gradle IC: Compile error leads to non-incremental buildKT-12700 Add a way to diagnose IC problemsKT-26275 Check new MPP ICKT-27885 Drop support for Gradle 3.x and earlierKT-27886 Drop support for Android Gradle plugin 2.xKT-28552 Gradle 4.7 import fails on Kotlin/mpp projects with Java11KT-29275 Drop support for Gradle 4.0KT-29758 Gradle build failed with exception on publication of a multiplatform library with Gradle metadata enabled: org.jetbrains.kotlin.gradle.plugin.mpp.HierarchyAttributeContainer cannot be cast to org.gradle.api.internal.attributes.AttributeContainerInternalKT-29966 Fix inter-project IC with new MPP for JS/JVM targetsKT-27059 Ensure a dependency on the multiplatform project in the POM when publishing a single-platform module with the maven pluginKT-29971 ConcurrentModificationException in Kotlin Gradle plugin (GradleCompilerRunner.buildModulesInfo)KT-21030 Automatically detect java 1.8 sources in kotlin-android gradle pluginKT-27675 Enable Kapt build cache by defaultKT-27714 Kotlin MPP Android targets don't have their attributes copied to the configurations of the compilationsKT-29761 Inter-project IC does not work for kaptGenerateStubs* tasks on AndroidKT-29823 Update 'org.gradle.usage' attribute rules to support the 'JAVA_API_JARS' valueKT-29964 A universal Gradle DSL way of configuring all compilations of all targets doesn't work for Android target of a multiplatform projectKT-30276 Warn if the Kotlin Gradle plugin is loaded multiple timesKT-30322 Memory leak in CompilationSourceSetUtilKT-30492 Classes not removed for out/in process compilationKT-29713 java.lang.IllegalStateException at converting @RestController java file to Kotlin fileKT-30137 Deadlock during concurrent classloadingKT-29251 NSME: MavenProjectsManager.scheduleArtifactsDownloading() at KotlinMavenImporter.scheduleDownloadStdlibSources()KT-19276 Console spam when opening idea-community project in debug IDEAKT-29296 Script evaluation - impossible to set base classloader to nullKT-27051 Support dynamic versions in @file:DependsOnKT-27815 Compiler options in the scripting compilation configuration are ignored on compilation/evaluationKT-28593 Idea tries to associate file type with the script definition discovery fileKT-29319 scripts default jvmTarget causes inlining problems - default should be 1.8KT-29741 KJvmCompiledScript can not be deserialized KJvmCompiledModule if it's nullKT-30210 Coroutines in main.kts crash with NoSuchMethodError because kotlin-main-kts.jar has embedded coroutinesKT-26977 kapt plugin applied in platform.jvm module preventing visibility of common codeKT-27506 Kapt error "no interface expected here" in class implementing interface with secondary constructorKT-28220 kapt can generate invalid stub files for imports of enum constantsKT-28306 Cannot extend an generic interface with function body while using kapt and correctErrorTypes in Kotlin 1.3KT-23880 Kapt: Support incremental annotation processorsKT-29302 Java classes doesn't resolve Kotlin classes when kapt.use.worker.api = trueKT-30163 Kapt: Javadoc in Java source model mangled (leading asterisks are preserved)This release also includes the fixes and improvements from the previous releases.
One column per quarter.
`KT-29475` IllegalArgumentException at getAbstractTypeFromDescriptor with deeply nested expression inside function named with a right parenthesis
KT-29475 IllegalArgumentException at getAbstractTypeFromDescriptor with deeply nested expression inside function named with a right parenthesisKT-29479 WARN: Could not read file on Java classes from JDK 11+KT-29360 Kotlin 1.3.20-eap-100: This marker function should never been called. Looks like compiler did not eliminate it properly. Please, report an issue if you caught this exception.KT-29486 Throwable: "Could not find correct module information" through IdeaKotlinUastResolveProviderService.getBindingContext() and ReplaceWithAnnotationAnalyzer.analyzeOriginal()KT-29394 Kotlin 1.3.20 EAP: Excess log messages with kotlin.parallel.tasks.in.project=trueKT-29474 Regression in 1.3.20: Kotlin IDE plugin parses all *.gradle.kts files when any class in buildSrc is openedKT-29290 Warning "function returning deferred with a name that does not end with async" should not be displayed for let/also/apply...KT-29494 Don't report BooleanLiteralArgumentInspection in batch (offline) mode with INFORMATION severityKT-29525 turning on parallel tasks causes java.lang.NoClassDefFoundError: Could not initialize class kotlin.Unit sometimesKT-27769 Change the DSL marker iconKT-29118 Log polluted with multiple "Kotlin does not support alternative resolve" reportsKT-28128 MPP Kotlin/Native re-downloads POM files on IDE Gradle refreshKT-29400 IDE REPL in Gradle project: "IllegalStateException: consoleView must not be null" on module buildKT-29612 jlink refuses to consume stdlib containing non-public package kotlin.nativeKT-29596 "AssertionError: Cannot load extensions/common.xml from kotlin-compiler.jar" on IBM JDK 8KT-29476 1.3.20 MPP Android publishing common api configuration with runtime scopeKT-29725 MPP Gradle 5.2: NoSuchMethodError in WrapUtilKT-29485 In MPP with Gradle module metadata, POM rewriting does not replace the root module publication with a platform one if the former has a custom artifact IDKT-29490 Regression in 1.3.20: Kotlin Jsr223 script engine cannot handle functional return types`KT-25058` Fix deprecated API usage in RemappingClassBuilder
The release contains the JVM version of Kotlin compiler and also one native system dependent version for every major platform (Linux, macOS, and Windows). Those binaries are built with Excelsior JET AOT compiler (https://www.excelsiorjet.com/) and have faster startup time which is suitable for building small files or scripts.
KT-22571 Android: Configure Kotlin should add implementation dependency instead of compileKT-14416 Support of @PolymorphicSignature in Kotlin compilerKT-22704 Allow expect annotations with actual typealias to Java to have default argument values both in expected and in actualKT-26165 Support VarHandle in JVM codegenKT-26999 Inspection for unused main parameter in Kotlin 1.3KT-16867 Proguard can't unbox Kotlin enums to integersKT-23466 kotlin compiler opens-reads-closes .class files many times overKT-25613 Optimise boxing of inline class values inside string templatesKT-2680 JVM backend should generate synthetic constructors for enum entries (as javac does).KT-6574 Enum entry classes should be compiled to package private classesKT-8341 Local variable cannot have type parametersKT-14529 JS: annotations on property accessors are not serializedKT-15453 Annotations are ignored on accessors of private propertiesKT-18053 Unexpected behavior with "in" infix operator and ConcurrentHashMapKT-18592 Compiler cannot resolve trait-based superclass of Groovy dependencyKT-19613 "Public property exposes its private type" not reported for primary constructor propertiesKT-20344 Unused private setter created for propertyKT-21862 java.lang.NoSuchFieldError when calling isInitialized on a lateinit "field" of a companion objectKT-21946 Compilation error during default lambda inlining when it returns anonymous objectKT-22154 Warning: Stripped invalid locals information from 1 method when compiling with D8KT-23369 Internal compiler error in SMAPParser.parseKT-23543 Back-end (JVM) Internal error: Couldn't inline methodKT-23739 CompilationException: Back-end (JVM) Internal error: Couldn't inline method call: Unmapped line number in inlined functionKT-24156 For-loop optimization should not be applied in case of custom iteratorKT-24672 JVM BE: Wrong range is generated in LVT for variables with "late" assignmentKT-24780 Recursive suspend local functions: "Expected an object reference, but found ."KT-24937 Exception from parser (EA-76217)KT-25058 Fix deprecated API usage in RemappingClassBuilderKT-25288 SOE when inline class is recursive through type parameter upper boundKT-25295 “Couldn't transform method node” error on compiling inline class with inherited interface method callKT-25424 No coercion to Unit when type argument specified explicitlyKT-25702 @JvmOverloads should not be allowed on constructors of annotation classesKT-25893 crossinline suspend function leads to IllegalStateException: call to 'resume' before 'invoke' with coroutine or compile errorKT-25907 "Backend Internal error" for a nullable loop variable with explicitly declared type in a for-loop over StringKT-25922 Back-end Internal error : Couldn't inline method : Lambda inlining : invoke(Continuation) : Trying to access skipped parameterKT-26126 Front-end doesn't check that fun with contract and callsInPlace effect is an inline function; compiler crashes on val initializationKT-26366 UseExperimental with full qualified reference to marker annotation class is reported as errorKT-26384 Compiler crash with nested multi-catch try, finally block and inline functionKT-26505 Improve error message on missing script base class kotlin.script.templates.standard.ScriptTemplateWithArgsKT-26506 Incorrect bytecode generated for inner class inside inline class referencing outer 'this'KT-26508 Incorrect accessor generated for private inline class method call from lambdaKT-26509 Internal compiler error on generating inline class private method call from companion objectKT-26554 VerifyError: Bad type on operand stack for inline class with default parameter of underlying typeKT-26582 Array literal of a primitive wrapper class is loaded as a primitive array literalKT-26608 Couldn't inline method call. RuntimeException: Trying to access skipped parameter: Ljava/lang/Object;KT-26658 Trying to access skipped parameter exception in code with crossinline suspend lambda with suspend function with default parameter callKT-26715 NullPointerException for an inline class constructor referenceKT-26848 Incorrect line in coroutine debug metadata for first suspension pointKT-26908 Inline classes can't have a parameter with a default value (Platform declaration clash)KT-26931 NSME “InlineClass.foo-impl(LIFace;)I” on calling inherited method from inline class instanceKT-26932 CCE “Foo cannot be cast to java.lang.String” when accessing underlying value of inline class through reflectionKT-26998 Default extension fun call in generic Kotlin interface with inline class substituted type of extension receiver fails with internal compiler errorKT-27025 Inline class access to private companion object fun fails with VerifyErrorKT-27070 Delegated property with inline class type delegate fails with internal error in codegenKT-27078 Inline class instance captured in closure fails with internal error (incorrect bytecode generated)KT-27107 JvmStatic in inline class companion doesn't generate static method in the classKT-27113 Inline class's toString is not called when it is used in string extrapolationKT-27140 Couldn't inline method call 'ByteArray' with inline classKT-27162 Incorrect container is generated to callable reference classes for references to inline class membersKT-27259 "Internal error: wrong code generated" for nullable inline class with an inline class underlying typeKT-27318 Interface implementation by delegation to inline class type delegate fails with internal error in codegenKT-27358 Boxed inline class type default parameter values fail with CCE at run-timeKT-27416 "IllegalStateException: Backend Internal error" for inline class with a function with default argument valueKT-27429 "-java-parameters" compiler argument fails in constructor when there is an inline class parameter presentKT-27513 Backend Internal Error when using inline method inside inline classKT-27560 Executing getter of property with type kotlin.reflect.KSuspendFunction1 throws MalformedParameterizedTypeExceptionKT-27705 Internal compiler error (incorrect bytecode generated) when inner class constructor inside inline class references inline class primary valKT-27706 Internal compiler error (incorrect bytecode generated) when inner class inside inline class accepts inline class parameterKT-27732 Using type inference on platform types corresponding to unsigned types causes compiler errorKT-27737 CCE for delegated property of inline class typeKT-27762 The lexer crashes when a vertical tabulation is usedKT-27774 Update asm to 7.0 in Kotlin backendKT-27948 "Argument 2: expected R, but found I" for equals operator on nullable and non-null unsigned typesKT-28054 Inline class: "Cannot pop operand off an empty stack" for calling private secondary constructor from companion objectKT-28061 Safe call operator and contracts: false negative "A 'return' expression required in a function with a block body"KT-28185 Incorrect behaviour of javaClass intrinsic for receivers of inline class typeKT-28188 CCE when bound callable reference with receiver of inline class type is passed to inline functionKT-28237 CoroutineStackFrame uses slashes instead of dots in FQNKT-28361 Class literal for inline class should return KClass object of the wrapperKT-28385 Rewrite at slice FUNCTION in MPP on "red" codeKT-28405 VE “Bad type on operand stack” at runtime on creating inline class with UIntArray insideKT-28585 Inline classes not properly boxed when accessing a var (from enclosing scope) from lambdaKT-28847 Compilation fails with "AssertionError: Rewrite at slice FUNCTOR" on compiling complicated case with delegating propertyKT-28879 "AnalyzerException: Expected I, but found R" when compiling javaClass on inline class valueKT-28920 "AnalyzerException: Expected I, but found R" when compiling javaObjectType/javaPrimitiveType with inline classesKT-28965 Unsound smartcast to definitely not-null if value of one generic type is cast to other generic typeKT-28983 Wrong mapping of flexible inline class type to primitive typeKT-25906 Kotlin language injection doesn't evaluate constants in string templatesKT-27461 Provide live template to generate main() with no parametersKT-28371 Automatically align ?: (elvis operator) after call on the new lineKT-23738 Provide stubs for annotation value argument listKT-25410 Opening Settings freezes the UI for 23 secondsKT-27832 Improve performance of KotlinGradleProjectResolverExtensionKT-28755 Optimize searching constructor delegation callsKT-29297 Improve performance of light classes in IDE (Java-to-Kotlin interop)KT-9840 Right parenthesis doesn't appear after class name before the colonKT-13420 Extend Selection: lambda: whole literal with braces is selected after parametersKT-17502 Do not disable "Generate equals and hashCode" actions for data classesKT-22590 Create Kotlin SDK if it's absent on importing from gradle/maven Kotlin (JavaScript) projects and on configuring java project to Kotlin(JavaScript), Kotlin(Common)KT-23268 IntelliJ plugin: Variables from destructing declarations are not syntax colored as variablesKT-23864 Copyright message is duplicated in kotlin file in root package after updating copyrightKT-25156 SOE in IDE on destructuring delegated property declarationKT-25681 Remove "Coroutines (experimental)" settings from IDE and do not pass -Xcoroutines to JPS compiler (since 1.3)KT-26868 MPP: Gradle import: test dependencies get Compile scopeKT-26987 "Extend Selection" is missing for labeled returnKT-27095 Kotlin configuration: update EAP repositories to use https instead of httpKT-27321 Cannot init component state if "internalArguments" presents in xml project structure (kotlinc.xml)KT-27375 Kotlin Gradle DSL script: "Unable to get Gradle home directory" in new project with new Gradle wrapperKT-27380 KotlinStringLiteralTextEscaper returns wrong offset on unparseable elementsKT-27491 MPP JVM/JS wizard: Use Ktor in the skeletonKT-27492 Create some MPP wizard testsKT-27530 Kotlin Gradle plugin overwrites the JDK set by jdkName property of the Gradle Idea pluginKT-27663 Uast: don't store resolved descriptors in UElementsKT-27907 Exception on processing auto-generated classes from ASKT-27954 Generate -> toString() using "Multiple templates with concatenation" should add spaces after commasKT-27941 MPP: Gradle import with "using qualified names" creates 2 modules with the same content rootKT-28199 Could not get javaResolutionFacade for groovy elementsKT-28348 Don't log or wrap ProcessCanceledExceptionKT-28401 Show parameter info for lambdas during completionKT-28402 Automatically indent || and && operatorsKT-28458 New Project Wizard: move multiplatform projects to the new DSLKT-28513 Bad Kotlin configuration when old syntax is used for configured Gradle project with >= 4.4 versionKT-28556 Wrong nullability for @JvmOverloads-generated method parameter in light classesKT-28997 Couldn't get delegate for class from any local class or object in scriptKT-29027 Kotlin LightAnnotations don't handle vararg class literalsKT-23560 Scratch: impossible to run scratch file from Android StudioKT-25450 NoClassDefFoundError when trying to run a scratch file in Android Studio 3.1.3, Kotlin 1.2.51KT-26764 kotlin content root isn't generated for Android module of a multiplatform project on Gradle importKT-5590 kotlin: line comment must not be on first column by defaultKT-24496 IntelliJ IDEA: Formatting around addition / subtraction not correct for KotlinKT-25417 Incorrect formatting for comments on property accessorsKT-27847 Destructured declaration continued on the next line is formatted with double indentKT-28070 Code style: "Align when multiline" option for "extends / implements list" changes formating of enum constants constructor parametersKT-28227 Formatter should not allow enum entries to be on one line with opening braceKT-28484 Bad formatting for assignment when continuation for assignments is disabledKT-18089 Completion for nullable types without safe call rendered in gray color is barely visibleKT-20706 KDoc: Unneeded completion is invoked after typing a number/digit in a kdoc commentKT-22579 Smart completion should present enum constants with higher rankKT-23834 Code completion and auto import do not suggest extension that differs from member only in type parameterKT-25312 Autocomplete for overridden members in expected class inserts extra override wordKT-26632 Completion: "data class" instead of "data"KT-27916 Autocomplete val when auto-completing constKT-13268 Can't quick evaluate expression with Alt + Click without get operatorKT-14075 Debugger: Property syntax accesses private Java field rather than synthetic property accessorKT-22366 Debugger doesn't stop on certain expressionsKT-23585 Evaluation of a static interface method call failsKT-24343 Debugger, Step Over: IllegalStateException on two consecutive breakpoints when first breakpoint is on an inline function callKT-24959 Evaluating my breakpoint condition fails with exceptionKT-25667 Exception in logs from WeakBytecodeDebugInfoStorage (NoStrataPositionManagerHelper)KT-26795 Debugger crashes with NullPointerException when evaluating const value in companion objectKT-26798 Check that step into works with overrides in inline classesKT-27414 Use "toString" to render values of inline classes in debuggerKT-27462 Main without parameters just with inline fun call: Debug: last Step Over can't finish the processKT-28028 IDEA is unable to find sources during debuggingKT-28342 Can't evaluate the synthetic 'field' variableKT-28487 ISE “resultValue is null: cannot find method generated_for_debugger_fun” on evaluating value of inline classKT-27284 Disable highlighting in decompiled Kotlin bytecodeKT-27460 "Show Kotlin bytecode": "Internal error: null" for an inline extension property from a different fileKT-27265 Unresolved reference in IDE on calling JVM source set members of a multiplatform project with Android target from a plain Kotlin/JVM moduleKT-14862 IDEA links to class file instead of source in buildSrc (Gradle/Kotlin script)KT-17231 "Optimize Import" action not working for Gradle script kotlin.KT-21981 Optimize imports on the fly does not take implicit imports into account in .kts filesKT-24623 Class defined in gradle buildSrc folder is marked as unused when it is actually used in Gradle Script Kotlin fileKT-24705 Script reports are shown in the editor only after caret moveKT-24706 Do not attach script reports if 'reload dependencies' isn't pressedKT-25354 Gradle Kotlin-DSL: Changes of buildSrc are not visible from other modulesKT-25619 Intentions not working in buildSrc (Gradle)KT-27674 Highlighting is skipped in files from buildSrc folder of Gradle projectKT-13118 Parameter info is not shown for Kotlin last-argument lambdasKT-25162 Parameter info for builder functions and lambdasKT-26689 Lambda return expression hint not shown when returning a lambda from inside a lambdaKT-27802 The hint for the if-expression is duplicated inside each branchKT-2029 Add inspection for boolean literals passed without using named parameters featureKT-5071 Properly surround a function invocation in string template by curly bracesKT-5187 Quick Fix to remove inline keyword on warning about performance benefitsKT-6025 Auto-remove toString() call in "Convert concatenation to template"KT-9983 "'inline'' modifier is not allowed on virtual members." should have quickfixKT-12743 Add Intention to convert nullable var to non-nullable lateinitKT-15525 Inspection to warn on thread-blocking invocations from coroutinesKT-17004 There is no suggestion to add property to supertypeKT-19668 Inspection "Redundant else in if"KT-20273 Inspection to report a setter of a property with a backing field that doesn't update the backing fieldKT-20626 Inspection for '+= creates a new list under the hood'KT-23691 Warn about var properties with default setter and getter that doesn't reference backing fieldKT-24515 Intention to add an exception under the cursor to @Throws annotationsKT-25171 Inspection: Change indexed access operator on maps to Map.getValueKT-25620 Inspection for functions returning DeferredKT-25718 Add intention to convert SAM lambda to anonymous objectKT-26236 QuickFix for ASSIGN_OPERATOR_AMBIGUITY on mutable collection '+=', '-='KT-26511 Inspection (without highlighting by default) for unlabeled return inside lambdaKT-26653 Intention to replace if-else with x?.let { ... } ?: ...KT-26724 Inspection with a warning for implementation by delegation to a var propertyKT-26836 Add quick fix for type mismatch between signed and unsigned types for constant literalsKT-27007 Intention: add label to return if scope is visually ambiguousKT-27075 Add a quick fix/intention to create expect member for an added actual declarationKT-27445 Add quickfix for compiler warning "DEPRECATED_JAVA_ANNOTATION"KT-28118 Remove empty parentheses for annotation entriesKT-28631 Suggest to remove single lambda argument if its name is equal to itKT-28696 Inspection: detect potentially ambiguous usage of coroutineContextKT-28699 Add "Convert to also" intentionKT-26969 ConvertCallChainIntoSequence quick fix doesn't use sequences all the wayKT-4645 Unexpected behevior of "Replace 'if' with 'when'" intention when called on second or third 'if'KT-5088 "Add else branch" quickfix on when should not add bracesKT-7555 Omit braces when converting 'this' in 'Convert concatenation to template'KT-8820 No "Change type" quick fix inside whenKT-8875 "Remove explicit type" produce red code for extension lambdaKT-12479 IDEA doesn't propose to replace all usages of deprecated annotation when it declared w/o parenthesesKT-13311 IDE marks fun finalize() as unused and says that its effective visibility is privateKT-14555 Strange 'iterate over Nothing' intentionKT-15550 Intention "Add names to call arguments" isn't available if one argument is a generic function callKT-15835 "Leaking 'this' in constructor" for enum classKT-16338 "Leaking 'this' in constructor" of non-final class when using 'this::class.java'KT-20040 Kotlin Gradle script: unused import doesn't become greyKT-20725 Cannot persist excluded methods for inspection "Accessor call that can be replaced with property syntax"KT-21520 "Assignment should be lifted out of 'if'" false positive for arguments of different typesKT-23134 "Remove single lambda parameter" quick fix applied to a lambda parameter with explicit type breaks ::invoke reference on lambdaKT-23512 "Remove redundant receiver" quick fix makes generic function call incompilable when type could be inferred from removed receiver onlyKT-23639 False positive "Unused symbol" for sealed class type parametersKT-23693 Add missing actual members quick fix doesn't work if there is already same-named function with the same signatureKT-23744 "Kotlin library and Gradle plugin versions are different" inspection false positive for non-JVM dependenciesKT-24492 "Call on collection type may be reduced" does not change labels from mapNotNull to mapKT-25536 Use non-const Kotlin 'val' usage in Java code isn't reported on case labels (& assignments)KT-25933 ReplaceCallWithBinaryOperator should not suggest to replace 'equals' involving floating-point typesKT-25953 Meaningless auto properties for Atomic classesKT-25995 "Simplify comparision" should try to apply "Simplify if expression" when necessaryKT-26051 False positive "Redundant visibility modifier" for overridden protected property setter made publicKT-26337 Exception (resource not found) in quick-fix tests in AS32KT-26481 Flaky false positive "Receiver parameter is never used" for local extension functionKT-26571 Too much highlighting from "convert call chain into sequence"KT-26650 False negative "Call chain on collection should be converted into 'Sequence'"" on class implementing IterableKT-26662 Corner cases around 'this' inside "replace if with safe access"KT-26669 "Remove unnecessary parentheses" reports parens of function returned from extension functionKT-26673 "Remove parameter" quick fix keeps unused type parameter referred in type constraintKT-26710 Should not report "implicit 'it' is shadowed" when outer it is not usedKT-26839 Add braces to if statement produces code that is not formatted according to styleKT-26902 Bad quickfix name for "Call on non-null type may be reduced"KT-27016 Replace 'if' with elvis operator w/ interface generates invalid code (breaks type inference)KT-27034 "Redundant SAM constructor" inspection shouldn't make all lambda gray (too much highlighting)KT-27061 False positive "Convert to secondary constructor" with delegationKT-27071 "Add non-null asserted (!!) call" places !! at wrong position with operator get (array indexing)KT-27093 Create actual class from expect class doesn't add all necessary importsKT-27104 False positive "Convert call chain into Sequence" with groupingByKT-27116 "Object literal can be converted to lambda" produces code littered with "return@label"KT-27138 Change visibility intentions are suggested on properties marked with @JvmFieldKT-27139 Add getter intention is suggested for properties marked with @JvmFieldKT-27146 False positive "map.put() can be converted to assignment" on super keyword with LinkedHashMap inheritanceKT-27156 Introduce backing property intention is suggested for property marked with @JvmFieldKT-27157 Convert property to function intention is suggested for property marked with @JvmFieldKT-27173 "Lift return out of ..." should work on any of targeted return keywordsKT-27184 "Replace with safe call" is not suggested for nullable var property that is impossible to smart castKT-27209 "Loop parameter 'it' is unused": unhelpful quickfixKT-27291 "Create" quick fix: "destination directory" field suggests same root and JVM roots for all platformsKT-27354 False positive "Make 'Foo' open" for data class inheritanceKT-27408 "Add braces to 'if' statement" moves end-of-line comment inside an if branchKT-27486 ConvertCallChainIntoSequence quick fix doesn't convert 'unzip' into 'Sequence'KT-27539 False positive Redundant Companion reference when val in companion is effectively shadowed by inherited valKT-27584 False positive "Move lambda argument out of parentheses" when implementing interface by delegationKT-27590 No “Change parameter” quick fix for changing argument type from UInt to IntKT-27619 Inspection "Invalid property key" should check whether reference is soft or notKT-27664 Fix flaky problem in tests "Could not initialize class UnusedSymbolInspection"KT-27699 "Remove redundant spread operator" produces incorrect codeKT-27708 IDE highlights internal constructors used only from Java as unusedKT-27791 Don't suggest Implement as constructor parameters quick fix for actual class declarationKT-27861 RedundantCompanionReference false positive for nested class with name "Companion"KT-27906 SafeCastAndReturn is not reported on code block with unqualified returnKT-27951 False declaration in actual list (same name but not really actual)KT-28047 False positive "Redundant lambda arrow" for lambda returned from when branchKT-28196 KotlinAddImportAction: AWT events are not allowed inside write actionKT-28200 KNPE in TypeUtilsKt.getDataFlowAwareTypesKT-28268 Don't suggest "make abstract" quick fix for inline classesKT-28286 "Unused symbol" inspection: Interface is reported as "class"KT-28341 False positive "Introduce backing property" intention for const valuesKT-28381 Forbid "move property to constructor" for expect classesKT-28382 Forbid "introduce backing property" for expect classesKT-28383 Exception during "move to companion" for expect class memberKT-28443 "Move out of companion object" intention is suggested for @JvmField property inside companion object of interfaceKT-28504 Redundant async inspection: support calls on explicitly given scopeKT-28540 "Replace assert boolean with assert equality" inspection quickfix doesn't add import statementKT-28618 Kotlin: convert anonymous function to lambda expression failed if no space at start of lambda expressionKT-28694 "Assign backing field" quick fix adds empty line before created assignmentKT-28716 KotlinDefaultHighlightingSettingsProvider suppresses inspections in non-kotlin filesKT-28744 val-keyword went missing from constructor of inline class after applying “Create actual class...” intentionKT-28745 val-keyword went missing from constructor of inline class after applying “Create expected class in common module...” intentionKT-24788 Endless exceptions in offline inspectionsKT-26518 Create actual ... quick fix doesn't add a primary constructor call for the actual secondary constructorKT-26893 Multiplatform projects fail to import into Android Studio 3.3, 3.4KT-26957 Merge expect gutter icon, when used for the same lineKT-27295 MPP: Rebuild module / Recompile source does nothing for Native with Delegate to gradle = YesKT-27296 MPP: Rebuild module / Recompile source does nothing for Common with Delegate to gradle = YesKT-27335 New multiplatform wizard: mobile library is generated with failed testKT-27595 KNPE on attempt to generate equals(), hashCode(), toString() for expect classKT-22637 Go to actual declarations for enum values should choose correct value if they are written in one lineKT-27494 Create tooling tests for new-multiplatformKT-28206 Go to implementations on expect enum shows not only enum classes, but also all membersKT-28398 Broken navigation to actual declaration of println() in non-gradle projectKT-26210 IOE “Cannot create file” on creating new file with existing filename by pasting a code in Project viewKT-27903 Can create file with empty name without any warningKT-29285 Starting REPL in Gradle project: Will compile into IDEA's out folder which then shadows Gradle's compile outputKT-23603 Add the support for find usages/refactoring of the buildSrc sources in gradle kotlin DSL build scriptsKT-26696 Copy, Move: "Destination directory" field does not allow to choose a path from non-JVM moduleKT-28408 "Extract interface" action should not show private propertiesKT-28476 Extract interface / super class on non-JVM class throws KNPEKT-23523 Filter out fake gradle modules from checkbox in Scratch file panelKT-25032 Scratch: IDEA hangs/freezes on code that never returns (infinite loops)KT-26271 Scratches for Kotlin do not work when clicking "Run Scratch File" buttonKT-26332 Fix classpath intention in Kotlin scratch file in Java only project doesn't do anythingKT-27628 Scratch blocks AWT Queue threadKT-28045 'Run kotlin scratch' is shown for jest testsKT-24465 Provide a UI to manage script definitionsKT-24466 Add warning when there are multiple script definitions for one scriptKT-25818 IDE Scripting Console files shouldn't have scratch panelKT-26331 Please extract ScriptDefinitionContributor/KotlinScriptDefinition from kotlin-plugin.jar to separate jarKT-27669 Consider moving expensive tasks out of the UI threadKT-27743 Do not start multiple background threads loading dependencies for different scriptsKT-27817 Implement a lightweight EP in a separate public jar for supplying script definitions to IDEAKT-27960 Add capability to import one Script to anotherKT-28046 "Reload script dependencies on file change" option is missing after project restartKT-27977 Missing 'run' gutter on a test method of an abstract classKT-28080 Wrong run configuration created from context for test method in abstract classKT-27361 Support NamedConstructor in idl2kKT-28786 Float values initialized incorrectly while translating from IDLKT-28821 Kotlin/JS missing ClipboardEvent definitionsKT-28864 Better support for TrackEvent, MediaStreamTrackEvent and RTCTrackEvent in idlKT-27611 Calling a suspending function of a JS library causes "Uncaught ReferenceError: CoroutineImpl is not defined"KT-28207 Finally block loops forever for specific code shapeKT-28215 JS: inline suspend function not usable in non-inlined formKT-29003 KotlinJS: Size of String in stdlib is limited if the the Constructor String(chars: CharArray) gets usedKT-18398 Provide a way for libraries to avoid mixing Kotlin 1.0 and 1.1 dependencies in end user projectsKT-27919 Publish modularized artifacts under 'modular' classifierKT-27251 Do not use Stack in FileTreeWalk iterator implementationKT-12473 KotlinJS - comparator returning 0 changes orderKT-20743 Use strongly typed events in Kotlin2js DOM APIKT-20865 Retrieving groups by name is not supported on Java 9 even with kotlin-stdlib-jre8 in the classpathKT-23932 add "PointerEvent" for kotlin-stdlib-jsKT-24336 Kotlin/JS missing SVGMaskElement interfaceKT-25371 Support unsigned integers in kotlinx-metadata-jvmKT-27629 kotlin.test BeforeTest/AfterTest annotation mapping for TestNGKT-28091 Provide correct AbstractMutableCollections declarations in stdlib-commonKT-28251 Stdlib: Deprecated ReplaceWith kotlin.math.log replacement instead of kotlin.math.lnKT-28488 Add clarification for COROUTINES_SUSPENDED documentationKT-28572 readLine() stumbles at surrogate pairsKT-29187 JS toTypedArray returns array of invalid type for LongArray and BooleanArrayKT-26765 Support calling constructors with inline classes in the signature in reflectionKT-27585 Flaky IllegalPropertyDelegateAccessException: Cannot obtain the delegate of a non-accessible property. Use "isAccessible = true" to make the property accessibleKT-27598 "KotlinReflectionInternalError" when using callBy on constructor that has inline class parametersKT-27913 ReflectJvmMapping.getKotlinFunction(ctor) works incorrectly with types containing variables of inline classKT-27226 Argfiles: An empty argument in quotes with a whitespace or a newline after it interrupts further reading of argumentsKT-27430 [Experimental API] Report warning instead of error if non-marker is used in -Xuse-experimental/-XexperimentalKT-27626 -Xmodule-path does not work in Gradle project with Java 9KT-27709 Using an experimental API that does not exist should warn, not errorKT-27775 Re-enable directories passed as <sources> in -Xbuild-fileKT-27930 Do not use toURI in ModuleVisibilityUtilsKt.isContainedByCompiledPartOfOurModule if possibleKT-28180 Backslash-separated file paths in argfiles do not work on WindowsKT-28974 Serialization bug in CommonToolArguments, affecting MPP project data serializationKT-24997 Pass arguments to Kapt in human-readable formatKT-24998 Introduce separate command line tool specifically for Kapt in order to improve UXKT-25128 ABI jar generation in the CLI compiler for Bazel like build systems.KT-26963 Warn user that a custom platform-agnostic source set wouldn't be included into build unless it is required for other source setsKT-27394 Add kotlinOptions in compilations of the new MPP modelKT-27535 Implement AARs building and publishing in new MPPKT-27685 In new MPP, expose a compilation's default source set via DSLKT-28155 Add ability to run tasks in parallel within projectKT-28842 Enable JS IC by defaultKT-24530 Enable compile avoidance for kaptKotlin tasksKT-28037 In-process Kotlin compiler leaks thread local valuesKT-26065 Kotlin Gradle plugin resolves dependencies at configuration timeKT-26389 Support Gradle Kotlin DSL in projects with the kotlin-multiplatform pluginKT-26663 Gradle dependency DSL features missing for the new MPP dependenciesKT-26808 Deprecation Warning Gradle 5 - "DefaultSourceDirectorySet constructor has been deprecated"KT-26978 Gradle verification fails on DiscoverScriptExtensionsTaskKT-27682 Kotlin MPP DSL: a target is missing the attributes { ... } function, only the attributes property is available.KT-27950 Gradle 5.0-rc1: "Compilation with Kotlin compile daemon was not successful"KT-28355 Gradle Kotlin plugin publishes "api" dependencies with runtime scopeKT-28363 Enable resources processing for Kotlin/JS target in multiplatform projectsKT-28469 Gradle Plugin: Task DiscoverScriptExtensionsTask is never up-to-dateKT-28482 Always rewrite the MPP dependencies in POMs, even when publishing with Gradle metadataKT-28520 MPP plugin can't be applied altogether with the "maven-publish" plugin in a Gradle 5 buildKT-28635 fromPreset() in MPP Gradle plugin DSL is hard to use from Gradle Kotlin DSL scriptsKT-28749 Expose allKotlinSourceSets in KotlinCompilationKT-28795 The localToProject attribute is not properly disambiguated with Gradle 4.10.2+KT-28836 Kotlin compiler logs from Gradle Kotlin Plugin aren't captured by GradleKT-29058 Gradle Plugin: Multiplatform project with maven-publish plugin does not use project group for "metadata" artifact POMKT-26073 Irrelevant "create extra commit with java->kt rename"KT-26980 JPS Native warning is duplicated for test source setsKT-27285 MPP: invalid common -> platform dependency: JPS fails with Throwable "Cannot initialize Kotlin context: Cyclically dependent modules" at KotlinChunk.<init>()KT-27622 JPS, JS: Resources marked as "kotlin-resource" are not copied to the out folder in a Kotlin-js projectKT-28095 JPS: support -Xcommon-sources for multiplatform projects (JS)KT-28316 Report Native is not yet supported in IDEA internal build system on JPS build once per project/multiplatform moduleKT-28527 JPS: Serialization plugin not loaded in ktorKT-28900 With "Keep compiler process alive between invocations = No" (disabled daemon) JPS rebuild fails with SCE: "Provider AndroidCommandLineProcessor not a subtype" at PluginCliParser.processPluginOptions()KT-27382 Embeddable version of scripting support (KEEP 75)KT-27497 kotlin script - No class roots are found in the JDK pathKT-29293 Script compilation - standard libs are not added to the dependenciesKT-29301 Some ivy resolvers are proguarded out of the kotlin-main-ktsKT-29319 scripts default jvmTarget causes inlining problems - default should be 1.8KT-28024 Kapt: Add option for printing timings for individual annotation processorsKT-28025 Detect memory leaks in annotation processorsKT-28852 Cache classloaders for tools.jar and kapt in Gradle workersKT-24368 Kapt: Do not include compile classpath entries in the annotation processing classpathKT-25756 Investigate file descriptors leaks in kaptKT-26145 Using kapt without the kotlin-kapt plugin should throw a build errorKT-26304 Build fails with "cannot find symbol" using gRPC with dagger; stub compilation fails to find classes generated by kaptKT-26725 Kapt does not handle androidx.annotation.RecentlyNullable correctlyKT-26817 kapt 1.2.60+ ignores .java files that are symlinksKT-27126 kapt: class implementing List<T> generates bad stubKT-27188 kapt Gradle plugin fails in Java 10+ ("Cannot find tools.jar")KT-27334 [Kapt] Stub generator uses constant value in method annotation instead of constant name.KT-27404 Kapt does not call annotation processors on custom (e.g., androidTest) source sets if all dependencies are inherited from the main kapt configurationKT-27487 Previous value is passed to annotation parameter using annotation processingKT-27711 kapt: ArrayIndexOutOfBoundsException: 0KT-27910 Kapt lazy stub without explicit type that initializes an object expression breaks stubbingThe release contains the JVM version of Kotlin compiler and also one native system dependent version for every major platform (Linux, macOS, and Windo
The release contains the JVM version of Kotlin compiler and also one native system dependent version for every major platform (Linux, macOS, and Windows). Those binaries are built with Excelsior JET AOT compiler (https://www.excelsiorjet.com/) and have faster startup time which is suitable for building small files or scripts.
Please note that Kotlin 1.3.11 and its plugin are only compatible with AS 3.2.1, 3.3 RC2+ and 3.4 C6+
KT-28097 AbstractMethodError for @JvmSuppressWildcards annotation used with coroutinesKT-28225 Report a warning when comparing incompatible enumsKT-28389 MPP IDE import does not recognize a dependency from a subproject to the root projectKT-28445 "Redundant async" inspection does not work with release coroutinesKT-27632 MPP IDE commonMain cannot see other commonMain types transitively which are exposed through a middle multiplatform moduleKT-27946 Late initialization based on contracts breaks Kotlin/JS in 1.3.0KT-27500 MPP: Native: .module dependency is reported as error in the IDE after importThis release also includes the fixes and improvements from the previous releases.
The release contains the JVM version of Kotlin compiler and also one native system dependent version for every major platform (Linux, macOS, and Windo
The release contains the JVM version of Kotlin compiler and also one native system dependent version for every major platform (Linux, macOS, and Windows). Those binaries are built with Excelsior JET AOT compiler (https://www.excelsiorjet.com/) and have faster startup time which is suitable for building small files or scripts.
KT-27758 Kotlin 1.3 breaks compilation of calling of function named 'contract' with block as a last parameterKT-27895 Kotlin 1.3.0 broken runtime annotation issueKT-27540 2018.3 and 2019.1 Debugger: Evaluating anything fails with KNPE in LabelNormalizationMethodTransformerKT-27833 Evaluate exception in 183/191 with asm-7.0-beta1/'asm-7.0'KT-27965 Sequence debugger does not work in Android StudioKT-27980 Kotlin sequence debugger throws IDE exception in IDEA 183KT-27265 Unresolved reference in IDE on calling JVM source set members of a multiplatform project with Android target from a plain Kotlin/JVM moduleKT-27849 IntelliJ: Wrong scope of JVM platform MPP dependencyKT-26481 Flaky false positive "Receiver parameter is never used" for local extension functionKT-27357 Function with inline class type value parameters is marked as unused by IDEKT-27434 False positive "Unused symbol" inspection for functions and secondary constructors of inline classesKT-27945 Quick-fix whitespace bug in KtPrimaryConstructor.addAnnotationEntry()KT-27746 Scratch: "Cannot pop operand off an empty stack" in a new scratch fileKT-27371 Common tests can not be launched from gutter in MPP Android/iOS projectKT-27878 Spring: "AssertionError: Non-primitive type name passed: void"KT-27160 Kotlin Gradle plugin 1.3 resolves script configurations during project evaluationKT-27803 CInterop input configuration has 'java-api' as a Usage attribute value in new MPPKT-27984 Kotlin Gradle Plugin: Circular dependencyKT-26489 JPS: support -Xcommon-sources for multiplatform projects (JVM)KT-27037 Incremental compilation failed after update to 1.3.0-rc-60KT-27792 Incremental compilation failed with NullPointerException in KotlinCompileContext.markChunkForRebuildBeforeBuildKT-27126 kapt: class implementing List<T> generates bad stubThis release also includes the fixes and improvements from the previous releases.
`KT-25429` Replace update channel in IDE plugin
KT-25429 Replace update channel in IDE pluginKT-27793 kotlinx.android.synthetic is unresolved on project reopeningKT-27619 Inspection "Invalid property key" should check whether reference is soft or notThis release also includes the fixes and improvements from the previous releases.
Nothing published for this version
Nothing published for this version
`KT-26806` Defining constants using kotlin.math is broken in 1.2.70
KT-26806 Defining constants using kotlin.math is broken in 1.2.70KT-26399 Kotlin Migration: NPE at KotlinMigrationProjectComponent$onImportFinished$1.run()KT-26794 Bad version detection during migration in Android Studio 3.2KT-26823 Fix deadlock in databinding with AndroidX which led to Android Studio hangingKT-26889 Don't show migration dialog if no actual migrations are availableKT-25177 Report asDynamic on dynamic type as a warningKT-25454 Extract function: make default visibility privateKT-26466 Uncaught ReferenceError: println is not definedKT-26208 inspectClassesForKotlinIC slows down continuous mode in GradleKT-26929 Kotlin Reflect and Proguard: can’t find referenced class kotlin.annotations.jvm.ReadOnly/MutableThis release also includes the fixes and improvements from the previous 1.2.70 release.
`KT-24892` please remove usages of com.intellij.util.containers.ConcurrentFactoryMap#ConcurrentFactoryMap deprecated long ago
KT-13860 Avoid creating KtImportDirective PSI elements for default imports in LazyImportScopeKT-22201 Generate nullability annotations for data class toString and equals methods.KT-23870 SAM adapter method returns null-values for "genericParameterTypes"KT-24597 IDE doesn't report missing constructor on inheritance of an expected class in common moduleKT-25120 RequireKotlin on nested class and its members is not loaded correctlyKT-25193 Names of parameters from Java interface methods implemented by delegation are lostKT-25405 Mismatching descriptor type parameters on inner typesKT-25604 Disable callable references to exprerimental suspend functionsKT-25665 Add a warning for annotations which target non-existent accessorsKT-25894 Do not generate body for functions from Any in light class builder modeKT-20772 Incorrect smart cast on enum membersKT-24657 Compiler performance issues with big filesKT-25745 Do not report warning about annotations on non-existing accessors for JvmStatic propertiesKT-25746 Improve message for warning about annotations that have target to non-existing accessorsKT-25810 New Inference: Overload resolution ambiguity on method 'provideDelegate(Nothing?, KProperty<*>)' when there's more than one provideDelegate operator in scopeKT-25973 Report metadata version mismatch upon discovering a .kotlin_module file in the dependencies with an incompatible metadata versionKT-22281 JVM: Incorrect comparison of Double and Float when types are derived from smart-castsKT-22649 Compiler: wrong code generated / Couldn't transform method node - using inline extension property inside lambdaKT-18301 kotlin needs crazy amount of memoryKT-23668 Methods with internal visibility have different mangling names in IDE and in compilerKT-24892 please remove usages of com.intellij.util.containers.ConcurrentFactoryMap#ConcurrentFactoryMap deprecated long agoKT-25144 Quick fix “Change signature” changes class of argument when applied for descendant classes with enabled -Xnew-inference optionKT-25356 Update Gradle Kotlin-DSL icon according to new IDEA 2018.2 icons styleKT-20056 TCE on creating object of an anonymous class in Kotlin scriptKT-25092 SourcePsi should be physical leaf element but got OPERATION_REFERENCEKT-25249 Uast operates "Unit" type instead of "void"KT-25255 Preferences | Languages & Frameworks | Kotlin Updates: show currently installed versionKT-25297 Inconsistency in KotlinULambdaExpression and KotlinLocalFunctionULambdaExpressionKT-25515 Add/remove analysis-related compiler setting does not update IDE project model immediatelyKT-25524 UAST: proper resolve for function variable callKT-25640 "Configure Kotlin" action changes values of language and API version in project settingsKT-25147 Conditional breakpoints doesn't work in common code of MPPKT-25152 MPP debug doesn't navigate to common code if there are same named files in common and platform partsKT-22732 TestNG runner is always used for TestNG tests even when Use Gradle runner is selectedKT-25913 Honor 'store generated project files externally option' for Kotlin facets imported from GradleKT-25955 Support expect/actual in new MPP imported into IDEAKT-6633 Inspection to detect unnecessary "with" callsKT-25146 Add quick-fix for default parameter value removalKT-7675 Create inspection to replace if with letKT-13515 Add intention to replace '?.let' with null checkKT-13854 Need intention actions: to convert property with getter to initializerKT-15476 Inspection to convert non-lazy chains of collection functions into sequencesKT-22068 Force usage of “it” in .forEach{} callsKT-23445 Inspection and quickfix to replace assertTrue(a == b) with assertEquals(a, b)KT-25270 "return@foo" outside of lambda should have quickfix to remove "@foo" labelKT-11154 Spell checking inspection is not suppressableKT-18681 "Replace 'if' with 'when'" generates unnecessary else blockKT-24001 "Suspicious combination of == and ===" false positiveKT-24385 Convert lambda to reference refactor produces red code with companion objectKT-24694 Move lambda out of parentheses should not be applied for multiple functional parametersKT-25089 False-positive "Call chain on collection type can be simplified" for map and joinToString on a HashMapKT-25169 Impossible to suppress UAST/JVM inspectionsKT-25321 Safe delete of a class property implementing constructor parameter at the platform side doesn't remove all the related declarationsKT-25539 Make class open quick fix doesn't update all the related implementations of a multiplatform classKT-25608 Confusing "Redundant override" inspection messageKT-16422 Replace lambda with method reference inspections failsKT-21999 Convert lambda to reference adds this with incorrect labelKT-23467 False positive suspicious callable reference on scoping function called on another lambdaKT-25044 "Implement member" quick-fix should not generate 'actual' modifier with expect declaration in interface onlyKT-25579 Redundant semicolon erroneously reported during local var modifier ambiguityKT-25633 “Add kotlin-XXX.jar to the classpath” quick fix adds dependency with invalid version in Gradle-based projectsKT-25739 "Convert to run" / "Convert to with" intentions incorrectly process references to Java static membersKT-25928 "Let extend" quick fix is suggested in case of nullable/non-null TYPE_MISMATCH collisionKT-26042 False positive "Remove redundant '.let' call" for lambda with destructured argumentsKT-22815 Update quick documentationKT-22648 Quick Doc popup: break (long?) declarations into several linesKT-25129 Idea freezes when Kotlin plugin tries to determine if jar is js lib in jvm moduleKT-25317 Go to actual declaration keyboard shortcut doesn't work for expect object, showing "No implementations found" messageKT-25492 Find usages: keep Expected functions option state while searching for usages of a regular functionKT-25498 Find Usages doesn't show Supertype usages of actual declarations with constructorKT-22823 Text pasted into package is parsed as Kotlin before JavaKT-22072 "Convert MutableMap.put to assignment" should not be applicable when put is used as expressionKT-23590 Incorrect conflict warning "Internal function will not be accessible" when moving class from jvm to common moduleKT-23594 Incorrect conflict warning about IllegalStateException when moving class from jvm to common moduleKT-23772 MPP: Refactor / Rename class does not update name of file containing related expect/actual classKT-23914 Safe search false positives during moves between common and actual modulesKT-25326 Refactor/Safe Delete doesn't report actual object usagesKT-25438 Refactor/Safe delete of a multiplatform companion object: usage is not reportedKT-25857 Refactoring → Move moves whole file in case of moving class from Kotlin scriptKT-25858 Refactoring → Move can be called only for class declarations in Kotlin scriptKT-25814 IDE scripting console -> kotlin (JSR-223) - compilation errors - unresolved IDEA classesKT-25822 jvmTarget from the script compiler options is ignored in the IDEKT-23368 IDE: Build: JPS errors are reported for valid non-multiplatform module depending on multiplatform oneKT-25595 Rename Kotlin-specific "Protractor" run configuration to distinguish it from the one provided by NodeJS pluginKT-19309 Spring JPA Repository IntelliJ tooling with KotlinKT-26228 NoClassDefFoundError: org/jetbrains/kotlin/idea/run/KotlinTestNgConfigurationProducer on running a JUnit test with TestNG plugin disabledKT-25541 Incorrect parameter names in reflection for inner class constructor from Java class compiled with "-parameters"KT-21910 Add -Xfriend-paths compiler argument to support internal visibility checks in production/test sources from external build systemsKT-25554 Do not report warnings when -XXLanguage was used to turn on deprecationKT-25196 Optional expected annotation is visible in platforms where it doesn't have actualKT-25540 JPS JS IC does not recompile usages from other modules when package is differentKT-25396 KAPT Error: Unknown option: infoAsWarningsKT-26211 Kotlin plugin 1.2.60+ breaks IDEA source/resource/test roots in a Maven project with KaptKT-25025 Inter-project IC for JS in GradleKT-25455 Gradle IC: when class signature is changed its indirect subclasses in different module are not recompiledKT-25998 Build process starts compiling w/o any changes (on release version)KT-25977 Can not run a Kotlin testKT-26072 MPP compilation issueKT-26113 Build takes around 20 seconds in already fully built IDEA projectKT-26142 update maven-central remote repository urlKT-26528 ISE “To save disabled cache status [delete] should be called (this behavior is kept for compatibility)” on compiling project with enabled IC in MavenKT-22053 JS: Secondary constructor of Throwable inheritor doesn't call to primary oneKT-26064 JS inliner calls wrong constructor in incremental buildKT-26117 JS runtime error: ArrayList_init instead of ArrayList_init_0KT-18067 KotlinJS - String.compareTo(other: String, ignoreCase: Boolean = false): IntKT-19507 Using @JvmName from stdlib-common fails to compile in JS module.KT-19508 Add @JsName to stdlib-common for controlling JS implementationKT-24478 Annotate relevant standard library annotations with @OptionalExpectationKT-25980 JvmSynthetic annotation has no description in the docsThis release also includes the fixes and improvements from the previous 1.2.61 release.
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →