NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Maven Central · #187 by repository stars
Kotlin Standard Library JDK 7 extension
Last release 17 days ago
22 Oct 2026
Ships on a steady schedule
a new release about every 2 weeks
Nearly every release is documented
notes for 57 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
9 years old
195 releases · first in 2017
`KT-22711` Deprecate original kapt (aka kapt1)
KT-19300 [AS3.0] Android extensions, Parcelable: editor shows warning about incomplete implementation on a class with Parcelize annotationKT-22168 "Kotlin Android | Illegal Android Identifier" inspection reports non-instrumentation unit testsKT-22700 Android Extensions bind views with dot in IDKT-17336 Introduce suspendCoroutineUninterceptedOrReturn coroutine intrinsic functionKT-22766 Imitate "suspend" modifier in 1.2.x by stdlib functionKT-5177 Optimize code generation for 'for' loop with withIndex()KT-16880 Smarter detection of tail-suspending unit invocationsKT-10494 IAE in CheckMethodAdapter.checkInternalName when declaring classes inside method with non-standard nameKT-16079 Internal error when using suspend operator plusKT-17091 Converting to SAM Java type appends non-deterministic hash to class nameKT-18522 Internal compiler error with IndexOutOfBoundsException, "Exception while analyzing expression"KT-18578 Compilation failure with @JsonInclude and default interface methodKT-19786 Kotlin — unable to override a Java function with @Nullable vararg argumentKT-20466 JSR305 false positive for elvis operatorKT-20705 Tail suspend call optimization doesn't work in when blockKT-20708 Tail suspend call optiomization doesn't work in some branchesKT-20855 Unnecessary safe-call reported on nullable typeKT-21165 Exception from suspending function is not caughtKT-21238 Nonsensical warning "Expected type does not accept nulls in Java, but the value may be null in Kotlin"KT-21258 Raw backing field value exposed via accessors?KT-21303 Running on JDK-10-ea-31 leads to ArrayIndexOutOfBoundsExceptionKT-21642 Back-end (JVM) Internal error: Couldn't transform method node on using open keyword with suspend for a top-level functionKT-21759 Compiler crashes on two subsequent return statements in suspend functionKT-22029 Fold list to pair with destructuring assignment and inner when results in ExceptionKT-22345 OOM in ReturnUnitMethodReplacerKT-22410 invalid compiler optimization for nullable cast to reified typeKT-22577 Compiler crashes when coroutineContext is used inside of inlined lambdaKT-8352 Pasting Kotlin code into package could create .kt fileKT-16710 Run configuration to run main() as a Node CLI appKT-16833 Allow mixing Java and Kotlin code in "Analyze Data Flow..."KT-21531 JS: add support for running specific test from the gutter icon with Jest testing frameworkKT-7316 Go to declaration in Kotlin JavaScript project navigates to JDK source in some casesKT-8563 Refactor / Rename inserts line breaks without reasonKT-11467 Editor: var property in primary constructor is shown not underscored, same as valKT-13509 Don't show run line markers for top-level functions annotated with @TestKT-13971 Kotlin Bytecode tool window: Decompile is available for incompilable code, CE at MemberCodegen.genFunctionOrProperty()KT-15000 Do not spell check overridden declaration namesKT-15331 "Kotlin not configured" notification always shown for common module in multiplatform projectKT-16333 Cannot navigate to super declaration via shortcutKT-16976 Introduce special SDK for Kotlin JS projects to avoid using JDKKT-18445 multiplatform project: provide more comfortable way to process cases when there are missed method implemenation in the implementation classKT-19194 Some Live Templates should probably be enabled also for "expressions" not only "statements"KT-20281 multiplatform:Unresolved service JavaDescriptorResolver on a file with several header declarations and gutters not shownKT-20470 IntelliJ indent guide/invisible brace matching hint tooltip doesn't show contextKT-20522 Add "Build" action in "Before launch" block when create new JS run configuration (for test)KT-20915 Add quickfix for ‘Implicit (unsafe) cast from dynamic type’KT-20971 Cannot navigate to sources of compiled common dependencyKT-21115 Incomplete actual class should still have navigation icon to expect classKT-21688 UIdentifier violates JvmDeclarationElement contractKT-21874 Unexpected IDE error "Unknown type [typealias ...]"KT-21958 Support "Alternative source available" for Kotlin filesKT-21994 Collapsed comments containing * get removed in the summary line.KT-22179 For properties overridden in object literals, navigation to inherited properties is missing indication of a type they are overriddenKT-22214 Front-end Internal error: Failed to analyze declarationKT-22230 Reformatting code to Kotlin style indents top-level typealiases with commentsKT-22242 Semantic highlighting uses different colors for the same 'it' variable and same color for different 'it'sKT-22301 Don't require space after label for lambdaKT-22346 Incorrect indentation for chained context extension functions (lambdas) when using Kotlin style guideKT-22356 Update status of inspection "Kotlin JVM compiler configured but no stdlib dependency" after pom file update, not on re-importKT-22360 MPP: with "Create separate module per source set" = No expectedBy dependency is imported not transitivelyKT-22374 "Join lines" works incorrectly in case of line containing more than one string literalKT-22473 Regression in IntelliJ Kotlin Plugin 1.2.20, settings.gradle.kts script template is wrongKT-22508 Auto-formatting should insert an indentation for default parameter valuesKT-22557 Dead 'Apply' button, when setting code styleKT-22565 Cant do PsiAnchor.create on annotation in annotationKT-22570 Can't add import in "Packages to Use Import with '*'" section on "Import" tab in Code Style -> KotlinKT-22641 Auto-formatting adds extra indent to a closing square bracket on a separate lineKT-22734 LinkageError: "loader constraint violation: when resolving method PsiTreeUtilKt.parentOfType()" at KotlinConverter.convertPsiElement$uast_kotlin()KT-20351 Stepping over a line with two inline stdlib functions steps into the second functionKT-21312 Confusing Kotlin (JavaScript) run configurationKT-21945 Double stop on same line during step over if inline call is presentKT-18124 Inspection to get rid of unnecessary ticks in referencesKT-22038 Inspection to replace the usage of Java Collections methods on subtypes of MutableList with the methods from Kotlin stdlibKT-22152 "Create Class" quickfix should support creating the class in a new file and selecting the package for that fileKT-22171 Add Intention for single character substringKT-22303 Inspection to detect Type!.inlineWithNotNullReceiver() callsKT-22409 Intention for changing property setter accessibilityKT-21137 Kotlin instantiates something expensive via reflection when highlighting Java fileKT-15176 Remove "Create type alias" intention when called on java classKT-18007 Inspection doesn't suggest Maven Plugin for kotlin-stdlib-jre8KT-18308 'Remove braces from else statement' intention breaks codeKT-18912 multiplatform project: Convert to enum class: header sealed class cannot convert nested objects to enum valuesKT-21114 IOE: create actual members for expected with companionKT-21600 suspend modifier should go after override in overridden suspend functionsKT-21881 Replace "If" with safe access intention false positiveKT-22054 Replace '!=' with 'contentEquals' should be replace '==' with 'contentEquals'KT-22097 Redundant Unit inspection false positive for single expression functionKT-22159 "Replace return with 'if' expression" should not place return before expressions of type NothingKT-22167 "Add annotation target" quick fix does nothing and disappears from menuKT-22221 QuickFix to remove unused constructor parameters shouldn't delete parenthesisKT-22335 IOE from KotlinUnusedImportInspection.scheduleOptimizeImportsOnTheFlyKT-22339 Remove setter parameter type: error while creating problem descriptorKT-22364 Redundant setter is not reported for overridden fieldsKT-22484 The warning highlight for redundant !ischeck for object types isn't extended to the full operatorKT-22538 "Redundant type checks for object" inspection application breaks smart cast for an object's field or functionKT-17047 Refactorings for related standard "scoping functions" conversion: 'let' <-> 'run', 'apply' <-> 'also'KT-12365 Renaming invoke function should remove operator modifier and insert function call for implicit usagesKT-17977 Move class to upper level creates file with wrong file nameKT-21719 Actual typealias not renamed on expected declaration renameKT-22200 Overriden function generated from completion is missing suspend modifierKT-22359 Refactor / Rename file: Throwable at RenameProcessor.performRefactoring()KT-22461 Rename doesn't work on private top-level members of multi-file partsKT-22476 Rename it parameter fails after replacing for-each with mapNotNullKT-22564 Rename doesn't warn for conflictsKT-22705 Refactor/Rename: rename of invoke function with lambda parameter to get breaks an implicit callKT-22708 Refactor/Rename function using some stdlib name leads to incompilable codeKT-20735 JS: kotlin.test-js integration tests terminate build on failureKT-22638 Function reference not working in js from extensionKT-22620 Add support for TestNG in kotlin.testKT-16661 Performance overhead in string splitting in Kotlin versus Java?KT-22042 Suboptimal Strings#findAnyOfKT-21154 kotlin-test-junit doesn't provide JUnitAsserter when test body is run in another threadKT-22196 kotlin-compiler-embeddable bundles outdated kotlinx.coroutines since 1.1.60KT-22549 Service is dying during compilationKT-19051 Suppress Java 9 illegal access warningsKT-18462 Add 'org.jetbrains.kotlin.platform.android' plugin.KT-18821 Gradle plugin should not resolve dependencies at configuration timeKT-22192 Make precise java classes tracking in Gradle enabled by defaultKT-21635 J2K: create "inspection based post-processing"KT-12037 REPL crashes when trying to :load with incorrect filenameKT-22350 kdoc comment preceding enum method causes compilation failureKT-22386 kapt3 fails when project has class named SystemKT-22468 Kapt fails to convert array type to anonymous array element typeKT-22469 Kapt 1.2.20+ may fail to process classes with KDocKT-22493 Kapt: NoSuchElementException in KotlinCliJavaFileManagerImpl if class first character is dollar signKT-22582 Kapt: Enums inside enum values should be forbiddenKT-22711 Deprecate original kapt (aka kapt1)This release also includes the fixes and improvements from the previous
1.2.21 release.
One column per quarter.
`KT-22349` Android: creating new Basic activity fails with Throwable: "Inconsistent FILE tree in SingleRootFileViewProvider" at SingleRootFileViewProv
`KT-20085` Android Extensions: ClassCastException after changing type of view in layout XML
KT-20085 Android Extensions: ClassCastException after changing type of view in layout XMLKT-20235 Error, can't use plugin kotlin-android-extensionsKT-20269 Mark 'kapt.kotlin.generated' as a source root automatically in Android projectsKT-20545 Parcelable: Migrate to canonical NEW-DUP-INVOKESPECIAL formKT-20742 @Serializable and @Parcelize do not work togetherKT-20928 @Parcelize. Verify Error for Android Api 19KT-11586 Support class literal annotation arguments in AnnotationSerializerKT-17944 Allow 'expect' final member be implemented by 'actual' open memberKT-21982 Recognize Checker Framework declaration annotationsKT-17609 Intrinsic suspend val coroutineContextKT-4174 Verify error on lambda with closure in local class super callKT-10473 Inapplicable diagnostics for mixed JS / JVM projectsKT-12541 VerifyError: Bad type on operand stack for local variable captured in local classKT-13454 VerifyError on capture of outer class properties in closure inside inner class constructorKT-14148 VerifyError: Bad type on operand stack for anonymous type inheriting inner classKT-18254 enumValueOf and enumValues throw UnsupportedOperationException when used within a non-inline function blockKT-18514 IllegalStateException on compile object that inherits its inner interface or classKT-18639 VerifyError: Bad type on operand stackKT-19188 Nondeterministic method order in class files using DefaultImplsKT-19827 Strange VerifyError in simple ExampleKT-19928 Analyze / Inspect Code: ISE "Concrete fake override public final fun <get-allowedTargets>()" at BridgesKt.findConcreteSuperDeclaration()KT-20433 NPE during JVM code generationKT-20639 Obsolete term "native" used in error messageKT-20802 USELESS_CAST diagnostic in functions with expression bodyKT-20873 False CAST_NEVER_SUCCEEDS when upcasting NothingKT-20903 Method reference to expect function results in bogus resolution ambiguityKT-21105 Compiler incorrectly optimize the operator in with a floating point type range with NaN bound.KT-21146 ArrayIndexOutOfBoundsException at org.jetbrains.kotlin.codegen.MemberCodegen.generateMethodCallTo(MemberCodegen.java:841)KT-21267 Report pre-release errors if pre-release compiler is run with a release language versionKT-21321 for-in-array loop improvementsKT-21343 Compound assignment operator compiles incorrectly when LHS is a property imported from objectKT-21354 Inconsistent behavior of 'for-in-range' loop if range is an array variable modified in loop bodyKT-21532 Enum constructor not foundKT-21535 SAM wrapper is not created for a value of functional type in delegating or super constructor call in secondary constructorKT-21671 Inline sam wrapper during inline in another moduleKT-21919 Invalid MethodParameters attribute generated for "$DefaultImpls" synthetic class with javaParameters=trueKT-20429 False-positive 'Unused return value of a function with lambda expression body' in enum constant constructorKT-21827 SMAP problem during default lambda parameter inlineKT-4001 Allow to set arguments indent to 1 tab (currently two and not customized)KT-13378 Provide ability to configure highlighting for !! in expressions and ? in typesKT-17928 Support code folding for primary constructorsKT-20591 Show @StringRes/@IntegerRes annotations in parameter infoKT-20952 "Navigate | Related symbol" should support expect/actual navigationKT-21229 Make it possible to explicitly select "latest" language/API versionKT-21469 Wrap property initializers after equals signKT-14670 Support kotlinPackageName() macro in live templatesKT-14951 Editor: navigate actions could be available in intention menu (as done in Java)KT-15320 Live templates: Add function which returns the "outer" class nameKT-20067 Return label hintsKT-20533 Show "this" and "it" type hints in lambdas.KT-20614 Change location of initial parameter type hint when parameters are on multiple linesKT-21949 Please add a separate Color Scheme settings for properties synthesized from Java accessorsKT-21974 Editor color scheme option for Kotlin typealias namesKT-17367 Rebuild requested for index KotlinJavaScriptMetaFileIndexKT-21632 Freezing on typingKT-21701 IDEA 2017.3 high CPU usageKT-9562 Wrong indent after Enter after an annotationKT-12176 Formatter could reformat long primary constructorsKT-12862 Formatting: Weird wrapping setting for long ?: operatorKT-15099 Odd code formatting when chaining lambdas and splitting lines on operatorsKT-15254 Use Platform icons for "Run" icon in gutterKT-17254 Remove obsolete unfold-icons in structure viewKT-17838 Can't report exceptions from the Kotlin plugin 1.1.4-dev-119 in IDEA #IU-171.4424.37KT-17843 Don't show parameter name hints when calling Java methods with unknown parameter namesKT-17964 Local variable type hints in editor for anonymous objectKT-17965 Do not shown argument name hints for assertKT-18829 Do not show parameter name hints for mapOfKT-18839 Semantic highlighting not work for local variables in initKT-19012 Data Flow from here: doesn't find template usagesKT-19017 Data Flow from here doesn't find usage in range position of for cycleKT-19018 Data Flow from here doesn't find any usages of for-variableKT-19036 Data Flow from here: please find calls of extension tooKT-19039 Data Flow from here: please find cases when an investigated variable is transferred as a parameter into a library functionKT-19087 Data flow to here: usages with explicit receiver are not foundKT-19089 Data Flow to here: assigned values are not found if an investigated property is a delegated oneKT-19104 Data Flow from here: usage of parameter or variable not found when used as lambda receiver/parameterKT-19106 Data Flow from here: show point of call of a function used as a parameter investigated parameter/variableKT-19112 Data Flow to here for a function (or its return value) doesn't find shorten forms of assignmentsKT-19519 Structure view is not updated properly for function classesKT-19727 Code style: New line after '(' with anonymous object or multi-line lambda unexpected behaviorKT-19820 Strange highlightning for enum constructorKT-19823 Kotlin Gradle project import into IntelliJ: import kapt generated classes into classpathKT-19824 Please provide a separate icon for a common libraryKT-19915 TODO calls not blue highlighted in lambdas/DSLsKT-20096 Kotlin Gradle script: SOE after beginning of Pair definition before some script sectionKT-20314 Kotlin formatter does not respect annotations code style settingsKT-20329 Multiplatform: gutter "Is subclassed by" should show expect subclass from the common moduleKT-20380 Configure Kotlin plugin updates dialog does not open without opened projectKT-20521 Kotlin Gradle script: valid build.gradle.kts is red and becomes normal only after reopening the projectKT-20603 Facet import: when API version > language version, set API version = language version, not to 1.0KT-20782 Non-atomic trees updateKT-20813 SAM with receiver: call with SAM usage is compiled with Gradle, but not with JPSKT-20880 Add documentation quick fix should create multiline comment and place caret in right placeKT-20883 Provide more information in "Missing documentation" inspection messageKT-20884 Functions with receivers should allow [this] in KDocKT-20937 Exception thrown on RMB click on folder in Kotlin projectKT-20938 IDE: kotlinc.xml with KotlinCommonCompilerArguments/freeArgs: XSE: "Cannot deserialize class CommonCompilerArguments$DummyImpl" at BaseKotlinCompilerSettings.loadState()KT-20953 "Choose actual" popup shows redundant informationKT-20985 Additional reimport is required in 2017.3/2018.1 idea after creating or importing mp projectKT-20987 (PerModulePackageCache miss) ISE: diagnoseMissingPackageFragmentKT-21002 "Highlight usages of identifier under caret" should work for "it"KT-21076 Recursive Companion.ivoke() call should be marked with according iconKT-21132 containsKey() in SoftValueMap considered pointlessKT-21150 Do not infer compiler version from build.txtKT-21200 Improve Structure-view for Kotlin filesKT-21214 Fix funcion selection in kotlinKT-21275 Don't show argument name hints in calls of methods on 'dynamic' typeKT-21318 Highlighting of function exit points does not work if the function is a getter for propertyKT-21363 IDE: kotlinc.xml with KotlinCommonCompilerArguments: build fails with UOE: "Operation is not supported for read-only collection" at EmptyList.clear()KT-21409 UAST: Super-call arguments are not modeled/visitedKT-21418 Gradle based project in IDEA 181: Kotlin facets are not createdKT-21441 Folding multiline strings adds a space at the start if there is not one.KT-21546 java.lang.IllegalArgumentException: Unexpected container fatal IDE errorKT-21575 Secondary constructor call body is missingKT-21645 Weird parameter hint positionKT-21733 Structure view is not updatedKT-21756 Find Usages for "type" in ts2kt provokes exceptionKT-21770 Pasting $this into an interpolated string shouldn't escape $KT-21833 Type hints shown when destructing triple with type parametersKT-21852 Custom API version is lost when settings are reopen after restarting IDEKT-11503 cmd+shift+enter action in .kt files does not work on empty linesKT-17217 Navigate to symbol: hard to choose between a lot of extension overloadsKT-18674 Join Lines should join stringsKT-19524 "Local variable type hints" should respect static importsKT-21010 Gutter "Is subclassed by" should show actual subclass from the all platform modules in IDEA 2017.3/2018.1KT-21036 Throwable “Access is allowed from event dispatch thread only.” after creating nine similar classes with functions.KT-21213 Multiline kdoc - intellij joins lines together without spaceKT-21592 <args>-Xjsr305=strict</args> not taken into account during the kotlin files compilation in Idea (maven)KT-22050 Redundant parameter type hint on SAMKT-22071 Formatter insists on increasing indentation in forEach lambdaKT-22093 Unnecessary line wrap with new Kotlin code styleKT-22111 Error while indexing PsiPlainTextFileImpl cannot be cast to KtFileKT-22121 Enter in empty argument list should apply normal indent if "Continuation indent for argument list" is offKT-21702 KtLightAnnotation can't be converted to UASTKT-19900 IntelliJ does not recognise no-arg "invokeInitializers" set in pom.xmlKT-22227 IDE + Gradle: compiler plugin settings are not importedKT-13220 Completion for non-primary-constructor properties should suggest names with types instead of typesKT-12797 Code completion does not work for inner in base classKT-16402 AssertionError on completing expression after template in string literalKT-20166 Completion: property declaration completion should be greedy if tab pressedKT-20506 Second smart completion suggests the same value recursivelyKT-17514 Debugger, evaluate value: cannot find local variable error on attempt to evaluate outer variableKT-20962 NullPointerException because of nullable location in debuggerKT-21538 "Step into" method doesn't work after adding lambda parameter to the callKT-21820 Debugger: Evaluation fails for instance properties (older Android SDKs)KT-4580 Intention + inspection to convert between explicit and implicit 'this'KT-11023 Inspection to highlight usages of Collections.sort() and replace them with .sort() method from Kotlin stdlibKT-13702 Issue a warning when equals is called recursively within itselfKT-18449 Multiplatform project: provide a quick fix "Implement methods" for a impl classKT-18828 Provide an intention action to move a companion object member to top levelKT-19103 Inspection to remove unnecessary suspend modifierKT-20484 Add quick fix to add required target to annotation used on a typeKT-20492 Offer "Simplify" intention for 'when' expression where only one branch is known to be trueKT-20615 Inspection to detect usages of values incorrectly marked by Kotlin as const from Java codeKT-20631 Inspection to detect use of Unit as a standalone expressionKT-20644 Warning for missing const paired with val modifier for primitives and stringsKT-20714 Inspection for self-assigment of propertiesKT-21023 Inspection to highlight variables / functions with implicit Nothing? typeKT-21510 Add inspection to add/remove this to/from bound callableKT-21560 Inspection to sort modifiersKT-21573 Code Style Inspection: to -> Pair function used not in infix formKT-16260 Add intention to specify all types explicitly in destructuring assignmentKT-21547 Allow separate regex for test class and function names in IDE inspectionKT-21741 Inspection to detect is checks for object typesKT-21950 Enable quick-fixes for annotator-reported problems in "Inspect Code"KT-22103 SortModifiersInspection should report annotations after modifiersKT-15941 "Convert to secondary constructor" produces invalid code for generic property with default valueKT-16340 "Unused receiver parameter" for invoke operator on companion objectKT-17161 IDE suggest to replace a for loop with forEach to aggresivelyKT-17332 Intention to replace forEach with a 'for' loop should convert return@forEach to continueKT-17730 Incorrect suggestion to replace loop with negation to any{}KT-18816 IDEA suggests replacing for-in-range with stdlib operationsKT-18881 Invalid "Loop can be replaced with stdlib operations" warning when class has add() functionKT-19560 Do not warn about receiver parameter not used for companion objectKT-19977 Convert Lambda to reference produces red code when wrong implicit receiver is in scopeKT-20091 "Convert object literal to class" should create inner class if necessaryKT-20300 "Variable can be inlined" should not be suggested if there's a variable with the same name in nested scopeKT-20349 Convert lambda to reference for trailing lambda inserts parameter names for all arguments if at least one named argument was passedKT-20435 False "function is never used" warningKT-20622 Don't propose “Remove explicit type specification” when it can change semantic?KT-20763 Wrong resulting code for "add star projection" quick-fix for inner class with generic outer oneKT-20887 Missing documentation warning shouldn't be triggered for a member of a private classKT-20888 Documentation should be inherited from Map.Entry typeKT-20889 Members of anonymous objects should be treated as private and not trigger "Missing documentation" warningKT-20894 "Add type" quick fix does not take into account vararg modifierKT-20901 IntelliJ autocorrect to add parameter to data class constructor should make the parameter a valKT-20981 False positive for "redundant super" in data classKT-21025 Kotlin UAST violates JvmDeclarationUElement contract by employing JavaUAnnotationKT-21061 Cant work with UElement.kt in IDEA with 1.2.0-rc-39: "Stub index points to a file without PSI"KT-21104 Do not propose to make local lateinit var immutableKT-21122 QuickFix to create member for expect class shouldn't add bodyKT-21159 Fix signature invoked from Java breaks Kotlin codeKT-21179 Remove empty class body on companion object breaks codeKT-21192 Confusing "unused expression"KT-21237 ReplaceWith incorrectly removes property assignmentKT-21332 Create from usage: do not propose to create abstract function in non-abstract classKT-21373 'Remove redundant let' quickfix does not work with inKT-21497 Inspection considers if block to be a lambdaKT-21544 "Add type" quick fix incorrectly processes vararg modifier with primitive type array initializerKT-21603 "Join declaration and assignment" should remove 'lateinit' for 'var'KT-21612 The "Remove redundant getter" inspection removes the type specifierKT-21698 Create interface shouldn't suggest to declare it inside a class which implements itKT-21726 "arrayOf can be replaced with literal" inspection quick fix produces incompilable result in presence of spread operatorKT-21727 "Redundant spread operator" inspection does not report array literalKT-12814 Specify type explicitly produces erroneous code when platform type overrides not-null typeKT-15180 Incorrect quickfix 'Specify type explicitly'KT-17816 "Replace elvis with if" produce nasty code when safe casts are involvedKT-18396 Bad quickfix for wrong nested classes in inner classKT-19073 No-op quick fix for "Convert lambda to reference" IDE suggestionKT-19283 Kotlin KProperty reference cannot be converted to lambdaKT-19736 Rephrase text in the unconventional property name inspectionKT-19771 Preserve old "Convert to expression body" rangeKT-20437 Naming convetions inspection: Add separate inspection for top-level and object propertiesKT-20620 Replace operator with function call breaks codeKT-21414 OverridersSearch attempts to create nameless fake light methodKT-21780 Wrong redundant setter inspectionKT-21837 Don't require documentation on tests and test classesKT-21929 Inappropriate quick fix for a sealed class instantiationKT-21983 Do not suggest to remove explicit Unit type for expression bodyKT-16619 Incorrect 'accessing non-final property in constructor' warningKT-20095 Allow conversion of selected companion methods to methods with @JvmStaticKT-15840 Introduce type alias: don't change not-nullable type with nullable typealiasKT-17212 Refactor / Inline Function: with 1 occurrence both "Inline all" and "Inline this only" are suggestedKT-18594 Refactor / Extract (Functional) Parameter are available for annotation arguments, but fail with AE: "Body element is not found"KT-20146 IAE “parameter 'name' of NameUtil.splitNameIntoWords must not be null” at renaming classKT-20335 Refactor → Extract Type Parameter: “AWT events are not allowed inside write action” after processing duplicatesKT-20402 Throwable “PsiElement(IDENTIFIER) by KotlinInplaceParameterIntroducer” on calling Refactor → Extract Parameter for default valuesKT-20403 AE “Body element is not found” on calling Refactor → Extract Parameter for default values in constructor of class without bodyKT-20790 Refactoring extension function/property overagressiveKT-20766 Typealias end-of-line is removed when moving function and typealias to new fileKT-21071 Cannot invoke move refactoring on a typealiasKT-21162 Adding parameters to kotlin data class leads to compilation errorKT-21288 Change Signature refactoring fails to change signature of overridersKT-21334 Extract variable doesn't take into account the receiver of a bound callable referenceKT-21371 Rename refactoring sometimes erases identifier being renamed when popping up name proposalsKT-21530 KNPE in introduce variableKT-21508 java.lang.AssertionError: PsiLiteralExpression on property safe delete in Idea 173KT-21536 Rename refactoring sometimes doesn't quite workKT-21604 Rename package missing titleKT-21963 Refactor / Inline Property: "null" in place of number of occurrences of local variable referencesKT-21964 Refactor / Inline: on declaration of element with one usage "Inline and keep" choice is not suggestedKT-21965 Refactor / Inline: wording in dialog could be unifiedKT-20210 [JS] Ultra-fast builds for developmentKT-2218 JS: Optimise in checks for number rangesKT-20932 JS: Make withIndex() on arrays intrinsicKT-21160 JS: generate switch statement for when statement when possibleKT-7653 JS: TypeError when try to access to "simple" property (w/o backing field at runtime)KT-18963 javascript project: No output directory found for Module 'xxx_test' production on JPS compilingKT-19290 JS integer overflow for unaryMinusKT-19826 JS: don't remove debugger statement from suspend functionsKT-20580 JS: JSON.stringify could improve 'replacer' argument handlingKT-20694 JS: add missed parts to JS DateKT-20737 JS: cache KProperty instances that used to access to delegated propertyKT-20738 JS: remove useless calls to constructor of KProperty* (PropertyMetadata) when it generated for access to delegated propertyKT-20854 val parameters of type kotlin.Char aren't boxedKT-20898 JS: inline js with for without initializer causes compiiler to crashKT-20905 JS: compiler crashes on invalid inline JavaScript code instead of reporting errorKT-20908 JS frontend crashes on uncompleted call to function with reified parametersKT-20978 JS: inline doesn't work for Array's constructor when it called through typealiasKT-20994 JS extension property in interface problemKT-21004 JS: don't use short-circuit operators when translating Boolean.and/or(Boolean)KT-21026 JS: wrong code generated for suspend fun that calls inline suspend fun as a tail call.KT-21041 'TypeError: ... is not a function' for lambda with closure passed as an argument to super type constructorKT-21043 JS: inlining coroutine from other module sometimes causes incorrect code generatedKT-21093 Kotlin.JS doesnt escape ‘in’ identifier and conflicts with in keywordKT-21245 JS: interface function with default parameter, overridden by other interface indirectly cannot be found at runtimeKT-21307 JS DCE does not remap paths to sourcesKT-21309 JS: incorrect source map generated for inline lambda when it's last expression is a statement-like expression (e.g. when or try/catch)KT-21317 JS: safe call to suspend function returning Unit causes incorrectKT-21421 JS: accesors of overridden char properties with backing fields aren't boxedKT-21468 JS: don't use enum entry's name for when over external enumsKT-21850 JS: support nested testsKT-10532 ISE by ThrowingLexicalScope at compile time with specific override chainKT-20864 Provide ReadOnly and Mutable annotations to control java collection mutability in kotlinKT-18789 Delegating val to out-projected MutableMap resulted in NPE due to cast to NothingKT-21828 JS: The List produced by the IntArray.asList function caused weird resultsKT-21868 Eliminate potential data race in SafePublicationLazyImplKT-21918 Make toTypedArray() implementation more efficient and thread-safeKT-22003 JS: Replace Regex constructor-like functions with secondary constructorsVolatile and Synchornized annotations are moved to kotlin.jvm package with the migration type aliases providedKT-16348 Provide String.toBoolean() conversion in JS and common platformsKT-20968 Improve docs for String.format and String.Companion.formatKT-20875 Support Void.TYPE as underlying Class object for KClassKT-21453 NPE in TypeSignatureMappingKt#computeInternalNameKT-20298 Lint warning when using @Parcelize with delegated propertiesKT-20299 Android non-ASCII TextView Id Unresolved Reference BugKT-20717 @Parcelize Creator.newArray method is generated incorrectlyKT-20751 kotlin-spring compiler plugin does not open @Validated classesKT-21171 _$_findViewCache and _$_findCachedViewById are created in Activity subclass without Kotlin Android Extensions.KT-21628 Can't find referenced class kotlin.internal.annotations.AvoidUninitializedObjectCopyingCheckKT-21777 RMI "Connection refused" errors with daemonKT-21992 @Transient warning for lazy propertyKT-20892 Support module name option in K2MetadataCompilerArgumentsKT-17621 Incremental compilation is very slow when Java file is modifiedKT-14125 Android-extensions don't track xml changes wellKT-20233 Kapt: using compiler in-process w/ gradle leads to classloader conflictKT-21009 Running Gradle build with clean prevents KotlinCompile tasks from loading from cacheKT-21596 Improve Kapt Gradle Plugin to be more friendly for Kotlin-DSLKT-15753 Support cacheable tasksKT-17656 Kotlin and Kotlin Android plugin not using available build cachesKT-20017 Support local (non-relocatable) Gradle build cacheKT-20598 Missing input annotations on AbstractKotlinCompileToolKT-20604 Kotlin plugin breaks relocatability and compile avoidance for Java compile tasksKT-21203 Kotlin gradle plugin does not create proper Ivy metadata for dependenciesKT-21261 Gradle plugin 1.1.60 creates "build-history.bin" outside project.buildDirKT-21805 Gradle plugin does not work with JDK 1.7 (KaptGradleModel)KT-21806 Gradle Plugin: Using automatic dependency versions with 'maven-publish' plugin does not include dependency version in generated publication POMsKT-20840 Multiplatform IC fails if expected or actual file is modified separatelyKT-21622 Make IC work more accurately with changes of Android layouts xml filesKT-21699 JS IC produces different source maps when enum usage is compiled separatelyKT-20633 Class is not recompiledKT-21502 Inspection to convert map.put(k, v) into map[k] = vKT-19390 Character and string concatenation in Java is converted to code with multiple type errors in KotlinKT-19943 Redundant 'toInt' after converting explicit Integer#intValue callKT-21574 JPS build: API version in project settings is ignoredKT-21841 JPS throws exception creating temporary file for moduleKT-21962 Source file dependencies (lookups) are not tracked in JPS when Kotlin daemon is usedKT-20816 Repeated Maven Compiles With Kapt FailKT-17561 Embedding kotlin-script-utils may cause version conflicts e.g. with guavaKT-17921 The JSR 223 scripting engine fails to eval anything after encountering an unresolved referenceKT-21075 KotlinJsr223JvmLocalScriptEngineFactory does not well with kotlin-compiler-embeddableKT-21141 Kotlin script: KotlinJsr223JvmLocalScriptEngine.state.history.reset() seems not clearing the compiler cacheKT-18791 Kapt: Constants from R class should not be inlinedKT-19203 Kapt3 generator doesn't seem to print log level lower to Mandatory WarningKT-19402 kapt.correctErrorTypes makes typealias not work.KT-19505 Kapt doesn't always stub classes about to be generated.KT-19518 Kapt: Support 'correctErrorTypes' option in annotationsKT-20257 Kapt is incompatible with compiler pluginsKT-20749 Kapt: Support Java 9KT-21144 Kapt: Compilation error with maven plugin (Java 9 compatibility)KT-21205 KDoc unavailable via javax.lang.model.util.Elements#getDocComment(Element e)KT-21262 Kapt: Remove artificial KaptError exception on errors from annotation processorKT-21264 Kapt: -Xmaxerrs javac option is not propagated properlyKT-21358 Kapt: Support import directive with aliases (correctErrorTypes)KT-21359 Kapt: Filter out non-package imports whenever possible (correctErrorTypes)KT-21425 kapt warning when assembling unit testsKT-21433 Annotations on enum constants are not kept on the generated stubKT-21483 Kapt: Loading resources doesn't work without restarting the gradle daemonKT-21542 Kapt: Report additional info about time spent in each annotation processorKT-21565 Kapt, Maven: Support passing arguments for annotation processorsKT-21566 Kapt, Maven: Support passing Javac optionsKT-21729 Error message says "androidProcessor" should be "annotationProcessor"KT-21936 Kapt 1.2.20-eap: cannot find symbol @KaptSignatureKT-21735 Kapt cache not clearedKT-22056 Applying Kapt plugin causes RuntimeException on Gradle import: "Kapt importer for generated source roots failed, source root name: debug" at KaptProjectResolverExtension.populateAndroidModuleModelIfNeeded()KT-22189 ISE from com.sun.tools.javac.util.Context.checkState when switching from 1.2.10 to 1.2.20-eap-33This release also includes the fixes and improvements from the previous
1.2.10 release.
`KT-20821` Error while inlining function reference implicitly applied to this
KT-20821 Error while inlining function reference implicitly applied to thisKT-21299 Restore adding JDK roots to the beginning of the classpath listKT-21180 Project level api/language version settings are erroneously used as default during Gradle importKT-21335 Fix exception on Project Structure view openKT-21610 Fix "Could not determine the class-path for interface KotlinGradleModel" on Gradle syncKT-21493 Losing lambda defined in inline function after incremental recompilationKT-21495 Bash scripts in Kotlin v1.2 compiler have Windows line terminatorsKT-21537 javac 7 do nothing when kotlin-compiler(-embeddable) is in classpathThis release also includes fixes and improvements from previous release:
<!-- Find: ([^\/\[])(KT-\d+) --> <!-- Replace: $1[$2`](https://youtrack.jetbrains.com/issue/$2) -->
<!-- Find: ([^`/[])(KT-\d+) -->
<!-- Replace: $1$2 -->
KT-20974 NSME "AndroidModuleModel.getMainArtifact" on Gradle refreshKT-20975 IAE "Missing extension point" on Gradle refreshKT-6359 Provide the way to share code with different targets(JVM, JS)KT-21300 IDEA slow down in Kotlin + Spring projectKT-20450 Exception in UAST during function inliningKT-20789 Can't navigate to inline call/inline use site when runner is delegated to GradleKT-21236 New project button doesn't work with Kotlin plugin enabled and Gradle plugin disabledKT-21263 "Configure Kotlin Plugin Updates" suggests incompatible plugin for AS 3.0KT-20757 Rebuild when language/api version is changedThis release also includes fixes and improvements from pre-releases:
Your coding agent can read these notes before it upgrades. Set up the MCP server →