Update plugin org.jetbrains.kotlin.plugin.serialization to v2.2.20 #282
Reference in New Issue
Block a user
No description provided.
Delete Branch "renovate/org.jetbrains.kotlin.plugin.serialization-2.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
2.2.10->2.2.20Release Notes
JetBrains/kotlin (org.jetbrains.kotlin.plugin.serialization)
v2.2.20Analysis API
KT-78187Synthetic properties not to be shown as callablesKT-72525K2. red code and KIWA on new-lines in guarded when conditions (with parentheses)KT-74246KaVisibilityChecker.isVisible is inefficient with multiple calls on the same use-siteAnalysis API. Code Compilation
KT-78382K2 IR lowering error when interface extends interfaceKT-73201K2 IDE: Error while evaluating expressions with local classesKT-78164Evaluator: '@JvmName' annotations are not recognized in other modulesKT-76457K2 IDE / KMP Debugger: KISEWA “Cannot compile a common source without a JVM counterpart” on evaluating inline fun from common module inside jvmKT-73084K2 evaluator cannot resolve local variables standing at the closing braceAnalysis API. FIR
Performance Improvements
KT-76490Do not load ast during the contracts phase if no contracts presentKT-78132Do not check FirElementBuilder#tryGetFirWithoutBodyResolve optimization for already resolved declarationsFixes
KT-72227SOE from recursive value classKT-68977K2 IDE: Reference to companion object through typealias in a function call does not workKT-72357Implement partial body resolutionKT-76932Support context parameters on dangling modifier listKT-72407FirImplementationByDelegationWithDifferentGenericSignatureChecker: FirLazyExpression should be calculated before accessingKT-77602K2 / Analysis API: KAEWA “No fir element was found for KtParameter” on incorrect context()-callKT-77629K2: NPE: "org.jetbrains.kotlin.fir.java.declarations.FirJavaTypeParameter.performFirstRoundOfBoundsResolution"KT-76855Analysis API:KaType.asPsiTypereturnsnullfor a local inner class in dependent analysis testsKT-72718ImplicitReceiverValue.createSnapshot creates invalid FIR if receiver is smart-castedKT-76811Analysis API:resolveToFirSymbolfinds aFirPropertySymbolfor aKtScriptin dependent analysisKT-73586[Analysis API] AddlazyResolveToPhase(STATUS)before accessing modifiers of membersKT-71135AA: exception from sealed inheritors checker whenanalyzeCopyKT-75534K2 AA: "Containing declaration should present for nested declaration class KtNamedFunction" with dangling annotation on top-level anonymous functionKT-75687K2: local variable doesn't get to the do-while scopeKT-56543LL FIR: rework lazy transformers so transformers modify only declarations they suppose toAnalysis API. Infrastructure
KT-76809Analysis API: Dependent analysis tests frequently work with the original element instead of the copied elementAnalysis API. Light Classes
KT-78835Find usages of a light constructor from a class with an empty body finds usages of class as wellKT-78878K2. Method shown as unavailable in Java when@JvmExposeBoxedis applied (redundantly) at both class and method level in KotlinKT-78065Support "Expose boxed inline value classes" in Light ClassesKT-78076DLC: KotlinDeclarationInCompiledFileSearcher missed accessors if types are boxedKT-77569SLC: annotation missing from generated no-args constructorKT-75182K2 AA. False positive red code "Unresolved reference" to a Kotlin method in Java when Kotlin uses a value class with@JvmOverloadsKT-77564Constructor with JvmOverloads and value class shouldn't mark regular constructors privateKT-77505K2: find usages on java accessor methods do not detect kotlin property accessor usagesKT-76789Annotation resolve shouldn't search through non-class membersKT-76907Wrong equality between repeatable annotation and containerAnalysis API. Providers and Caches
KT-77578Analysis API: Performance degradation ofKaBaseResolutionScope.containsafter introduction of library restriction scopesKT-78640Analysis API: Remove "friend builtins provider" fromFirDeclarationForCompiledElementSearcherKT-74907Analysis API: Apply platform-based library module content restrictions consistentlyKT-77605AA: Leaking KaDanglingFileModule through IdeKotlinPackageProviderKT-62474Analysis API: Improve mergeability and performance of custom search scopesKT-77022Get rid of ExpectBuiltinPostProcessor workaroundKT-77248Delegation ofJavaModuleResolveris restricted toCliJavaModuleResolverKT-76850LLFirLibrarySession cannot be cast to LLFirResolvableModuleSessionKT-76952Analysis API:whenexhaustiveness analysis fails for sealed classes in dangling filesKT-72390Kotlin project full of red codeAnalysis API. Standalone
KT-78638Analysis API Standalone: Stdlib builtins are not indexed inSTUBSdeserialized declaration origin modeAnalysis API. Stubs and Decompilation
KT-77496Support HAS_MUST_USE_RETURN_VALUE metadata flags in FirStubBasedMemberDeserializerKT-77778Function receivers doesn't have annotationsKT-77777Receiver annotations shouldn't be present on typesKT-77538Support default property accessors with annotationsKT-77763Decompiled stubs miss inline modifier for property accessorsKT-77309Decompiled property from annotation constructor with default value should have a constant initializerKT-77168Prefer DataInputOutputUtil for serialization/deserializationKT-77117Flaky WRONG_ANNOTATION_TARGET diagnosticKT-76791Function signature types are deserialized inconsistentlyKT-76947Support functional types with context parametersAnalysis API. Surface
New Features
KT-73473Provide KaExpressionInformationProvider.isUsedAsResultOfLambdaKT-77278Implement psi-basedKaFirKotlinPropertyKtPropertyBasedSymbol#hasBackingFieldKT-70770KaLocalVariableSymbol: supportisLateInitPerformance Improvements
KT-78526Get rid of redundantcheckValidityfromwithPsiValidityAssertionFixes
KT-77674Analysis API: Redundant smart cast to the original typeKT-76577Guard KaFirStopWorldCacheCleaner from deadlocks via threads waitingKT-78820K2: ISE "FIR element class FirErrorExpressionImpl is not supported in constant evaluation" through RedundantValueArgumentInspectionKT-75057Analysis API: Reference to object through typealias in invoke operator call leads to original typeKT-79042Do not restore KaTypePointer if target kind has changedKT-72421AA: "KtReference.resolveToSymbols" returns empty list when ASSIGN_OPERATOR_AMBGUITY error is presentKT-63464AA: KtPsiTypeProvider#asPsiType doesn't substitute kotlin.UnitKT-75913K2: SymbolLightLazyAnnotation evaluates arguments and replaces them with constantsKT-78628K2. Setting Receiver=true in Change Signature produces parameter of regular function type receiver instead of extension function typeKT-78278ISE: FIR element "class org.jetbrains.kotlin.fir.expressions.impl.FirErrorResolvedQualifierImpl" is not supported in constant evaluation at org.jetbrains.uast.kotlin.internal.FirKotlinUastConstantEvaluator.evaluateKT-73184Analysis API: KaFunctionCall.argumentMapping is unexpectedly deparenthesisedKT-73327Cover all psi inputs with scope validity assertionsKT-78613PSI: add binary compatibility checksKT-74013Analysis API: Cover the API surface with@SubclassOptInRequiredannotationsKT-76614Move the parser and lexer to a separate moduleKT-78552KaFunctionValueParameteris not marked asKaLifetimeOwnerKT-71152Add back SubclassOptInRequired to classes in KaModule.ktKT-71876Support storing parameter names inKaFunctionTypeKT-77738AA: inconsistentKaType.allSupertypesregarding multiple iterationsKT-75358K2 AA, KaFirVisibilityChecker: private member of anonymous object is not visible inside itKT-73723K2 AA, KaFirVisibilityChecker: protected member of superclass is not visible from anonymous objectKT-78057[Analysis API, K2] Context parameters are not resolved in KDocKT-73758K2 Mode: "KaEvaluator.evaluate" does not work for simple arithmetic expressionsKT-72301K2 AA.PSI should present for declaration built by Kotlin codeon property access syntax of generic Java getter through Kotlin subclassKT-77730K2: Unable to get a light PSI for a nested annotation used with fully-qualified nameKT-73216K2: unresolvable references in type parametersKT-71794Analysis API: Types with errors have unresolved qualifiers in lambda parameters positionKT-65846Support parameter names in functional type renderingKT-76738K2 AA: rendering constructor of sealed class inserts protected modifierKT-77515KaTypeProvider#receiverTypeshould be more tolerant to an error codeKT-77333K2 AA: KaFirTypeProvider.getType: InvalidFirElementTypeException: For TYPE_REFERENCE with textI, unexpected element of type: FirSuperReceiverExpressionImpl foundKT-76044K2 AA: isFun is true for restored symbol of Java interface with several methodsKT-77264KaTypeProvider#typeshould be more tolerant to an error codeKT-77282KaPropertySymbol: supportisDelegatedPropertyfor librariesKT-77254K2 AA: expectedType doesn't provide anything for parameter default valueKT-74777KaVariableSymbol.hasBackingField returns incorrect result for librariesKT-77280RenameKaPropertyAccessorSymbol#isCustomtoisNotDefaultKT-77210Analysis API:scopeContextshows implicit receiver with a class instance in the class constructorKT-77196Clarify differences between KaPropertyAccessorSymbol#{isDefault, hasBody}KT-76580K2: No expected type for the second+ vararg argumentKT-76750K2. internal exception 'Unable to provide inlay hint' on typo in nested lambdasKT-73290Analysis API: Improve the architecture of content scopes and resolution scopesKT-73055Get rid of the deprecated Analysis API APIKT-70199K2: ConcurrentModificationException at FirCallCompleter$LambdaAnalyzerImpl.analyzeAndGetLambdaReturnArgumentsBackend. Wasm
New Features
KT-65721K/Wasm: stop unconditionally exporting any main function from the root packagePerformance Improvements
KT-70097Optimize shared primitive variables in Native and WasmFixes
KT-80106devServer in Kotlin/Wasm overwrites defaults, causing missing static pathsKT-80018K/Wasm: exceptions don't work properly in JavaScriptCore (vm inside Safari, WebKit)KT-66072K/Wasm: improve how exceptions work in JS interopKT-77897WasmJs: ClassCastException when using star-projection with nullable transformation in generic extension functionKT-71533K/Wasm + K2: no error on KClass::qualifiedName usagesKT-73931WASM: "RuntimeError: illegal cast" with nullable genericKT-65403[WASM] RuntimeError is thrown instead of ClassCastExceptionKT-79317[Wasm] Do not throw CCE for ExcludedFromCodegen declarationsKT-66085K/WASM: Runtime error is uncaught withcatch (e: Throwable)KT-78036K/Wasm: generate a message with "expected" and "actual" types in case of CCEKT-78384K/Wasm: Incorrect debug info of local declarations in inline function from another fileKT-72220Wasm: Unclear exception in case of missed dependencyKT-71691No trace on Wasm/JS if an error occurred in initializing global variables in a file with the main functionKT-67554[Wasm] Consider to have reference equals or/and equals for function referencesKT-71521K/Wasm: incorrect results on equality checks for capturing property referencesKT-71522K/Wasm: incorrect results on equality checks for function referencesKT-69570K/Wasm: JsExport with default parameter value compiles to invalid WasmKT-71517K/Wasm: KClass::qualifiedName for local classes and objects returns non-null valueKT-68309WASM: Anonymous class simpleName returns "" instead of nullKT-77272K/Wasm: Remove kotlin.wasm.internal.ClosureBox* classes from the standard libraryKT-66106Wasm: lambda was not invoked in test lambda2.ktKT-77855[Wasm] Improve virtual function calls speed for lambdasKT-77501Wasm: unsigned vararg compiles to invalid WasmKT-76775[Wasm] Inconsistent FP mod operationKT-77464Wasm: KType.toString() has simple names even with -Xwasm-kclass-fqnKT-77465Wasm: KTypeParamter printed without variance informationCompiler
New Features
KT-71768Enable -Xjvm-default=all-compatibility by default to generate JVM default interface methodsKT-78374Make indy lambda function name generation more consistentKT-45683Allow generics in contract type assertionsKT-27090Support contracts in getter and setter for top-level extension propertiesKT-76766Warning is missing for wrong subclass checkingKT-71244Incorporate existing@CheckReturnValueannotation(s) into Kotlin's unused return value checkerKT-73256Implementallmeta-target for annotationsKT-78792Report warning for redundant return in expression bodyKT-32313Support contracts for operator functionsKT-70722Implement better Kotlin warnings for value classes and JEP 390 (Warnings for Value-Based Classes)KT-65688Generate when-expressions over final classes via invokedynamic typeSwitch + tableswitch on JDK 21+KT-54344Trigger the unused expression warning for interpolated strings, even when the expression may have side effectsKT-74807Implement 'full' unused return value checker modeKT-77653K/N: an optimization pass to remove redundant type checksKT-64477Enhance KotlinLightParser to make it able to parse scriptsKT-74809Support unnamed local variablesKT-72941ANNOTATIONS_ON_BLOCK_LEVEL_EXPRESSION_ON_THE_SAME_LINE missing in K2KT-75061Support context-sensitive resolution in type positionPerformance Improvements
KT-77993Optimize old PSI/LightTree Kotlin parserKT-78672Consider having FirCallableSymbol.callableId null for local properties / parametersKT-77839K2: consider not creating CallableId for value parameters / variables / fieldsKT-74981Kotlin/Native: large binary size for iOS target in 2.1.0(LLVM16)KT-77838K2: consider replacing LinkedHashMap with HashMap inside scopes and scope sessionKT-76698Android Studio compose preview holds read lock 700ms for KaCompilerFacility APIKT-68677Kotlin compilation issue when using EnumMap and PairFixes
KT-79979K2: ClassCastException when overriding extension property with delegationKT-67146UPPER_BOUND_VIOLATEDmissing on implicit type argumentsKT-76477Kotlin/Native: fix compiler performance reporting in sources->klib and klibs->binaryKT-79866kotlinc 2.2.0 silently emits 'NonExistentClass' instead of reporting an errorKT-78666"Platform declaration clash" caused by indy lambda name generation which generates conflicting namesKT-80285IJ monorepo: broken compilation after 2.2.20-RC updateKT-79442"Multiple annotations of type kotlin.coroutines.jvm.internal.DebugMetadata": 2.2.0-Beta1 generates broken code with JVM default suspend methods in interfacesKT-78589"Class does not have member field" caused by delegation from a Java to Kotlin classKT-79816Java Interfaces implemented by delegation have non-null return checksKT-78097False positive NO_ELSE_IN_WHEN on sealed interface with negative is checkKT-77182A function in a file annotated with@file:MustUseReturnValue doesn't produce a warning when it is used from compiled codeKT-79085Adding-Xreturn-value-checker=fullto kotlinc causes "error: conflicting overloads"KT-75268K2: Implement the new compilation scheme for MPP (compiler part)KT-78843FIR tree: comments within String concatenation aren't visited in 2.2.0KT-77401[FIR]ParameterNameTypeAttribute.namedoesn't support@ParameterNamewith compile-time constant property argumentKT-73611Remove -Xextended-compiler-checks in favor of a deprecation cycleKT-79276Dexing fails with "Cannot read field X because is null" with 2.2.0KT-79781Missing MISSING_DEPENDENCY_CLASS when using type alias with inaccessible RHSKT-78621false-positive type mismatch error on value of nullable type as value of platform typeKT-79547"UnsupportedOperationException: Not supported" with inlining and value classesKT-52706Bad signature for generic value classes with substituted type parameterKT-79519Nested type alias is unreachable from another moduleKT-76839False-negative MISSING_DEPENDENCY_CLASS on parameter of data class constructorKT-78352False-positive IDENTITY_SENSITIVE_OPERATIONS_WITH_VALUE_TYPE when comparing with equality operator (==)KT-78815Symbol not found: __ZNSt3__117bad_function_callD1Everror on iOS 15.5 simulator in Xcode 16.3 after update to 2.2.0-Beta2KT-25341NOT_YET_SUPPORTED_IN_INLINE reported over anonymous object borderKT-77099'all' annotation target is not a soft keywordKT-76478FIR: Implement IDE-only checker for types exposed in inline functionKT-79355Failed to fix the problem of desugaredincwith new reverse implies returns contractKT-79277Implies returns contract doesn't affect the return type of the function if it is in the argument positionKT-79271Implies returns contract doesn't impact exhaustivenessKT-79218SMARTCAST_IMPOSSIBLE for top‑level extension‑property getter despite returnsNotNull contractKT-79220returnsNotNull contract ignored on extension function with nullable receiverKT-79354IllegalStateException: Debug metadata version mismatch. Expected: 1, got 2 with compiler 2.2.20-Beta1 and stdlib 2.2.0KT-78479IR lowering failed / Unexpected null argument for composable callKT-77986K2: False negative: "Local classes are not yet supported in inline functions"KT-79076'IllegalStateException: Cannot serialize error type: ERROR CLASS: Uninferred type' with Exposed column using recursive generic typeKT-78726Split runPsiToIr phase into runPsiToIr and runIrLinkerKT-77672K/N: come up with a fallback strategy for the casts optimization passKT-76365K2: Missing ABSTRACT_SUPER_CALLKT-76585K2: RETURN_IN_FUNCTION_WITH_EXPRESSION_BODY is not reported inside initializers of local variablesKT-79099K2: Do not inherit inline modifierKT-76902Omit type-use annotations from diagnosticsKT-64499Report error on overloading by order of context parametersKT-58988K2: Deprecate exposing package-private parameter of internal methodKT-77199OPT_IN_USAGE_ERROR is still absent when calling the enum primary constructorKT-72800K2: java.util.NoSuchElementException when introduce variableKT-79056Add experimental language version 2.5KT-17460Diagnostics and intention on suspend function that is overriden with non-suspend one.KT-78351Plugins: VIRTUAL_MEMBER_HIDDEN caused by FirSupertypeGenerationExtensionKT-78527No LESS_VISIBLE_TYPE_ACCESS_IN_INLINE_WARNING is reported when a private companion object is accessed via the class nameKT-79045FirExpectActualMatcherTransformer should not visit bodiesKT-74570K2: Linenumber for annotation on property is present in LVTKT-74569K2: Linenumber of annotation is present in constructor's LVTKT-64731K2: Annotation on inline function or inside inline function is hit by debuggerKT-77756Add experimental language version 2.4KT-78837linkReleaseFrameworkIosArm64: Compilation failed: An interface expected but was AnyKT-78945CONTRACT_NOT_ALLOWED is not reported for local operator functionsKT-78944ANNOTATION_IN_CONTRACT_ERROR is not reported for operators and property accessors with contractsKT-78943ERROR_IN_CONTRACT_DESCRIPTION is not reported for operators and property accessors with contractsKT-78932Contracts are allowed for open and overridden property accessorsKT-77203FIR: Consider adding destructured type to all COMPONENT_FUNCTION_* diagnosticsKT-76635Implement Data-Flow Based Exhaustiveness SupportKT-78805K2: False positive METHOD_OF_ANY_IMPLEMENTED_IN_INTERFACEKT-78651No need to report LESS_VISIBLE_TYPE_ACCESS_IN_INLINE_WARNING in noinline default value lambdaKT-78849K2: [Wasm, Fir2IR] Invalid smartcast on overloaded function callKT-78793Make feature AllowEagerSupertypeAccessibilityChecks experimentalKT-78736Missing [NOT_YET_SUPPORTED_IN_INLINE] diagnostics because of incorrect context updateKT-78324K2: False negative [INCONSISTENT_TYPE_PARAMETER_VALUES]KT-69975KDoc: cannot reference elements with names in backticksKT-78229KDoc: unable to reference a method with spaces in the nameKT-78047Render unnamed context parameters as _ instead ofKT-74621Debugger: AssertionError on evaluating two suspending callsKT-78784Improve deprecation warnings about KTLC-284KT-76826New inference error [NewConstraintError at Incorporate TypeVariable] caused by recursive generics and nullable expected typeKT-77685"IllegalArgumentException: Sequence contains more than one matching element"KT-78028"FirNamedFunctionSymbol" leaks to the error message about missing infix modifierKT-77245Add expression name to RETURN_VALUE_NOT_USED diagnosticKT-78071False-positive NO_ELSE_IN_WHEN after variable reassignmentKT-78068False-positive NO_ELSE_IN_WHEN after excluding enum value with inequality checkKT-71134Consider to get rid of CapturedTypeMarker.withNotNullProjection()KT-77131getValue/setValue can be declared with more than two/three parametersKT-78452Drop redundant frontend structures after fir2ir conversionKT-78458Don't populate PredicateBasedProvider if no lookup predicates are registeredKT-78440Lambda with an implicitly runtime-retained annotation is generated via invokedynamic with-Xindy-allow-annotated-lambdas=falseKT-77709Missing diagnostics of accessing less visible objects in inline functionKT-77577False positive exposed type warningsKT-77095FIR: Report warnings on exposure of references to invisible references in inline functionsKT-76981Move exposed type checker to regular checkersKT-78252ClassCastException whenArray<Void>used for compile-time vararg ofNothingKT-77713Context Parameters cause compiler generate r8 incompatible bytecodeKT-71854K2 IDE. False positive red code because of external annotation on a generic parameterKT-67335K2: Infers Int instead of Long for an ILTKT-76629K2 Mode: False positive RedundantVisibilityModifier inspection on private constructors in sealed classesKT-77728Drop controversial experimental checkersKT-78429K2: Property callable reference incorrectly smart-casted to intersection of property type and KPropertyKT-78509Renamed for override copy functions are cached in scope instead of sessionKT-17417Loops in delegation: no compilation error on non-abstract class with abstract method that never implementedKT-75033Split JvmBackendPipelinePhase to be able to provide a custom implementation of writeOutputsKT-75831K2: An extra "[VALUE_PARAMETER_WITHOUT_EXPLICIT_TYPE] An explicit type is required on a value parameter." for a missing parameterKT-78370All the [something]Assign operators on dynamic return Unit as a typeKT-73950K2 IDE / Kotlin Debugger: ISE “Fake override should have at least one overridden descriptor” on evaluation of local calss in presence of bystanderKT-78280Implement the sourcelessKtDiagnosticsKT-76543Migrate psi2ir sources to new IR parameter APIKT-77716Kotlin/Native and -Xseparate-kmp-compilation: "Compilation failed: Several functions kotlin/native/immutableBlobOf found"KT-76400Context-sensitive resolution doesn’t work in if-else condition passed as a function argumentKT-76606Enable 'Indy: Allow lambdas with annotations' by defaultKT-76739Dubious argument type mismatch "actual type is 'String', but 'String' was expected" caused by wrong number of type argumentsKT-78121Report warning on function type with multiple implicit values that's annotated with DSL markerKT-76872Anonymous context parameters are not visible in debuggerKT-74088Kotlin Debugger: CCE on evaluating private suspend functionKT-77301False positive Context Parameter resolution when using DslMarkerKT-78230Add more test cases to the holdsIn contractsKT-78111K2: Approximation of captured star projection in function type producesFunction1<Nothing?, Unit>in IRKT-77273K/N: Remove the kotlin.native.internal.Ref class from the standard libraryKT-73995JVM bytecode: Bad name for value class fieldKT-73013Kotlin Debugger: ISE “No mapping for symbol: VALUE_PARAMETER” on evaluating callable reference to local function with closure in itKT-77665K2: unresolved annotatation on local context parameter typeKT-77485Add constraints logging to inferenceKT-76504Find and deprecate actively used parts of K1 APIKT-75338K2 Mode: False positive "Redundant assignment" diagnostic on variable captured by local functionKT-77648K2: False negative DSL_SCOPE_VIOLATION when using named argument for lambda with annotated function typeKT-77355Report warning on overloading by a superset of another overload's context parametersKT-77354Report warning on overloading by a subtype of another overload's context parameterKT-78084Unify deprecation warning messagesKT-76776@MustUseReturnValuedoesn't affect nested scopesKT-77545@NoInferon receiver type leads to false positive type mismatch when generic type is specified explicitly and closest implicit receiver is of incorrect typeKT-76772@NoInferon a context parameter's type leads to a false-positive context argument ambiguity error regardless of the closest implicit values' types if there are multiple of them at the call siteKT-76771@NoInferon context parameter type leads to a false-positive type mismatch when generic type is specified explicitly and closest implicit value at the call site is of a mismatching typeKT-77156INITIALIZATION_BEFORE_DECLARATION is not reported in anonymous objectKT-78060UNRESOLVED_REFERENCE in fp-spaceKT-67555Debug metadata: map the Continuation label to the next executable location in fileKT-77723Refine the message for ArrayEqualityCanBeReplacedWithEquals checkerKT-75178Inline functions in conjunction with@JvmStaticmay result in bytecode errorsKT-77390Prototype lazy loading of stdlib symbols in NativeKT-77921False positive EXTENSION_SHADOWED_BY_MEMBER when member has context parametersKT-77895false-negative error on package directives with context parameter lists (even with context parameters disabled)KT-76767AMBIGUOUS_CONTEXT_ARGUMENT should report the name of the context parameter in addition to the typeKT-77444K2: False negative "Unchecked cast" with casting from MutableList to MutableListKT-63348K2: FIR2IR should properly pass expected typesKT-77627K2: consider getting rid of NEW_INFERENCE_ERRORKT-75833K2: Extra [ANNOTATION_ARGUMENT_MUST_BE_CONST] when passing regex-like strings as annotation argumentsKT-77547Native: add a check that the logic looking for stdlib-related bitcode is not used when compiling sources to a klibKT-77206RemovePARAMETER_NAME_CHANGED_ON_OVERRIDEsuppression in KMP lexersKT-77679Update syntax-api dependency in KMP Kotlin parserKT-77705K2: Consuming data class compiled with kotlin 1.0.5 breaks the K2 compilerKT-76583CCE: suspend lambda attempts to unbox value class parameter twice after lambda suspendedKT-76663KJS: KotlinNothingValueException caused by expression return since 2.1.20KT-75457Native: cache machinery uses stdlib cache with default runtime options even if custom runtime options are supplied when partial linkage is disabledKT-77563False-positive smart cast with captured local in init block causes NPEKT-77696ISE "couldn't find inline method" on kotlin/Result compiled by old Kotlin versionKT-76931K2: Annotation on do-while expression captures variables from inside the loopKT-77183Metadata: remove multi-field value class representationKT-77678Apply found optimization to Kotlin KMP parserKT-60127K2: Support scripts with LightTree-based raw FIR buildingKT-76615K2: "IllegalArgumentException: Inline class types should have the same representation: Lkotlin/UByte; != B" for mixed Java/Kotlin codeKT-77220Annotation with EXPRESSION is not allowed on lambdas in Kotlin 2.2.0KT-77656K/N: fix the super type for local delegated propertiesKT-75907Inference/PCLA: consider storing semi-fixed variables in inference sessionKT-77144Implement KMP Kotlin parserKT-77352Implement KMP Expression parserKT-76984SYNCHRONIZED_BLOCK_ON_JAVA_VALUE_BASED_CLASS isn't reported for primitive wrapper classes instantiated within the scopeKT-67471K2: "Unresolved reference" on incorrect term of FQ nameKT-77269[K/N] external calls checker crashes when used with cachesKT-77205Kotlin Debugger / Context Parameters: CCE “class FirPropertySymbol cannot be cast to class FirFunctionSymbol” on evaluating class propertyKT-74133FIR: use EmptyDeprecationsPerUseSite consistently in symbolsKT-77100java.lang.Void type is not ignorableKT-77491K2: No SUPERTYPE_IS_EXTENSION_FUNCTION_TYPE when using typealiasKT-77490Report error on contextual function type in supertypeKT-77431Functional type with a context is allowed as an upper-boundKT-77432Context isn't passed properly when functional type with a context is used as a type argumentKT-77417There is no TYPE_VARIANCE_CONFLICT_ERROR when 'out' type is used in contextKT-62631Improve expect-actual "checking" incompatibilities reportingKT-77481Support ExpectRefinement feature in HMPP compilation schemeKT-77268Make sure that -Xreturn-value-checker also enables -XX:UnnamedLocalVariablesKT-65719K1/K2: Nullness defaults from subclass unsoundly applied to method in superclassKT-53836In type-parameter declarations, recognize JSpecify annotations only on boundsKT-73658JSpecify@NonNullannotation on type-parameter bound prevents type-variable usages from being platform typesKT-77000Leave ForbidInferOfInvisibleTypeAsReifiedOrVararg as a warningKT-74084K2: False negative [NO_ELSE_IN_WHEN]KT-77451FirLazyResolveContractViolationException for test with overridden delegateKT-77397Report UNSUPPORTED_CONTEXTUAL_DECLARATION_CALL when calling declaration with contextual function type in signatureKT-77137K2: Controversial behavior allows resolving annotation arguments on a companion inside itKT-77257Report compilation error when in generated JVM bytecode there is a need for CHECKCAST of the conditional expression to the inaccessible interfaceKT-77256Report compilation error when in generated JVM bytecode there is a need for CHECKCAST of the functional call result to the inaccessible interfaceKT-76356K2 evaluation fails on evaluating inline methods if there is an inline with AutoCloseableKT-73786Evaluator: cannot evaluate inline methods with reified parameterKT-77204Native: XCode strip command causes flaky testsKT-77351Implement KMP KDoc parserKT-76914compile-time failure on a type argument placeholder in a callable referenceKT-76597False negative opt-in required on delegated constructor callKT-76667Mark the class implementation of interface function with ACC_BRIDGE in the class fileKT-77181K2: a nested typealias annotation observes member declarations of the outer classKT-77180K2: Wrong scope for annotation arguments in the constructor headerKT-77287Try enforcingsource != nullwhenorigin == SourceKT-76135K2: drop pre-1.8 language features from compiler codeKT-77231Reflection: CCE on resuming coroutine after callSuspend if result is a generic inline class substituted with primitiveKT-77031Investigate the actual need of deduplicating provider in HMPP compilation schemeKT-77050Implement KMP KDoc lexerKT-77048Implement KMP Kotlin lexerKT-77044Consolidate, refine and update jFlex dependencyKT-77252It is impossible to declare an unnamed variable in a scriptKT-58137K2: ISE "Usage of default value argument for this annotation is not yet possible" when instantiating Kotlin annotation with default parameter from another moduleKT-77140Protect ConstraintSystemCompletionMode.UNTIL_FIRST_LAMBDA with opt-inKT-76898K2: ClassCastException when data class shadows supertype'scomponentXmethod with wrong typeKT-75695Bogus "Assigned value is never read" warning for prefix ++ operatorKT-76805Wrong NPE occurs when assigning synthetic properties with platform types in Kotlin 2.1.20KT-77078K2: anonymous object is wrongly allowed to implement interfaces by unsafe DelegationKT-72722Treat 'copy' calls of a data class as explicit constructor usagesKT-77149IllegalArgumentException: source must not be nullKT-76806K2: AIOOBE in FirEqualityCompatibilityCheckerKT-72391KJS: (a * b).toDouble_ygsx0s_k$ is not a functionKT-76950K2: "IllegalArgumentException: Inline class types should have the same representation: Lkotlin/UByte; != B" with nullable UByteKT-76043Native: NotImplementedError: Generation of stubs for class org.jetbrains.kotlin.ir.symbols.impl.IrFieldSymbolImpl is not supported yetKT-77126Transitive dependency mismatch between Kotlin Gradle Plugin and Scripting dependenciesKT-72831ANNOTATION_USED_AS_ANNOTATION_ARGUMENT missing in some cases in K2KT-73707Remove dependency on ":compiler:backend.jvm" from NativeKT-75499CheckerContext#{containingDeclaration, containingFile} in checkers should return symbolsKT-76548False positive TYPE_MISMATCH when resolving an expression with the expected type from the upper boundKT-76142K2:@RequiresOptInwarning does not display the custom message when using concatenated strings.KT-68699Kotlin Debugger: UPAE “lateinit property parent has not been initialized” on trying evaluate enumValues(), enumEntries() from inlined function with reified parameterKT-63267K2: incorrect line numbers after smart cast of an extension receiverKT-71309Kotlin Debugger: UnsupportedOperationException on calling method with reified type parameterKT-74912K2: Investigate irrelevant ARGUMENT_TYPE_MISMATCH on top-level lambdasKT-74657K2: Linenumber for annotation on local variable is present in LVTKT-76749NONE_APPLICABLE message is unreadable for stdlib context functionKT-74932Investigate false-negative ARGUMENT_TYPE_MISMATCH on a nested anonymous functionKT-74545Redundant TYPE_MISMATCH in variable initializer with callKT-76774K2: Simplify ResolutionMode.WithExpectedType contractsKT-76689Unnamed local variable with type and without initializer is allowedKT-76746ClassCastException: class org.jetbrains.kotlin.fir.types.impl.FirUserTypeRefImpl cannot be cast to classKT-76754K2: Compiler doesn't check annotations on array literals (as annotation arguments)KT-76674The function isn't called from unnamed local variable initializerKT-75553MISSING_DEPENDENCY_SUPERCLASSandMISSING_DEPENDENCY_SUPERCLASS_WARNINGis reported at the same time on the same elementKT-76345Enhance variable fixationKT-73348AssertionError from isCompiledToJvmDefault on super call of suspend function with composable function parameterKT-72305K2: Report error when using synthetic properties in case of mapped collectionsKT-73527Prohibit (via a deprecation warning) accessing nested class through generic outer classKT-59886K2: Disappeared ERROR_IN_CONTRACT_DESCRIPTIONKT-61227Definitely non-nullable types cause "Any was expected" for@NullableparameterKT-57911K2: Contracts are not inherited by substitution overridesKT-47398'null' EnhancedNullability value in String-based 'when' might produce different behavior depending on whether 'when' is "optimized" or notCompose compiler
CMP-7505IrLinkageError: Function can not be called: No function found for symbolb/432262806Fix target description lookupb/436870733Prevent lambda memoization in local classes inside a composableb/432485982Fix AbstractMethodError when overriding function with default parametersb/432262806Use classId as FirApplierInferencer tokensb/400371006Gate default parameters behind language versionsb/245673006Specify fqName for classes and functions in build metricsb/254577243Avoid printing complex expressions in compiler metricsb/394891628Allow specifying target version of Compose runtimeb/424454512Recreate FirApplierInferencer for each checkb/417406922Restrict references to@Composablepropertiesb/282135108,b/349866442[Compose] Enable applier checking when using FIRb/307592552Add BigInteger and BigDecimal to the list of known stable classesb/414547195Unwrap type casts when inferring@Composablecall argumentsIR. Inlining
New Features
KT-70360KLIBs: Uniformly handletypeOf()calls at 1st/2nd stages of compilationFixes
KT-79002[Inliner][Native][PL] Native backend fails for inline function that instantiates a class that was compiled implementing two interfaces, which turned into abstract classesKT-78137Review & enable PL tests with enabled IR inlinerKT-72464[Native][JS][Wasm] Non-local return through suspend conversion breaks the IR inlinerKT-69941RewriteDumpSyntheticAccessorslowering to test handler after moving common Native/JS prefix to KLIB compilationKT-78245Synthetic Accessors incorrectly copies default valuesKT-76236IncludeNativeInliningFacadeandJsIrInliningFacadein all Native & JS test runnersKT-76512Avoid usingoriginalFunctioninsideFunctionInliningKT-69457[references] IR Inliner: References to inline functions are not inlinedKT-47521Native & JS: Recursive inline fun calls -> StackOverflowErrorKT-76425Do not store signatures of preprocessed inline functions in KLIBsKT-76763[Inliner] Don't use attributeOwnerId to pass info from Inliner to non-JVM backendsKT-77102[Inliner] Expression uses unlinked type parameter symbolKT-76145Enhance error message about poisoned KLIBs in KLIB-based compilersKT-77079IR: Report warnings on exposure of references to invisible declarations in inline functionsKT-69797[references] Accessors for private function/constructor/property references are not generatedKT-76454Investigate erasure of class type parameters during inlinerKT-72593[K/N] Add NativeIrInliningFacade to CrossCompilationIdentityTestKT-70969IR Inliner: Ensure that common prefix at 1st phase does not affect KLIB signaturesKT-75937[IR Inliner] Umbrella for failing tests due to public inlinerKT-77295Improve Diagnostic Message Formatting for Private API Exposure in Inline FunctionsKT-77047Ir Ininler: crash on fake override in private class from more visible classKT-77336[references] Synthetic accessor test for private top-level function accessed via reference fails withNo function found for symbolKT-76761[Inliner] non-JVM IR Inliner incorrectly uses K/JVM-specific codeKT-76712[Inliner] No function found for symbol '/|?'KT-76711[Inliner] Reference to function 'privateMethod' can not be evaluatedIR. Tree
KT-77508K/JS and K/Native CompilationException Wrong number of parameters in wrapperKT-78978PL tests: Dropadjust*forLazyIr()hackKT-76813IR validator: not all symbols/references are visitedKT-77596RefinereuseExistingSignaturesForSymbolssetting in IR serializerKT-76723IR validator: Check visibilities of annotationsKT-76405Visit annotations in IrTypeVisitor and IrTreeSymbolsVisitorKT-78033[PL] MergeIrUnimplementedOverridesStrategytoPartiallyLinkedIrTreePatcherJVM. Reflection
KT-77882kotlin-reflect: KParameter.name returns "" instead of null for anonymous context parametersKT-77879kotlin-reflect: toString overrides of KCallable implementations do not render context parametersKT-74529Context parameters support in reflectionKT-52170Reflection: typeOf<Array> gives classifier LongArrayKT-77663Reflection: java.util.ServiceConfigurationError: "module kotlin.reflect does not declareuses" when using kotlin-reflect in modular modeJavaScript
New Features
KT-79222K/JS: Allow using Long in exported declarationsKT-79394Add the possibility to write common external declarations between JS and WasmJS targetsKT-70486K/JS: exported exception types should extend ErrorKT-19016Define accessors as enumerablePerformance Improvements
KT-57128KJS: Use BigInt to represent Long values in ES6 modeKT-54689KJS: Data class equals less efficient than manually written versionFixes
KT-69297Deprecate referencing inlineable lambdas injs()callsKT-77620Fix failing IC tests on WindowsKT-77372KJS: NullPointerException at JsIntrinsics$JsReflectionSymbolsKT-78316KJS: List is not exported to TypeScript declaration if wrapped in PromiseKT-79644BigInt enabled for ES 2015 despite being an ES 2020 featureKT-79089KJS: Could not load reporter / Cannot find module 'mocha' when running jsNode testsKT-79916K/JS: "Uncaught TypeError" when using 'Xes-long-as-bigint' in compose-htmlKT-79050KJS / IC: "Unexpected body of primary constructor for processing irClass"KT-79977KJS: Long.rotateLeft returns incorrect result when BigInts are enabledKT-76093Support new callable reference nodes in partial linkage in Kotlin/JSKT-78073K/JS: KProperty from local delegate changes after another delegate is invokedKT-52230KSJ IR: Applying identity equality operator to Longs always returns falseKT-6675KotlinJS: toInt() on external Long throws errorKT-79184K/JS: Further intrinsify BigInt-backed Long operationsKT-78701Js and Wasm: enumValueOf does not include invalid value into an exception messageKT-55256KJS: non-exported subclass with a no-parameter function overload doesn't compileKT-76034passProcessArgvToMainFunction contains the node path and script pathKT-66091KJS, WASM:AssertionError: Illegal value: <T>in test nonReified_equality.ktKT-78169KJS: [NON_EXPORTABLE_TYPE] with@JsExportclass if@JsStaticcompanion method returns an out typeKT-57192KJS: "Exported declaration uses non-exportable return type" caused by@JsExportPromise with Unit typeKT-61183KJS: "AssertionError: Assertion failed" from JsSuspendFunctionsLoweringKT-59326KJS / IR: invalid code generated when using constructor parameter nameddefaultKT-70295KLIB stdlib: Unify intrinsics for boxing captured variables in lambdas across non-JVM backendsKT-77021CompilationException: Encountered a local class not previously collected on inner classes inside anonymous objectsKT-77320KJS: Big.js times() is compiled to multiply (*) operatorKT-77430K/JS: Remove sharedBox* intrinsics from the standard libraryKT-73267KJS: IC: "FileNotFoundException": Build failures with Kotlin 2.1-RC and RC2KT-76912KJS:@JsStaticcan't be used for companion objects implementing external interfacesKT-77271KJS / Serialization: "Cannot set property message of Error which has only a getter"KT-77242Kotlin/JS & Kotlin/Wasm backends: Artificially apply reverse topo-order after IR linkageKT-77649KJS: es-arrow-functions requires explicit opt-in when target is ES2015KT-76235[JS] Extra invalid linetmp_0.tmp00__1 = Options;in testSuspendFunction()KT-76234[JS] Extra invalid lineParentin testNested()KT-76233[JS] Extra invalid import line in testJsQualifier()KT-77190Migrate JS diagnostic tests to the new CLI-based test facades (1st phase only)KT-77418KJS: cannot debug with whole-program granularityKT-77371[K/N][K/JS][K/Wasm] Unify visibility rules for generated default argument stubsKT-77148KJS: "Uncaught TypeError: (intermediate value).l(...).m is not a function" during production build runKT-77193Migrate JS irText tests to the new CLI-based test facades (1st phase only)KT-77192Migrate JS ABI reader tests to the new CLI-based test facades (1st phase only)KT-77187Migrate JS box tests to the new CLI-based test facades (1st phase only)KT-77027Migrate 1st phase facades to the phased CLI infrastructure in JS testsKT-69591KJS / d.ts: Wrong type of SerializerFactory for abstract classesKT-76027KJS: "ReferenceError: entries is not defined": Accessing entries of an enum arbitrarily fails with println()KT-76232Suspend contextual function with extension receiver results in wrong values at runtime in JSKT-42305KJS / IR: "Class constructor is marked as private"@JsExportproduces wrong TS code for sealed classesKT-52563KJS / IR: Invalid TypeScript generated for class extending base class with private constructorKlibs
New Features
KT-78699Compiler (JS, Wasm): warn about incompatible kotlin-test/compiler pairKT-78700Compiler (JS, Wasm): Consider making diagnostics for incompatible kotlin-stdlib/compiler and kotlin-test/compiler pairs errors instead of warningsKT-74815KLIB resolver can't consume metadata klibs between source sets when abi_versions divergeKT-68322Compiler (JS, Wasm): warn about incompatible Kotlin stdlib/compiler pairFixes
KT-78168K/N: "IndexOutOfBoundsException: Index 3 out of bounds for length 3" for iOS build with Kotlin 2.2.0-RC2KT-75766PL: Error on building fake override with multiple overridden members with unbound symbols in return typeKT-75757PL: Error on building fake overrides with unbound symbols in value parametersKT-76094Support new callable reference nodes in partial linkage in Kotlin/WasmKT-78771KLIBs: ImprovezipDirAs()function that is used to produce KLIB (ZIP) archivesKT-75980[Klib] Reduce serialized size of IrFileEntries for sparse usage of another source filesKT-78349[Tests] Enable Partial Linkage in all testsKT-76827KLIB cross-compilation tests: Don't use IR hashes and metadata hashes in test dataKT-76266Move trigger of :tools:binary-compatibility-validator:check to native/native.tests/klib-ir-inlinerKT-76725KLIB ABI export in older version: Restore legacy directoriesKT-76061Add option for suppress warning of missing no-existent transitive klib dependenciesKT-76471Partial linkage: add an attribute if a class is invalidKT-75192KLIB reader tends to extract files from the KLIB archive to a temporary directory even when this is not neededLanguage Design
KT-78866Warn implicit receiver shadowed by context parameterKT-54363Allow using reified types for catch parametersKT-32993Contract to specify that a function parameter is always true inside lambdaKT-79308Ability to actualize empty interfaces as AnyKT-8889Contracts: if a given function parameter is not null, the result is not nullKT-22786Returns are not allowed for expression-body functions and are allowed when an inline lambda is addedKT-77836Support using context parameter of a@RestrictsSuspensiontype as the "restricted coroutine scope"KT-77823Context-sensitive resolution doesn't work for subtypes of sealed typesKT-75977False positive unresolved_reference when resolving nested member after a type checkKT-73557Allow refining expect declarations for platform groupsLibraries
New Features
KT-76389Provideupdatefunctions for common atomicsKT-78581Add the KClass.isInterface property to Kotlin/JS stdlibKT-34132Contract for ClosedRange.contains(T?) operatorKT-73853Provide vararg constructors for Atomic ArraysFixes
KT-71628Review deprecations in stdlib for 2.1KT-76773stdlib: contextOf's type argument can be inferred via contextOf's context argumentKT-79489Generate Stdlib API reference for webMain source setKT-79080Annotate WasmImport and WasmExport as experimental APIKT-79121K/Wasm annotate JS-interop API as experimentalKT-78710kotlin.wasm and kotlin.wasm.unsafe packages are missing descriptionKT-78709Wasm: KClass.qualifiedName KDoc should reflect the behavior on the targetKT-78704CharSequence.subSequence and String.substring behavior with invalid indices differs between targetsKT-78705Float.sign and Double.sign behavior for negative zero is not documentedKT-74543Support for context parameters in kotlinx-metadataKT-78340String.startsWith KDoc declares invalid exception conditionKT-78242Move IrLinkageError to the common non-JVM part of the standard libraryKT-67819Document collection interfaces contractsNative
KT-79075Stuck on Kotlin_getSourceInfo_core_symbolicationKT-76178LLVM Update: symbol '__ZnwmSt19__type_descriptor_t' missingKT-78959Xcode 26: fix GC stress testsKT-78734Finish runtime crash dump generationKT-74662Consider providing a way to enable stack canaries for Kotlin/Native binariesKT-77378[macos] Loading libraries with non resolved paths runs XProtectServiceKT-61549Kotlin/Native: remove kotlin-native/Interop/JsRuntimeKT-76563LLVM Update: numerous "was built for newer 'macOS' version" warningsNative. Build Infrastructure
KT-77349Kotlin/Native: default cache for stdlib is unusedNative. C and ObjC Import
KT-79571Xcode 26 beta 4: CInteropKT39120TestGenerated.testForwardEnum failedKT-71400Fix disabled -fmodules testing for stdarg.hNative. ObjC Export
New Features
KT-77488[ObjCExport] Add explicit ObjCBlock parameter name in objc exportKT-76974Include conflicting element in objc export warningsKT-76338Native, ObjCExport: Replace name mangling of special method familiesFixes
KT-55648Native: produce smaller binariesKT-78447[ObjCExport] Add missing ERROR constructors, align with K1KT-78034ObjCExport: primitive type extension translated as static methodKT-77781ObjCExport: support@ObjCNamefor function parameters and receiver parametersKT-77592KMP plugin uses incorrect Swift name from ObjCName annotationKT-77625ObjCExport: ObjCName annotation adds kotlin name swift_nameKT-77484KotlinConf app: Invalid identifiers inObjCHeader.renderKT-77500IllegalStateExceptionduring generating ObjC header stubsNative. Runtime
KT-79152Native: unexpected thread state in kotlin::to_stringNative. Runtime. Memory
KT-78925Crash SIGABRT on Apple Watch after updating Kotlin to 2.2.0KT-76851Kotlin/Native: GC scheduler MutatorAssists requestAssists and completeEpoch issueKT-63143Kotlin/Native: execute Cleaners on the finalizer threadNative. Swift Export
KT-79105ConcurrentModificationException During Swift Export Caused by Usage of ArrayKT-79227Swift Export: Fix First Release IssuesKT-78947Implement FUS for Swift exportKT-79521'_CoroutineScope' is inaccessible due to 'internal' protection levelKT-79181Swift Export Fails When Using T: Comparable Generic Constraint in Kotlin ClassesKT-77650Swift export execution tests fail with caches enabledKT-77634K/N: swift export tests started failing after hyper-existentialsKT-77290Transitive Export on swift export can duplicate declarationsTools. Build Tools API
KT-78415Add a tool for performance reports analysingTools. CLI
New Features
KT-75812Basic DSL for compiler arguments representationFixes
KT-78318Unresolved reference when compiling kotlin/JS project on fresh masterKT-75968Set proper lifecycle for all existing compiler argumentsKT-77445UNRESOLVED_REFERENCE when importing classes from kotlin-stdlibKT-77030Implement setup of HMPP sessions for KLib-based compilersKT-78578Support for placeholder (*) and directory in-Xdump-perfKT-78129Compiler cannot parse -Xfragment-dependency with a comma in the pathKT-76828Warning doesn't exist error with -Xwarning-level when the source file has no codeKT-76957Incorrect error message when severity is set with -Xsuppress-warning and -Xwarning-level for the same diagnosticKT-76829UnsupportedOperationException when reenabling a taking place warning with -Xwarning-levelKT-76111kotlinc warns about org.fusesource.jansi.internal.JansiLoader call to System.loadKT-76447Remove -Xjps compiler argumentTools. Compiler Plugin API
KT-78279Make the DiagnosticReporter default way for reporting in IR pluginsKT-77157Cannot create a symbol pointer for local class generated by FirFunctionCallRefinementExtensionTools. Compiler Plugins
New Features
KT-78038Make jvm-abi-gen compiler plugin output classloader-friendlyKT-77339Update kotlin dataframe dependency to 1.0.0-dev-6925Fixes
KT-78969[DataFrame] Provide source elements for plugin-generated classesKT-75265PowerAssert: the result of invoke is displayed at the same level as value that can be confusingKT-78490"AssertionError: SyntheticAccessorLowering should not attempt to modify other files" when calling protected open composable with default argumentKT-77626K2: AssertionError: FUN LOCAL_FUNCTION_FOR_LAMBDA has no continuationKT-78671[DataFrame] Support type parameter types in DataSchema to fix evaluate expressionKT-78439DataFrame compiler plugin: Unresolved reference error in REPLKT-75876PowerAssert: don't display results for assertion operatorKT-75514[JS][Native] Add IrPreSerializationLoweringFacade to Atomicfu test runnersKT-77719Remove suppress INVISIBLE_REFERENCE from DataFrame pluginKT-77691Kotlin DataFrame plugin: IR and FIR anonymous functions have inconsistent receiversKT-77455kotlin-dataframe plugin throws NoClassDefFoundError in IDEKT-77437Kotlin DataFrame: Add configuration key to disable top level properties generatorKT-74366Delete kotlin-android-extensions compiler pluginKT-73364Migrate atomicfu sources to new IR parameter APITools. Compiler plugins. Serialization
KT-79695Serialization does not exclude field-less properties in 2.2.20-Beta2KT-73365Migrate kotlinx-serialization sources to new IR parameter APITools. Gradle
New Features
KT-76421Stabilize klib cross-compilation on different platformsKT-77107Introduce Kotlin ecosystem pluginFixes
KT-80172Error message changes depending on the order of applying 'org.jetbrains.kotlin.android' and 'AGP' 9.0+ with built-in Kotlin pluginKT-77546Implement basic support for HMPP compilation scheme support in KGPKT-79034Automatically disable cross compilation if it's not supported on the hostKT-79408A lot of errors files are created when compile KotlinKT-77785Add -fmodules option to CocoaPod dependency by defaultKT-75921Make Swift Export available by defaultKT-63383Add compiler performance metrics to Native build reportsKT-77023Support creating KotlinJvmAndroidCompilation in KotlinBaseApiPluginKT-74420Migrate kotlin-parcelize away from AGP's deprecated Variant APIKT-78233Add ExperimentalFeatureWarning unique idKT-67992Cleanup deprecated code required for KSP1KT-72341Remove 'kotlin-android-extensions' pluginKT-67291Enable Project Isolation AND/OR Configuration Cache mode for Gradle Integration testsKT-78325Kotlin ecosystem plugin rejects compatible Gradle patch version when DCL is enabledKT-76353Handle migration to stable -jvm-default in KGP: replace deprecated option and suppress warningsKT-76797KGP: StdlibDependencyManagementKt.configureStdlibVersionAlignment() triggering eager configuration realizationKT-77163Migrate Swift Export IT to injectionsKT-76282Add missing Android Gradle plugin versions in testsKT-77011Update build regression benchmarks for 2.2.0 releaseKT-76138Compile against Gradle API 8.14KT-76139Run integration tests against Gradle 8.14KT-77035A compiler diagnostic isn't reported when its severity is set to warning with GradleKT-76951'distribution-base' plugin is only applied in Gradle 8.13KT-73142Kotlin Gradle plugin: Remove usage of Gradle's internal ExecHandleBuilderKT-76740Use Problems API for warning introduced in KT-75808KT-65271Gradle: "Mutating dependency DefaultExternalModuleDependency after it has been finalized has been deprecated " with gradle 8.6-rc-3Tools. Gradle. Cocoapods
KT-76035Allow extra command line arguments in PodBuildTaskKT-78387Kotlin Cocoapods Gradle Plugin is not compatible with Gradle isolated projectsKT-79429K/N: Cocoapods: IllegalArgumentException: "cinterop doesn't support having headers in -fmodules mode" with 2.2.20-Beta1 if explicitly not specify false for 'useClangModules'Tools. Gradle. Compiler plugins
KT-66728Deprecatekapt.use.k2propertyTools. Gradle. JS
New Features
KT-75480Add shared source set for js and wasmJs targetKT-77073generateTypeScriptDefinitions() does not add generated .d.ts file to package.json automaticallyFixes
KT-77319KJS / Gradle: generateTypeScriptDefinitions() generates wrong file extension when outputting ES modulesKT-79921Web Tooling Gradle API does not respect webpack reconfigurationKT-76996Wasm: js tasks triggers wasm subtasksKT-79237Upgrade NPM dependencies versionsKT-79188Pre-generated accessors aren't available for webMain / webTest source setsKT-78504[2.2.0-RC3] NPM Tasks in 2.2 RCs produce broken/unusable build cache entriesKT-77443NPE: "NullPointerException: Cannot invoke org.gradle.api.tasks.TaskProvider.flatMap(org.gradle.api.Transformer)": ExecutableWasm.optimizeTask is accessed before initializationKT-76987JS, Wasm: Upgrade NPM dependenciesKT-77119KJS: Gradle: Setting custom environment variables in KotlinJsTest tasks no longer worksKT-74735KGP uses Gradle internalCompositeProjectComponentArtifactMetadataTools. Gradle. Multiplatform
New Features
KT-69790Report human-readable error when declared dependency doesn't support required target typesKT-76446Add kotlin-level dependency block to work the same way as commonMain/commonTest dependencies blocksFixes
KT-78297FileNotFoundException in generateMetadataFile task if non-packed=falseKT-62294kotlin-parcelize plugin does not support the new android kotlin multiplatform pluginKT-77404The kotlin-stdlib and annotations are missing from commonTest dependencies with 2.2.0-Beta1KT-79559AGP complains about configurations resolved at configuration time due to KMP partially resolved dependencies diagnosticKT-78993The value for property '*' property 'dependencies' is final and cannot be changed any furtherKT-77843KGP fails with Gradle 9 onProjectDependency.getDependencyProject()KT-79315Early task materialization with cross-project configuration breaks configuration due to KMP partial resolution checkerKT-77466KMP - testFixturesApi and similar configurations do not affect jvmTestFixtures source setKT-78433Gradle: add tracking of the new KMP compilation scheme to FUSKT-78431Gradle: in-process metadata compiler uses deprecated K2MetadataCompilerKT-77414KMP dependencies in detached source sets cause IDE resolution to write error logs: "kotlin-project-structure-metadata.json (No such file or directory)"KT-76200TestModuleProperties.productionModuleName for JVM module isn't present with 2.1.20-RCTools. Gradle. Native
KT-51301Remove ability to use Native non-embeddable compiler jar in Gradle pluginKT-74864Enable exporting KDocs by default to ObjCKT-77977"Unknown hardware platform: riscv64" on JVM project buildKT-78838Add default 3G max heap size for the commonizer JVM processKT-68256Reduce commonizer max heap size to default 3g and allow users to configure itKT-77067Kotlin Gradle plugin with the configuration cache passes all platform libraries to the compiler when compiling a binary for the first timeTools. Gradle. Swift Export
KT-79554Swift Export status diagnostic is produced even if swift export is not configuredKT-78385Swift Export is not compatible with Gradle isolated projectsKT-79524NoSuchMethodError: 'java.lang.String org.gradle.api.artifacts.ProjectDependency.getPath() for swift export with dependency export fro gradle < 8.11Tools. Incremental Compile
KT-60653IC does not handle changes in inline functions objects/lambdas correctlyKT-78807Changing ABI fingerprint on non-ABI changes when lambda passed to inlined functionKT-69075Incremental compilation: smartcast is impossible on field with@JvmNameTools. JPS
KT-77347Support file-less compatible IC approachKT-78444Clean up JPS code baseKT-75460Adding@PurelyImplementsannotation to a List does not cause incremental recompile of affected filesKT-50594Fix org.jetbrains.kotlin.arguments.CompilerArgumentsContentProspectorTestTools. Kapt
KT-79138K2: KAPT Java Stub Gen:Unresolved referencewith@kotlin.Metadata in Java in 2.2.0KT-79641Kapt: too much information is printed in verbose modeKT-79136K2 kapt: unresolved nested class references in annotation arguments are generated without outer class namesKT-79133K2 kapt: class literal with typealias is not expandedKT-77853K2 KAPT: backend internal error: exception during IR fake override builderKT-73322MigrateFirKaptAnalysisHandlerExtensioncompilation pipeline to the phased structureTools. Maven
KT-77587Maven: Introduce Kotlin daemon support and make it enabled by defaultKT-63688Remove JS-related stuff from kotlin-maven-pluginTools. Maven. Compiler plugins
KT-77511Add maven plugin for Kotlin DataFrame pluginTools. REPL
KT-78755[K2 Repl] Redeclaring variables does not workKT-75632Contunue deprecation of the REPL built intokotlincKT-77470[K2 Repl] Lazy Properties crash code generationKT-76507[K2 Repl] Delegated properties are not visible in the next snippetKT-76508[K2 Repl] Annotations on property accessors are not resolvedKT-75672[K2 Repl] Serialization plugin crashes compiler backendTools. Scripts
KT-78378"Explain" feature of the kotlin script fails on hidden variablesTools. Statistics (FUS)
KT-79455[FUS] Collect KSP plugin versionKT-77755[FUS Pipeline] Fus file formatKT-77995Do not collect FUS metrics on TeamCityTools. Wasm
KT-76842K/Wasm: serve project sources in *DevRun tasks by defaultKT-78921K/Wasm: don't generate empty yarn.lock fileKT-75714Wasm: Move tooling NPM dependencies outside user projectKT-70013.gradle/yarn and .gradle/node are part of Gradle configuration cacheKT-76838K/Wasm: No possible to set downloadBaseUrl to null for D8 and BinaryenKT-76948Wasm: Rename kotlinBinaryenSetup and kotlinD8SetupConfiguration
📅 Schedule: Branch creation - "every weekday,every weekend" (UTC), Automerge - "every weekend" (UTC).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.