Kotlin 1.4-M3
Pre-release
Pre-release
Contents
The release contents the JVM version of the Kotlin compiler, and also the Kotlin/Native compiler for the supported platforms: Linux, macOS and Windows.
Changelog
Compiler
New Features
KT-23575Deprecate with replacement and SinceKotlinKT-38652Do not generate optional annotations to class files on JVMKT-38777Hide Throwable.addSuppressed member and prefer extension instead
Performance Improvements
KT-38489Compilation of kotlin html DSL increasingly slowKT-28650Type inference for argument type is very slow if several interfaces with a type parameter is used as an upper bound of a type parameter
Fixes
KT-15971Incorrect bytecode generated when inheriting default arguments not from the first supertypeKT-25290NI: "AssertionError: If original type is SAM type, then candidate should have same type constructor" on out projection of Java classKT-28672Contracts on calls with implicit receiversKT-30279Support non-reified type parameters in typeOfKT-31908NI: CCE on passing lambda to function which accepts vararg SAM interfaceKT-32156New inference issue with genericsKT-32229New inference algorithm not taking into account the upper bound classKT-33455Override equals/hashCode in functional interface wrappersKT-34902AnalyzerException: Argument 1: expected I, but found R for unsigned types in generic data classKT-35075AssertionError: "No resolved call for ..." with conditional function referencesKT-35468Overcome ambiguity between typealias kotlin.Throws and the aliased type kotlin.jvm.ThrowsKT-35494NI: Multiple duplicate error diagnostics (in IDE popup) with NULL_FOR_NONNULL_TYPEKT-35681Wrong common supertype between raw and integer literal type leads to unsound codeKT-35937Error "Declaration has several compatible actuals" on incremental buildKT-36013Functional interface conversion not happens on a value of functional type with smart cast to a relevant functional typeKT-36045Do not depend on the order of lambda arguments to coerce result toUnitKT-36448NI: fix tests after enabling NI in the compilerKT-36706Prohibit functional interface constructor referencesKT-36969Generate @NotNull on instance parameters of Interface$DefaultImpls methodsKT-37058Incorrect overload resolution ambiguity on callable reference in a conditional expression with new inferenceKT-37120[FIR] False UNRESOLVED_REFERENCE for public and protected member functions and properties which are declared in object inner classKT-37149Conversion when generic specified by type argument of SAM typeKT-37249false TYPE_MISMATCH when When-expression branches have try-catch blocksKT-37341NI: Type mismatch with combination of lambda and function referenceKT-37436AME: "Receiver class does not define or inherit an implementation of the resolved method" in runtime on usage of non-abstract method of fun interfaceKT-37510NI infersjava.lang.Voidfrom the expression in a lazy property delegate and throws ClassCastException at runtimeKT-37541SAM conversion with fun interface without a function fails on compiling and IDE analysis in SamAdapterFunctionsScope.getSamConstructor()KT-37574NI: Type mismatch with Kotlin object extending functional type passed as @FunctionalInterface to JavaKT-37630NI: ILT suitability in a call is broken if there are CST calculation and calling function's type parametersKT-37665NI: applicability error due to implicitly inferred Nothing for returning T with expected typeKT-37712No extension receiver in functional interface created with lambdaKT-37715NI: VerifyError: Bad type on operand stack with varargs generic value when type is inferredKT-37721NI: Function reference with vararg parameter treated as array and missing default parameter is rejectedKT-37887NI: Smart casting for Map doesn't work if the variable is already "smart casted"KT-37914NI: broken inference for a casting to subtype function within the common constraint system with this subtypeKT-37952NI: improve lambdas completion through separation the lambdas analysis into several stepsKT-38069Callable reference adaptation should have dependency on API version 1.4KT-38143New type inference fails when calling extension function defined on generic type with type arguments nested too deepKT-38156FIR Metadata generationKT-38197java.lang.OutOfMemoryError: Java heap space: failed reallocation of scalar replaced objectsKT-38259NEW_INFERENCE_NO_INFORMATION_FOR_PARAMETER for provideDelegateKT-38337Map delegation fails for inline classesKT-38401FIR: protected effective visibility is handled unpreciselyKT-38416FIR: infinite loop in BB coroutine test 'overrideDefaultArgument.kt'KT-38432FIR: incorrect effective visibility in anonymous objectKT-38434Implement resolution of suspend-conversion on FE only, but give error if suspend conversion is calledKT-38437[FIR] String(CharArray) is resolved to java.lang.String constructor instead of kotlin.text.String pseudo-constructorKT-38439NI: anonymous functions without receiver is allowed if there is an expected type with receiverKT-38473FIR: ConeIntegerLiteralType in signatureKT-38537IllegalArgumentException: "marginPrefix must be non-blank string" with raw strings and space as margin prefix in trimMargin() callKT-38604Implicit suspend conversion on call arguments doesn't work on vararg elementsKT-38680NSME when calling generic interface method with default parameters overriden with inline class type argumentKT-38681Wrong bytecode generated when calling generic interface method with default parameters overriden with primitive type argumentKT-38691NI: overload resolution ambiguity if takeRand() -> R, and pass literal lambda, which returnsRKT-38799False positive USELESS_CAST for lambda parameterKT-38802Generated code crashes by ClassCastException when delegating with inline classKT-38853Backend Internal error: Error type encountered: Unresolved type for nested class used in an annotation argument on an interface methodKT-38890NI: false negative Type mismatch for values with fun keywordKT-39010NI: Regression with false-positive smartcast on var of generic typeKT-39013202, ASM 8: "AnalyzerException: Execution can fall off the end of the code"KT-39260"AssertionError: Unsigned type expected: Int" in rangeKT-39305NEW_INFERENCE_NO_INFORMATION_FOR_PARAMETER: unable to infer deeply nested type bound when class implements generic interfaceKT-39408Using unsigned arrays as generics fails in 1.4-M2 with class cast exceptionKT-39533NI: Wrong overload resolution for methods with SAM converted function reference argumentsKT-39535NI: Inference fails for the parameters of SAM converted lambdas with type parametersKT-39603Require explicit override in JVM default compatibility mode on implicit generic specialization of inherited methods in classesKT-39671Couldn't inline method call 'expectBody'KT-39816NI:ClassCastException and no IDE error with provideDelegate when DELEGATE_SPECIAL_FUNCTION_MISSING in OIKT-32779Rewrite at slicein array access resolution in coroutine inferenceKT-39387Can't build Kotlin project due to overload resolution ambiguity on flatMap callsKT-39229NI: resolution to wrong candidate (SAM-type against similar functional type)
Docs & Examples
KT-36245Document that @kotlin.native.ThreadLocal annotation doesn't work anywhere except in Kotlin/NativeKT-37943Conflicting overloads in the factory functions sample code in Coding Conventions Page
IDE
New Features
KT-10974Add Code Style: Import Layout Configuration TableKT-39065"Join lines" should remove trailing comma on call site
Fixes
KT-9065Wrong result when move statement through if block with call with lambdaKT-14757Move statement up breaks code in function parameter listKT-14946Move statement up/down (with Ctrl+Shift+Up/Down) messes with empty linesKT-15143Kotlin: Colors&Fonts -> "Enum entry" should use Language Default -> Classes - Static fieldKT-17887Moving statement (Ctrl/Cmd+Shift+Down) messes with use blockKT-34187UAST cannot get type of array accessKT-34524"PSI and index do not match" and IDE freeze with library import fromsquare/workflowKT-35574UAST: UBreakExpression in when expression should be UYieldExpressionKT-36801IDE: Unsupported language version value is represented with "latest stable" in GUIKT-37378Remove IDE option "Enable new type inference algorithm..." in 1.4KT-38003"Analyze Data Flow from Here" should work on parameter of abstract methodKT-38173Reified types do no have extends informationKT-38217Make Kotlin plugin settings searchableKT-38247"IncorrectOperationException: Incorrect expression" through UltraLightUtils.kt: inlined string is not escaped before parsingKT-38293Throwable: "'codestyle.name.kotlin' is not found in java.util.PropertyResourceBundle" at KotlinLanguageCodeStyleSettingsProvider.getConfigurableDisplayName()KT-38407Drop components from plugin.xmlKT-38443No error on change in property initializerKT-38521ISE: Loop in parent structure when converting a DOT_QUALIFIED_EXPRESSION with parent ANNOTATED_EXPRESSIONKT-38571Rework deprecated EPsKT-38632Change the code style to official in tests
IDE. Code Style, Formatting
Fixes
KT-24750Formatter: Minimum blank lines after class header does nothingKT-31169IDEA settings search fails to find "Tabs and Indents" tab in Kotlin code style settingsKT-35359Incorrect indent for multiline expression in string templateKT-37420Add setting to disable inserting empty line between declaration and declaration with commentKT-37891Formatter inserts empty lines between annotated propertiesKT-38036Use trailing comma setting does not apply to code example in Settings dialogKT-38568False positive: weak warning "Missing line break" on -> in when expressionKT-39024Add option for blank lines before declaration with comment or annotation on separate lineKT-39079Trailing comma: add base support for call siteKT-39123OptionAlign 'when' branches in columnsdoes nothingKT-39180Move trailing comma settings in Other tab
IDE. Completion
KT-18538Completion of static members of grand-super java class inserts unnecessary qualifierKT-38445Fully qualified class name is used instead after insertion ofdelaymethod
IDE. Debugger
Fixes
KT-14057Debugger couldn't step into Reader.readKT-14828Bad step into/over behavior for functions with default parametersKT-36403Method breakpoints don't work for librariesKT-36404Evaluate: "AssertionError: Argument expression is not saved for a SAM constructor"KT-37486Kotlin plugin keeps reference to stream debugger support classes after stream debugger plugin is disabledKT-38484Coroutines Debugger: IAE “Requested element count -1 is less than zero.” is thrown by calling dumpCoroutinesKT-38606Coroutine Debugger: OCE from org.jetbrains.kotlin.idea.debugger.coroutine.proxy.mirror.BaseMirror.isCompatibleKT-39143NPE on setCurrentStackFrame to Kotlin inner compiled class contentKT-39412Failed to find Premain-Class manifest attribute when debugging main method with ktorKT-39634(CoroutineDebugger) Agent doesn't start if using kotlinx-coroutines-core only dependencyKT-39648Coroutines debugger doesn't see stacktraces in case of the project has kotlinx-coroutines-debug dependency
IDE. Gradle Integration
Performance Improvements
KT-39059Poor performance ofmodifyDependenciesOnMppModules
Fixes
KT-35921Gradle Import fails with "Unsupported major.minor version 52.0" on pure Java project in case "Gradle JDK" is lower 1.8 and Kotlin plugin is enabledKT-36673Gradle Project importing: move ModelBuilders and ModelProviders to kotlin-gradle-tooling jarKT-36792IDEA 2020.1: Some module->module dependencies in HMPP project are missed after import from GradleKT-37125Imported modules structure for MPP project is displayed messy in UI in IDEA 2020.1KT-37428NPE at KotlinFacetSettings.setLanguageLevel() on the first project importKT-38706IDE Gradle import creates 4 JavaScript modules for MPP source sets with BOTH compiler typeKT-38767Published hierarchical multiplatform library symbols are unresolved in IDE (master)KT-38842False positive [INVISIBLE_MEMBER] forinternaldeclaration of commonMain called from commonTestKT-39213IDE: references from MPP project to JavaScript library are unresolved, when project and library are compiled with "both" modeKT-39657Language settings for intermediate source-sets are lost during import
IDE. Gradle. Script
New Features
KT-34481*.gradle.kts: use Intellij IDEA Gradle project sync mechanics for updating script configuration
Performance Improvements
KT-34138Deadlock inScriptTemplatesFromDependenciesProviderKT-38875Deadlock in ScriptClassRootsUpdater.checkInvalidSdks
Fixes
KT-34265Bogus "build configuration failed, run 'gradle tasks' for more information" message and other issues related to "script dependencies"KT-34444*.gradle.kts: special storage of all scripts configuration on one fileKT-35153build.gradle.kts: scripts in removed subproject remain imported, but shouldn'tKT-35573Request for gradle build script configuration only after explicit click on notificationKT-36675move .gradle.kts ModelBuilders and ModelProviders to kotlin-gradle-tooling jarKT-37178build.gradle.kts: Rework the notification for scripts out of projectKT-37631Unnecessary loading dependencies after opening build.gradle.kts after project import with Gradle 6KT-37863Scanning dependencies for script definitions takes too long or indefinitely during Gradle importKT-38296MISSING_DEPENDENCY_SUPERCLASS in the build.gradle.kts editor while Gradle runs OkKT-38541"Invalid file" exception in ScriptChangeListener.getAnalyzableKtFileForScript()KT-39104“Gradle Kotlin DSL script configuration is missing” after importing project in IJ201, Gradle 6.3KT-39469Gradle version is not updated in script dependencies if the version of gradle was changed in gradle-wrapper.propertiesKT-39771Freeze 30s from org.jetbrains.kotlin.scripting.resolve.ApiChangeDependencyResolverWrapper.resolve on loading script configuration with Gradle 5.6.4
IDE. Inspections and Intentions
New Features
KT-14884Intention to add missing "class" keyword for enum and annotation top-level declarationsKT-17209Provide intention to fix platform declaration clash (CONFLICTING_JVM_DECLARATIONS)KT-24522Suggest to move typealias outside the classKT-30263Detect redundant conversions of unsigned typesKT-35893Support Inspection for unnecessary asSequence() callKT-38559"Change JVM name" (@JvmName) quickfix: improve name suggester for generic functionsKT-38597Expand Boolean intentionKT-38982Add "Logger initialized with foreign class" inspectionKT-39131TrailingCommaInspection: should suggest fixes for call-site without warnings
Fixes
KT-5271Missing QuickFix for Multiple supertypes availableKT-11865"Create secondary constructor" quick fix always inserts parameter-less call tothis()KT-14021Quickfix to add parameter to function gives strange name to parameterKT-17121"Implement members" quick fix is not suggestedKT-17368Don't highlight members annotated with @JsName as unusedKT-20795"replace explicit parameter with it" creates invalid code in case of overload ambiguitiesKT-22014Intention "convert lambda to reference" should be available for implicit 'this'KT-22015Intention "Convert lambda to reference" should be available in spite of the lambda in or out of parenthesesKT-22142Intentions: "Convert to primary constructor" changes semantics for property with custom setterKT-22878Empty argument list at the call site of custom function named "suspend" shouldn't be reported as unnecessaryKT-24281Importing of invoke() from the same file is reported as unused even if it isn'tKT-25050False-positive inspection "Call replaceable with binary operator" for 'equals'KT-26361@deprecated "ReplaceWith" quickfix inserts 'this' incorrectly when using function importsKT-27651'Condition is always true' inspection should not be triggered when the condition has references to a named constantKT-29934False negativeChange typequickfix on primary constructor override val parameter when it has wrong typeKT-31682'Convert lambda to reference' intention inside class with function which return object produces uncompilable codeKT-31760Implement Abstract Function/Property intentions position generated member improperlyKT-32511Create class quick fix is not suggested in super type list in case of missing primary constructorKT-32565False positive "Variable is the same as 'credentials' and should be inlined" with object declared and returned from lambdaKT-32801False positive "Call on collection type may be reduced" with mapNotNull, generic lambda block and new inferenceKT-33951ReplaceWith quickfix with unqualified object member call doesn't substitute argument for parameterKT-34378"Convert lambda to reference" refactoring does not work for suspend functionsKT-34677False positive "Collection count can be converted to size" withIterableKT-34696Wrong 'Redundant qualifier name' for 'MyEnum.values' usageKT-34713"Condition is always 'false'": quickfix "Delete expression" doesn't removeelsekeyword (may break control flow)KT-35015ReplaceWith doesn't substitute parameters with argument expressionsKT-35329Replace 'when' with 'if' intention: do not suggest if 'when' is used as expression and it has no 'else' branchKT-36194"Add braces to 'for' statement" inserts extra line break and moves the following single-line commentKT-36406"To ordinary string literal" intention adds unnecessary escapes to characters in template expressionKT-36461"Create enum constant" quick fix adds after semicolon, if the last entry has a commaKT-36462"Create enum constant" quick fix doesn't add trailing commaKT-36508False positive "Replace 'to' with infix form" when 'to' lambda generic type argument is specified explicitlyKT-36930Intention "Specify type explicitly" adds NotNull annotation when calling java method with the annotationKT-37148"Remove redundant.letcall doesn't remove extra callsKT-37156"Unused unary operator" inspection highlighting is hard to seeKT-37173"Replace with string templates" intention for String.format produces uncompilable string templateKT-37181Don't show "Remove redundant qualifier name" inspection on qualified Companion imported with star importKT-37214"Convert lambda to reference" with a labeled "this" receiver failsKT-37256False positivePlatformExtensionReceiverOfInlineinspection if a platform type value is passed to a nullable receiverKT-37744"Convert lambda to reference" inspection quick fix create incompilable code when type is inferred from lambda parameterKT-37746"Redundant suspend modifier" should not be reported for functions with actual keywordKT-37842"Convert to anonymous function" creates broken code with suspend functionsKT-37908"Convert to anonymous object" quickfix: false negative when interface has concrete functionsKT-37967Replace 'invoke' with direct call intention adds unnecessary parenthesisKT-37977"Replace 'invoke' with direct call" intention: false positive when function is not operatorKT-38062Reactor Quickfix throwsNotImplementedErrorfor KotlinKT-38240False positive redundant semicolon withascast andnotunary operator on next lineKT-38261Redundant 'let' call removal leaves ?. operator and makes code uncompilableKT-38310Remove explicit type annotation intention drops 'suspend'KT-38492False positive "Add import" intention for already imported classKT-38520SetterBackingFieldAssignmentInspection throws exceptionKT-38649False positive quickfix "Assignment should be lifted out of when" in presence of smartcastsKT-38677Invalid psi tree afterLift assigment out of...KT-38790"Convert sealed subclass to object" for data classes doesn't remove 'data' keywordKT-38829'Remove redundant backticks' can be broken with @ in nameKT-38831'Replace with assignment' can be broken with fast code changeKT-38832"Remove curly braces" intention may produce CCEKT-38948False positive quickfix "Make containing function suspend" for anonymous functionKT-38961"Useless call on collection type" for filterNotNull on non-null array where list return type is expectedKT-39069Improve TrailingCommaInspectionKT-39151False positive inspection to replace Java forEach with Kotlin forEach when using ConcurrentHashMap
IDE. JS
KT-39275Kotlin JS Browser template for kotlin dsl doesn't include index.html
IDE. KDoc
KT-32163Open Quick Documentation when cursor inside function / constructor brackets
IDE. Navigation
KT-32245Method in Kotlin class is not listed among implementing methodsKT-33510There is no gutter icon to navigate fromactualtoexpectifexpectand the correspondingactualdeclarations are in the same fileKT-38260Navigation bar doesn't show directories of files with a single top level Kotlin classKT-38466Top level functions/properties aren't shown in navigation panel
IDE. Project View
KT-36444Structure view: add ability to sort by visibilityKT-38276Structure view: support visibility filter for class properties
IDE. REPL
KT-38454Kotlin REPL in IntelliJ doesn't take module's JVM target setting into account
IDE. Refactorings
KT-12878"Change signature" forces line breaks after every parameter declarationKT-30128Change Signature should move lambda outside of parentheses if the arguments are reordered so that the lambda goes lastKT-35338Move/rename refactorings mess up code formatting by wrapping linesKT-38449Extract variable refactoring is broken by NPEKT-38543Copy can't work to package with escaped packageKT-38627Rename package refactorings mess up code formatting by wrapping lines
IDE. Run Configurations
KT-34516Don't suggest incompatible targets in a drop-down list for run test gutter icon in multiplatform projectsKT-38102DeprecatedMethodException ConfigurationFactory.getId
IDE. Scratch
KT-38455Kotlin scratch files don't take module's JVM target setting into account
IDE. Script
KT-39791Kotlin plugin loads VFS in the output directories
IDE. Structural Search
KT-39721Optimize Kotlin SSR by using the indexKT-39733Augmented assignment matchingKT-39769"When expressions" predefined template doesn't match all when expressions
IDE. Wizards
KT-38673New Project Wizard: multiplatform templates are generated having unsupported Gradle version in a wrapperKT-38810Incorrect order of build phases in Xcode project from new wizardKT-38952Remove old new_project_wizardsKT-39503New Project wizard 1.4+: release kotlinx.html version is added to dependencies with milestone IDE pluginKT-39700Wizard: group project templates on the first step by the project typeKT-39770CSS Support in Kotlin wizardsKT-39826Fix Android app in New Template WizardKT-39843Change imports in JS/browser wizard
JS. Tools
KT-32273Kotlin/JS console error on hot reloadKT-39498Update dukat version in toolchain near to release of 1.4-M3
JavaScript
KT-29916ImplementtypeOfon JSKT-35857Kotlin/JS CLI bundled to IDEA plugin can't compile using IR back-end out of the boxKT-36798KJS: prohibit using @JsExport on a non-top-level declarationKT-37771KJS: Generated TypeScript does not recursively export base classes (can fail with generics)KT-38113Review public API of JS stdlib for IR BEKT-38765[JS / IR] AssertionError: class EventEmitter: Super class should be any: with nested class extending parent classKT-38768KJS IR: generate ES2015 (aka ES6) classes
Libraries
New Features
KT-11253Function to sum long or other numeric property of items in a collectionKT-28933capitalize() with Locale argument in the JDK stdlibKT-34142Create SortedMap with Comparator and itemsKT-34506Add Sequence.flatMap overload that works on IterableKT-36894Support flatMapIndexed in the Collections APIKT-38480Introduce experimental annotation for enabling overload resolution by lambda resultKT-38708minOf/maxOf functions to return min/max value provided by selectorKT-39707Make some interfaces in stdlib functional
Performance Improvements
KT-23142toHashSet is suboptimal for inputs with a lot of duplicates
Fixes
KT-21266Add module-info for standard library artifactsKT-23322Document 'reduce' operation behavior on empty collectionsKT-28753Comparing floating point values in array/list operations 'contains', 'indexOf', 'lastIndexOf': IEEE 754 or total orderKT-30083Annotate KTypeProjection.STAR with JvmField in a compatible wayKT-30084Annotate functions in KTypeProjection.Companion with JvmStaticKT-31343Deprecate old String <-> CharArray, ByteArray conversion apiKT-34596Add some validation to KTypeProjection constructorKT-35978Review and remove experimental stdlib API status for 1.4KT-38388DocumentfromIndexandtoIndexparametersKT-38854Gradually change the return type of collection min/max functions to non-nullableKT-39023Document split(Pattern) extension differences from Pattern.splitKT-39064Introduce minOrNull and maxOrNull extension functions on collectionsKT-39235Lift experimental annotation from bit operationsKT-39237Lift experimental annotation from common StringBuilderKT-39238Appendable.appendRange - remove nullabilityKT-39239Lift experimental annotation from String <-> utf8 conversion apiKT-39244KJS: update polyfills, all or most of them must not be enumerableKT-39330Migrate declarations from kotlin.dom and kotlin.browser packages to kotlinx.*
Middle-end. IR
KT-31088need a way to compute fake overrides for pure IRKT-33207Kotlin/Native: KNPE during deserialization of an inner classKT-33267Kotlin/Native: Deserialization error for an "inner" extension property imported from a classKT-37255Make psi2ir aware of declarations provided by compiler plugins
Reflection
KT-22936Not all things can be changed tocreateTypeyet, and nowdefaultTypemethods are starting to failKT-32241Move KType.javaType into stdlib from reflectKT-34344KType.javaType implementation throws when invoked with a typeOf()KT-38491IllegalArgumentException when using callBy on function with inline class parameters and default argumentsKT-38881Add KClass.isFun modifier of functional interfaces to reflection
Tools. Android Extensions
KT-25807Kotlin extension annotation @parcelize in AIDL returns Object instead of original T
Tools. CLI
KT-30211Support a way to pass arguments to the underlying JVM in kotlinc batch scripts on WindowsKT-30778kotlin-compiler.jar contains shaded but not relocated kotlinx.coroutinesKT-38070Compiler option to bypass prerelease metadata incompatibility errorKT-38413Add JVM target bytecode version 14
Tools. Compiler Plugins
KT-39274[KJS / IR] Custom serializer for class without zero argument constructor doesn't compile
Tools. Gradle
KT-25428Kotlin Gradle Plugin: Use new Gradle API for Lazy tasksKT-34487Gradle build fails with "Cannot run program "java": error=7, Argument list too longKT-35957MPP IC fails with "X has several compatible actual declarations" errorKT-38250Drop support for Gradle versions older than 5.3 in the Kotlin Gradle plugin
Tools. Gradle. JS
New Features
KT-30619Support NPM transitive dependencies in multi-platform JS targetKT-38286[Gradle, JS] Error handling on Webpack problems
Fixes
KT-31669Gradle/JS: rise error when plugin loaded more than onceKT-32531[Gradle/JS] Add scoped NPM dependenciesKT-34832[Kotlin/JS] Failed build after webpack run (Karma not found)KT-35194Kotlin/JS: browserRun fails with "address already in use" when trying to connect to local serverKT-35611Kotlin Gradle plugin should reportkotlin2jsplugin ID as deprecatedKT-35641Kotlin Gradle plugin should reportkotlin-dce-jsplugin ID as deprecatedKT-36410JS: Collect stats about IR backend usageKT-36451KJS Adding npm dependency breaks Webpack devserver reloadingKT-37258Kotlin/JS + Gradle: in continuous mode kotlinNpmInstall time to time outputs "ENOENT: no such file or directory" errorKT-38109[Gradle, JS] Error handling on Karma launcher problemsKT-38331Add an ability to control generating externals for npm deps individuallyKT-38485[Gradle, JS] Unable to configure JS compiler with stringKT-38683Remove possibility to set NPM dependency without versionKT-38990Support multiple range versions for NPM dependenciesKT-38994Remove possibility to set NPM dependency with npm(org, name, version)KT-39109ArithmeticException: "/ by zero" caused by kotlinNodeJsSetup task with enabled gradle caching on WindowsKT-39210Kotlin/JS: with both JS and MPP modules in the same project Gradle configuration fails onnodejs {}andbrowser {}KT-39377Use standard source-map-loader instead of custom one
Tools. Gradle. Multiplatform
KT-39184Support publication of Kotlin-distributed libraries with Gradle MetadataKT-39304Gradle import errorjava.util.NoSuchElementException: Key source set foo is missing in the mapon unused source set
Tools. Gradle. Native
KT-37514CocoaPods Gradle plugin: Support building from terminal projects for several platformsKT-38440Make error message about missing Podfile path for cocoapods integration actionable for a userKT-38991Gradle MPP plugin: Enable parallel in-process execution for K/N compilerKT-39935Support overriding theKotlinNativeCompiletask sourcesKT-37512Cocoapods Gradle plugin: Improve error logging for external tools
Tools. J2K
KT-35169Do not show "Inline local variable" popup during "Cleaning up code" phase of J2KKT-38004J2K breaks java getter call in java codeKT-38450J2K should convert Java SAM interfaces to Kotlin fun interfaces
Tools. JPS
KT-27458The Kotlin standard library is not found in the module graph ... in a non-Kotlin project.KT-29552Project is completely rebuilt after each gradle sync.
Tools. Scripts
KT-37766Impossible to apply compiler plugins onto scripts with the new scripting API
Tools. kapt
KT-29355Provide access to default values for primary constructor properties