chore(deps): update kotlin.version to v2.5.0 #221

Open
renovate wants to merge 1 commit from renovate/kotlin.version into main
Collaborator

This PR contains the following updates:

Package Type Update Change
org.jetbrains.kotlin:kotlin-maven-noarg (source) build minor 2.4.21 → 2.5.0
org.jetbrains.kotlin:kotlin-maven-allopen (source) build minor 2.4.21 → 2.5.0
org.jetbrains.kotlin:kotlin-maven-plugin (source) build minor 2.4.21 → 2.5.0

Release Notes

JetBrains/kotlin (org.jetbrains.kotlin:kotlin-maven-noarg)

v2.5.0

Compare Source

Updated vulnerable third-party dependencies in:
  • baseline-browser-mapping: 2.10.0 -> 2.11.27
  • browserslist: 4.28.1 -> 4.29.3
  • brace-expansion: 1.1.12 -> 1.1.18
  • brace-expansion: 2.0.2 -> 2.1.4
  • fast-uri: 3.1.0 -> 3.1.8
  • js-yaml: 4.1.1 -> 4.3.2
  • launch-editor: 2.13.1 -> 2.14.1
  • nanoid: 3.3.11 -> 3.3.18
  • socket.io-parser: 4.2.5 -> 4.2.7
  • webpack-dev-server: 5.2.3 -> 6.0.0
  • ws: 8.18.3/8.19.0 -> 8.20.1/8.21.0
  • GraalVM Community JDK 25.0.3 -> Oracle GraalVM JDK 25.0.5.1
Analysis API
Fixes
  • KT-87460 Flaky (Embeddable)SwiftExport tests
  • KT-60884 Analysis API: Improve standalone mode project model creation
  • KT-61775 Analysis API: KtKClassAnnotationValue lacks complete type information
  • KT-69055 Analysis API: Stabilize KaScopes
  • KT-68884 Analysis API: Rename/deprecate/remove declarations as part of Stabilization
  • KT-65215 Analysis API: Distinguish APIs for Analysis API users and platforms
  • KT-68857 Analysis API: Refactor annotations
  • KT-68341 Analysis API: Expanded function types from libraries don't have an abbreviated type
  • KT-68462 Analysis API: Integrate project-structure module into analysis-api and analysis-api-platform-interface
  • KT-67786 Analysis API: Implement improved KtType hierarchy and design
  • KT-60484 Analysis API: add support for KtType pointers similar to KtSymbolPointer
  • KT-65417 K2 IDE: KTOR false positive expect-actual matching error on enum class because of implicit clone() in non-JVM source sets
  • KT-68896 Support VirtualFile binary dependency inputs to Analysis API modules
  • KT-88945 Analysis API: annotation resolution drops a class id when a source annotation shadows a library one
Analysis API. FIR
Performance Improvements
  • KT-60240 K2: optimize FirElementBuilder#getOrBuildFirForNonKtFileElement for KtTypeReference case
  • KT-76375 ContextCollector: terminate search if no elements were found with a designation
  • KT-86758 Don't require body resolution to obtain an explicit backing field
  • KT-75496 Doesn't resolve the entire designation path to the body phase for diagnostics
Fixes
  • KT-85627 AA: LLFlightRecorder initialization fails on runtimes without jdk.jfr
  • KT-88111 K2: Analysis API: make FileStructure element computation fully lazy
  • KT-85410 LLFirTypeTargetResolver: add more type guards
  • KT-86185 Analysis API: Make FirDesignation internal by removing the leak through UsualClassTypeQualifierBuilder
  • KT-64899 K2: PsiRawFirBuilder forces AST loading for scripts
  • KT-80721 K2 AA. "FirDeclaration was not found for class KtTypeParameter, fir is null" with generic type parameter in object expression
  • KT-60609 K2 IDE: Navigation to super class of annotation opens Any instead of written super type
  • KT-77041 Expected is FirResolvedDeclarationStatus, but was FirDeclarationStatusImpl
  • KT-79057 Fix all // IGNORE_PHASE_VERIFICATION: invalid code inside annotations directives
  • KT-75470 ContextCollector: potentially incorrect scope for super type call
  • KT-81100 Support jvmTargetProvider in low-level analysis API
  • KT-74654 K2 Analysis API: InvalidFirElementTypeException with annotated non-local destructuring declaration
  • KT-62892 K2 IDE. Java outer class from other module is not resolved when nested class is accessed with fq name in a type position
  • KT-72660 ISE: Recursive update at org.jetbrains.kotlin.analysis.low.level.api.fir.caches.FirCaffeineCache.getValue
  • KT-69726 FP errors on declaring fun clone() in actual enum in not-jvm source-set
  • KT-69727 K2 IDE. Wrong error in the editor on calling clone function of actual enum instance in non-jvm platform
  • KT-87572 Symbols from companion blocks have dispatchReceiver in stub-based version
  • KT-87651 [Analysis API] Unexpected FIR status exception on SAM interfaces
  • KT-88962 False negative [AMBIGUOUS_ANNOTATION_ARGUMENT] diagnostic in some corner cases
Analysis API. Infrastructure
Fixes
  • KT-87998 Move out Standalone components from the 'kotlin-analysis-api-surface' and 'kotlin-analysis-api-implementation'
  • KT-87672 Eliminate class duplication in the Analysis API JARs
  • KT-88371 Optimize symbol light classes tests
  • KT-87607 Test Federation: Review domain Analysis API Smoke & Contract tests
  • KT-89119 Enforce KaInternals prefix name schema
  • KT-89711 test-data-manager is incompatible with Isolated Projects
  • KT-87529 Test Data Manager: introduce a separate task for checks
  • KT-87593 Migrate Analysis API tests on JDK 11
  • KT-86787 Stop publish analysis-api-fe10-for-ide
  • KT-88404 Merge the decompiler text and stubs into one test case
  • KT-84914 Do not publish analysis-api-test-framework
Analysis API. Light Classes
Fixes
  • KT-89204 SLC: False positive "unresolved reference" in Java for interface companion block members
  • KT-84373 Implement PsiMethod#isDefaultConstructor
  • KT-89073 SLC: @JvmOverloads + @JvmExposeBoxed("bar") methods are exposed with the original name
  • KT-89322 UAST: NPE accessing containingFile of UParameter for mapped collection method
  • KT-89316 SLC: DefaultImpls light class exposes @JvmStatic members of the interface companion object
  • KT-88498 Support multi-field value classes in light classes
  • KT-70427 SLC: non-abstract interface method generated as default with -jvm-default=disable option
  • KT-87399 LightClassUtil.getLightClassPropertyMethods returns wrong setter when JvmName annotation is used
  • KT-67711 K2: Pointer already disposed from SLC/AI
  • KT-65385 K2 IDE: Light classes incorrectly expose Companion class and the corresponding static field if the companion object is generated by a compiler plugin
  • KT-88805 SLC: @JvmInline value classis treated asPsiClass#isValueClass`
  • KT-88861 Value classes / JvmExposeBoxed: internal method from value class is shown as valid call on java side but cannot be compiled
  • KT-88879 Value classes / JvmExposeBoxed: false-negative resolve for overridden exposed functions
  • KT-57537 SLC: propagate default parameter value from (@JvmOverloads) expect declarations to actual declarations
Analysis API. PSI
  • KT-88443 Advance DeprecationLevel for PSI declarations deprecated in 2026.2 and earlier
  • KT-74070 Cover the Kotlin PSI with KDocs
  • KT-89846 PSI: Kotlin overrides of standard PsiElement mutation methods throw IllegalStateException without KtPsiMutationService
  • KT-80780 KtPsiUtil#getEnclosingElementForLocalDeclaration should return KtClassBody for enum entries members
  • KT-85052 Move mutation methods out of the Kotlin PSI
  • KT-87819 UseScope of private interfaces is incorrect
  • KT-88788 Refine the new resolution API (PSI-part)
  • KT-88925 Restrict the KtElement hierarchy with @SubclassOptInRequired
  • KT-89032 Missing PSI utilities for companion blocks
Analysis API. Providers and Caches
  • KT-89816 Analysis API tests: low-memory cache cleanup invalidates sessions in the middle of a test
  • KT-71359 Perform validity checks before session acquisition
  • KT-87680 Analysis API: LL FIR sessions contain redundant BuiltinTypes instances
  • KT-86402 False positive MISSING_DEPENDENCY_SUPERCLASS when using Scala case class in Kotlin
  • KT-87231 Analysis API: Fallback dependencies must have a binary-only base content scope
  • KT-77194 Analysis API: Move union and intersection scope merge strategies to the Analysis API
Analysis API. Standalone
  • KT-61404 Analysis API: implement proper library publishing structure
  • KT-89902 Analysis API Standalone: JavaPsiFacade doesn't find Kotlin classes from binary libraries
  • KT-89242 Analysis API Standalone: KLIB/JAR file handles remain open after session disposal
  • KT-85112 AA does not see packages from unpacked klibs
  • KT-84851 Analysis API Standalone: 75% of CPU time spent in StringsKt.split via trie-based library scopes
  • KT-88362 PsiMethod.findSuperMethods() always returns an empty array
Analysis API. Stubs and Decompilation
New Features
  • KT-10793 Improve decompiled text for annotations
  • KT-85756 Support annotation arguments in the decompiler
  • KT-87857 Support strict equals in stubs
Performance Improvements
  • KT-88067 Implement stub-based initializer for constant properties
  • KT-71787 PsiRawFirBuilder.Visitor#visitStringTemplateExpression forces AST loading
  • KT-79397 Make KtUnaryExpression stub-based
  • KT-79396 Make KtBinaryExpression stub-based
  • KT-88060 Make KtParenthesizedExpression stub-based
Fixes
  • KT-89376 Rethink decompiler dependencies
  • KT-88772 Refine stubs surface
  • KT-81203 Get rid of deprecated usage at ClsClassFinder.isKotlinInternalCompiledFile
  • KT-80758 Consider to drop KotlinClassOrObjectStub#isLocal
  • KT-77096 Implement more stub-based annotation arguments
  • KT-52806 Store type in callable stubs when callable have implicit type and trivial initializer
  • KT-88500 Support multi-field value classes in Analysis API stubs / decompiler
  • KT-78356 Migrate stubs from stub element type to stub factories
  • KT-88984 compiler-common and analysis-api-impl-base cyclic depend on each other
Analysis API. Surface
New Features
  • KT-84255 Expose possible smart casts from ContextCollector in KaScopeContext
  • KT-88521 Analysis API surface: support "Strict equals" (equality bound types) language feature
  • KT-88496 Support multi-field inline classes in Analysis API Surface
  • KT-87311 Propagate psi from generated declarations to KaSymbols
  • KT-78862 Provide KaSymbol -> PsiElement API
  • KT-86610 Rework KaDiagnosticProvider to be more flexible
  • KT-88985 Refine the new resolution API around error handling
  • KT-68881 Analysis API: Introduce KaType.classId
  • KT-85384 Provide use-site-aware API for Light Classes
Fixes
  • KT-88129 Advance DeprecationLevel for declarations deprecated in 2026.2 and earlier
  • KT-87552 Compiler-internal types leak into the public Analysis API surface
  • KT-53669 Analysis API: redesign KtSymbolOrigin to distinguish kotlin/java source/library declarations
  • KT-55124 Design common ancestor for KtValueParameter and KtReceiverParameterSymbol
  • KT-68882 Analysis API: Refactor KaSymbols
  • KT-60483 Analysis API: add isTailrec property to KtFunctionSymbol
  • KT-77280 Rename KaPropertyAccessorSymbol#isCustom to isNotDefault
  • KT-83199 Clarify API around extension points
  • KT-66192 Analysis API: Improve render customizability
  • KT-82176 KaFirUsualClassType has incorrect type argument for generic local class in generic function
  • KT-73570 Merge implementation of KaExpressionTypeProvider.returnType with KaCallableSymbol.returnType
  • KT-81264 K2 AA: KaValueParameterSymbol.hasDefaultValue is false for overriding or actual functions
  • KT-73946 Analysis API: Add a way to navigate from "KaPropertySymbol" to "KaValueParameterSymbol" for primary constructor properties
  • KT-87343 AA: hasDefaultValue is incorrect for parameter of actual constructor
  • KT-87338 Drop KaTypeParameterOwnerSymbol
  • KT-69959 fakeOverrideOriginal should support value/type/receiver parameters
  • KT-87578 Explicitly split implementations and APIs in symbols
  • KT-87924 Consider dropping KaType.is*Type utilities
  • KT-87564 Analysis API: nested type alias qualifier resolves to expanded type owner
  • KT-86591 Rethink how the context parameters feature could be integrated into the Analysis API Surface
  • KT-54508 Re-design 'javaGetterName' and 'javaSetterName'
  • KT-75549 Deprecate KaTypeProvider#collectImplicitReceiverTypes
  • KT-87210 KaSubstitutor.Empty shouldn't be a class
  • KT-63221 K2: Analysis API: rework getDiagnosticsForElement API
  • KT-85528 Move diagnostic classes out of analysis-api-fir
  • KT-88489 resolveToCallCandidates throws ClassCastException for callable reference expressions resolveToCallCandidates
  • KT-88645 Stabilize KtResolvable(Call)
  • KT-82397 KaFunctionType should offer context parameter types, not context receivers
  • KT-73195 AA FIR: missing annotations on function literal
  • KT-89030 [Analysis API] Generalize KaFirNestedInLocalClassFromCompilerPluginSymbolPointer
  • KT-87557 'Analysis API Public API Checks' run configuration should include the artifacts checks
  • KT-88767 Refine the new resolution API
  • KT-89175 Add contracts to the new resolution utilities
  • KT-84186 Unresolved annotation ClassId returns ""
Backend. J2KLIB
  • KT-88163 Allow to disable firAggressivePrunner for Jklib
Backend. Wasm
New Features
  • KT-88027 K/Wasm: Export cabi_realloc function from stdlib to support components
Performance Improvements
  • KT-91749 Kotlin/Wasm: cos is ~47% slower in 2.5.0-RC than in 2.4.21
  • KT-88469 K/Wasm: consider inlining suspendCoroutineUninterceptedOrReturn and getCoroutineContext intrinsics on 2nd Stage
Fixes
  • KT-89394 [Wasm] stop creating of CoroutineImplStackSwitching at the call cite of suspendCoroutineUninterceptedOrReturn
  • KT-86242 K/Wasm: deprecate and prohibit using wasmExports
  • KT-82950 K/Wasm: stop providing wasmExports into generated JS files
  • KT-87862 K/Wasm: introduce a separate diagnostic ID for companion object inside external interface
  • KT-87125 K/Wasm: share a common base class for all suspend functions
  • KT-66089 K/WASM: assertSame failed in test static_smallIntIdentity.kt
  • KT-89657 [Wasm] Insvestigate performance issues with primitive box caching
  • KT-91167 K/Wasm: suspend lambda containing a suspend call triggers unrelated file-property initialization
  • KT-89267 K/Wasm: calling a (T) -> R lambda with an argument that isn't a T traps instead of throwing ClassCastException
  • KT-87740 K/Wasm: Incorrect wasm for codegen/box/basics/kt75483.kt
  • KT-90107 Kotlin/Wasm: empty string passed to a component traps in cabi_realloc
  • KT-90119 K/Wasm: ArenaLikeAllocator.allocationsToFree is only cleared on freeAllComponentModelReallocAllocatedMemory()
  • KT-89547 [Wasm] add test config for running stack switching with incremental compilation
  • KT-73452 K/Wasm: turning on range checks by default
  • KT-87710 [K/Wasm] initialization order of companion objects from super types differs from JVM
  • KT-88291 K/Wasm: Unsigned integer division by zero throws RuntimeError instead of ArithmeticException
  • KT-86207 k/wasm: Add box tests/support for multi-value value classes and callable ref merging
  • KT-89345 [Wasm] look into and unmute some CallableReferences benchmarks for Single Module Mode
  • KT-89445 Wasm: non-thread-safe instruction cache causes ClassCastException during parallel compilation
  • KT-89315 K/Wasm Standard Library Tests: Assertions are not enabled
  • KT-89548 [Wasm] clean up type codegen for stack switching and avoid leaking too many continuation types to non-stdlib modules
  • KT-88235 K/Wasm: Grouping test infra causes d8: error reading module error on Windows (path length problem?)
  • KT-87109 K/Wasm: Companion block initializer block fails in multi-module scenario
  • KT-87329 K/Wasm: child companion block static initializer runs before parent initializer in single-module mode
  • KT-87128 K/Wasm: investigate possible optimization of suspend "helper" functions
  • KT-87687 Investigate whether unboxing needed when accessing suspendResult in transformed doResume for suspend function
  • KT-87583 Wasm IC cache is not invalidated when kotlin.wasm.compilationMode changes causing IndexOutOfBoundsException in WasmDeserializer
  • KT-88366 [Wasm] mute failing coroutines stack switching test via WASM_IGNORE_FOR directive
  • KT-88387 K/Wasm: DWARF debuginfo accidentally swaps files and folders
  • KT-79411 K/WasmJs: "Can't link symbol kotlin.js/js|js(kotlin.String){}[0]"
  • KT-83171 K/Wasm: Investigate import.meta usage in mjs files
  • KT-85772 K/Wasm: implement companion blocks and extensions
  • KT-88543 K/Wasm: Automatically clean test output by default
  • KT-88434 K/Wasm: JS-to-Kotlin closure converter is shared between different external function types with the same JS-erased signature, injecting a wrong cast
  • KT-88808 K\Wasm: separate CoroutineImpl and CoroutineImplStackSwitching
  • KT-87746 K/Wasm: Investigate if it is possible to enable floating point const folding on Wasm backend
  • KT-87742 K/Wasm: initialization of properties with default value different from JVM
  • KT-89009 [Wasm/MMCW] Compilation fail with exception on simple project
  • KT-89198 K/Wasm: invalid Wasm code(ref.cast to wrong type) for bound reference to inner-class constructor
Compiler
New Features
  • KT-87767 Add JVM target bytecode version 27
  • KT-79656 Use org.jetbrains.annotations.UnmodifiableView and/or org.jetbrains.annotations.Unmodifiable to infer read-only types for Java entities
  • KT-89201 Implement "Strict equality for structural classes"
  • KT-87345 Swift Export: Support proper exception throwing from sync bridges in cross-language inheritance
  • KT-80943 Context-sensitive resolution fails to look further than a type
  • KT-89096 Rich Errors: Parser & PSI
  • KT-86868 Update checkers to support lateinit val
  • KT-86124 Set attribute equalityBoundType to parameters
  • KT-89098 Rich Errors: Resolution
  • KT-89103 Rich Errors: Checkers
  • KT-89097 Rich Errors: FIR Tree
  • KT-2264 Emit a warning about ignored (unused) binary operation result
  • KT-80964 Improve error messages for compile-time constants
  • KT-87412 Kotlin/Native: use JVM-like class initialization scheme with CompanionBlocksAndExtensions
  • KT-83040 Collection literals: ensure normal interaction with CFG
  • KT-85925 Native: rework virtual trampolines machinery
  • KT-68819 Don't report "no corresponding expect/actual declaration" when signature contains error types
  • KT-58562 More concise error for "Incompatible classes were found in dependencies"
  • KT-81676 Improve error reporting for underscores as type parameters
  • KT-87422 Smart casts inside the body of strict equals
  • KT-86127 Add smart casts based on strict operator equals
  • KT-87420 Set equalityBoundType attribute for generated equals in data and value classes
  • KT-87417 Generate prologue of strict equals in Fir2Ir
  • KT-87498 Strict equals x interface delegation
  • KT-87418 Incompatible == / != checks based on @EqualityBound
  • KT-86129 Strict equals checks
  • KT-87419 (De)serialize attribute set for strict equals
  • KT-88415 Java type enhancement: support org.chromium.build.annotations nullability annotations as JSpecify equivalents
Performance Improvements
  • KT-91549 Slowdown in compose benchmarks in Float.fromBits
  • KT-88352 JVM: redundant Character box/unbox and Ref.IntRef when a bound callable reference is passed to an inline function from within another inlined lambda
  • KT-89131 JVM: Hoist ResultKt.throwOnFailure out of SuspendLambda.invokeSuspend switch cases
  • KT-87570 Kotlin/Native: improve RemoveRedundantCallsToStaticInitializersPhase
  • KT-89840 Native: bad incremental clean build performance
  • KT-57995 Extra anonymous class is created for lambda after upgrading from Kotlin 1.6.10 to 1.7.20
  • KT-86022 K2 frontend hangs in approximateToSuperTypeWithRecursionPrevention
  • KT-66469 Long compilation with mockk import
  • KT-83068 Investigate long compilation times with many generics & overloads
  • KT-69758 FastJarFS - avoid copying data on inflating (JDK 16+)
  • KT-87896 Make check for JvmFieldApplicabilityProblem.NOT_PUBLIC_VAL_WITH_JVMFIELD not quadratic
  • KT-87952 Bound receiver wrapped in a cast is needlessly stored in a $receiver field for property reference delegation
  • KT-87033 [Native] Optimize dumpObjcSelectorToSignatureMapping to execute during frontend phase, bypassing IR linking
  • KT-88435 Kotlin/Native: Avoid redundant filtering in DevirtualizationAnalysis
  • KT-88383 K/N CallGraph: Eager check before pushing elements onto the stack
  • KT-85899 Performance problem around the second incorporation kind
  • KT-52283 Never ending type inference while compiling Kotlin code with lots of self pointing generics
  • KT-49139 NI: EnumMap constructor call in Kotlin source causes OutOfMemoryError during compilation and analysis in IntelliJ Idea
  • KT-615 Optimize instanceof check for nullable type
  • KT-89224 Significant performance drop in MT intellij (checkers)
Fixes
  • KT-87295 Enable Return Value Checker by default
  • KT-86086 Make IntrinsicConstEvaluation feature stable
  • KT-89646 Add JVM target bytecode version 28
  • KT-81760 Kotlin/Native: incosistent handling of clashing declarations
  • KT-61582 Kotlin/Native: deprecate and remove -generate-worker-test-runner
  • KT-80005 Kotlin/Native: remove eager GlobalData initialization
  • KT-86132 Drop support of language versions 2.0 and 2.1
  • KT-84904 Alpha release of Multi-Field Value Classes
  • KT-86131 Deprecate language version 2.2
  • KT-90589 K/N: Debug static framework with a Kotlin subclass of NSObject does not link without -dead_strip: undefined "_kfun:platform.darwin.NSObject#objc:*-impl"
  • KT-86740 K/JS: IllegalStateException "Serialization of IrErrorType is not supported" when type variable is inferred into empty intersection
  • KT-91524 Callable references to declarations with context parameters get the "unsupported" error while being available through the compiler argument
  • KT-90233 Compiler: allow inline value modifier combination
  • KT-89985 InnerClasses entries lack ACC_IDENTITY with -Xjvm-enable-preview on JVM target 28
  • KT-84562 Get rid of usages of @K1Deprecation-annotated declarations in JVM backend
  • KT-89687 [JVM] SpecialBuiltinsMapping.getDifferentNameForJvmBuiltinFunction computes JVM signature of the sub-declaration instead of the overridden built-in
  • KT-88455 AssertionError "Inconsistent target list for lambda annotation" when Java annotation applied to lambda
  • KT-89698 JVM: @Throws is copied onto a bridge only when the overridden method is compiled from source, so incremental and clean builds produce different class files (JvmEnhancedBridges, 2.4.0)
  • KT-89504 VerifyError: Bad type on operand stack with startCoroutine on smart-casted nullable suspend function type
  • KT-87922 K1FakeDescriptorsForReferencesKt classes duplicated between kotlin-scripting-compiler-embeddable and kotlin-build-tools-impl
  • KT-87983 CCE on member extension property delegated to bound property reference
  • KT-87499 ClassCastException "Float cannot be cast to Unit" when a suspend function's result is discarded in a when-branch
  • KT-89915 JVM: ClassCastException 'kotlin.Result cannot be cast to ...' in an indy SAM-converted lambda whose Java SAM parameter is @NotNull
  • KT-89653 Native: failing lldb tests with state checker enabled
  • KT-90235 Compiler (JVM): drop requirement of @JvmInline for inline value class
  • KT-90234 Compiler: don't report inline modifier is deprecated in combination with value
  • KT-89933 Incorrect highlighting of a KDoc with a code block with comments
  • KT-90321 K2 IDE: "Multiple plugins generated nested class with same name Companion" floods the IDE log for a class with @Slf4j (Lombok) and @Serializable
  • KT-91112 Type inference: reified Enum inferred as Nothing for a function-reference extension call since Kotlin 2.5
  • KT-90707 Parser: "Expecting ';' after the last enum entry" when an enum entry named error has arguments or a body
  • KT-90315 Value classes resolved first as a supertype are treated as identity classes
  • KT-87569 Support Valhalla for Kotlin Inline and Full Value Classes
  • KT-89433 Frontend: Metadata of abstract/sealed full value classes declares equals/hashCode/toString that the JVM backend does not generate
  • KT-88589 Full Value Classes: irrelevant SMARTCAST_IMPOSSIBLE for value class implemented in another module
  • KT-86556 Account for CSR in compiler required annotations transformer
  • KT-90051 K/N: IrConstructorCallImpl is not expected crash in file lowering when @Entity uses @Index with vararg + default parameters
  • KT-88316 K/N: StackOverflowError in CastsOptimization when two nullable local variables are assigned to each other across nested loops
  • KT-88007 Don't report equals(Any?) in companion blocks of interfaces
  • KT-87437 Restrict interface companion block properties
  • KT-82676 Replace reflection-based RuntimeFeatureToFlagMap with code generation
  • KT-87825 Implement new frontend rules for companion blocks in interfaces
  • KT-88408 [IR] Consider eliminating ModuleDescriptor from IrActualizer module diagnostics
  • KT-87505 False positive INVALID_VERSIONING_ON_VALUE_CLASS_PARAMETER on value class secondary constructor with @IntroducedAt
  • KT-85879 Get rid of second incorporation kind in inference
  • KT-87777 K/N IC: "Undefined symbols for architecture" when an inherited open method becomes final
  • KT-89892 [K/N] latin1Strings binary option is ignored with caches
  • KT-87904 Incorrect $default method/constructor signatures when @JvmInline value class parameter type is absent from compilation classpath
  • KT-89980 K2 loads full value classes from klibs without their value class representation
  • KT-87330 Introduce Static Initialization Control Flow Graph for Classes
  • KT-89876 K/N IC: "File … is not found in cache" after a file is renamed or moved to another module (stale weak dependency)
  • KT-87452 Fix remaining issues in companion blocks and extensions on JVM
  • KT-10001 False unnecessary non-null assertion on a pair element
  • KT-6843 NPE in REPL
  • KT-46419 FIR: Investigate how integer-literal resolution works
  • KT-63741 K2: fix visibility inference with overridden + inherited member
  • KT-81874 NPE related to data race during Application disposal
  • KT-74051 Add a Continuation for tail-call suspend functions
  • KT-89112 Move transformation arrayOf(...) -> [...] in annotations to constant evaluator
  • KT-89374 Companion blocks: false positive PROPERTY_WITH_BACKING_FIELD_INSIDE_VALUE_CLASS for property inside companion block of value class
  • KT-88520 Equality applicability checker should account for custom equals in full value classes
  • KT-84001 KIAEWA: Exception in type checkers when classpath contains newer Kotlin-compiled dependencies
  • KT-86888 Update PersistentMultimap to follow persistent collection naming conventions
  • KT-70118 [KLIB Resolve] Stop using depends= property of klib manifest when building caches in Native
  • KT-89453 INVALID_NON_OPTIONAL_PARAMETER_POSITION ignores expect-chain defaults
  • KT-89457 companion block on @JvmRecord class cannot be compiled
  • KT-85168 Generate static initializers as proper IR functions
  • KT-85104 JVM compilation error when having TODO() as a parameter default value of an inline function when adding a call to it
  • KT-82959 IllegalArgumentException: Unhandled intrinsic in ExpressionCodegen for generated top-level declarations
  • KT-89259 Collection literals: enabling +CollectionLiteralsBasedAnnotationResolution causes MISSING_DEPENDENCY_CLASS
  • KT-89475 Missed MISSING_DEPENDENCY_SUPERCLASS for parameters of value classes
  • KT-89391 KMP separate compilation: false-positive EXPECT_ACTUAL_IR_MISMATCH on declarations from friend dependencies
  • KT-86282 Implement FIR builder based on KMP parser
  • KT-79562 NPE when passing non-lambda argument of nullable non-suspend function type into function that accepts nullable suspend function type
  • KT-89466 KMP Separate Compilation: NoSuchElementException in case of classpath substitution
  • KT-73165 "ANNOTATION_ARGUMENT_MUST_BE_CONST" caused by Enum name as a constant in Annotation
  • KT-89157 Remove temporary useless casts introduced by KT-79212
  • KT-89206 Inlining of TODO() as a default value leads to an internal error
  • KT-89533 class KtValueArgument is not a subtype of class KtCollectionLiteralExpression for factory UNRESOLVED_COLLECTION_LITERAL
  • KT-88081 Normalize Double.NaN and Float.NaN after constant evaluation
  • KT-89430 Don't store raw-fir generated tests in git
  • KT-86095 "VerifyError: Bad type on operand stack" when inline+crossinline function returns anonymous object overriding internal suspend fun with yield()
  • KT-83304 Context sensitive resolution doesn't work on mutable collection operators (no explicit import from enum)
  • KT-81558 Context-sensitive resolution cannot resolve an unqualified enum entry in Gradle Property<T>-like cases
  • KT-89642 Disable feature typed equals in value classes for full value classes
  • KT-87531 AbstractMethodError on intersection override with @JvmField property when accessing property through interface
  • KT-89415 Refactor logic around FirParser.LightTree/MultiplatformParsing and USE_LIGHT_TREE configuration flag
  • KT-80383 Getter without a body is allowed on a property with an explicit backing field
  • KT-89641 Verify JS export works for full value classes
  • KT-20245 NoSuchFieldError on usage of crossinline lambda in anonymous object inside another anonymous object in inline function
  • KT-82900 Language Feature EnhancedBridgesGeneration
  • KT-89407 When frontend reports diagnostic on null source, report as sourceless diagnostic
  • KT-89476 Diagnostic for incorrect @EagerInitialization usage
  • KT-89068 JvmExposeBoxed: secondary constructor of inline class is never exposed
  • KT-89063 JvmExposeBoxed allows to generate invalid Java method names
  • KT-83419 K2: CCE when inline lambda changes a var involved in an implies contract
  • KT-89121 [Native] @BindClassToObjCName adapters from a cached module never reach Kotlin_ObjCExport_sorted{Class,Protocol}Adapters
  • KT-89744 Apostrophe in an escaped identifier corrupts ARGUMENT_TYPE_MISMATCH diagnostic rendering
  • KT-89341 KMP separate compilation: false-positive EXPECT_ACTUAL_IR_MISMATCH on members of inner class with generics in outer class
  • KT-89635 False "Return type mismatch" in interface delegation when the delegated function with an implicit return type is declared in another file
  • KT-89762 KMP Separate Compilation: EXPECT_ACTUAL_IR_MISMATCH caused by accessing a java field in a single platform project
  • KT-83340 Investigate need of KtRegisteredDiagnosticFactoriesStorage component in AA mode
  • KT-74793 Parser: Property accessor of a non-local destructuring declaration leads to exceptions
  • KT-89168 Reflection: support getDelegate() for companion block properties in interfaces
  • KT-81075 False negative MISSING_DEPENDENCY_SUPERCLASS on unresolved supertype of SAM constructor
  • KT-86380 New inline variables scheme: addition of this variable
  • KT-89834 Drop RawFirBuilderTotalKotlinTestCase.testPsiConsistency
  • KT-77583 K2: Support repl snippets with LightTree/KMP-based raw FIR building
  • KT-74304 K2: WRAPPED_LHS_IN_ASSIGNMENT on annotations
  • KT-75366 Provide proper keys for ScopeSession#getOrBuild usages
  • KT-89770 KMP separate compilation reports EXTERNAL_TYPE_EXTENDS_NON_EXTERNAL_TYPE for external class extending JsAny
  • KT-89584 Build rich references for suspend conversion & SAM constructor references
  • KT-89837 Correctly evaluate name for declaration that are imported with different name
  • KT-34051 UnsupportedOperationException when using reified type inside lambda in inline function
  • KT-86093 Context sensitive resolution does not apply if simple access is resolved to invisible qualifier
  • KT-83498 Implement LT support in the K2 REPL
  • KT-89790 Improve error reporting around new compilation scheme
  • KT-89751 K2 REPL: contracts of functions are not resolved inside REPL snippets
  • KT-89769 FIR2IR throws "IR class for not found" when a class's supertype isn't exposed via api
  • KT-87149 Drop K1-dependent parts of the scripting compiler plugin
  • KT-87856 Investigate failures in scripting tests after a full switch to K2
  • KT-89416 Native: top-level properties are not initialized when checked for initialization state from another class
  • KT-89313 DNN in supertype leads to compiler crash
  • KT-87596 Kotlin/Native: port calls checker to LLVM pass
  • KT-89576 PSI path in script compilation still depends on K1
  • KT-47891 JVM: "IllegalStateException: Bad exception handler end" with nested try/run/finally blocks
  • KT-89232 Align context-sensitive resolution with how collection literals are resolved
  • KT-89410 Introduce WillBecomeValue annotation
  • KT-82548 K2: report a warning about annotations which target non-existent accessors
  • KT-89461 KMP separate compilation: Incorrect fake-override is e/a mismatched in case of duplicated supertype in dependency class
  • KT-86793 setupCommonOptionsForCaches does not forward pagedAllocator (and other runtime constant options) to cache sub-compilations
  • KT-39697 "Cannot infer type parameter" in map with java static or global method reference
  • KT-89451 Suspend conversion: a null argument arrives non-null
  • KT-85853 CompanionBlocksAndExtensions: companion block val in interface generates illegal private static field (ClassFormatError 0x1A)
  • KT-90169 Callable references: Array passed as a single vararg element for generic vararg function since 2.4.0
  • KT-89655 Prohibit lateinit in companion blocks in interfaces
  • KT-90014 K2 / JVM: IllegalStateException: Don't know how to compile annotation value ERROR_CALL 'Unresolved reference: <Strange deserialized enum value: ...>' when delegating to a Java interface annotated with a nested Kotlin enum
  • KT-89390 K/N IC: per-file caches are not invalidated when toggling -Xcompanion-blocks
  • KT-89983 Partial linkage doesn't report a value class whose superclass became an identity class
  • KT-89982 No warning for Kotlin/Native WeakReference and createCleaner on value class and primitive instances
  • KT-90352 K/N: with -Xcompanion-blocks-and-extensions, a Kotlin subclass of an Objective-C class fails to link (undefined $clinit_trigger of the ObjC supertypes)
  • KT-88576 False-negative OVERLOAD_RESOLUTION_AMBIGUITY on increment call in recursive initializer
  • KT-87887 KJS: Prefix increment on dynamic array access is lowered into no-op
  • KT-84802 Add new synthetic class flag to JVM metadata
  • KT-89049 JVM: do not generate DefaultImpls for companion block functions
  • KT-85307 "Type argument is not within its bounds" for Java classes with recursive generic bounds (F-bounded polymorphism)
  • KT-87676 Context Parameters: Cannot find local variable '$context-String' with type java.lang.String when evaluating contextual call that uses lambda context parameter
  • KT-88312 Implement 'returnsParameter' contract
  • KT-89184 JVM: anonymous function SAM-converted via invokedynamic loses its non-null parameter assertion
  • KT-11474 ISE: Requested A, got foo.A in JavaClassFinderImpl on Java file with package not matching directory
  • KT-89651 POSITIONED_VALUE_ARGUMENT_FOR_JAVA_ANNOTATION_WARNING is not reported for usage of Java annotation typealias
  • KT-89561 Performance regression in body resolve around 8-10 Sep 2026
  • KT-88667 False negative POSITIONED_VALUE_ARGUMENT_FOR_JAVA_ANNOTATION on @get: use-site target and annotation constructor call
  • KT-86453 K2: Generate IrRich*Reference for all kinds of references
  • KT-87284 Implement type conversion from ILT/builtin numeric types into types marked with a special annotation
  • KT-79212 Resolve new type for class literal of unbounded reified type parameter
  • KT-88715 K/N: "Argument list too long" when linking with a large number of included static libraries
  • KT-89589 RuntimeException when const evaluation is made inside a companion block of a local class
  • KT-33232 DEPRECATED_JAVA_ANNOTATION: false positive for "Deprecated" annotation with "forRemoval" or "since" arguments
  • KT-89527 Type arguments are allowed (and unresolved) with context sensitive resolution
  • KT-89523 MFVCs don't allow version overloads
  • KT-57802 K2: Backend Internal error: RecordEnclosingMethodsLowering.kt
  • KT-59526 Store annotation default values in metadata on JVM
  • KT-82132 False-positive type mismatch with -language-version 2.2
  • KT-71854 K2 IDE. False positive red code because of external annotation on a generic parameter
  • KT-63454 Properly check that inline fun is in the same module as callee in IrSourceCompilerForInline
  • KT-85188 Don't poison binaries with companion blocks & extensions for LV >= 2.5
  • KT-85230 False negative deprecation diagnostics on import of member of nested class
  • KT-80247 No diagnostic on unresolved type annotation from a dependency in an inferred type
  • KT-86524 JvmExposeBoxed: Collection does not implement abstract method
  • KT-86464 Support isPublicAbi JVM metadata flag for anonymous and synthetic local classes
  • KT-85764 Native: Prohibit compiling sources in 'kotlin' package by default
  • KT-86905 DFA-based exhaustiveness bug with implicit companion access
  • KT-87347 False negative NON_ABSTRACT_FUNCTION_WITH_NO_BODY/MUST_BE_INITIALIZED for companion block member in interface
  • KT-87360 False positive DELEGATED_PROPERTY_IN_INTERFACE for delegated companion block member in interface
  • KT-87364 False positive BACKING_FIELD_IN_INTERFACE on companion block member in interface
  • KT-87351 False positive WRONG_MODIFIER_CONTAINING_DECLARATION on internal companion block members in interface
  • KT-87413 CompanionBlocksAndExtensions: impossible to use field in companion extension properties getters/setters
  • KT-87507 False-positive ABSTRACT_CLASS_MEMBER_NOT_IMPLEMENTED on fake-override with value parameter of type missing in dependencies
  • KT-30062 "AssertionError: Recursion detected on input" with class implementing itself by delegation
  • KT-85417 K2: False negative SUBCLASS_CANT_CALL_COMPANION_PROTECTED_NON_STATIC diagnostic when superclass is generic
  • KT-73771 K2: Infinite compilation caused by buildList without type
  • KT-83575 Native: perf logging doesn't work correctly for subcompilations (like per-file caches)
  • KT-87278 Smartcast to Any in RHS of == with nullable type parameter
  • KT-87520 Implicit JvmExposeBoxed breaks delegation by interface
  • KT-87592 Kotlin/Native: make remove redundant safepoints phase a proper LLVM pass
  • KT-72706 Confusing "INVISIBLE_REFERENCE" when calling private constructor
  • KT-84406 Remove support for IR serialization in JVM
  • KT-82677 Switch latest stable version in Kotlin project to 2.5
  • KT-87194 K/N IC: changing an external library to an already-cached version in ~/.konan doesn't rebuild application's cache
  • KT-87504 Do not make @IntroducedAt a compiler-required annotation
  • KT-87550 Drop the "too complex expression" error with @IntroducedAt
  • KT-87273 K/N IC: cinterop klib caches are not recompiled
  • KT-86332 False positive MISSING_DEPENDENCY_IN_INFERRED_TYPE_ANNOTATION for implicit lambda parameters with inaccessible type annotations
  • KT-87335 Context parameters: wrong LINENUMBER emitted for context argument loads in JVM bytecode
  • KT-84780 The INITIALIZER_TYPE_MISMATCH diagnostic is reported on the assignment operator (=) instead of the initializer expression when there is a type mismatch
  • KT-87073 CompanionBlocksAndExtensions: calling companion extension function from project/binary dependency fails with java.lang.IndexOutOfBoundsException
  • KT-87775 Incorrect RETURN_VALUE_NOT_USED_COERCION where regular 'Return value not used' was expected
  • KT-86554 Check suspicious when over ConeKotlinType in JavaOverrideChecker
  • KT-87786 Make ConeLookupTagBasedType into a sealed class
  • KT-87606 Compiler crash on red code with redeclaration of type parameter which is used as expression
  • KT-87202 K/N IC: NoSuchFileException: metadata.properties when upgrading Kotlin from <2.2.10 to >2.2.20
  • KT-87695 Compiler crash while compilation of MFVC destructuring with a variable name mismatch
  • KT-87696 NBD doesn't work for smart-casted MFVC
  • KT-87546 Fix slightly confusing test data for explicit context arguments in case of Java override
  • KT-87553 K2: Incorrect argument evaluation order with explicit context argument in presence of explicit extension receiver
  • KT-86635 Analysis API: arguments of applied annotation is sometimes (incorrectly) empty
  • KT-75945 Indy: Allow lambdas with annotations
  • KT-85143 Remove the unfinished "compile against klib" feature on JVM
  • KT-87436 Separate LFs and compiler arguments for companion extensions
  • KT-87725 Prohibit lambda implementations of sealed Java interfaces
  • KT-87466 JvmExposeBoxed: Cannot generate code for delegating constructor of data class in IJ
  • KT-87189 False negative NoWhenBranchMatchedException: when subtype implements multiple sealed interfaces
  • KT-87838 IntroducedAt: Using @IntroducedAt in ordinary class constructor with inline class parameters leads to platform declaration clash
  • KT-87297 'Underscore for unused variable' feature should be stable and enabled by default
  • KT-65195 K2: Unexpected exception when executing dynamic array element inc/dec
  • KT-87269 Kotlin Debugger: ISE “Non-empty unresolved argument list.” on evaluating serializable value class with custom serializer
  • KT-82461 Context sensitive resolution can use extension properties declared on Any receiver
  • KT-82465 Context sensitive resolution does not resolve extension properties in presense of any additional receiver
  • KT-82462 Context sensitive resolution can use extension properties from imports
  • KT-72903 K/N: combine Context and KonanBackendContext
  • KT-29890 Inline constructors for arrays could not be inlined
  • KT-87864 K2IdeK2CodeKotlinSteppingTestGenerated$StepOver$Uncategorized.testSoSuspendableCallInEndOfFun fails
  • KT-81816 False positive "Unreachable code" with lambda and elvis
  • KT-87255 CompanionBlocksAndExtensions: companion blocks initialized before enum entires
  • KT-87975 Reenable inline checks in noinline parameter default values
  • KT-87821 Do not promote visibility of local lambda classes in private inline scopes to Public
  • KT-87926 USELESS_JVM_EXPOSE_BOXED confuses in case of argument presence
  • KT-86518 K2: Enrich NoWhenBranchMatchedException with additional information about the cause
  • KT-87061 Companion blocks: compilation fails when companion function names clash with enum methods
  • KT-87931 CCE caused by suspend conversion in receiver position
  • KT-87577 Compiler crash on red code with ambiguous type parameter used as expression
  • KT-88045 Delete leftovers of javac integration (javac-wrapper) subsystem
  • KT-87103 Drop compiler/fir/dump
  • KT-87830 Complementary value sets should include non-direct inheritors of supertypes
  • KT-87261 K/N debug: 'is' check miscompilation — local variable reports wrong type when two smart-cast extractions precede an inline loop
  • KT-88142 False negative INTERFACE_AS_FUNCTION when Java interface contains function called toString, equals or hashCode with receiver or context parameters
  • KT-86543 IllegalStateException: Parent of this declaration is not a class: PROPERTY IR_EXTERNAL_DECLARATION_STUB
  • KT-88141 False negative MANY_IMPL_MEMBER_NOT_IMPLEMENTED when method is called equals, hashCode or toString
  • KT-88128 Rewrite JvmBackendClassResolver to get rid of descriptor usages
  • KT-88127 Remove or replace usages of psiElement util
  • KT-81416 Native: compiler fails in case of cross-module Volatile references
  • KT-65832 K2: Support diagnostic suppression with complex expression argument
  • KT-88149 Mention operator token in UNRESOLVED_REFERENCE_WRONG_RECEIVER
  • KT-88134 Improve diagnostics for name-based-destructuring=complete and using obsolete syntax
  • KT-87664 JvmExposeBoxed: exposing constructor of ordinary class changes behavior
  • KT-87368 Adjust the message of IMPOSSIBLE_IS_CHECK
  • KT-88066 Java Direct: (Re)introduce lazy AST calculations
  • KT-88079 Java Direct: Get rid of VFS and VirtualFile use
  • KT-88064 Java Direct: Use lexer for lightweight "pre-parsing" instead of regexes
  • KT-88101 Java Direct: Deduplicate repeated type resolution logic
  • KT-88103 Java Direct: use FirLazyJavaAnnotationList to avoid cycles in enums
  • KT-86109 K2: Compiler crash on mix of static/companion in jkj hierarhy
  • KT-86742 JVM: missing accidental override error on companion block members
  • KT-86119 JVM builtins dump for JDK21 does not include methods introduced after JDK8
  • KT-80741 Fix rendering of inner classes with generic outer classes
  • KT-67014 K1/K2 handle when expression as annotation target differently
  • KT-87129 Decide what to do with tests in ScriptGenTest
  • KT-87549 @IntroducedAt does not work correctly with inheritance
  • KT-73462 AssertionError "FUN LOCAL_FUNCTION_FOR_LAMBDA has no continuation" on suspend lambda with parameter of functional type called from another file
  • KT-85403 kotlin.NoWhenBranchMatchedException on Kotlin Native with sealed interface
  • KT-88102 Incompatible return type in delegated member not reported if it implements intersection override
  • KT-88487 Return value checker: unresolved TODO about Array.contains in stdlib
  • KT-88480 KMP parser: string literal content is remapped to IDENTIFIER if it matches a soft keyword
  • KT-87389 Change companion extension metadata serialization format
  • KT-88191 KMP Separate Compilation: Problems with throwNoWhenBranchMatchedException function
  • KT-88340 'returnsResultOf' contract works incorrectly with named arguments
  • KT-87881 IllegalStateException: Expected some types crash in FIR type inference when buildList contains implicit receiver call and nested when expression with !is smartcast
  • KT-70450 OuterThisLowering - consider merging it into InnerClassLowering
  • KT-84499 Kotlin/Java interop: type mismatch when overriding methods from Java class with module import declaration (Java 25)
  • KT-87659 No warning emitted when runtime-retained annotations on lambdas are silently discarded by invokedynamic codegen
  • KT-88132 False positive INCORRECT_RIGHT_COMPONENT_OF_INTERSECTION when typealias for Any used as right component of definitely-not-nullable supertype
  • KT-88013 Native: migrate CastsOptimization from Predicate.Empty to Predicate.True and fix Predicates.or
  • KT-88662 Render the actual receiver type in UNRESOLVED_REFERENCE_WRONG_RECEIVER
  • KT-88326 Enable IntrinsicConstEvaluation since 2.5
  • KT-88332 IntrinsicConstEvaluation: false positive "const val initializer must be a constant value" on division by non-zero value that overflows to int zero
  • KT-88099 "ArithmeticException: / by zero" caused by Int.mod on division by zero in constant evaluation
  • KT-88721 KMP Separate Compilation: missing fake-override for internal declaration from a friend module
  • KT-87165 [K/N] computeTypes phase breaks boxed equality
  • KT-87967 Implement deprecation warning for concurrent maps purely implementation hierarchy
  • KT-88766 K2 KMP JVM IC: "NoSuchElementException: Key Module is missing in the map" when an actual and its expect are recompiled together
  • KT-88190 False positive UNEXHAUSTIVE_WHEN_BASED_ON_JAVA_ANNOTATIONS
  • KT-36111 False negative warning on exhaustive when with flexible type of sealed class in subject
  • KT-71600 K2: missing WHEN_ENUM_CAN_BE_NULL_IN_JAVA
  • KT-67462 Use new lowering phase creation API in Native backend
  • KT-88228 JVM: IllegalAccessError at runtime when delegating property to private member of sealed superclass
  • KT-64802 K2: Investigate behavior change related to PCLA+Captured types+ILT
  • KT-71754 PCLA: compile-time failure on fixing a type variable on demand for an indexing operator assignment
  • KT-53422 NEW_INFERENCE_NO_INFORMATION_FOR_PARAMETER in flow.collect
  • KT-88218 -Xheader-mode: inline function bodies replaced with aconst_null/athrow stubs instead of being preserved
  • KT-78002 K2: local class function annotation observes the function parameters
  • KT-85368 ConstraintIncorporator#insideOtherConstraint is order-dependent
  • KT-77718 K2: Remove workaround for KDF in FIR2IR implicit cast generation for receivers
  • KT-87788 Incorrect smart cast stability of implicit when subject variables
  • KT-88761 Native: remove custom validation phases
  • KT-64219 K2, Wasm: Green expect-actual code allows for invalid external type hierarchy
  • KT-88860 Fir2Ir crash "Expected argument type to be Nothing?" when a non-null value is null-checked and passed to a generic function
  • KT-88769 KMP separate compilation: incorrect EXPECT_ACTUAL_INCOMPATIBLE_CLASS_SCOPE in case of complex inheritance by delegation
  • KT-88770 KMP separate compilation: false-positive SUBCLASS_CANT_CALL_COMPANION_PROTECTED_NON_STATIC
  • KT-88580 Kotlin/Native Release: "Unexpected receiver type: kotlin.collections.ArrayList" in generic collection code
  • KT-88012 Abstract diagnostic factories from source types
  • KT-88307 Support actualization of multiple top-level expect functions with the same actual
  • KT-88811 Compiler crashes with "IllegalArgumentException: List has more than one element" when separate KMP compilation is combined with useMetadataOnIncrementalClasspath
  • KT-88934 Error in IrConstExpressionTransformer when lowering constant expression in subject for function reference
  • KT-88961 K2: FirPrefixAndSuffixSyntaxChecker misses literal prefixes/suffixes outside binary expressions with the LightTree parser
  • KT-88427 K2: compiler crashes with IllegalArgumentException when escaped class name containing braces is used in diagnostic type rendering
  • KT-89016 Replace early return with assertion in function type conversion
  • KT-89008 Constant condition elimination may break debug information of inline scopes
  • KT-86376 New inline variables scheme: incorrect line number
  • KT-88078 Java Direct: Refactor binary class finder entanglement
  • KT-88304 java-direct: JavaUsingAst tests silently fall back to the PSI-based finder, hiding java-direct failures
  • KT-88260 java-direct: support Java 25 module import declarations (JEP 511)
  • KT-89013 K/N: auto-built release compiler caches are compiled at O1, not O3
  • KT-87540 Fix potential issues in explicit context arguments implementation
  • KT-88369 JvmExposeBoxed on overrides makes KAPT generate a standalone method with faulty @Override annotation
  • KT-88325 JvmExposeBoxed: False-positive "no effect" warning on extension properties
  • KT-88388 JvmExposeBoxed: Exposed constructor leads to NSME from another module
  • KT-87940 [DFA] Remove VariableStorage
  • KT-89087 JVM: Initialization order of companion blocks is incorrect
  • KT-89065 JVM: companion block functions in interfaces do not compile with -jvm-default=disable
  • KT-89123 Keep the visibility inconsistency about data class copy and primary constructor as a warning
  • KT-87025 Support aliased imports to compiler required annotations
  • KT-87072 SINCE_KOTLIN doesn't work with non-literal arguments
  • KT-87020 Type aliased AnnotationTarget used in @Target()`
  • KT-77362 JVM diagnostics are not properly reported for scripts and REPL
  • KT-89043 Explicit context arguments: align sinceVersion with the 2.6.0 Stable plan
  • KT-89057 IllegalArgumentException: source must not be null in FirOverrideChecker
  • KT-88399 K2: StackOverflowError in FirPrefixAndSuffixSyntaxChecker.getLeaf for a long string-concatenation chain
  • KT-88995 Inline scopes numbers: wrong call site line numbers when a default argument value contains an inline call
  • KT-88339 JvmExposeBoxed: no null check is generated in exposed methods
  • KT-87385 Ensure that KMP mismatches in libraries in the HMPP scheme are reported reasonably
  • KT-89183 JVM: LambdaConversionException on JDK 9+ when a SAM method parameter is a type parameter with two interface upper bounds
  • KT-89325 Java Direct: no supertypes on resolution due to reentrance
  • KT-86046 Put @K1Deprecation to all public declarations of K1 modules
  • KT-88953 CCE caused by suspend conversion of nullable argument to nullable expected type
  • KT-87372 False positive INVISIBLE_REFERENCE when accessing protected companion block member of superclass
  • KT-86978 Type arguments are allowed (and unresolved) in qualifiers in compiler-required annotations
  • KT-89196 @IntroducedAt doesn't discover default values in scenario with @ExpectRefinement
  • KT-89167 Internal compiler errors on const evaluation
  • KT-89134 TRIM_MARGIN_BLANK_PREFIX when the prefix is an expression
  • KT-89039 JVM: Companion inline function with a default value leads to RuntimeException
Compose compiler
  • b/485865131 Removed deprecated IntrinsicRemember Compose feature flag
  • b/485865131 Removed deprecated StrongSkipping Compose feature flag
  • b/555304803 Fix parameter traversal in ComposableLambdaTokenizer.captureInsnCount
  • b/539644912 [Compose] Support rich callable references for @Composable functions
  • b/546101628 Fixed a bug that caused miscompilation whenever a when expression had a result that was computed by another when expression, and the inner when expression had a @Composable call in one of its conditions.
  • b/549552317 Fixed a bug that, in certain cases, prevented execution of non-local return statements inside lambdas called from when expressions.
  • b/481422057 Made the applier inferencer support repeated ComposableTarget annotations per the semantics described in the documentation of ComposableTarget
  • b/530458587 Start initializing the fields of ComposableSingletons objects lazily
IR. Inlining
  • KT-86558 Forbid accesing volatile references after inlining
  • KT-72464 [Native][JS][Wasm] Non-local return through suspend conversion breaks the IR inliner
  • KT-71896 KLIB IR inliner: Enable cross-module inlining in LV=2.5
  • KT-88020 [KLIBs] Enable cross-module inliner in stdlib & kotlin-test
  • KT-86578 Leaking of a private entity through a companion extension: cross-module case
  • KT-87829 Volatile field leaking through internal inline function in friend module
  • KT-87521 renderCascadingInlining throws NPE when reporting an AFU-transformed function
  • KT-81022 KLIB inliner: Don't specify language features in test runners for IR Inliner on 1st stage
IR. Interpreter
  • KT-84627 Disable IR interpreter in the compiler
  • KT-87043 Remove IR interpreter sources from the compiler
IR. Tree
Fixes
  • KT-88082 Do not allow constant folding if the resulting expression is Double.NaN and Float.NaN
  • KT-87954 Use kotlinLibrary from IrModuleFragment instead of a library from ModuleDescriptor
  • KT-87836 Make sure that type, value and kind in IrConst are coherent
  • KT-87442 [IR] Introduce 1st stage warning on failed tailrec optimization
  • KT-89203 IR validation: New checker to prohibit use of legacy Ir*Reference nodes on 1st compilation stage
  • KT-83236 PeopleInSpace_mpp compilation error: The symbol table has been sealed
  • KT-78960 [FO] Limit static fake overrides generation for static functions
  • KT-85698 Type parameter is out of bounds (in setter) for an extension property with type parameter
  • KT-85896 Type parameter is out of bounds (in setter) for a property with context parameters
  • KT-87962 [IR] Add a checker that IrClass.superTypes is not empty
  • KT-87732 Don't use IrBuiltInsOverDescriptors in KLIB tool's dump-ir-inlinable-functions command
  • KT-87438 Make sure there are no duplicated names in lowerings on first and second stages
  • KT-87300 IR: Replace module reference in ir.declarations.createEmptyExternalPackageFragment from ModuleDescriptor to IrModuleFragment
  • KT-87198 IR: Add IrModuleFragment link to IrExternalPackageFragment
  • KT-77049 Avoid failing to produce an IR dump in tests
  • KT-88177 IR: Mark DescriptorVisibility.isVisible with @ObsoleteDescriptorBasedAPI and ensure it is not used outside the old frontend and psi2ir
  • KT-84335 [Klib] Carefully revise usage of IR validator checkers in testrunners
  • KT-88146 Replace IrDeclaration.module with IrDeclaration.moduleFragment
  • KT-69305 Re-enable reporting out-of-scope type parameter usages during pre-lowering IR validation
  • KT-87456 Make sure IR renderer is working correctly with isStatic call
  • KT-85576 KLIBs: Add PL tests with companion blocks and companion extensions
  • KT-70048 IR: remove addSimpleDelegatingConstructor
  • KT-88693 Investigate using the same IR validation settings for all backends
  • KT-88610 Type parameter is out of bounds while returning fallback value
  • KT-88864 Cache deserializers using a stable key inside IR linker
  • KT-88556 PL: Companion extension receiver is missed during the rendering process
JVM. Reflection
New Features
  • KT-42082 Ability to retrieve a container/owner class of the KProperty/KFunction
  • KT-87955 Reflection support for contextualized callable references
  • KT-85904 Reflection: add a way to get companion extension class
  • KT-84275 Support companion blocks & extensions in reflection
Performance Improvements
  • KT-87408 kotlin-reflect: KCallable.callBy on a bound ::copy reference is ~55x slower since 2.2.20
  • KT-84354 kotlin-reflect: replace usages of SoftLazy with regular safe-publication lazy
Fixes
  • KT-91317 Reflection: IAE "fromIndex(1) > toIndex(0)" on KClass.members of stdlib inline classes
  • KT-80710 Reflection: change KCallable representation to avoid dependency on K1
  • KT-87367 Reflection: memberFunctions fails on suspend-implementing classes
  • KT-89732 Reflection: IllegalStateException in CovariantOverrideComparator for Java interface inheriting both raw and generic method with same erasure
  • KT-88503 KType.isMarkedNullable always returns false for @Nullable-annotated Java parameters in K2 reflection implementation
  • KT-88939 Reflection: @JvmStatic object function parameter annotations are off-by-one
  • KT-88944 Reflection: member enumeration on built-in types throws KotlinReflectionInternalError in new implementation
  • KT-88988 KotlinReflectionInternalError when reading annotations of an interface property through a sub-interface that does not redeclare it
  • KT-88989 Reflection: javaType is not supported when the type mentions the function's own type parameter
  • KT-89000 KotlinReflectionInternalError on Array size.getter.annotations
  • KT-89019 Reflection: Java Enum.valueOf(value) has lost its parameter name
  • KT-89280 NoSuchElementException in argumentsMakeSenseOnlyForMutableContainer for Java non-static inner class of generic outer class
  • KT-87363 Reflection: kotlin.Any constructor exposes @IntrinsicCandidate annotation in the new implementation
  • KT-89918 Reflection: IllegalStateException while processing the times overload during Duration property lookup
  • KT-90525 Reflection: "MutableCollectionKClassImpl cannot be cast to ClassBasedDeclarationContainer" from KType.classifier of annotated Java collection type
  • KT-89419 Reflection: parameter annotations on bound constructor reference are loaded incorrectly
  • KT-85735 Reflection: Java wildcard type based on Kotlin type with declaration-site variance is loaded differently in new implementation
  • KT-89949 Reflection treats full value classes and Java value classes as inline classes when calling functions
  • KT-89952 Reflection fails with NoSuchElementException when an inline class wraps a full value class
  • KT-89956 KClass.isValue of mapped builtins like kotlin.Number ignores that their Java class is a value class
  • KT-87308 Reflection: KTypeParameter instances not equal for bound/unbound KProperty
  • KT-86926 Reflection: references to functions inherited in Java are not substituted in the new implementation
  • KT-87356 New Reflection: KotlinReflectionInternalError on .annotations of primitive/array constructors
  • KT-87365 Reflection: java.util.LinkedList::class.supertypes contains a duplicate MutableList<E!> entry in the new implementation
  • KT-88145 Investigate potential bug caused by incorrect statics handling in KClassImpl.Data#getInlineClassUnderlyingType
  • KT-87369 Reflection: KClass.members fails on Java class with self-referential raw type bounds
  • KT-87464 Reflection: property accessor parameters are equal to property parameters in the new implementation
  • KT-87581 Reflection: extra abstract invoke() method shown for a Java class implementing a functional interface in the new implementation
  • KT-87948 Reflection: AssertionError "Different tree sizes of bounds" on inheritance from Java raw class with self-recursive bound with method override
  • KT-87709 Reflection: "invoke" in classes inheriting from suspend function types is loaded incorrectly
  • KT-89003 Reflection: top-level properties and functions are shown java-way
JavaScript
New Features
  • KT-49791 KJS: Provide option to export dynamic and Any as unknown
  • KT-87027 [Effect Analysis] Propagate effects across the call graph based on function body calls
  • KT-87026 ⁠[Effect Analysis] Introduce a lowering for analyzing mutation of inputs and outer state
  • KT-87029 ⁠[Effect Analysis] Leverage effect analysis results in DCE to delete unused properties' initializers
  • KT-87024 [Effect Analysis] Mark up kotlin-stdlib declarations with effect annotations
  • KT-88294 Add es2020 target for Kotlin/JS and Gradle plugin
  • KT-88024 KJS: Allow exporting interfaces nested in other interfaces to JavaScript
Performance Improvements
  • KT-89682 K/JS & K/Wasm: Initialize trivial objects eagerly even in dev mode
Fixes
  • KT-91371 K/JS: extending a JsExport-ed interface breaks property access
  • KT-80188 Design exporting of suspend lambdas into JS/TS
  • KT-17719 JS: integer division by zero does not throw exception
  • KT-49422 Fix test about support of DefinitelyNotNull type in backends
  • KT-86273 @JsExport.Ignore does not work properly with data classes properties
  • KT-64821 KJS: "TypeError: * is not a function" with class which extends suspend lambda
  • KT-90912 K/JS: IR-based TypeScript export loses abstract modifier on abstract suspend method with a default argument
  • KT-90587 K/JS: Exported abstract suspend functions are not callable from JS
  • KT-90564 K/JS, K/Wasm: top-level suspend function doesn't trigger file properties initialization
  • KT-90843 Investigate flaky JS/Node Misc tests in Kotlin 2.5
  • KT-86954 K/JS: hashCode() of Double/Float disagrees with equals() for NaN values
  • KT-89920 K/JS: Adapted ::ulongArrayOf reference does not unbox ULong arguments, producing a corrupted ULongArray
  • KT-89919 KJS: "Unhandled JavaScript exception: array.slice is not a function" when using non-adapted ::uintArrayOf
  • KT-89591 JS plain objects: generated top-level invoke/copy leak visibility for internal interfaces
  • KT-52772 KJS: Generated *.d.ts files should use type "unknown" in favour of type "any"
  • KT-89144 [JS, Wasm] static_init_called field for static initializers is not initialized correctly
  • KT-87516 [K/JS, K/Wasm] Companion objects coming from super interfaces are not initialized
  • KT-86934 K/JS: Stack overflow when implementing interface with suspend fun using anonymous object
  • KT-85047 Kotlin/JS: @JsStatic on suspend fun of class companion generates incorrect d.ts
  • KT-89372 KJS: Run the second DCE pass after the optimization pipeline
  • KT-72720 Setp up a nightly test suite for running all JS compiler tests with -Xir-generate-inline-anonymous-functions
  • KT-85540 Drop longArrayClass definitions from boxedLong.kt and longAsBigInt.kt
  • KT-88343 KJS: Report JS_MODULE_PROHIBITED_ON_VAR when @file:JsModule` is present
  • KT-83337 KJS: Difference in behavior on nested class initialization
  • KT-89290 Web: companion block members are not initialized when observed from a nested class
  • KT-89978 JS and Native box single-field full value classes and call equals() when comparing them with ==
  • KT-89984 JS: nullable value class over a nullable type parameter holding null is treated as null
  • KT-89449 Kotlin/JS: Member names no longer minified in production
  • KT-13338 JS: don't generate new class/object for empty enum entry
  • KT-73067 Drop support for the legacy JS metadata from the metadata decompiler
  • KT-75176 Add infrastructure for bundle size testing
  • KT-85990 K/JS: Default parameter values ignored in @JsStatic suspend functions when class is exported
  • KT-86433 JSCODE_ERROR for object destructuring assignment with default values
  • KT-86437 Incorrect handling of array destructuring with elision
  • KT-87377 External classes can have field names colliding with minimized subclass field/method names
  • KT-86648 [K/JS] Support companion blocks and extensions in TypeScript export
  • KT-87793 [Wasm, JS, IC] Invert IC cache invalidation keys list
  • KT-87352 Kotlin/JS: Ignore typealias inside @JsExported class
  • KT-88015 KJS: Exported sealed interfaces should not be implementable from TypeScript
  • KT-88117 K/JS: duplicated expression in generated JS comma expression for IrComposite
  • KT-87901 KJS: Perform WhileConditionFolding on IR instead of JS AST
  • KT-86771 KJS: @JsExport.Ignore on a Long member still triggers the -Xes-long-as-bigint compilation error
  • KT-87008 K/JS: Preserve containers' names when lifting static members in StaticMembersLowering
  • KT-87774 KJS: Refactor org.jetbrains.kotlin.js.testOld.utils.DirectiveTestUtils
  • KT-88698 [K/JS, tests] Remove obsolete DISABLE_IR_VISIBILITY_CHECKS from kotlinx-serialization test data
  • KT-88571 K/JS: "llegalStateException: Internal error: cannot find external signature" caused by @Serializable enum in 2.4.20-RC
  • KT-87753 Add "scopes" decoding to ECMA426BasedSourceMapParser
  • KT-88463 K/JS: Rewrite JsToStringGenerationVisitor to Kotlin
  • KT-87127 KJS: @JsPlainObject factory contains duplicated parameters
  • KT-88158 KJS: Properly export types of annotation classes to TypeScript
Klibs
New Features
  • KT-86840 KLIBs: Implement a component inside the compiler to compute DAG of dependencies for a given set of libraries
  • KT-86081 KLIBs: Support moving companion fun to parent class
Performance Improvements
  • KT-89498 IR linker performance: IrFileDeserializerImpl.getAllMatchingSignatures()
Fixes
  • KT-73115 Don't consume old KLIBs produced by compiler versions < 1.6.0
  • KT-89825 K/N: "IrClassSymbolImpl is already bound" when two cinterop libraries in the same package declare the same C struct
  • KT-87445 Native: Rework internal presentation of KFunction to support references with context parameters
  • KT-87487 KLIBs: Don't serialize empty metadata package fragments
  • KT-91139 [Klib] Backward compatibility break: Kotlin 2.4.20+ miscompiles suspend conversions from KLIBs built by Kotlin ≤ 2.2
  • KT-90675 Native, Klibs: Value class '==' boxes because the deserializer doesn't recognize the old GENERATED_SINGLE_FIELD_VALUE_CLASS_MEMBER origin
  • KT-81624 [KLIB Resolve] Kotlin/Native: -no-default-libs may lead to the final binary depending on a lot of system frameworks
  • KT-61096 [KLIB Resolve] Drop KLIB resolve inside the Kotlin/Native compiler
  • KT-84838 Get rid of ModuleDescriptor from IrModuleDeserializer
  • KT-87387 Fix K1 API usage in :kotlin-util-klib-metadata
  • KT-89482 [KLIB] Introduce special signature indices in regular & C-interop Native KLIBs
  • KT-89921 klibs: failure with two identical static inline functions in the same file in different classes
  • KT-89276 KLIBs: Check remaining usages of KlibMetadataProtoBuf.Header in compiler's source code
  • KT-84836 Minimize usages of IrBuiltIns in the KotlinIrLinker
  • KT-81947 [Wasm] Klib backward and forward compatibility testing
  • KT-86320 [PL] Replacing unusable classifiers with Any? type may cause a signature clash
  • KT-87104 Make org.jetbrains.kotlin.konan.file.File to be implementation detail of the compiler
  • KT-87450 Advance KlibAbiCompatibilityLevel to 2.5
  • KT-87447 Wasm: Rework internal presentation of KFunction to support references with context parameters
  • KT-87443 KLIB: Store metadata flags in manifest
  • KT-87625 Wasm: a callable reference bound to a null receiver equals an unbound reference
  • KT-54019 [PL] Unimplemented FO: Adding interface to abstract parent + direct reference to absent member: JS build is successful, Native fails
  • KT-86572 -Xheader-mode: header klib omits members provided by interface delegation (by)
  • KT-77818 [KLIB resolve] "The same 'unique_name=kotlin' found in more than one library" warning during metadata compilation
  • KT-87454 KLIBs: Add PL tests for references with context parameters
  • KT-86687 Split KLIB_WRITING metric, toKLIB_IR_WRITING and KLIB_METADATA_WRITING
  • KT-87965 [Tests][Klibs] Allow generated version overload wrappers appear during pre-serialization lowerings as legitimate Klib ABI entries.
  • KT-87787 PL: callable references to methods/properties of removed companion object
Language Design
  • KT-12719 Must-use return values: warn about unused return values
  • KT-89798 Alpha release of companion blocks and extensions
  • KT-86090 Stable release of "IntroduceAt": binary compatibility for optional parameters
  • KT-19627 Object (name-based) destructuring
  • KT-22505 Support calls to trimMargin/trimIndent as initializer for const vals
  • KT-90084 Name-based destructuring: switch default to "syntax-only"
Libraries
New Features
  • KT-83426 Add Tau=2*Pi to the stdlib
  • KT-24908 CodePoint value class
  • KT-6938 Boolean.onTrue/onFalse, ifOrNull
  • KT-89662 Stabilize Uuid.Companion.generateV{4,7}
  • KT-89629 Make some of the Timer.schedule overloads ignorable
  • KT-87021 ⁠[Effect Analysis] Introduce a new annotation for marking stdlib functions
  • KT-89332 kotlin-metadata: stabilize RVC-related API
  • KT-78462 Annotate kotlin-stdlib-jvm with @IgnorableReturnValue where appropriate
  • KT-39661 Support TypeVariable.getGenericDeclaration for types created in KType.javaType in kotlin-stdlib
  • KT-88037 kotlin-metadata-jvm: add readLenient()/readStrict() to KotlinModuleMetadata
  • KT-88708 Consider documenting that MutableMap.put keeps the stored key instance
Performance Improvements
  • KT-91066 Kotlin/Wasm: KClass.hashCode() allocates and hashes the qualified class name string on every call
  • KT-71987 K/N: Optimize Float.ulp & Double.ulp
  • KT-89899 K/Wasm: Optimize Double.ulp
Fixes
  • KT-48530 Asymmetric equality for progressions and ranges
  • KT-86051 Check the Reflect API surface lib for the Companion Blocks and extensions
  • KT-89072 Kotlin/Native: 1.0.pow(NaN) returns 1.0 instead of NaN from the contract
  • KT-64916 Update Dokka build config to use JB Gradle Enterprise
  • KT-64200 Dokka Integration tests refactoring
  • KT-64377 Update Dokka Gradle integration tests build configuration
  • KT-82882 Migrate kotlinx-benchmarks Gradle plugin from KLIB resolver to KlibLoader API
  • KT-89177 Aggregate functions accepting a destination collection should be annotated with IgnorableReturnValue
  • KT-85126 Increase StringBuilder.append(obj: Any?) deprecation level to ERROR
  • KT-89560 Make kotlin.concurrent.thread's return value ignorable
  • KT-88241 kotlin-metadata-jvm: Consider renaming isStatic to isCompanionBlockMember
  • KT-56363 Kotlin/Native: NativeRandom does not behave well with multiple threads
  • KT-89174 Incorrect exception type documented in random function for ranges
  • KT-86151 AtomicFU + companion block: compiler plugin generated invalid IR
  • KT-78707 Wasm: Throwable.stackTraceToString misses exception's class if it has no message or cause
  • KT-78998 K/Wasm: consider using qualified name instead of simple name for JS Error created for exceptions
  • KT-65526 Rewrite builtins as expect-actual
  • KT-52400 Deprecate @BuilderInference
  • KT-86956 Remove the JS guards from allDistinct NaN tests once KT-86954 is fixed
  • KT-87312 Stabilize RVC and allow @IgnorableReturnValue even in disabled checker mode
  • KT-87849 Set @SinceKotlin(2.3) for ignorability annotations
  • KT-87613 Test Federation: Review domain Core Libraries Smoke & Contract tests
  • KT-86760 Consider deprecating the assertNotNull 3-arg overload accepting a lambda
  • KT-57134 Native: Consider introducing public ExceptionInInitializerError and NoClassDefFound
  • KT-86680 Revert allEqualBy to == comparison once KT-86678 is fixed
  • KT-87779 K/Wasm: remove DoNotInlineOnFirstStage from coroutine-related APIs
  • KT-87780 K/Wasm: review coroutine-related APIs annotated by PublishedApi
  • KT-87407 Adapt kotlinx.metadata to changes in companion extension metadata format
  • KT-78174 Improve kotlin.AutoCloseable documentation
  • KT-86049 Check serialization lib for the Companion Blocks and extensions
Native
New Features
  • KT-86815 [K/N] Header mode for cinterop
Fixes
  • KT-87869 Native: Xcode 27
  • KT-84955 Deprecate apple x86_64 targets as Error
  • KT-86678 K/N: == on boxed Double/Float disagrees with equals() for NaN values
  • KT-89258 Kotlin/Native: mute volatile benchmarks
  • KT-89637 K/N: Linking of linux (x64/arm64) binaries with cinterop on Windows is failing
  • KT-87872 Native: a few tests in ObjCToKotlinSteppingInLLDBTest fail with Xcode 27
  • KT-89355 Kotlin/Native: some benchmarks are missing
  • KT-89541 K/N: Enabling -Xcompanion-blocks in stdlib breaks some callable reference tests with OPT, NO_CACHE
  • KT-85131 Native: freeze in LLVMGetTargetFromTriple during a parallel test run
  • KT-88965 [Native] Update minimal Xcode version
  • KT-88857 Regression in LibraryPathFilter
Native. Build Infrastructure
  • KT-87996 K/N test task fails with "No cache found for library"
Native. C Export
  • KT-89632 [K/N][CExport] Header declaration order depends on -Xinclude order
  • KT-87538 Kotlin/Native: hide companion blocks and extensions from C export
Native. C and ObjC Import
  • KT-81934 Swift export should look up SwiftBridge and SwiftName when translating types from platform libraries
  • KT-89401 K/N: NPE in IrLazilyBoundAnnotationImpl when a cinterop klib references an annotation from a regular klib
  • KT-89463 Native: 'Unable to compile C bridge' when implementing UIScreenshotServiceDelegateProtocol
  • KT-84721 Generate C-interop KLIBs in previous ABI version in Kotlin 2.5.0
  • KT-88374 Kotlin/Native: deprecate CStructVar.Type with error
Native. ObjC Export
  • KT-88052 [ObjCExport] AA: Property names are mangled differently and accessors do not match K1's output
  • KT-70626 ObjCExport: init constructors order in Throwable
  • KT-89981 Building an Objective-C framework fails with single-field full value classes in the API
  • KT-87626 @ObjCEnum interpreted as open enum in Swift
  • KT-88153 [ObjCExport] AA: documentation specifying annotation is not attached to receiver
  • KT-87852 [ObjCExport] AA: Replace name mangling of special method families
  • KT-86199 Scalability problems with PackageFragmentProviderImpl
  • KT-87738 Kotlin/Native: hide companion blocks and extensions from ObjC export
Native. Platforms
  • KT-78078 Remove armv7k(watchosArm32) target
Native. Runtime
  • KT-88156 Kotlin/Native: reduce number of runtime modules
  • KT-88954 [Native] Add -Wno-unknown-attributes to build of the runtime
Native. Runtime. Memory
  • KT-87963 Kotlin/Native: review atomics usage in GlobalData.cpp
Native. Swift Export
New Features
  • KT-80632 Swift export: symbol not found for cinterop protocol
  • KT-87802 Swift Export: cross-language subtyping pt.2
  • KT-72556 Export top-level extension functions and properties from "main" package as Swift extensions
  • KT-87574 Swift Export: unify error/exception throwing in sync & asynchronous bridges in cross-language inheritance
  • KT-84191 [Swift Export] export KDoc
  • KT-87556 Kotlin/Native hide companion blocks and extensions from Swift Export
Fixes
  • KT-88599 [Swift Export. Documentation] Flow collection cancellation isn't awaited
  • KT-86791 [Swift Export] Beta version
  • KT-89728 Swift Export: Prohibit exporting objc-imported protocol conformances on kontlin types
  • KT-88370 [Swift Export] Extension property on generic class with type param fails to compile
  • KT-88277 Swift Export [Inheritance]: function override with lambda parameter is ignored
  • KT-88259 Swift Export [Inheritance]: toString/hashCode/equals cause EXC_BAD_ACCESS on Swift subclass of an exported Kotlin class
  • KT-88256 Swift Export: constructor of a Kotlin subclass with renamed params causes 'error: argument labels for initializer do not match'
  • KT-89159 [Swift export] val to var property override is unreadable: "ambiguous use" on the subclass, base value returned via the superclass
  • KT-89839 [Swift Export] there could be more than one incoming cinterop
  • KT-89842 [Swift Export] extensions of Unavailable type results on conflicts
  • KT-89701 Swift Export: sealed-type switch references a subtype nested in an internal class
  • KT-89702 Swift Export: reverse bridge calls a member named init without backticks
  • KT-90024 [Swift Export] improve compilation performance of Swift Export
  • KT-89647 Native: failing test with state checker on
  • KT-88251 Swift Export cross-language inheritance example cannot instantiate KotlinBase
  • KT-89064 Swift Export: StackOverflowError for an exported function with an F-bounded type parameter
  • KT-86403 Swift Export: Lean TypeInfo generation for swift inheritors
  • KT-87947 Swift Export fails when inheriting Kotlin abstract class
  • KT-88042 Swift Export [Inheritance]: Kotlin can't call an interface method on a Swift subclass that inherits the interface (ClassCastException)
  • KT-88584 Swift Export: context parameter is dropped from export when declared in a flattened package: missing argument for parameter #​1 in call
  • KT-89067 [Swift Export] F-bounded type parameter on a class generates a bridge that does not compile
  • KT-89025 [Swift Export] generic type param with generic upper bound fails to compile
  • KT-88999 Swift export: leaf case of sealedType() is unreachable when the implementing class is not exported
  • KT-86510 [Swift Export. Tests] Exporting full API surface of kotlinx.coroutines causes runtime crashes
  • KT-87875 [Swift Export] Reverse bridges don't work with overloads
  • KT-88386 [Swift Export] SwiftExportConfig.errorTypeStrategy with SpecialType generates incompilable code
  • KT-88809 [Swift Export] intersection override with final implementation fails to compile
  • KT-88740 [Swift Export] declaration with internal OptIn fails to compile
  • KT-88669 [Swift Export] abstract class with multiple interfaces with same declaration fails to compile
  • KT-87398 Swift Export: issues with updating a user project
  • KT-88739 [Swift Export] function returning MutableList fails to export
  • KT-87457 Swift Export: NSInvalidArgumentException in _Kotlin_SwiftExport_wrapIntoExistential when Compose renders first iOS frame
  • KT-88330 KotlinExistential has no _createClassWrapperForExternalRCRef
  • KT-88723 [Swift Export] Support factory fun name based on suffix
  • KT-88682 Swift Export: can't export enum class implementing a sealed interface
  • KT-88495 [Swift Export] KDoc support: text after the @see identifier is dropped
  • KT-88378 [Swift Export] Special characters in interface names
  • KT-88474 [Swift Export] Typealias for inner interface is internal
  • KT-88473 [Swift Export] Can't implement sealedType function for leaf interface
  • KT-88368 [Swift Export] OptIn receiver extension in interface fails to compile
  • KT-87697 [Swift Export] conflicting ObjC marker names
  • KT-87391 [Swift Export] object returned from a function as an interface should be castable to a last public class, if that class conforms to that said interface
  • KT-88224 [Swift Export] @escaping is emitted on a variadic closure parameter, which Swift rejects
  • KT-87791 [Swift Export] OptIn interface member with default implementation fails to compile
  • KT-88019 Swift Export: parameter names in top level functions are not escaped
  • KT-88171 [Swift Export] enable KDoc export
  • KT-87874 [Swift Export] Generic start project param in closure fails to compile
  • KT-87798 [Swift Export] generic sealed interface fails to compile
  • KT-87808 [Swift Export] Nested generic fails to compile
  • KT-87236 [Swift Export] interface member with extension receiver fails to compile
  • KT-85545 [Swift Export] functional typealias with unavailable type
  • KT-85544 [Swift Export] property with hidden setter isn't exported
Tools. BCV
  • KT-85950 Add support of "com.android.kotlin.multiplatform.library" plugin [ABI validation]
  • KT-87551 Bring kotlin.test API back after migrating to JUnit5
Tools. Build Tools API
New Features
  • KT-87086 Add Build Tools API entry point for Analysis API based TypeScript generation
  • KT-84401 BTA: implement Kotlin/JS incremental compilation support
  • KT-88018 K2 Multiplatform incremental compilation of common code targeting JVM across multiple modules
Fixes
  • KT-88776 Remove deprecated JvmSnapshotBasedIncrementalCompilationConfiguration.MONOTONOUS_INCREMENTAL_COMPILE_SET_EXPANSION
  • KT-86169 [BTA] applyArgumentStrings silently drops typed arguments and suppresses typed validation when used on the same builder
  • KT-85464 BTA: promote restricted arguments to ERROR
  • KT-83937 Promote shrunk-classpath-snapshot configuration deprecation to error
  • KT-89513 Introduce the JPS-only BTA API surface for client-managed incremental JVM compilation
  • KT-89615 Support daemon mode in the JPS-only BTA API surface for client-managed incremental JVM compilation
  • KT-91193 BTA classloader cache evicts classloaders that are in use
  • KT-87525 Add metrics for JVM metadata operations in Incremental Compilation
  • KT-88756 BTA: Forward compatibility issue with newly added default Enum values in compiler arguments
  • KT-87848 Guard JVM incremental metadata plumbing behind KMP metadata-on-classpath support
  • KT-89804 Protect build-tools-api-jps compatibility with an API dump
  • KT-88763 Default classpath metadata to the common sources IC property
  • KT-88381 Argument-parsing warnings are lost when compiling via Build Tools API
  • KT-84229 Build reports missing memory metrics and incorrect in-process strategy indicators with BTA
  • KT-89673 Use Path instead of String for file paths in the JPS BTA tracker API
  • KT-87522 Separate enableUnsafeOptimizationsForMultiplatform for js and jvm
  • KT-88835 Wasm klib incremental compilation via daemon ignores configuration inputs
  • KT-88299 JS and Wasm klib compilation and linking operations silently ignore the IR_OUTPUT_DIR and X_INCLUDE compiler arguments
  • KT-89050 LOOKUP_TRACKER is not propagated to JS/Wasm incremental compilation
  • KT-88298 Dropped JS/Wasm compiler arguments are still present in the public BTA
  • KT-88491 WasmLinkingOperation and WasmKlibCompilationOperation do not check option availability for the compiler version in set()
  • KT-88838 JsKlibCompilationOperation.shouldCompileIncrementally() error message mentions the JVM config type
  • KT-88478 JsLinkingOperationImpl uses Options(JsKlibCompilationOperation::class) instead of JsLinkingOperation::class
  • KT-88684 WasmLinkingOperation cannot target wasm-wasi: no Wasm target option available in linking arguments
  • KT-88777 Remove deprecated JvmSnapshotBasedIncrementalCompilationConfiguration.UNSAFE_INCREMENTAL_COMPILATION_FOR_MULTIPLATFORM
  • KT-85791 Remove compatibility wrapper for BTA IMPL 2.4.0 with lower versions
  • KT-88348 MessageCollector in IncrementalCompilerRunner drops diagnostics IDs
  • KT-87743 Make KotlinCoreEnvironment.disposeApplicationEnvironment() unnecessary for K2 BTA compilation
  • KT-87822 Clean up obsolete disk-based common metadata code after switching to IC-cache JVM metadata
  • KT-87792 [BTA] Handle removed arguments in BTA tests
  • KT-87654 [BTA] KotlinMetadataKlibCompilationOperation can silently produce a non-klib (legacy metadata) artifact
  • KT-87653 [BTA] Metadata operation reports a JVM-specific message for the restricted -d argument
  • KT-87597 [BTA] KotlinCompilationProcessFailedException causes LinkageError
Tools. CLI
New Features
  • KT-87671 Disallow using of any lifecycle version greater than KotlinVersion.CURRENT
Performance Improvements
  • KT-87868 In-process compilation via CLI/Build Tools API pays a large ThreadMXBean.getCurrentThreadUserTime penalty on Linux: PerformanceManager.measureSideTime measures unconditionally around every class file read
Fixes
  • KT-88174 Show error when running the compiler on JDK < 17
  • KT-73967 JDK 25: "IllegalArgumentException: 25-ea" with EA builds
  • KT-89356 Check that CLI arguments configuring already-deprecated/removed language features are deprecated/removed themselves
  • KT-89211 Show warning when running the compiler on JDK < 17
  • KT-88475 IncrementalCompilationComponents instances are not being called anymore
  • KT-89727 EXPECT_ACTUAL_IR_MISMATCH when using separateCompilation=true
  • KT-89800 KMP Separate Compilation: Single-JVM-target commonTest cannot reference jvmMain with separate compilation
  • KT-75990 Deprecate all K1-related compiler flags and modes
  • KT-89094 Rich Errors: Create LF
  • KT-88548 False positive "Member overrides different '@Throws' filter" when a nativeMain class overrides a commonMain member carrying the same @Throws filter
  • KT-86383 Use a language feature for new inline variables scheme
  • KT-87493 kotlinc.bat crashes with ClassNotFoundException when installed to a path with spaces on ReFS (dev drive)
  • KT-88222 kotlinc/kotlin bash scripts fail to handle spaces in KOTLIN_HOME path, producing %20-encoded classpath entries on macOS/Linux
  • KT-87373 Warn on the use of the kotlin executable and recommend kotlinr
  • KT-88026 large arithmetic expression causes java.lang.NoClassDefFoundError instead of stackoverflow
  • KT-85591 Remove Xklib-normalize-absolute-path compiler argument
  • KT-86626 Add Compiler Argument for Context-bound Callable References
  • KT-87826 Remove -Xcontext-receivers compiler argument
  • KT-68175 Remove CLIConfigurationKeys.MESSAGE_COLLECTOR_KEY
  • KT-80348 Expose 'XXLanguage' compiler argument as a normal argument
  • KT-76498 Implement JSON dumper for performance stats
Tools. Compiler Plugin API
  • KT-68878 AA: LLFirIdePredicateBasedProvider can return declarations from dependant modules
  • KT-46917 Dependencies of native compiler plugins are not resolved
  • KT-86900 FirSamResolver ignores plugin-generated abstract members when performing SAM conversion on fun interface
Tools. Compiler Plugins
New Features
  • KT-87731 AtomicFU + companion block: gracefully handle delegated companion properties
  • KT-87978 AtomicFU: support companion blocks and extensions for K/N
  • KT-87984 AtomicFU: support companion blocks and extensions for JS target
  • KT-76529 Support lombok.fieldDefaults.defaultPrivate in Lombok plugin
  • KT-87683 Support functions and constructors with @Builder on Kotlin classes
  • KT-87682 Support for @Singular annotation with @Builder on Kotlin classes
  • KT-88270 Support for @Singular with @Builder and Guava collections on Kotlin classes
  • KT-87886 Support for@Builder.Defaultannotations with@​Builder` on Kotlin classes
  • KT-87685 Support generics with @Builder on Kotlin classes
  • KT-87686 Implement minimal viable functionality with @Builder on Kotlin classes
Fixes
  • KT-87563 Lombok: StackOverflow with @SuperBuilder and cyclic inheritance hierarchy
  • KT-91488 Lombok: Kotlin use of one sibling @SuperBuilder leaf's builder() makes the other leaf's inherited parent-builder setters unresolved
  • KT-90666 Lombok: disable @Builder annotation in Kotlin code due to many issues
  • KT-90086 Lombok: ClassCastException during supertype generation for EqualsAndHashCode with inheritance
  • KT-83329 Lombok. The case where the default builder is hidden as an internal and an auxiliary one is created doesn't work from kotlin
  • KT-88124 DataFrame: failing test when removing workaround in FIR2IR
  • KT-88729 Lombok: flagUsage does not report erros/warnings for constructor-related annotations used in Kotlin
  • KT-88659 Lombok: RuntimeException when NoArgsContructor/Builder are applied to a class with non-property parameter in a primary constructor
  • KT-88707 Lombok: FileAnalysisException when creating an instance of an inner class with NoArgsConstructor
  • KT-89169 Lombok: constructor annotations on a Java inner class produce an uncallable constructor
  • KT-89162 Lombok: @Builder on a method generates nothing in the IDE because the annotation is read off unresolved FIR
  • KT-89152 Lombok: use kotlin.test assertions in the plugin's test data instead of the hand-rolled assertEquals
  • KT-89133 Lombok: no navigation from a generated @Builder member to the property it is generated from
  • KT-86915 Support for multiple annotations on the same class
  • KT-86652 Lombok: introduce NO_NOARG_CONSTRUCTOR_IN_SUPERCLASS for @NoArgsConstructor
  • KT-88276 REDECLARATION conflicts with the existing nested 'Companion'
  • KT-89412 Add kotlin-atomicfu-compiler-plugin to .zip compiler distribution
  • KT-71791 [AFU plugin] Improve illegal use cases handling
  • KT-88814 Lombok: InstantiationError when using Builder with abstract or sealed class
  • KT-88891 Lombok: Builder annotation generates setters for properties declared in a class body that do not work
  • KT-89040 Lombok: no diagnostic and no codegen when @Builder applied to top-level functions
  • KT-89027 Lombok: @Builder(access = AccessLevel.PRIVATE) in Kotlin produces unusable builder class
  • KT-88852 Lombok: RuntimeException if Builder is applied to an inner class
  • KT-89024 Lombok: ClassFormatError when loading class annotated with @Builder(builderMethodName="")
  • KT-88848 Lombok: AssertionError when applying Builder annotation to a local class
  • KT-89218 Lombok: no diagnostic when @Builder.Default or @Singular is applied to a body-declared property of a Kotlin class
  • KT-89185 Lombok: toBuilder() silently drops a builder field with no property to read, where Lombok reports an error
  • KT-88941 Lombok: KotlinIllegalArgumentExceptionWithAttachments in the IDE when @NoArgsConstructor or @Builder is applied to a Kotlin class
  • KT-89753 Lombok: StackOverflowError when a Java class uses its own nested annotation on a member
  • KT-83273 Lombok. The inner builder class is unavailable in kotlin
  • KT-88904 Lombok: Builder annotation generates invalid IR for generics with type-parametrized upper bound
  • KT-89084 Lombok: lombok.singular.useGuava=true is not working for Kotlin collections
  • KT-89045 Lombok: some java.util.* collections supported in Java as @Singular targets are not supported in Kotlin
  • KT-89117 Lombok: NoSuchMethodError when using Java class annotated with Builder and Singular in Kotlin and with lombok.singular.useGuava=true
  • KT-79199 Add K/N FIR dump tests to atomicfu compiler plugin
  • KT-89970 Parcelize assigns fields of a value class after super() in Valhalla mode
  • KT-89971 no-arg plugin silently generates zero-argument constructors for value classes
  • KT-89972 no-arg reports a redundant superclass error on inner classes it already rejects
  • KT-89973 all-open makes value classes open, causing "Value class cannot be open" errors
  • KT-89189 @EqualsAndHashCode on a Kotlin class must generate canEqual
  • KT-88705 Lombok: RuntimeException when compiling NoArgsConstructor applied to a value class
  • KT-88636 Lombok: Fields starting with $ are not excluded from generated equals/hashCode
  • KT-88824 Lombok: NoSuchMethodError when applying Builder to enum class
  • KT-89371 CONFLICTING_JVM_DECLARATIONS when using both @NoArgsConstructor and @Builder
  • KT-87277 AtomicFU: allow only private atomic companion extension and member properties
  • KT-88336 Change Lombok diagnostics severity from warning to strong warning
  • KT-84119 Power-assert: "StringIndexOutOfBoundsException: Range [0, -2) out of bounds for length 884" in a scratch file
  • KT-88179 Power-assert: IrGenerationExtensionException (StringIndexOutOfBoundsException) when assert() wraps a context-parameter function call
  • KT-88656 Lombok: EqualsAndHashCode in Kotlin does not use deep hash code for arrays
  • KT-88511 Lombok: VerifyError if @EqualsAndHashCode applied to a subclass of a class with final equals or hashCode
  • KT-88532 Lombok @EqualsAndHashCode: hashCode() returns same value for null field and default value (e.g. Int=0), causing hash collision between non-equal instances
  • KT-88653 Lombok: EqualsAndHashCode.callSuper diagnostics is present in Java, but is missing in Kotlin
  • KT-88655 Lombok: missing diagnostics for Exlude annotations used with @EqualsAndHashCode(onlyExplicitlyIncluded = true)
  • KT-54072 [K2] [JAVA_TYPE_MISMATCH] error in case sortedSetOf() is used as a param of a filed annotated with @​ Singular which type is raw SortedSet
  • KT-87871 ANNOTATION_HAS_NO_EFFECT reported for interfaces/annotation class with @Log, although the log property is generated
  • KT-88288 @Log on a companion object does nothing when lombok.log.fieldIsStatic=false
  • KT-88367 IrGenerationExtensionException when @ToString is applied to a class with a property in a companion block
  • KT-88701 Lombok: ClassFormatError when using interface with NoArgsContructor annotation applied
  • KT-88505 Lombok: @Builder generates a setter for a Java static field
  • KT-88936 Lombok: Builder applied to an object generates unreachable code
  • KT-88507 Lombok: VerifyError in runtime if @EqualsAndHashCode was applied to a enum class
  • KT-88644 Lombok: Tolerate unsupported warning is not visible enough when combined with EqualsAndHashCode
  • KT-88620 Lombok: of/exclude attributes of @EqualsAndHashCode/@ToString annotation reported as unsupported, but they do affect the codegen
  • KT-88614 Lombok: EqualsAndHashCode applied to object/companion object does not report ANNOTATION_HAS_NO_EFFECT
  • KT-88322 Add linuxArm32Hfp() to Power Assert runtime
  • KT-88803 PowerAssert: Create tests for diagram without runtime
  • KT-88419 Array values are not displayed well with @ToString
  • KT-88420 There is no diagnostic when @ToString overrides a final method
  • KT-88410 If the first class member doesn't have a backing field when @ToString has an extra comma
  • KT-88248 LOG_PROPERTY_ALREADY_EXISTS isn't reported for member property
  • KT-88407 ANNOTATION_HAS_NO_EFFECT isn't reported when @Log/@String is applied to an expression
  • KT-88333 ANNOTATION_CLASS_MEMBER is reported for annotation with @ToString
  • KT-88337 Handle Lombok AccessLevel.PROTECTED, MODULE, and PACKAGE correctly for Kotlin classes
  • KT-88203 @Log with AccessLevel.PROTECTED is accessible from the public scope
  • KT-86651 Lombok: "Constructor without parameters is already defined" checker for @NoArgConstructor
  • KT-87912 AtomicFU: compiler plugin can't handle loop function invocation inside an inline function initializing top-level property
  • KT-87784 AFU: compiler plugin does not support inline extension properties on atomics
  • KT-87612 Test Federation: Review domain Compiler Plugins Smoke & Contract tests
  • KT-75877 PowerAssert: don't display value for anonymous object
  • KT-87889 Use Lombok implementation to singularize words
  • KT-85180 AtomicFU/Native IR validation error
  • KT-67440 Atomicfu-compiler-plugin: incorrect initialization order of delegated properties
  • KT-67839 Atomicfu plugin: support transformation of minusAssign/plusAssign operators
Tools. Compiler plugins. Compose
Fixes
  • KT-91414 Compose compiler, Kotlin/Native: lambda SAM-converted to @Composable fun interface gets no restart group; recomposition fails with "No nodes can be emitted before calling skipAndEndGroup"
  • KT-91591 Compose: NoSuchFieldError when a cross-module @JvmField property of @Composable lambda type is accessed more than once (field arity grows by 2 per access)
  • KT-89310 Drop K1 descriptor usage from AbstractComposeLowering.sourceKey
  • KT-89311 Drop K1 descriptor usage from ClassStabilityTransformer.visitClass
  • KT-90466 Compose compiler, Kotlin/Native: IrLinkageError "No function found for symbol" for lambda SAM-converted to @Composable fun interface from another module
  • KT-84055 Reference to lambda in lambda in function 'TextField' can not be evaluated
  • KT-89957 Compose infers full value classes with uncertain properties as stable
  • KT-89961 Compose crashes with StackOverflowError on a recursive full value class
  • KT-89958 Compose ignores type arguments of generic value classes when inferring stability
  • KT-89968 Compose infers abstract and sealed value classes as unstable instead of uncertain
  • KT-89969 Compose ignores the stability configuration file for value classes
  • KT-89681 [WEB] Expression uses unlinked type parameter symbol
  • KT-88069 [Compose Compiler] NoClassDefFoundError when invoking @Composable lambda directly
  • KT-88028 Compose compiler: IndexOutOfBoundsException in ComposableTargetAnnotationsTransformer when overriding a @Composable function with default parameter in another module
  • KT-82808 [CMP] IrLinkageError: Abstract function is not implemented
Tools. Compiler plugins. Serialization
New Features
  • KT-66462 Report a warning when the serializable class has a private companion
  • KT-55738 Report a diagnostic when @Serializable class already has a serializer() function in companion with signature that matches plugin-generated
  • KT-69488 Serialization: plugin should print a diagnostic or a warning when misusing @Serializable(with=...)
  • KT-81042 Warn when Proto* annotations are applied to properties of inappropriate type
Fixes
  • KT-91224 Kx Serialization: Regression in support of Java enums with Serializable annotation
  • KT-71680 Report a warning when @Serializable public class has private serializer
  • KT-73207 Report a compiler error when @Serializable(with) is applied and number of generic parameters does not match
  • KT-69067 K2 + Serialization: provide a warning when plugin-related annotations are typealiased
  • KT-59088 KJS / Serialization: Report a compiler error if @Serializable class contains a property with dynamic type
  • KT-89643 Fix Protobuf tag reuse for full value classes
  • KT-89275 Kotlin/Wasm: Invalid Wasm is emitted for a @Serializable generic class with a class upper bound
  • KT-88540 Warn when @SerialInfo/@InheritableSerialInfo-annotated annotation has inapplicable target
  • KT-75702 Support array content equality when deciding whether to encode a default value in kotlinx.serialization plugin
Tools. Daemon
  • KT-83117 Daemon mode: Clear jar caches at the end of the build
Tools. Gradle
New Features
  • KT-81782 Enable CRI by default
  • KT-78215 Gradle: enable Kotlin/JS compilation and linking through BTA by default
  • KT-78217 Gradle: enable Kotlin/Wasm compilation and linking through BTA by default
  • KT-80510 Gradle: enable metadata compilation through BTA by default
  • KT-74808 Add Gradle DSL option for enabling unused return value checker
  • KT-88601 Warn user on non-publishable targets when Kotlin Archive is enabled
  • KT-88529 Support compatibility mode with direct dependencies on platform components in KGP
  • KT-88526 Initial implementation of Kotlin Archive in KGP
Performance Improvements
  • KT-88084 Each build leaves a strong reference to an instance of BuildMetricsService
  • KT-69613 Remove usages of getCanonicalPath and getCanonicalFile in plugins code
Fixes
  • KT-88290 Make kotlin.user.home support relative paths
  • KT-91772 KGP drops an explicitly set compiler argument when it equals the KGP default but not the default of a newer compilerVersion
  • KT-84114 Bump the minimal supported Gradle version to 8.14.x
  • KT-87989 Deprecate the legacy Swift Export DSL and provide migration diagnostics
  • KT-87990 Add consumer dependency overrides to Swift Export Xcode integration
  • KT-88594 Compatibility with Gradle 9.8 release
  • KT-61225 Turn "Kotlin Gradle plugin was loaded multiple times" warnings into error
  • KT-85434 Gradle: drop support for non-BTA JVM compiler execution mode
  • KT-87910 Implement Kotlin Archive (.kar) publication format
  • KT-88619 Bump minimal supported AGP version to 8.8.2
  • KT-88622 Unconditionally deprecate direct integration with AGP
  • KT-87971 Make multiple loaded plugins detection compatible with project isolation
  • KT-71968 Setting custom kotlin.project.persistent.dir causes NoSuchFileException: ./custom-cache-dir/sessions/kotlin-compiler-12437393244673679493.salive
  • KT-69336 Support kotlin.project.persistent.dir that is outside of rootProject
  • KT-87558 Gradle: Remove property for disabling usage of non-packed klibs
  • KT-88785 Gradle: Remove kotlin.internal.classpathSnapshot.parseInlinedLocalClasses
  • KT-82426 Improve publishing with cross compilation
  • KT-90997 Preserve behaviour of deprecated kotlin.internal.incremental.enableUnsafeOptimizationsForMultiplatform in 2.5.0
  • KT-90672 Gradle: "configureEach(Action) on task set cannot be executed in the current context" when KotlinCompile is created lazily with AGP built-in Kotlin
  • KT-85935 KGP / Android: sourceSets deprecation not shown in DSL block form inside KotlinAndroidProjectExtension
  • KT-91330 Groovy DSL: kotlin { sourceSets { main {} } } in Android project fails with misleading "Could not find method main()"
  • KT-91331 Deprecated Kotlin sourceSets in Android extension: block form doesn't report the error in Groovy DSL or in suppressed Kotlin DSL
  • KT-88380 Raise deprecation level to error for Kotlin source sets in Android extension
  • KT-87986 Publish Swift Export metadata
  • KT-88602 Add Gradle 9.8 support in integration tests
  • KT-88604 Switch Gradle functional tests to Gradle 9.8 runtime
  • KT-73968 KotlinDependencyManagement tries to mutate configuration after it was resolved
  • KT-88583 Kapt may unexpectedly load conflicting dependencies from the Gradle runtime classpath
  • KT-88609 Cleanup declarative Gradle prototype from ecosystem plugin
  • KT-89340 Adopt sources.jars publication to Kotlin Archive
  • KT-89323 Consume Swift Export metadata for project dependencies
  • KT-87987 Consume Swift Export metadata for published external dependencies
  • KT-90111 Add missing generated files to 2.5.0 branch
  • KT-88850 Add explicit xcodeIntegration and opt-in task wiring
  • KT-88853 Derive Swift Export module export modes from KMP api and implementation dependencies
  • KT-87509 Stop using Gradle Problems API severity field
  • KT-77241 KGP: Remove CleanData infrastructure
  • KT-87993 Compile against Gradle API 9.7
  • KT-87994 Run Gradle integration tests against Gradle 9.7
  • KT-87995 Run Gradle functional tests using Gradle runtime 9.7
  • KT-87840 Isolated projects: "Project ... cannot access 'Project.extensions' functionality on another project" when configuring JS/Wasm targets (NodeJsPlugin/D8Plugin)
  • KT-88192 KMP Separate Compilation: separate compilation mode is incompatible with configuration cache
  • KT-87726 Run functional tests against the Gradle 9.6 release
  • KT-87256 KotlincOutputParser fails to parse compilation errors under Gradle when task path prefixes are enabled (Kotlin 2.4.20-Beta1)
  • KT-87508 Wire buildNeeded/buildDependent only for Gradle <9.5.0
  • KT-86835 [KGP] Migrate KotlinSecondaryVariantsDataSharing to kotlinx-serialization
  • KT-86833 [KGP] Migrate Apple/Swift-export/Native Gson usages to kotlinx-serialization; introduce FileSerializer
  • KT-87724 Fix failing SwiftPM Import Tests
  • KT-87970 Extend test coverage for multiple loaded plugins detection
  • KT-87679 Bump version of file-leak-detector used in KGP ITs
  • KT-87911 Report an actionable diagnostic when .kar files reach compilation classpaths in Kotlin 2.4.20
  • KT-86435 Replace File.ensureParentDirsCreated() with NIO Path createDirectories()
  • KT-87729 Update KGP test to use jvm-test-suite
  • KT-86040 Run tests against the Gradle 9.6.0 release
Tools. Gradle. JS
New Features
  • KT-88882 Reimplement Node.js provisioning in KGP
  • KT-88868 Rework declaration and collection of npm dependencies in KGP
  • KT-87087 Integrate Analysis API based TypeScript generation into the KMP Gradle plugin as a separate task
  • KT-86731 Integrate new Kotlin JS Browser Test pipeline with IDEA in debug mode
  • KT-89230 Expose allBrowserTestRunners as gradle named domain collection
  • KT-88856 KGP/JS/Playwright: Provide Gradle test filtering arguments in KotlinJsTestsLocation
  • KT-86715 Add ability to configure Dev-server URL (or specification) to run browser tests from
Fixes
  • KT-89052 Add a cacheability annotation to EsmBundleKotlinJsTests
  • KT-90285 KGP rejects 'valid' package names
  • KT-90770 Analysis API-based TypeScript declarations ignore the module name set on the link task for UMD and plain modules
  • KT-90626 Analysis API-based TypeScript declarations ignore the JS file name set on the link task
  • KT-86708 Add FUS events for new JS test API
  • KT-90489 Rich TypeScript declarations ignore Long-as-BigInt enabled by target es2020
  • KT-89605 Use nodeJsToolchain in all tasks for nodeExecutable
  • KT-90126 FUS: configurationTimeMetrics fails with IllegalArgumentException for an unsupported browser test runner
  • KT-90286 NodeJsExec ignores a custom executable
  • KT-89797 KJS/KGP: Playwright tests fail to update after kotlin code changes
  • KT-90366 -Xdts-use-unknown-instead-any is ignored by the new GenerateTypeScriptDefinitions task
  • KT-90519 KGP and BTA do not preserve -XXLanguage settings for Analysis API-based TypeScript declaration generation
  • KT-90533 -Xes-long-as-bigint=true is ignored by Analysis API-based TypeScript declaration generation
  • KT-90491 GenerateTypeScriptDefinitions task generates UMD declarations for ES module when target is es2015 or higher and module kind is not set
  • KT-84724 NPM dependency versions do not invalidate KotlinWebpack task cache key in kotlin multiplatform project
  • KT-85440 Remove kotlin-js plugin
  • KT-89214 Share JS/WasmJS npm dependencies through Gradle Configurations
  • KT-89404 wasmJs browser test returns timeout and cant load mocha.js and mocha.css because they are missing in the ems bundle
  • KT-89508 JS/Wasm: Remove deprecated properties in NodeJsRootExtension
  • KT-86683 Use npm-installed mocha.js instead HTTP loaded variant in JS Browser test pipeline
  • KT-89734 Update JS tooling dependencies
  • KT-88592 Reporter option 'alsoWithHtml' has no effect. Because custom reporterOptions.Base was provided. In node-js tests
  • KT-88431 Playwright JS tests don't run on Linux/ARM
  • KT-90303 Rename nodeJs toolchain gradle properties
  • KT-90287 Node.js toolchain fails without an explicit installation directory
  • KT-90087 JS_TEST_BROWSER_TYPE FUS metric is not reported when using the default Chromium browser in Playwright tests
  • KT-88718 [TechDebt] Add dependsOnNpmTooling to simplify task dependency on NPM tooling
  • KT-84740 Promote deprecation of NpmApiExecution#resolveRootProject to ERROR
  • KT-88709 Deprecate NpmDependencyExtension
  • KT-87502 Validate customBrowserExecutable path in new JS test DSL
  • KT-87641 Having a few same js targets with configured tests leads to Cannot add task 'kotlinInstallPlaywrightBrowsers'
  • KT-87643 jsBrowserTest for project with js and wasmJs fails on /build/kotlinJsTest/dist' which doesn't exist
  • KT-86112 Promote KotlinJsIrTarget constructor deprecation from WARN to ERROR
  • KT-85179 Remove NodeJsExec.create
  • KT-88597 Fix failing Gradle Integration Tests Gradle Kotlin JS with Browser tests Linux
  • KT-88504 Gradle Integration Tests Gradle Kotlin JS with Browser tests (Windows) fails after Gradle 9.7 Bump
  • KT-86797 Failed JS tests don't report errors in the output
  • KT-86799 Report browser environment to IJ
  • KT-87501 Throw an error if new JS test DSL is used with Wasm
  • KT-87600 Playwright install on multiple subprojects cause Gradle build to fail
  • KT-53687 Don't trigger npm and yarn related tasks if it not relevant for assemble
Tools. Gradle. Multiplatform
Performance Improvements
  • KT-87790 Kotlin 2.4.0 increases Gradle sync times
Fixes
  • KT-86666 Metadata (aka e.g. commonMain) unique_name does not include group prefix
  • KT-87513 Error deprecation for watchosArm32 target
  • KT-88590 NoSuchElementException thrown with new KMP compilation scheme
  • KT-89848 KAR: jsNpmAggregated fails on mixed legacy and archived artifacts in the classpath
  • KT-90544 Gradle, Multiplatform: Publication iteration misses JS, Wasm and Native targets since 2.5.0-Beta2 (after Kotlin Archive publishing changes)
  • KT-89906 KAR: incomplete publication may fail on metadata compilation if a cinterop used
  • KT-60724 Legacy dependencies are not reported if used in tests
  • KT-89900 Disable partial resolution diagnostic in large projects
  • KT-89563 KGP doesn't work with the new xcproj Xcode project format
  • KT-84736 SPM import: the package name for the included build is just an underscore
  • KT-86611 Deprecate hidden kotlin.mpp.freeCompilerArgsForSourceSet property
  • KT-80897 Drop implementationMetadataConfigurationName from KGP
  • KT-89878 Raise deprecation to error for 'withJava()' API
  • KT-89413 Multiplatform: jvmTest reports omit JUnit TestReporter.publishEntry entries on Gradle 9.4+
  • KT-89863 KAR: npm dependencies are missed in publication
  • KT-89777 KAR: publication reports potential issues in pom file
  • KT-89871 KAR: source.jar always includes shared source sets sources
  • KT-89849 KAR: WasmJs compilation fails on mixed legacy and archived artifacts in the classpath
  • KT-89817 KAR library is ignored in framework exported dependency
  • KT-89815 KAR: consumer's cinterop compilation reports used unsupported archive
  • KT-88890 Stabilize MppIdeDependencyResolutionIT IDE resolution strict mode
  • KT-88839 IDE reports NoSuchMethodException: org.jetbrains.kotlin.gradle.plugin.sources.DefaultLanguageSettingsBuilder.getEnabledLanguageFeatures()
  • KT-82417 KMP Separate Compilation: missing fragment dependencies for custom darwin source set that mirrors appleMain
  • KT-87946 Flaky JSBrowserTestsIT
Tools. Gradle. Native
New Features
  • KT-84852 Wire linkage package integration check with Swift Export's embedAndSign
Fixes
  • KT-87873 Deprecation warning on AndroidNative gradle DSL
  • KT-89622 cleanSwiftImportFingerprintArtifacts fails to parse a fingerprint left by 2.4.20 after upgrading to 2.5.0-Beta1
  • KT-88813 Delete native tasks API deprecated as ERROR
  • KT-89480 Changing swift export visibility doesn't affect incremental builds
  • KT-89265 K/N: Gradle 9.8 reports "Using the enum type KotlinNativeBundleArtifactsTypes as an attribute value type has been deprecated"
  • KT-87632 Native test: empty unnamed Output tab appears in Test Results when test process exits abnormally
  • KT-76147 Gradle Configuration Cache: 'compile*KotlinMetadata' caused invocation of 'Task.project' in 'commonizeCInterop'
  • KT-87576 Simplify SwiftPM lock file sync by moving logic from sync tasks into fetch task
  • KT-87535 Make SwiftPM fingerprint file structured
  • KT-53477 Native: Gradle plugin doesn't add compiler plugin transitive dependencies to compiler plugin classpath
  • KT-85468 Don't fail IDE import if the SwiftPM import pipeline has failed somewhere
  • KT-87394 Publishing fails with FileNotFoundException: iosArm64 KLIB missing when compilation skipped due to cross-compilation disabled in a project dependency
  • KT-88008 SwiftPM-import Gradle IT fails after watchosArm32 removal and platform-condition change
  • KT-27683 Most Kotlin compiler plugins cannot be used in Gradle MPP with Kotlin/Native
  • KT-87630 Lenient import doesn't work with awaits introduced in KT-85933
Tools. Gradle. Swift Export
New Features
  • KT-78747 Swift export for SPM
  • KT-89803 Swift package generation for Swift Export
  • KT-85687 [Swift Export - Gradle] Add exposed and hidden dependency visibility overrides
Fixes
  • KT-89720 Add Swift Export metadata artifact to .kar archive
  • KT-89805 Wire settings from the new Swift Export DSL into the Swift Export run
  • KT-90738 swiftPackageIntegration: Release build fails to link exported package (undefined symbol KotlinRuntimeSupport_linkAnchor)
  • KT-89812 Run Swift Export once per target and declare the outputs of its tasks
  • KT-90132 Swift Export: Swift package export fails when Apple targets export different modules
  • KT-89680 [Swift Export] Types from a transitive spm dependency are not exported
  • KT-88987 Add an example to the documentation for the export.swift.rootPackage DSL property
  • KT-89289 Move SwiftExportConfigurationCompat into the internal package
  • KT-89379 Remove the ExperimentalExportDsl opt-in annotation
  • KT-89354 embedSwiftExportForXcode can never be a no-op
  • KT-89495 Changes in published metadata not picked up by Swift Export task
  • KT-89393 Report SwiftExportUnsupportedMetadataSchemaVersion when processing metadata from KotlinProjectSharedDataProvider
  • KT-90020 Swift Export: OutOfMemoryError in SwiftExportAction because of default 512 MB worker heap
  • KT-90365 Swift Export: rename Gradle properties to follow the naming conventions
  • KT-88672 Gracefully fail embedSwiftExport task if the minimal target version is less then iOS 18
  • KT-89059 Introduce a bridging layer between the legacy SwiftExportExtension and the new ExportExtension.SwiftExportConfiguration
  • KT-88523 Introduce the new export extension with a swift configuration block
Tools. Gradle. Wasm
New Features
  • KT-87082 Support new playwright-based browser test DSL in wasmjs
  • KT-87136 K/Wasm: Add possibility to have a distribution without webpack
Fixes
  • KT-89832 K/Wasm: deprecate node for wasmWasi
  • KT-87562 K/Wasm: remove ExperimentalWasmDsl from wasm-js target-related declarations KGP
  • KT-89269 KGP/JS/Playwright: "Failed to load Kotlin WASM JS tests entry point TypeError"
  • KT-89510 Wasm: Promote declarations deprecations
  • KT-89813 K/Wasm: Update wasmtime to 49.0.1
  • KT-89856 K/Wasm: update Binaryen to 133
  • KT-84258 K/Wasm: Remove deprecated properties in BinaryenExec
  • KT-89521 wasmJsTestBundleAsEsm fails instead of being skipped when there are no test sources
  • KT-88115 "Your lockfile needs to be updated": Outdated bundled yarn.lock breaks kotlinWasmToolingSetup with --frozen-lockfile
  • KT-88566 K/Wasm: Webpack configuration generated after user defined chunks from the webpack.config.d directory
  • KT-88285 WasmJS tooling version overrides are ignored
  • KT-86879 K/Wasm: Update wasmtime to 47.0.0
  • KT-87831 NPM install on Windows fails if project path contains braces
  • KT-87565 Add validation for kotlin.wasm.compilationMode Gradle property values
Tools. Gradle. Xcode
  • KT-90520 integrateLinkagePackage failing for json based xcproj with an existing spm dependency
Tools. Incremental Compile
Performance Improvements
  • KT-90019 IC: Classpath snapshot shrinking builds the reverse-impact resolver even when no classpath classes are referenced
  • KT-89471 Optimize allocations in ClasspathEntrySnapshotter.snapshot
Fixes
  • KT-88801 Incremental compilation fails for a serializable class hierarchy in multiple files with private properties
  • KT-86121 Incremental compilation fails for a serializable sealed inheritance chain in multiple files
  • KT-89336 IC: inferred interface member return type is not recompiled when its underlying type changes
  • KT-89342 Investigate potential performance improvement for IC classpath snapshotting
  • KT-88762 Make kotlin.internal.jvm.enableUnsafeOptimizationsForMultiplatform a user-facing Gradle property
  • KT-91153 Incremental compilation failed: The following FqNames can't be derived from DirtyData.dirtyLookupSymbols
  • KT-88997 IC of common targeting JVM: IC crash on actualizing expect fake overrides when project contains intermediate jvm source-set
  • KT-89300 K2 KMP JVM IC: Interface delegation causes IllegalStateException
  • KT-89044 K2 KMP JVM IC: Actual typealias overload change ignored by incremental compilation
  • KT-89912 Kotlin 2.4.20: JS/Wasm IC fails removing FIR-generated hint, then falls back to a full rebuild
  • KT-88539 Incremental JS Klib compilation tests fail with LV 2.4+
  • KT-62686 K2: Common module sees platform declarations in case of MPP project incremental compilation
Tools. JPS
  • KT-88702 Support incremental dumb-mode compiler execution with providing tracker data output for JPS
  • KT-89569 Remove copied APIs from JPS
  • KT-89464 Compilation fails with NoClassDefFoundError in UtilsKt
Tools. Kapt
  • KT-71883 Kapt: generate Java sources directly instead of using JCTree
  • KT-88608 KAPT: Do not generate JTree in direct mode
  • KT-89349 Investigate failures in KAPT tests if one enables +CLBasedAnnotationResolution
  • KT-70784 Consider using LightTree instead of PSI in K2 Kapt
  • KT-88559 KAPT: 'com.sun.tools.java.util.Context' class can't be found ('tools.jar' is absent in the plugin classpath) on 28-ea JDK
  • KT-85195 KAPT: IntroducedAt is not supported in KAPT
  • KT-80882 K2 KAPT: Dagger fails to process code annotated with @Composable
  • KT-87855 Kapt: direct generation produces HEX for Float values
  • KT-70804 Cleanup kapt implementations for K1 and K2
Tools. Maven
  • KT-90004 Maven and Gradle tests fail after scripting runtime migration
  • KT-83374 CRI: it is not clear that CRI generation requires IC being enabled in Maven
Tools. Performance benchmarks
  • KT-87324 K/N: Add runtime benchmarks for release caches
Tools. REPL
  • KT-89459 Remove -Xrepl option from kotlinc
  • KT-87432 Implement JSR-223 variant on K2 compiler that compiles out of process
  • KT-89749 K2 REPL: UNRESOLVED_REFERENCE to a previous snippet's class in a function with an implicit return type
  • KT-89750 K2 REPL: UNINITIALIZED_VARIABLE is not reported for snippet properties
  • KT-89747 K2 REPL: a snippet failing after resolution stays in the history and consumes a snippet number
  • KT-89748 K2 REPL tests: in-process and Analysis API REPL runners keep failed snippets in the history
  • KT-86291 Drop GenericReplCompiler
Tools. Scripts
Performance Improvements
  • KT-90299 JSR-223: post-GC heap growth per evaluated snippet is ~6x higher in 2.5.20-dev-1225 than in 2.4.10 and ~3x higher than in 2.5.0-Beta1
Fixes
  • KT-89220 JSR-223: generic Java bindings break all subsequent eval() calls
  • KT-74354 Implement (and use) expected exceptions processing in K2 REPL tests
  • KT-89752 JSR-223 (K2): the engine's snippet number (repl.currentSnippetNo) is ignored by the compiler
  • KT-90022 The completion doesn't work in main-kts scripts in IJ
  • KT-42101 Scripts: @file:Import() in kotlin-main-kts uses a stale cache
  • KT-89627 K2: a script processed before its definition's package sources causes 'Unresolved reference' in that package
  • KT-90244 Scripting, JSR-223: Each new ScriptEngine or ScriptContext retains its K2 compiler environment, leading to OutOfMemoryError
  • KT-90298 JSR-223: ENGINE_SCOPE/GLOBAL_SCOPE bindings are lost after the ScriptContext is replaced
  • KT-88453 VirtualFileScriptSource.text leaks an unclosed file stream — script source file handle held until GC, blocks file deletion on Windows
  • KT-89247 Kotlin Script: NoClassDefFoundError on 2nd execution with transitive dependency from imported script
  • KT-87958 K2 scripting: FirPropertyImpl transformation crash when using class from @file:Import-ed script in 2.4.0+
  • KT-87047 Scripts: ClassNotFoundException for 'kotlin.script.experimental.dependencies.Repository' when compiling .main.kts with '-Xuse-fir-lt=false'
  • KT-87041 Scripting: classpath extraction fails to extract stdlib from kotlinc
  • KT-76424 Dependencies in main.kts not working with 2.1.20
Tools. Statistics (FUS)
  • KT-88758 Enable FUS for all Gradle IT tests
  • KT-88686 Add FUS metrics to the new Swift Export DSL

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 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 these updates again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate CLI.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [org.jetbrains.kotlin:kotlin-maven-noarg](https://kotlinlang.org/) ([source](https://github.com/JetBrains/kotlin)) | build | minor | `2.4.21` → `2.5.0` | | [org.jetbrains.kotlin:kotlin-maven-allopen](https://kotlinlang.org/) ([source](https://github.com/JetBrains/kotlin)) | build | minor | `2.4.21` → `2.5.0` | | [org.jetbrains.kotlin:kotlin-maven-plugin](https://kotlinlang.org/) ([source](https://github.com/JetBrains/kotlin)) | build | minor | `2.4.21` → `2.5.0` | --- ### Release Notes <details> <summary>JetBrains/kotlin (org.jetbrains.kotlin:kotlin-maven-noarg)</summary> ### [`v2.5.0`](https://github.com/JetBrains/kotlin/blob/HEAD/ChangeLog.md#250) [Compare Source](https://github.com/JetBrains/kotlin/compare/v2.4.21...v2.5.0) ##### Updated vulnerable third-party dependencies in: - baseline-browser-mapping: 2.10.0 -> 2.11.27 - browserslist: 4.28.1 -> 4.29.3 - brace-expansion: 1.1.12 -> 1.1.18 - brace-expansion: 2.0.2 -> 2.1.4 - fast-uri: 3.1.0 -> 3.1.8 - js-yaml: 4.1.1 -> 4.3.2 - launch-editor: 2.13.1 -> 2.14.1 - nanoid: 3.3.11 -> 3.3.18 - socket.io-parser: 4.2.5 -> 4.2.7 - webpack-dev-server: 5.2.3 -> 6.0.0 - ws: 8.18.3/8.19.0 -> 8.20.1/8.21.0 - GraalVM Community JDK 25.0.3 -> Oracle GraalVM JDK 25.0.5.1 ##### Analysis API ##### Fixes - [`KT-87460`](https://youtrack.jetbrains.com/issue/KT-87460) Flaky (Embeddable)SwiftExport tests - [`KT-60884`](https://youtrack.jetbrains.com/issue/KT-60884) Analysis API: Improve standalone mode project model creation - [`KT-61775`](https://youtrack.jetbrains.com/issue/KT-61775) Analysis API: KtKClassAnnotationValue lacks complete type information - [`KT-69055`](https://youtrack.jetbrains.com/issue/KT-69055) Analysis API: Stabilize `KaScope`s - [`KT-68884`](https://youtrack.jetbrains.com/issue/KT-68884) Analysis API: Rename/deprecate/remove declarations as part of Stabilization - [`KT-65215`](https://youtrack.jetbrains.com/issue/KT-65215) Analysis API: Distinguish APIs for Analysis API users and platforms - [`KT-68857`](https://youtrack.jetbrains.com/issue/KT-68857) Analysis API: Refactor annotations - [`KT-68341`](https://youtrack.jetbrains.com/issue/KT-68341) Analysis API: Expanded function types from libraries don't have an abbreviated type - [`KT-68462`](https://youtrack.jetbrains.com/issue/KT-68462) Analysis API: Integrate `project-structure` module into `analysis-api` and `analysis-api-platform-interface` - [`KT-67786`](https://youtrack.jetbrains.com/issue/KT-67786) Analysis API: Implement improved `KtType` hierarchy and design - [`KT-60484`](https://youtrack.jetbrains.com/issue/KT-60484) Analysis API: add support for KtType pointers similar to KtSymbolPointer - [`KT-65417`](https://youtrack.jetbrains.com/issue/KT-65417) K2 IDE: KTOR false positive expect-actual matching error on enum class because of implicit clone() in non-JVM source sets - [`KT-68896`](https://youtrack.jetbrains.com/issue/KT-68896) Support VirtualFile binary dependency inputs to Analysis API modules - [`KT-88945`](https://youtrack.jetbrains.com/issue/KT-88945) Analysis API: annotation resolution drops a class id when a source annotation shadows a library one ##### Analysis API. FIR ##### Performance Improvements - [`KT-60240`](https://youtrack.jetbrains.com/issue/KT-60240) K2: optimize FirElementBuilder#getOrBuildFirForNonKtFileElement for `KtTypeReference` case - [`KT-76375`](https://youtrack.jetbrains.com/issue/KT-76375) ContextCollector: terminate search if no elements were found with a designation - [`KT-86758`](https://youtrack.jetbrains.com/issue/KT-86758) Don't require body resolution to obtain an explicit backing field - [`KT-75496`](https://youtrack.jetbrains.com/issue/KT-75496) Doesn't resolve the entire designation path to the body phase for diagnostics ##### Fixes - [`KT-85627`](https://youtrack.jetbrains.com/issue/KT-85627) AA: LLFlightRecorder initialization fails on runtimes without jdk.jfr - [`KT-88111`](https://youtrack.jetbrains.com/issue/KT-88111) K2: Analysis API: make FileStructure element computation fully lazy - [`KT-85410`](https://youtrack.jetbrains.com/issue/KT-85410) LLFirTypeTargetResolver: add more type guards - [`KT-86185`](https://youtrack.jetbrains.com/issue/KT-86185) Analysis API: Make `FirDesignation` internal by removing the leak through `UsualClassTypeQualifierBuilder` - [`KT-64899`](https://youtrack.jetbrains.com/issue/KT-64899) K2: PsiRawFirBuilder forces AST loading for scripts - [`KT-80721`](https://youtrack.jetbrains.com/issue/KT-80721) K2 AA. "FirDeclaration was not found for class KtTypeParameter, fir is null" with generic type parameter in object expression - [`KT-60609`](https://youtrack.jetbrains.com/issue/KT-60609) K2 IDE: Navigation to super class of annotation opens `Any` instead of written super type - [`KT-77041`](https://youtrack.jetbrains.com/issue/KT-77041) Expected is FirResolvedDeclarationStatus, but was FirDeclarationStatusImpl - [`KT-79057`](https://youtrack.jetbrains.com/issue/KT-79057) Fix all `// IGNORE_PHASE_VERIFICATION: invalid code inside annotations` directives - [`KT-75470`](https://youtrack.jetbrains.com/issue/KT-75470) ContextCollector: potentially incorrect scope for super type call - [`KT-81100`](https://youtrack.jetbrains.com/issue/KT-81100) Support jvmTargetProvider in low-level analysis API - [`KT-74654`](https://youtrack.jetbrains.com/issue/KT-74654) K2 Analysis API: InvalidFirElementTypeException with annotated non-local destructuring declaration - [`KT-62892`](https://youtrack.jetbrains.com/issue/KT-62892) K2 IDE. Java outer class from other module is not resolved when nested class is accessed with fq name in a type position - [`KT-72660`](https://youtrack.jetbrains.com/issue/KT-72660) ISE: Recursive update at org.jetbrains.kotlin.analysis.low.level.api.fir.caches.FirCaffeineCache.getValue - [`KT-69726`](https://youtrack.jetbrains.com/issue/KT-69726) FP errors on declaring `fun clone()` in actual enum in not-jvm source-set - [`KT-69727`](https://youtrack.jetbrains.com/issue/KT-69727) K2 IDE. Wrong error in the editor on calling `clone` function of actual enum instance in non-jvm platform - [`KT-87572`](https://youtrack.jetbrains.com/issue/KT-87572) Symbols from companion blocks have dispatchReceiver in stub-based version - [`KT-87651`](https://youtrack.jetbrains.com/issue/KT-87651) \[Analysis API] Unexpected FIR status exception on SAM interfaces - [`KT-88962`](https://youtrack.jetbrains.com/issue/KT-88962) False negative \[AMBIGUOUS_ANNOTATION_ARGUMENT] diagnostic in some corner cases ##### Analysis API. Infrastructure ##### Fixes - [`KT-87998`](https://youtrack.jetbrains.com/issue/KT-87998) Move out Standalone components from the 'kotlin-analysis-api-surface' and 'kotlin-analysis-api-implementation' - [`KT-87672`](https://youtrack.jetbrains.com/issue/KT-87672) Eliminate class duplication in the Analysis API JARs - [`KT-88371`](https://youtrack.jetbrains.com/issue/KT-88371) Optimize symbol light classes tests - [`KT-87607`](https://youtrack.jetbrains.com/issue/KT-87607) Test Federation: Review domain Analysis API Smoke & Contract tests - [`KT-89119`](https://youtrack.jetbrains.com/issue/KT-89119) Enforce KaInternals prefix name schema - [`KT-89711`](https://youtrack.jetbrains.com/issue/KT-89711) test-data-manager is incompatible with Isolated Projects - [`KT-87529`](https://youtrack.jetbrains.com/issue/KT-87529) Test Data Manager: introduce a separate task for checks - [`KT-87593`](https://youtrack.jetbrains.com/issue/KT-87593) Migrate Analysis API tests on JDK 11 - [`KT-86787`](https://youtrack.jetbrains.com/issue/KT-86787) Stop publish analysis-api-fe10-for-ide - [`KT-88404`](https://youtrack.jetbrains.com/issue/KT-88404) Merge the decompiler text and stubs into one test case - [`KT-84914`](https://youtrack.jetbrains.com/issue/KT-84914) Do not publish analysis-api-test-framework ##### Analysis API. Light Classes ##### Fixes - [`KT-89204`](https://youtrack.jetbrains.com/issue/KT-89204) SLC: False positive "unresolved reference" in Java for interface companion block members - [`KT-84373`](https://youtrack.jetbrains.com/issue/KT-84373) Implement PsiMethod#isDefaultConstructor - [`KT-89073`](https://youtrack.jetbrains.com/issue/KT-89073) SLC: `@JvmOverloads` + `@JvmExposeBoxed`("bar") methods are exposed with the original name - [`KT-89322`](https://youtrack.jetbrains.com/issue/KT-89322) UAST: NPE accessing containingFile of UParameter for mapped collection method - [`KT-89316`](https://youtrack.jetbrains.com/issue/KT-89316) SLC: `DefaultImpls` light class exposes `@JvmStatic` members of the interface companion object - [`KT-88498`](https://youtrack.jetbrains.com/issue/KT-88498) Support multi-field value classes in light classes - [`KT-70427`](https://youtrack.jetbrains.com/issue/KT-70427) SLC: non-abstract interface method generated as default with `-jvm-default=disable` option - [`KT-87399`](https://youtrack.jetbrains.com/issue/KT-87399) LightClassUtil.getLightClassPropertyMethods returns wrong setter when JvmName annotation is used - [`KT-67711`](https://youtrack.jetbrains.com/issue/KT-67711) K2: Pointer already disposed from SLC/AI - [`KT-65385`](https://youtrack.jetbrains.com/issue/KT-65385) K2 IDE: Light classes incorrectly expose `Companion` class and the corresponding static field if the companion object is generated by a compiler plugin - [`KT-88805`](https://youtrack.jetbrains.com/issue/KT-88805) SLC: `@JvmInline` value class`is treated as`PsiClass#isValueClass\` - [`KT-88861`](https://youtrack.jetbrains.com/issue/KT-88861) Value classes / JvmExposeBoxed: internal method from value class is shown as valid call on java side but cannot be compiled - [`KT-88879`](https://youtrack.jetbrains.com/issue/KT-88879) Value classes / JvmExposeBoxed: false-negative resolve for overridden exposed functions - [`KT-57537`](https://youtrack.jetbrains.com/issue/KT-57537) SLC: propagate default parameter value from (`@JvmOverloads`) `expect` declarations to `actual` declarations ##### Analysis API. PSI - [`KT-88443`](https://youtrack.jetbrains.com/issue/KT-88443) Advance DeprecationLevel for PSI declarations deprecated in 2026.2 and earlier - [`KT-74070`](https://youtrack.jetbrains.com/issue/KT-74070) Cover the Kotlin PSI with KDocs - [`KT-89846`](https://youtrack.jetbrains.com/issue/KT-89846) PSI: Kotlin overrides of standard `PsiElement` mutation methods throw IllegalStateException without KtPsiMutationService - [`KT-80780`](https://youtrack.jetbrains.com/issue/KT-80780) KtPsiUtil#getEnclosingElementForLocalDeclaration should return KtClassBody for enum entries members - [`KT-85052`](https://youtrack.jetbrains.com/issue/KT-85052) Move mutation methods out of the Kotlin PSI - [`KT-87819`](https://youtrack.jetbrains.com/issue/KT-87819) UseScope of private interfaces is incorrect - [`KT-88788`](https://youtrack.jetbrains.com/issue/KT-88788) Refine the new resolution API (PSI-part) - [`KT-88925`](https://youtrack.jetbrains.com/issue/KT-88925) Restrict the `KtElement` hierarchy with `@SubclassOptInRequired` - [`KT-89032`](https://youtrack.jetbrains.com/issue/KT-89032) Missing PSI utilities for companion blocks ##### Analysis API. Providers and Caches - [`KT-89816`](https://youtrack.jetbrains.com/issue/KT-89816) Analysis API tests: low-memory cache cleanup invalidates sessions in the middle of a test - [`KT-71359`](https://youtrack.jetbrains.com/issue/KT-71359) Perform validity checks before session acquisition - [`KT-87680`](https://youtrack.jetbrains.com/issue/KT-87680) Analysis API: LL FIR sessions contain redundant `BuiltinTypes` instances - [`KT-86402`](https://youtrack.jetbrains.com/issue/KT-86402) False positive MISSING_DEPENDENCY_SUPERCLASS when using Scala case class in Kotlin - [`KT-87231`](https://youtrack.jetbrains.com/issue/KT-87231) Analysis API: Fallback dependencies must have a binary-only base content scope - [`KT-77194`](https://youtrack.jetbrains.com/issue/KT-77194) Analysis API: Move union and intersection scope merge strategies to the Analysis API ##### Analysis API. Standalone - [`KT-61404`](https://youtrack.jetbrains.com/issue/KT-61404) Analysis API: implement proper library publishing structure - [`KT-89902`](https://youtrack.jetbrains.com/issue/KT-89902) Analysis API Standalone: JavaPsiFacade doesn't find Kotlin classes from binary libraries - [`KT-89242`](https://youtrack.jetbrains.com/issue/KT-89242) Analysis API Standalone: KLIB/JAR file handles remain open after session disposal - [`KT-85112`](https://youtrack.jetbrains.com/issue/KT-85112) AA does not see packages from unpacked klibs - [`KT-84851`](https://youtrack.jetbrains.com/issue/KT-84851) Analysis API Standalone: 75% of CPU time spent in StringsKt.split via trie-based library scopes - [`KT-88362`](https://youtrack.jetbrains.com/issue/KT-88362) `PsiMethod.findSuperMethods()` always returns an empty array ##### Analysis API. Stubs and Decompilation ##### New Features - [`KT-10793`](https://youtrack.jetbrains.com/issue/KT-10793) Improve decompiled text for annotations - [`KT-85756`](https://youtrack.jetbrains.com/issue/KT-85756) Support annotation arguments in the decompiler - [`KT-87857`](https://youtrack.jetbrains.com/issue/KT-87857) Support strict equals in stubs ##### Performance Improvements - [`KT-88067`](https://youtrack.jetbrains.com/issue/KT-88067) Implement stub-based initializer for constant properties - [`KT-71787`](https://youtrack.jetbrains.com/issue/KT-71787) `PsiRawFirBuilder.Visitor#visitStringTemplateExpression` forces AST loading - [`KT-79397`](https://youtrack.jetbrains.com/issue/KT-79397) Make KtUnaryExpression stub-based - [`KT-79396`](https://youtrack.jetbrains.com/issue/KT-79396) Make KtBinaryExpression stub-based - [`KT-88060`](https://youtrack.jetbrains.com/issue/KT-88060) Make KtParenthesizedExpression stub-based ##### Fixes - [`KT-89376`](https://youtrack.jetbrains.com/issue/KT-89376) Rethink decompiler dependencies - [`KT-88772`](https://youtrack.jetbrains.com/issue/KT-88772) Refine stubs surface - [`KT-81203`](https://youtrack.jetbrains.com/issue/KT-81203) Get rid of deprecated usage at ClsClassFinder.isKotlinInternalCompiledFile - [`KT-80758`](https://youtrack.jetbrains.com/issue/KT-80758) Consider to drop KotlinClassOrObjectStub#isLocal - [`KT-77096`](https://youtrack.jetbrains.com/issue/KT-77096) Implement more stub-based annotation arguments - [`KT-52806`](https://youtrack.jetbrains.com/issue/KT-52806) Store type in callable stubs when callable have implicit type and trivial initializer - [`KT-88500`](https://youtrack.jetbrains.com/issue/KT-88500) Support multi-field value classes in Analysis API stubs / decompiler - [`KT-78356`](https://youtrack.jetbrains.com/issue/KT-78356) Migrate stubs from stub element type to stub factories - [`KT-88984`](https://youtrack.jetbrains.com/issue/KT-88984) compiler-common and analysis-api-impl-base cyclic depend on each other ##### Analysis API. Surface ##### New Features - [`KT-84255`](https://youtrack.jetbrains.com/issue/KT-84255) Expose possible smart casts from ContextCollector in KaScopeContext - [`KT-88521`](https://youtrack.jetbrains.com/issue/KT-88521) Analysis API surface: support "Strict equals" (equality bound types) language feature - [`KT-88496`](https://youtrack.jetbrains.com/issue/KT-88496) Support multi-field inline classes in Analysis API Surface - [`KT-87311`](https://youtrack.jetbrains.com/issue/KT-87311) Propagate psi from generated declarations to KaSymbols - [`KT-78862`](https://youtrack.jetbrains.com/issue/KT-78862) Provide KaSymbol -> PsiElement API - [`KT-86610`](https://youtrack.jetbrains.com/issue/KT-86610) Rework KaDiagnosticProvider to be more flexible - [`KT-88985`](https://youtrack.jetbrains.com/issue/KT-88985) Refine the new resolution API around error handling - [`KT-68881`](https://youtrack.jetbrains.com/issue/KT-68881) Analysis API: Introduce `KaType.classId` - [`KT-85384`](https://youtrack.jetbrains.com/issue/KT-85384) Provide use-site-aware API for Light Classes ##### Fixes - [`KT-88129`](https://youtrack.jetbrains.com/issue/KT-88129) Advance `DeprecationLevel` for declarations deprecated in 2026.2 and earlier - [`KT-87552`](https://youtrack.jetbrains.com/issue/KT-87552) Compiler-internal types leak into the public Analysis API surface - [`KT-53669`](https://youtrack.jetbrains.com/issue/KT-53669) Analysis API: redesign KtSymbolOrigin to distinguish kotlin/java source/library declarations - [`KT-55124`](https://youtrack.jetbrains.com/issue/KT-55124) Design common ancestor for KtValueParameter and KtReceiverParameterSymbol - [`KT-68882`](https://youtrack.jetbrains.com/issue/KT-68882) Analysis API: Refactor `KaSymbol`s - [`KT-60483`](https://youtrack.jetbrains.com/issue/KT-60483) Analysis API: add isTailrec property to KtFunctionSymbol - [`KT-77280`](https://youtrack.jetbrains.com/issue/KT-77280) Rename `KaPropertyAccessorSymbol#isCustom` to `isNotDefault` - [`KT-83199`](https://youtrack.jetbrains.com/issue/KT-83199) Clarify API around extension points - [`KT-66192`](https://youtrack.jetbrains.com/issue/KT-66192) Analysis API: Improve render customizability - [`KT-82176`](https://youtrack.jetbrains.com/issue/KT-82176) KaFirUsualClassType has incorrect type argument for generic local class in generic function - [`KT-73570`](https://youtrack.jetbrains.com/issue/KT-73570) Merge implementation of `KaExpressionTypeProvider.returnType` with `KaCallableSymbol.returnType` - [`KT-81264`](https://youtrack.jetbrains.com/issue/KT-81264) K2 AA: `KaValueParameterSymbol.hasDefaultValue` is false for overriding or actual functions - [`KT-73946`](https://youtrack.jetbrains.com/issue/KT-73946) Analysis API: Add a way to navigate from "KaPropertySymbol" to "KaValueParameterSymbol" for primary constructor properties - [`KT-87343`](https://youtrack.jetbrains.com/issue/KT-87343) AA: hasDefaultValue is incorrect for parameter of actual constructor - [`KT-87338`](https://youtrack.jetbrains.com/issue/KT-87338) Drop KaTypeParameterOwnerSymbol - [`KT-69959`](https://youtrack.jetbrains.com/issue/KT-69959) `fakeOverrideOriginal` should support value/type/receiver parameters - [`KT-87578`](https://youtrack.jetbrains.com/issue/KT-87578) Explicitly split implementations and APIs in symbols - [`KT-87924`](https://youtrack.jetbrains.com/issue/KT-87924) Consider dropping `KaType.is*Type` utilities - [`KT-87564`](https://youtrack.jetbrains.com/issue/KT-87564) Analysis API: nested type alias qualifier resolves to expanded type owner - [`KT-86591`](https://youtrack.jetbrains.com/issue/KT-86591) Rethink how the context parameters feature could be integrated into the Analysis API Surface - [`KT-54508`](https://youtrack.jetbrains.com/issue/KT-54508) Re-design 'javaGetterName' and 'javaSetterName' - [`KT-75549`](https://youtrack.jetbrains.com/issue/KT-75549) Deprecate `KaTypeProvider#collectImplicitReceiverTypes` - [`KT-87210`](https://youtrack.jetbrains.com/issue/KT-87210) KaSubstitutor.Empty shouldn't be a class - [`KT-63221`](https://youtrack.jetbrains.com/issue/KT-63221) K2: Analysis API: rework `getDiagnosticsForElement` API - [`KT-85528`](https://youtrack.jetbrains.com/issue/KT-85528) Move diagnostic classes out of analysis-api-fir - [`KT-88489`](https://youtrack.jetbrains.com/issue/KT-88489) resolveToCallCandidates throws ClassCastException for callable reference expressions resolveToCallCandidates - [`KT-88645`](https://youtrack.jetbrains.com/issue/KT-88645) Stabilize KtResolvable(Call) - [`KT-82397`](https://youtrack.jetbrains.com/issue/KT-82397) `KaFunctionType` should offer context parameter types, not context receivers - [`KT-73195`](https://youtrack.jetbrains.com/issue/KT-73195) AA FIR: missing annotations on function literal - [`KT-89030`](https://youtrack.jetbrains.com/issue/KT-89030) \[Analysis API] Generalize `KaFirNestedInLocalClassFromCompilerPluginSymbolPointer` - [`KT-87557`](https://youtrack.jetbrains.com/issue/KT-87557) 'Analysis API Public API Checks' run configuration should include the artifacts checks - [`KT-88767`](https://youtrack.jetbrains.com/issue/KT-88767) Refine the new resolution API - [`KT-89175`](https://youtrack.jetbrains.com/issue/KT-89175) Add contracts to the new resolution utilities - [`KT-84186`](https://youtrack.jetbrains.com/issue/KT-84186) Unresolved annotation `ClassId` returns "<error>" ##### Backend. J2KLIB - [`KT-88163`](https://youtrack.jetbrains.com/issue/KT-88163) Allow to disable firAggressivePrunner for Jklib ##### Backend. Wasm ##### New Features - [`KT-88027`](https://youtrack.jetbrains.com/issue/KT-88027) K/Wasm: Export `cabi_realloc` function from stdlib to support components ##### Performance Improvements - [`KT-91749`](https://youtrack.jetbrains.com/issue/KT-91749) Kotlin/Wasm: cos is \~47% slower in 2.5.0-RC than in 2.4.21 - [`KT-88469`](https://youtrack.jetbrains.com/issue/KT-88469) K/Wasm: consider inlining suspendCoroutineUninterceptedOrReturn and getCoroutineContext intrinsics on 2nd Stage ##### Fixes - [`KT-89394`](https://youtrack.jetbrains.com/issue/KT-89394) \[Wasm] stop creating of CoroutineImplStackSwitching at the call cite of suspendCoroutineUninterceptedOrReturn - [`KT-86242`](https://youtrack.jetbrains.com/issue/KT-86242) K/Wasm: deprecate and prohibit using `wasmExports` - [`KT-82950`](https://youtrack.jetbrains.com/issue/KT-82950) K/Wasm: stop providing `wasmExports` into generated JS files - [`KT-87862`](https://youtrack.jetbrains.com/issue/KT-87862) K/Wasm: introduce a separate diagnostic ID for companion object inside external interface - [`KT-87125`](https://youtrack.jetbrains.com/issue/KT-87125) K/Wasm: share a common base class for all suspend functions - [`KT-66089`](https://youtrack.jetbrains.com/issue/KT-66089) K/WASM: assertSame failed in test `static_smallIntIdentity.kt` - [`KT-89657`](https://youtrack.jetbrains.com/issue/KT-89657) \[Wasm] Insvestigate performance issues with primitive box caching - [`KT-91167`](https://youtrack.jetbrains.com/issue/KT-91167) K/Wasm: suspend lambda containing a suspend call triggers unrelated file-property initialization - [`KT-89267`](https://youtrack.jetbrains.com/issue/KT-89267) K/Wasm: calling a (T) -> R lambda with an argument that isn't a T traps instead of throwing ClassCastException - [`KT-87740`](https://youtrack.jetbrains.com/issue/KT-87740) K/Wasm: Incorrect wasm for codegen/box/basics/kt75483.kt - [`KT-90107`](https://youtrack.jetbrains.com/issue/KT-90107) Kotlin/Wasm: empty string passed to a component traps in cabi_realloc - [`KT-90119`](https://youtrack.jetbrains.com/issue/KT-90119) K/Wasm: ArenaLikeAllocator.allocationsToFree is only cleared on freeAllComponentModelReallocAllocatedMemory() - [`KT-89547`](https://youtrack.jetbrains.com/issue/KT-89547) \[Wasm] add test config for running stack switching with incremental compilation - [`KT-73452`](https://youtrack.jetbrains.com/issue/KT-73452) K/Wasm: turning on range checks by default - [`KT-87710`](https://youtrack.jetbrains.com/issue/KT-87710) \[K/Wasm] initialization order of companion objects from super types differs from JVM - [`KT-88291`](https://youtrack.jetbrains.com/issue/KT-88291) K/Wasm: Unsigned integer division by zero throws RuntimeError instead of ArithmeticException - [`KT-86207`](https://youtrack.jetbrains.com/issue/KT-86207) k/wasm: Add box tests/support for multi-value value classes and callable ref merging - [`KT-89345`](https://youtrack.jetbrains.com/issue/KT-89345) \[Wasm] look into and unmute some CallableReferences benchmarks for Single Module Mode - [`KT-89445`](https://youtrack.jetbrains.com/issue/KT-89445) Wasm: non-thread-safe instruction cache causes ClassCastException during parallel compilation - [`KT-89315`](https://youtrack.jetbrains.com/issue/KT-89315) K/Wasm Standard Library Tests: Assertions are not enabled - [`KT-89548`](https://youtrack.jetbrains.com/issue/KT-89548) \[Wasm] clean up type codegen for stack switching and avoid leaking too many continuation types to non-stdlib modules - [`KT-88235`](https://youtrack.jetbrains.com/issue/KT-88235) K/Wasm: Grouping test infra causes d8: error reading module error on Windows (path length problem?) - [`KT-87109`](https://youtrack.jetbrains.com/issue/KT-87109) K/Wasm: Companion block initializer block fails in multi-module scenario - [`KT-87329`](https://youtrack.jetbrains.com/issue/KT-87329) K/Wasm: child companion block static initializer runs before parent initializer in single-module mode - [`KT-87128`](https://youtrack.jetbrains.com/issue/KT-87128) K/Wasm: investigate possible optimization of suspend "helper" functions - [`KT-87687`](https://youtrack.jetbrains.com/issue/KT-87687) Investigate whether unboxing needed when accessing suspendResult in transformed doResume for suspend function - [`KT-87583`](https://youtrack.jetbrains.com/issue/KT-87583) Wasm IC cache is not invalidated when kotlin.wasm.compilationMode changes causing IndexOutOfBoundsException in WasmDeserializer - [`KT-88366`](https://youtrack.jetbrains.com/issue/KT-88366) \[Wasm] mute failing coroutines stack switching test via WASM_IGNORE_FOR directive - [`KT-88387`](https://youtrack.jetbrains.com/issue/KT-88387) K/Wasm: DWARF debuginfo accidentally swaps files and folders - [`KT-79411`](https://youtrack.jetbrains.com/issue/KT-79411) K/WasmJs: "Can't link symbol kotlin.js/js|js(kotlin.String){}\[0]" - [`KT-83171`](https://youtrack.jetbrains.com/issue/KT-83171) K/Wasm: Investigate import.meta usage in mjs files - [`KT-85772`](https://youtrack.jetbrains.com/issue/KT-85772) K/Wasm: implement companion blocks and extensions - [`KT-88543`](https://youtrack.jetbrains.com/issue/KT-88543) K/Wasm: Automatically clean test output by default - [`KT-88434`](https://youtrack.jetbrains.com/issue/KT-88434) K/Wasm: JS-to-Kotlin closure converter is shared between different external function types with the same JS-erased signature, injecting a wrong cast - [`KT-88808`](https://youtrack.jetbrains.com/issue/KT-88808) K\Wasm: separate CoroutineImpl and CoroutineImplStackSwitching - [`KT-87746`](https://youtrack.jetbrains.com/issue/KT-87746) K/Wasm: Investigate if it is possible to enable floating point const folding on Wasm backend - [`KT-87742`](https://youtrack.jetbrains.com/issue/KT-87742) K/Wasm: initialization of properties with default value different from JVM - [`KT-89009`](https://youtrack.jetbrains.com/issue/KT-89009) \[Wasm/MMCW] Compilation fail with exception on simple project - [`KT-89198`](https://youtrack.jetbrains.com/issue/KT-89198) K/Wasm: invalid Wasm code(ref.cast to wrong type) for bound reference to inner-class constructor ##### Compiler ##### New Features - [`KT-87767`](https://youtrack.jetbrains.com/issue/KT-87767) Add JVM target bytecode version 27 - [`KT-79656`](https://youtrack.jetbrains.com/issue/KT-79656) Use `org.jetbrains.annotations.UnmodifiableView` and/or `org.jetbrains.annotations.Unmodifiable` to infer read-only types for Java entities - [`KT-89201`](https://youtrack.jetbrains.com/issue/KT-89201) Implement "Strict equality for structural classes" - [`KT-87345`](https://youtrack.jetbrains.com/issue/KT-87345) Swift Export: Support proper exception throwing from sync bridges in cross-language inheritance - [`KT-80943`](https://youtrack.jetbrains.com/issue/KT-80943) Context-sensitive resolution fails to look further than a type - [`KT-89096`](https://youtrack.jetbrains.com/issue/KT-89096) Rich Errors: Parser & PSI - [`KT-86868`](https://youtrack.jetbrains.com/issue/KT-86868) Update checkers to support `lateinit val` - [`KT-86124`](https://youtrack.jetbrains.com/issue/KT-86124) Set attribute `equalityBoundType` to parameters - [`KT-89098`](https://youtrack.jetbrains.com/issue/KT-89098) Rich Errors: Resolution - [`KT-89103`](https://youtrack.jetbrains.com/issue/KT-89103) Rich Errors: Checkers - [`KT-89097`](https://youtrack.jetbrains.com/issue/KT-89097) Rich Errors: FIR Tree - [`KT-2264`](https://youtrack.jetbrains.com/issue/KT-2264) Emit a warning about ignored (unused) binary operation result - [`KT-80964`](https://youtrack.jetbrains.com/issue/KT-80964) Improve error messages for compile-time constants - [`KT-87412`](https://youtrack.jetbrains.com/issue/KT-87412) Kotlin/Native: use JVM-like class initialization scheme with CompanionBlocksAndExtensions - [`KT-83040`](https://youtrack.jetbrains.com/issue/KT-83040) Collection literals: ensure normal interaction with CFG - [`KT-85925`](https://youtrack.jetbrains.com/issue/KT-85925) Native: rework virtual trampolines machinery - [`KT-68819`](https://youtrack.jetbrains.com/issue/KT-68819) Don't report "no corresponding expect/actual declaration" when signature contains error types - [`KT-58562`](https://youtrack.jetbrains.com/issue/KT-58562) More concise error for "Incompatible classes were found in dependencies" - [`KT-81676`](https://youtrack.jetbrains.com/issue/KT-81676) Improve error reporting for underscores as type parameters - [`KT-87422`](https://youtrack.jetbrains.com/issue/KT-87422) Smart casts inside the body of strict `equals` - [`KT-86127`](https://youtrack.jetbrains.com/issue/KT-86127) Add smart casts based on strict operator equals - [`KT-87420`](https://youtrack.jetbrains.com/issue/KT-87420) Set `equalityBoundType` attribute for generated equals in data and value classes - [`KT-87417`](https://youtrack.jetbrains.com/issue/KT-87417) Generate prologue of strict equals in Fir2Ir - [`KT-87498`](https://youtrack.jetbrains.com/issue/KT-87498) Strict equals x interface delegation - [`KT-87418`](https://youtrack.jetbrains.com/issue/KT-87418) Incompatible `==` / `!=` checks based on `@EqualityBound` - [`KT-86129`](https://youtrack.jetbrains.com/issue/KT-86129) Strict `equals` checks - [`KT-87419`](https://youtrack.jetbrains.com/issue/KT-87419) (De)serialize attribute set for strict `equals` - [`KT-88415`](https://youtrack.jetbrains.com/issue/KT-88415) Java type enhancement: support org.chromium.build.annotations nullability annotations as JSpecify equivalents ##### Performance Improvements - [`KT-91549`](https://youtrack.jetbrains.com/issue/KT-91549) Slowdown in compose benchmarks in Float.fromBits - [`KT-88352`](https://youtrack.jetbrains.com/issue/KT-88352) JVM: redundant `Character` box/unbox and `Ref.IntRef` when a bound callable reference is passed to an inline function from within another inlined lambda - [`KT-89131`](https://youtrack.jetbrains.com/issue/KT-89131) JVM: Hoist ResultKt.throwOnFailure out of SuspendLambda.invokeSuspend switch cases - [`KT-87570`](https://youtrack.jetbrains.com/issue/KT-87570) Kotlin/Native: improve RemoveRedundantCallsToStaticInitializersPhase - [`KT-89840`](https://youtrack.jetbrains.com/issue/KT-89840) Native: bad incremental clean build performance - [`KT-57995`](https://youtrack.jetbrains.com/issue/KT-57995) Extra anonymous class is created for lambda after upgrading from Kotlin 1.6.10 to 1.7.20 - [`KT-86022`](https://youtrack.jetbrains.com/issue/KT-86022) K2 frontend hangs in approximateToSuperTypeWithRecursionPrevention - [`KT-66469`](https://youtrack.jetbrains.com/issue/KT-66469) Long compilation with mockk import - [`KT-83068`](https://youtrack.jetbrains.com/issue/KT-83068) Investigate long compilation times with many generics & overloads - [`KT-69758`](https://youtrack.jetbrains.com/issue/KT-69758) FastJarFS - avoid copying data on inflating (JDK 16+) - [`KT-87896`](https://youtrack.jetbrains.com/issue/KT-87896) Make check for JvmFieldApplicabilityProblem.NOT_PUBLIC_VAL_WITH_JVMFIELD not quadratic - [`KT-87952`](https://youtrack.jetbrains.com/issue/KT-87952) Bound receiver wrapped in a cast is needlessly stored in a `$receiver` field for property reference delegation - [`KT-87033`](https://youtrack.jetbrains.com/issue/KT-87033) \[Native] Optimize dumpObjcSelectorToSignatureMapping to execute during frontend phase, bypassing IR linking - [`KT-88435`](https://youtrack.jetbrains.com/issue/KT-88435) Kotlin/Native: Avoid redundant filtering in DevirtualizationAnalysis - [`KT-88383`](https://youtrack.jetbrains.com/issue/KT-88383) K/N CallGraph: Eager check before pushing elements onto the stack - [`KT-85899`](https://youtrack.jetbrains.com/issue/KT-85899) Performance problem around the second incorporation kind - [`KT-52283`](https://youtrack.jetbrains.com/issue/KT-52283) Never ending type inference while compiling Kotlin code with lots of self pointing generics - [`KT-49139`](https://youtrack.jetbrains.com/issue/KT-49139) NI: EnumMap constructor call in Kotlin source causes OutOfMemoryError during compilation and analysis in IntelliJ Idea - [`KT-615`](https://youtrack.jetbrains.com/issue/KT-615) Optimize instanceof check for nullable type - [`KT-89224`](https://youtrack.jetbrains.com/issue/KT-89224) Significant performance drop in MT intellij (checkers) ##### Fixes - [`KT-87295`](https://youtrack.jetbrains.com/issue/KT-87295) Enable Return Value Checker by default - [`KT-86086`](https://youtrack.jetbrains.com/issue/KT-86086) Make `IntrinsicConstEvaluation` feature stable - [`KT-89646`](https://youtrack.jetbrains.com/issue/KT-89646) Add JVM target bytecode version 28 - [`KT-81760`](https://youtrack.jetbrains.com/issue/KT-81760) Kotlin/Native: incosistent handling of clashing declarations - [`KT-61582`](https://youtrack.jetbrains.com/issue/KT-61582) Kotlin/Native: deprecate and remove -generate-worker-test-runner - [`KT-80005`](https://youtrack.jetbrains.com/issue/KT-80005) Kotlin/Native: remove eager GlobalData initialization - [`KT-86132`](https://youtrack.jetbrains.com/issue/KT-86132) Drop support of language versions 2.0 and 2.1 - [`KT-84904`](https://youtrack.jetbrains.com/issue/KT-84904) Alpha release of Multi-Field Value Classes - [`KT-86131`](https://youtrack.jetbrains.com/issue/KT-86131) Deprecate language version 2.2 - [`KT-90589`](https://youtrack.jetbrains.com/issue/KT-90589) K/N: Debug static framework with a Kotlin subclass of NSObject does not link without -dead_strip: undefined "\_kfun:platform.darwin.NSObject#objc:\*-impl" - [`KT-86740`](https://youtrack.jetbrains.com/issue/KT-86740) K/JS: IllegalStateException "Serialization of IrErrorType is not supported" when type variable is inferred into empty intersection - [`KT-91524`](https://youtrack.jetbrains.com/issue/KT-91524) Callable references to declarations with context parameters get the "unsupported" error while being available through the compiler argument - [`KT-90233`](https://youtrack.jetbrains.com/issue/KT-90233) Compiler: allow inline value modifier combination - [`KT-89985`](https://youtrack.jetbrains.com/issue/KT-89985) InnerClasses entries lack ACC_IDENTITY with -Xjvm-enable-preview on JVM target 28 - [`KT-84562`](https://youtrack.jetbrains.com/issue/KT-84562) Get rid of usages of `@K1Deprecation`-annotated declarations in JVM backend - [`KT-89687`](https://youtrack.jetbrains.com/issue/KT-89687) \[JVM] SpecialBuiltinsMapping.getDifferentNameForJvmBuiltinFunction computes JVM signature of the sub-declaration instead of the overridden built-in - [`KT-88455`](https://youtrack.jetbrains.com/issue/KT-88455) AssertionError "Inconsistent target list for lambda annotation" when Java annotation applied to lambda - [`KT-89698`](https://youtrack.jetbrains.com/issue/KT-89698) JVM: `@Throws` is copied onto a bridge only when the overridden method is compiled from source, so incremental and clean builds produce different class files (JvmEnhancedBridges, 2.4.0) - [`KT-89504`](https://youtrack.jetbrains.com/issue/KT-89504) VerifyError: Bad type on operand stack with startCoroutine on smart-casted nullable suspend function type - [`KT-87922`](https://youtrack.jetbrains.com/issue/KT-87922) K1FakeDescriptorsForReferencesKt classes duplicated between kotlin-scripting-compiler-embeddable and kotlin-build-tools-impl - [`KT-87983`](https://youtrack.jetbrains.com/issue/KT-87983) CCE on member extension property delegated to bound property reference - [`KT-87499`](https://youtrack.jetbrains.com/issue/KT-87499) ClassCastException "Float cannot be cast to Unit" when a suspend function's result is discarded in a when-branch - [`KT-89915`](https://youtrack.jetbrains.com/issue/KT-89915) JVM: ClassCastException 'kotlin.Result cannot be cast to ...' in an indy SAM-converted lambda whose Java SAM parameter is `@NotNull` - [`KT-89653`](https://youtrack.jetbrains.com/issue/KT-89653) Native: failing lldb tests with state checker enabled - [`KT-90235`](https://youtrack.jetbrains.com/issue/KT-90235) Compiler (JVM): drop requirement of `@JvmInline` for inline value class - [`KT-90234`](https://youtrack.jetbrains.com/issue/KT-90234) Compiler: don't report inline modifier is deprecated in combination with value - [`KT-89933`](https://youtrack.jetbrains.com/issue/KT-89933) Incorrect highlighting of a KDoc with a code block with comments - [`KT-90321`](https://youtrack.jetbrains.com/issue/KT-90321) K2 IDE: "Multiple plugins generated nested class with same name Companion" floods the IDE log for a class with `@Slf4j` (Lombok) and `@Serializable` - [`KT-91112`](https://youtrack.jetbrains.com/issue/KT-91112) Type inference: reified Enum<T> inferred as Nothing for a function-reference extension call since Kotlin 2.5 - [`KT-90707`](https://youtrack.jetbrains.com/issue/KT-90707) Parser: "Expecting ';' after the last enum entry" when an enum entry named error has arguments or a body - [`KT-90315`](https://youtrack.jetbrains.com/issue/KT-90315) Value classes resolved first as a supertype are treated as identity classes - [`KT-87569`](https://youtrack.jetbrains.com/issue/KT-87569) Support Valhalla for Kotlin Inline and Full Value Classes - [`KT-89433`](https://youtrack.jetbrains.com/issue/KT-89433) Frontend: Metadata of abstract/sealed full value classes declares equals/hashCode/toString that the JVM backend does not generate - [`KT-88589`](https://youtrack.jetbrains.com/issue/KT-88589) Full Value Classes: irrelevant SMARTCAST_IMPOSSIBLE for value class implemented in another module - [`KT-86556`](https://youtrack.jetbrains.com/issue/KT-86556) Account for CSR in compiler required annotations transformer - [`KT-90051`](https://youtrack.jetbrains.com/issue/KT-90051) K/N: IrConstructorCallImpl is not expected crash in file lowering when `@Entity` uses `@Index` with vararg + default parameters - [`KT-88316`](https://youtrack.jetbrains.com/issue/KT-88316) K/N: StackOverflowError in CastsOptimization when two nullable local variables are assigned to each other across nested loops - [`KT-88007`](https://youtrack.jetbrains.com/issue/KT-88007) Don't report `equals(Any?)` in companion blocks of interfaces - [`KT-87437`](https://youtrack.jetbrains.com/issue/KT-87437) Restrict interface companion block properties - [`KT-82676`](https://youtrack.jetbrains.com/issue/KT-82676) Replace reflection-based RuntimeFeatureToFlagMap with code generation - [`KT-87825`](https://youtrack.jetbrains.com/issue/KT-87825) Implement new frontend rules for companion blocks in interfaces - [`KT-88408`](https://youtrack.jetbrains.com/issue/KT-88408) \[IR] Consider eliminating `ModuleDescriptor` from `IrActualizer` module diagnostics - [`KT-87505`](https://youtrack.jetbrains.com/issue/KT-87505) False positive `INVALID_VERSIONING_ON_VALUE_CLASS_PARAMETER` on value class secondary constructor with `@IntroducedAt` - [`KT-85879`](https://youtrack.jetbrains.com/issue/KT-85879) Get rid of second incorporation kind in inference - [`KT-87777`](https://youtrack.jetbrains.com/issue/KT-87777) K/N IC: "Undefined symbols for architecture" when an inherited open method becomes final - [`KT-89892`](https://youtrack.jetbrains.com/issue/KT-89892) \[K/N] latin1Strings binary option is ignored with caches - [`KT-87904`](https://youtrack.jetbrains.com/issue/KT-87904) Incorrect $default method/constructor signatures when `@JvmInline` value class parameter type is absent from compilation classpath - [`KT-89980`](https://youtrack.jetbrains.com/issue/KT-89980) K2 loads full value classes from klibs without their value class representation - [`KT-87330`](https://youtrack.jetbrains.com/issue/KT-87330) Introduce Static Initialization Control Flow Graph for Classes - [`KT-89876`](https://youtrack.jetbrains.com/issue/KT-89876) K/N IC: "File … is not found in cache" after a file is renamed or moved to another module (stale weak dependency) - [`KT-87452`](https://youtrack.jetbrains.com/issue/KT-87452) Fix remaining issues in companion blocks and extensions on JVM - [`KT-10001`](https://youtrack.jetbrains.com/issue/KT-10001) False unnecessary non-null assertion on a pair element - [`KT-6843`](https://youtrack.jetbrains.com/issue/KT-6843) NPE in REPL - [`KT-46419`](https://youtrack.jetbrains.com/issue/KT-46419) FIR: Investigate how integer-literal resolution works - [`KT-63741`](https://youtrack.jetbrains.com/issue/KT-63741) K2: fix visibility inference with overridden + inherited member - [`KT-81874`](https://youtrack.jetbrains.com/issue/KT-81874) NPE related to data race during Application disposal - [`KT-74051`](https://youtrack.jetbrains.com/issue/KT-74051) Add a Continuation for tail-call suspend functions - [`KT-89112`](https://youtrack.jetbrains.com/issue/KT-89112) Move transformation `arrayOf(...)` -> `[...]` in annotations to constant evaluator - [`KT-89374`](https://youtrack.jetbrains.com/issue/KT-89374) Companion blocks: false positive PROPERTY_WITH_BACKING_FIELD_INSIDE_VALUE_CLASS for property inside companion block of value class - [`KT-88520`](https://youtrack.jetbrains.com/issue/KT-88520) Equality applicability checker should account for custom equals in full value classes - [`KT-84001`](https://youtrack.jetbrains.com/issue/KT-84001) KIAEWA: Exception in type checkers when classpath contains newer Kotlin-compiled dependencies - [`KT-86888`](https://youtrack.jetbrains.com/issue/KT-86888) Update PersistentMultimap to follow persistent collection naming conventions - [`KT-70118`](https://youtrack.jetbrains.com/issue/KT-70118) \[KLIB Resolve] Stop using depends= property of klib manifest when building caches in Native - [`KT-89453`](https://youtrack.jetbrains.com/issue/KT-89453) `INVALID_NON_OPTIONAL_PARAMETER_POSITION` ignores `expect`-chain defaults - [`KT-89457`](https://youtrack.jetbrains.com/issue/KT-89457) companion block on `@JvmRecord` class cannot be compiled - [`KT-85168`](https://youtrack.jetbrains.com/issue/KT-85168) Generate static initializers as proper IR functions - [`KT-85104`](https://youtrack.jetbrains.com/issue/KT-85104) JVM compilation error when having TODO() as a parameter default value of an inline function when adding a call to it - [`KT-82959`](https://youtrack.jetbrains.com/issue/KT-82959) IllegalArgumentException: Unhandled intrinsic in ExpressionCodegen for generated top-level declarations - [`KT-89259`](https://youtrack.jetbrains.com/issue/KT-89259) Collection literals: enabling `+CollectionLiteralsBasedAnnotationResolution` causes `MISSING_DEPENDENCY_CLASS` - [`KT-89475`](https://youtrack.jetbrains.com/issue/KT-89475) Missed MISSING_DEPENDENCY_SUPERCLASS for parameters of value classes - [`KT-89391`](https://youtrack.jetbrains.com/issue/KT-89391) KMP separate compilation: false-positive `EXPECT_ACTUAL_IR_MISMATCH` on declarations from friend dependencies - [`KT-86282`](https://youtrack.jetbrains.com/issue/KT-86282) Implement FIR builder based on KMP parser - [`KT-79562`](https://youtrack.jetbrains.com/issue/KT-79562) NPE when passing non-lambda argument of nullable non-suspend function type into function that accepts nullable suspend function type - [`KT-89466`](https://youtrack.jetbrains.com/issue/KT-89466) KMP Separate Compilation: NoSuchElementException in case of classpath substitution - [`KT-73165`](https://youtrack.jetbrains.com/issue/KT-73165) "ANNOTATION_ARGUMENT_MUST_BE_CONST" caused by Enum name as a constant in Annotation - [`KT-89157`](https://youtrack.jetbrains.com/issue/KT-89157) Remove temporary useless casts introduced by KT-79212 - [`KT-89206`](https://youtrack.jetbrains.com/issue/KT-89206) Inlining of TODO() as a default value leads to an internal error - [`KT-89533`](https://youtrack.jetbrains.com/issue/KT-89533) class KtValueArgument is not a subtype of class KtCollectionLiteralExpression for factory UNRESOLVED_COLLECTION_LITERAL - [`KT-88081`](https://youtrack.jetbrains.com/issue/KT-88081) Normalize Double.NaN and Float.NaN after constant evaluation - [`KT-89430`](https://youtrack.jetbrains.com/issue/KT-89430) Don't store raw-fir generated tests in git - [`KT-86095`](https://youtrack.jetbrains.com/issue/KT-86095) "VerifyError: Bad type on operand stack" when inline+crossinline function returns anonymous object overriding internal suspend fun with yield() - [`KT-83304`](https://youtrack.jetbrains.com/issue/KT-83304) Context sensitive resolution doesn't work on mutable collection operators (no explicit import from enum) - [`KT-81558`](https://youtrack.jetbrains.com/issue/KT-81558) Context-sensitive resolution cannot resolve an unqualified enum entry in Gradle `Property<T>`-like cases - [`KT-89642`](https://youtrack.jetbrains.com/issue/KT-89642) Disable feature typed equals in value classes for full value classes - [`KT-87531`](https://youtrack.jetbrains.com/issue/KT-87531) AbstractMethodError on intersection override with `@JvmField` property when accessing property through interface - [`KT-89415`](https://youtrack.jetbrains.com/issue/KT-89415) Refactor logic around FirParser.LightTree/MultiplatformParsing and USE_LIGHT_TREE configuration flag - [`KT-80383`](https://youtrack.jetbrains.com/issue/KT-80383) Getter without a body is allowed on a property with an explicit backing field - [`KT-89641`](https://youtrack.jetbrains.com/issue/KT-89641) Verify JS export works for full value classes - [`KT-20245`](https://youtrack.jetbrains.com/issue/KT-20245) NoSuchFieldError on usage of crossinline lambda in anonymous object inside another anonymous object in inline function - [`KT-82900`](https://youtrack.jetbrains.com/issue/KT-82900) Language Feature EnhancedBridgesGeneration - [`KT-89407`](https://youtrack.jetbrains.com/issue/KT-89407) When frontend reports diagnostic on null source, report as sourceless diagnostic - [`KT-89476`](https://youtrack.jetbrains.com/issue/KT-89476) Diagnostic for incorrect `@EagerInitialization` usage - [`KT-89068`](https://youtrack.jetbrains.com/issue/KT-89068) JvmExposeBoxed: secondary constructor of inline class is never exposed - [`KT-89063`](https://youtrack.jetbrains.com/issue/KT-89063) JvmExposeBoxed allows to generate invalid Java method names - [`KT-83419`](https://youtrack.jetbrains.com/issue/KT-83419) K2: CCE when `inline` lambda changes a `var` involved in an `implies` contract - [`KT-89121`](https://youtrack.jetbrains.com/issue/KT-89121) \[Native] `@BindClassToObjCName` adapters from a cached module never reach Kotlin_ObjCExport_sorted{Class,Protocol}Adapters - [`KT-89744`](https://youtrack.jetbrains.com/issue/KT-89744) Apostrophe in an escaped identifier corrupts ARGUMENT_TYPE_MISMATCH diagnostic rendering - [`KT-89341`](https://youtrack.jetbrains.com/issue/KT-89341) KMP separate compilation: false-positive EXPECT_ACTUAL_IR_MISMATCH on members of inner class with generics in outer class - [`KT-89635`](https://youtrack.jetbrains.com/issue/KT-89635) False "Return type mismatch" in interface delegation when the delegated function with an implicit return type is declared in another file - [`KT-89762`](https://youtrack.jetbrains.com/issue/KT-89762) KMP Separate Compilation: EXPECT_ACTUAL_IR_MISMATCH caused by accessing a java field in a single platform project - [`KT-83340`](https://youtrack.jetbrains.com/issue/KT-83340) Investigate need of `KtRegisteredDiagnosticFactoriesStorage` component in AA mode - [`KT-74793`](https://youtrack.jetbrains.com/issue/KT-74793) Parser: Property accessor of a non-local destructuring declaration leads to exceptions - [`KT-89168`](https://youtrack.jetbrains.com/issue/KT-89168) Reflection: support getDelegate() for companion block properties in interfaces - [`KT-81075`](https://youtrack.jetbrains.com/issue/KT-81075) False negative MISSING_DEPENDENCY_SUPERCLASS on unresolved supertype of SAM constructor - [`KT-86380`](https://youtrack.jetbrains.com/issue/KT-86380) New inline variables scheme: addition of this variable - [`KT-89834`](https://youtrack.jetbrains.com/issue/KT-89834) Drop RawFirBuilderTotalKotlinTestCase.testPsiConsistency - [`KT-77583`](https://youtrack.jetbrains.com/issue/KT-77583) K2: Support repl snippets with LightTree/KMP-based raw FIR building - [`KT-74304`](https://youtrack.jetbrains.com/issue/KT-74304) K2: WRAPPED_LHS_IN_ASSIGNMENT on annotations - [`KT-75366`](https://youtrack.jetbrains.com/issue/KT-75366) Provide proper keys for ScopeSession#getOrBuild usages - [`KT-89770`](https://youtrack.jetbrains.com/issue/KT-89770) KMP separate compilation reports EXTERNAL_TYPE_EXTENDS_NON_EXTERNAL_TYPE for external class extending JsAny - [`KT-89584`](https://youtrack.jetbrains.com/issue/KT-89584) Build rich references for suspend conversion & SAM constructor references - [`KT-89837`](https://youtrack.jetbrains.com/issue/KT-89837) Correctly evaluate `name` for declaration that are imported with different name - [`KT-34051`](https://youtrack.jetbrains.com/issue/KT-34051) UnsupportedOperationException when using reified type inside lambda in inline function - [`KT-86093`](https://youtrack.jetbrains.com/issue/KT-86093) Context sensitive resolution does not apply if simple access is resolved to invisible qualifier - [`KT-83498`](https://youtrack.jetbrains.com/issue/KT-83498) Implement LT support in the K2 REPL - [`KT-89790`](https://youtrack.jetbrains.com/issue/KT-89790) Improve error reporting around new compilation scheme - [`KT-89751`](https://youtrack.jetbrains.com/issue/KT-89751) K2 REPL: contracts of functions are not resolved inside REPL snippets - [`KT-89769`](https://youtrack.jetbrains.com/issue/KT-89769) FIR2IR throws "IR class for <X> not found" when a class's supertype isn't exposed via `api` - [`KT-87149`](https://youtrack.jetbrains.com/issue/KT-87149) Drop K1-dependent parts of the scripting compiler plugin - [`KT-87856`](https://youtrack.jetbrains.com/issue/KT-87856) Investigate failures in scripting tests after a full switch to K2 - [`KT-89416`](https://youtrack.jetbrains.com/issue/KT-89416) Native: top-level properties are not initialized when checked for initialization state from another class - [`KT-89313`](https://youtrack.jetbrains.com/issue/KT-89313) DNN in supertype leads to compiler crash - [`KT-87596`](https://youtrack.jetbrains.com/issue/KT-87596) Kotlin/Native: port calls checker to LLVM pass - [`KT-89576`](https://youtrack.jetbrains.com/issue/KT-89576) PSI path in script compilation still depends on K1 - [`KT-47891`](https://youtrack.jetbrains.com/issue/KT-47891) JVM: "IllegalStateException: Bad exception handler end" with nested try/run/finally blocks - [`KT-89232`](https://youtrack.jetbrains.com/issue/KT-89232) Align context-sensitive resolution with how collection literals are resolved - [`KT-89410`](https://youtrack.jetbrains.com/issue/KT-89410) Introduce WillBecomeValue annotation - [`KT-82548`](https://youtrack.jetbrains.com/issue/KT-82548) K2: report a warning about annotations which target non-existent accessors - [`KT-89461`](https://youtrack.jetbrains.com/issue/KT-89461) KMP separate compilation: Incorrect fake-override is e/a mismatched in case of duplicated supertype in dependency class - [`KT-86793`](https://youtrack.jetbrains.com/issue/KT-86793) setupCommonOptionsForCaches does not forward pagedAllocator (and other runtime constant options) to cache sub-compilations - [`KT-39697`](https://youtrack.jetbrains.com/issue/KT-39697) "Cannot infer type parameter" in map with java static or global method reference - [`KT-89451`](https://youtrack.jetbrains.com/issue/KT-89451) Suspend conversion: a `null` argument arrives non-null - [`KT-85853`](https://youtrack.jetbrains.com/issue/KT-85853) CompanionBlocksAndExtensions: companion block val in interface generates illegal private static field (ClassFormatError 0x1A) - [`KT-90169`](https://youtrack.jetbrains.com/issue/KT-90169) Callable references: Array passed as a single vararg element for generic vararg function since 2.4.0 - [`KT-89655`](https://youtrack.jetbrains.com/issue/KT-89655) Prohibit lateinit in companion blocks in interfaces - [`KT-90014`](https://youtrack.jetbrains.com/issue/KT-90014) K2 / JVM: `IllegalStateException: Don't know how to compile annotation value ERROR_CALL 'Unresolved reference: <Strange deserialized enum value: ...>'` when delegating to a Java interface annotated with a nested Kotlin enum - [`KT-89390`](https://youtrack.jetbrains.com/issue/KT-89390) K/N IC: per-file caches are not invalidated when toggling -Xcompanion-blocks - [`KT-89983`](https://youtrack.jetbrains.com/issue/KT-89983) Partial linkage doesn't report a value class whose superclass became an identity class - [`KT-89982`](https://youtrack.jetbrains.com/issue/KT-89982) No warning for Kotlin/Native WeakReference and createCleaner on value class and primitive instances - [`KT-90352`](https://youtrack.jetbrains.com/issue/KT-90352) K/N: with -Xcompanion-blocks-and-extensions, a Kotlin subclass of an Objective-C class fails to link (undefined $clinit_trigger of the ObjC supertypes) - [`KT-88576`](https://youtrack.jetbrains.com/issue/KT-88576) False-negative `OVERLOAD_RESOLUTION_AMBIGUITY` on increment call in recursive initializer - [`KT-87887`](https://youtrack.jetbrains.com/issue/KT-87887) KJS: Prefix increment on dynamic array access is lowered into no-op - [`KT-84802`](https://youtrack.jetbrains.com/issue/KT-84802) Add new synthetic class flag to JVM metadata - [`KT-89049`](https://youtrack.jetbrains.com/issue/KT-89049) JVM: do not generate DefaultImpls for companion block functions - [`KT-85307`](https://youtrack.jetbrains.com/issue/KT-85307) "Type argument is not within its bounds" for Java classes with recursive generic bounds (F-bounded polymorphism) - [`KT-87676`](https://youtrack.jetbrains.com/issue/KT-87676) Context Parameters: Cannot find local variable '$context-String' with type java.lang.String when evaluating contextual call that uses lambda context parameter - [`KT-88312`](https://youtrack.jetbrains.com/issue/KT-88312) Implement 'returnsParameter' contract - [`KT-89184`](https://youtrack.jetbrains.com/issue/KT-89184) JVM: anonymous function SAM-converted via invokedynamic loses its non-null parameter assertion - [`KT-11474`](https://youtrack.jetbrains.com/issue/KT-11474) ISE: Requested A, got foo.A in JavaClassFinderImpl on Java file with package not matching directory - [`KT-89651`](https://youtrack.jetbrains.com/issue/KT-89651) POSITIONED_VALUE_ARGUMENT_FOR_JAVA_ANNOTATION_WARNING is not reported for usage of Java annotation typealias - [`KT-89561`](https://youtrack.jetbrains.com/issue/KT-89561) Performance regression in body resolve around 8-10 Sep 2026 - [`KT-88667`](https://youtrack.jetbrains.com/issue/KT-88667) False negative POSITIONED_VALUE_ARGUMENT_FOR_JAVA_ANNOTATION on `@get`: use-site target and annotation constructor call - [`KT-86453`](https://youtrack.jetbrains.com/issue/KT-86453) K2: Generate IrRich\*Reference for all kinds of references - [`KT-87284`](https://youtrack.jetbrains.com/issue/KT-87284) Implement type conversion from ILT/builtin numeric types into types marked with a special annotation - [`KT-79212`](https://youtrack.jetbrains.com/issue/KT-79212) Resolve new type for class literal of unbounded reified type parameter - [`KT-88715`](https://youtrack.jetbrains.com/issue/KT-88715) K/N: "Argument list too long" when linking with a large number of included static libraries - [`KT-89589`](https://youtrack.jetbrains.com/issue/KT-89589) RuntimeException when const evaluation is made inside a companion block of a local class - [`KT-33232`](https://youtrack.jetbrains.com/issue/KT-33232) DEPRECATED_JAVA_ANNOTATION: false positive for "Deprecated" annotation with "forRemoval" or "since" arguments - [`KT-89527`](https://youtrack.jetbrains.com/issue/KT-89527) Type arguments are allowed (and unresolved) with context sensitive resolution - [`KT-89523`](https://youtrack.jetbrains.com/issue/KT-89523) MFVCs don't allow version overloads - [`KT-57802`](https://youtrack.jetbrains.com/issue/KT-57802) K2: Backend Internal error: RecordEnclosingMethodsLowering.kt - [`KT-59526`](https://youtrack.jetbrains.com/issue/KT-59526) Store annotation default values in metadata on JVM - [`KT-82132`](https://youtrack.jetbrains.com/issue/KT-82132) False-positive type mismatch with -language-version 2.2 - [`KT-71854`](https://youtrack.jetbrains.com/issue/KT-71854) K2 IDE. False positive red code because of external annotation on a generic parameter - [`KT-63454`](https://youtrack.jetbrains.com/issue/KT-63454) Properly check that inline fun is in the same module as callee in `IrSourceCompilerForInline` - [`KT-85188`](https://youtrack.jetbrains.com/issue/KT-85188) Don't poison binaries with companion blocks & extensions for LV >= 2.5 - [`KT-85230`](https://youtrack.jetbrains.com/issue/KT-85230) False negative deprecation diagnostics on import of member of nested class - [`KT-80247`](https://youtrack.jetbrains.com/issue/KT-80247) No diagnostic on unresolved type annotation from a dependency in an inferred type - [`KT-86524`](https://youtrack.jetbrains.com/issue/KT-86524) JvmExposeBoxed: Collection does not implement abstract method - [`KT-86464`](https://youtrack.jetbrains.com/issue/KT-86464) Support `isPublicAbi` JVM metadata flag for anonymous and synthetic local classes - [`KT-85764`](https://youtrack.jetbrains.com/issue/KT-85764) Native: Prohibit compiling sources in 'kotlin' package by default - [`KT-86905`](https://youtrack.jetbrains.com/issue/KT-86905) DFA-based exhaustiveness bug with implicit companion access - [`KT-87347`](https://youtrack.jetbrains.com/issue/KT-87347) False negative NON_ABSTRACT_FUNCTION_WITH_NO_BODY/MUST_BE_INITIALIZED for companion block member in interface - [`KT-87360`](https://youtrack.jetbrains.com/issue/KT-87360) False positive DELEGATED_PROPERTY_IN_INTERFACE for delegated companion block member in interface - [`KT-87364`](https://youtrack.jetbrains.com/issue/KT-87364) False positive BACKING_FIELD_IN_INTERFACE on companion block member in interface - [`KT-87351`](https://youtrack.jetbrains.com/issue/KT-87351) False positive WRONG_MODIFIER_CONTAINING_DECLARATION on internal companion block members in interface - [`KT-87413`](https://youtrack.jetbrains.com/issue/KT-87413) CompanionBlocksAndExtensions: impossible to use field in companion extension properties getters/setters - [`KT-87507`](https://youtrack.jetbrains.com/issue/KT-87507) False-positive `ABSTRACT_CLASS_MEMBER_NOT_IMPLEMENTED` on fake-override with value parameter of type missing in dependencies - [`KT-30062`](https://youtrack.jetbrains.com/issue/KT-30062) "AssertionError: Recursion detected on input" with class implementing itself by delegation - [`KT-85417`](https://youtrack.jetbrains.com/issue/KT-85417) K2: False negative SUBCLASS_CANT_CALL_COMPANION_PROTECTED_NON_STATIC diagnostic when superclass is generic - [`KT-73771`](https://youtrack.jetbrains.com/issue/KT-73771) K2: Infinite compilation caused by buildList without type - [`KT-83575`](https://youtrack.jetbrains.com/issue/KT-83575) Native: perf logging doesn't work correctly for subcompilations (like per-file caches) - [`KT-87278`](https://youtrack.jetbrains.com/issue/KT-87278) Smartcast to `Any` in RHS of `==` with nullable type parameter - [`KT-87520`](https://youtrack.jetbrains.com/issue/KT-87520) Implicit JvmExposeBoxed breaks delegation by interface - [`KT-87592`](https://youtrack.jetbrains.com/issue/KT-87592) Kotlin/Native: make remove redundant safepoints phase a proper LLVM pass - [`KT-72706`](https://youtrack.jetbrains.com/issue/KT-72706) Confusing "INVISIBLE_REFERENCE" when calling private constructor - [`KT-84406`](https://youtrack.jetbrains.com/issue/KT-84406) Remove support for IR serialization in JVM - [`KT-82677`](https://youtrack.jetbrains.com/issue/KT-82677) Switch latest stable version in Kotlin project to 2.5 - [`KT-87194`](https://youtrack.jetbrains.com/issue/KT-87194) K/N IC: changing an external library to an already-cached version in \~/.konan doesn't rebuild application's cache - [`KT-87504`](https://youtrack.jetbrains.com/issue/KT-87504) Do not make `@IntroducedAt` a compiler-required annotation - [`KT-87550`](https://youtrack.jetbrains.com/issue/KT-87550) Drop the "too complex expression" error with `@IntroducedAt` - [`KT-87273`](https://youtrack.jetbrains.com/issue/KT-87273) K/N IC: cinterop klib caches are not recompiled - [`KT-86332`](https://youtrack.jetbrains.com/issue/KT-86332) False positive MISSING_DEPENDENCY_IN_INFERRED_TYPE_ANNOTATION for implicit lambda parameters with inaccessible type annotations - [`KT-87335`](https://youtrack.jetbrains.com/issue/KT-87335) Context parameters: wrong LINENUMBER emitted for context argument loads in JVM bytecode - [`KT-84780`](https://youtrack.jetbrains.com/issue/KT-84780) The INITIALIZER_TYPE_MISMATCH diagnostic is reported on the assignment operator (=) instead of the initializer expression when there is a type mismatch - [`KT-87073`](https://youtrack.jetbrains.com/issue/KT-87073) CompanionBlocksAndExtensions: calling companion extension function from project/binary dependency fails with java.lang.IndexOutOfBoundsException - [`KT-87775`](https://youtrack.jetbrains.com/issue/KT-87775) Incorrect RETURN_VALUE_NOT_USED_COERCION where regular 'Return value not used' was expected - [`KT-86554`](https://youtrack.jetbrains.com/issue/KT-86554) Check suspicious when over ConeKotlinType in JavaOverrideChecker - [`KT-87786`](https://youtrack.jetbrains.com/issue/KT-87786) Make `ConeLookupTagBasedType` into a sealed class - [`KT-87606`](https://youtrack.jetbrains.com/issue/KT-87606) Compiler crash on red code with redeclaration of type parameter which is used as expression - [`KT-87202`](https://youtrack.jetbrains.com/issue/KT-87202) K/N IC: NoSuchFileException: metadata.properties when upgrading Kotlin from <2.2.10 to >2.2.20 - [`KT-87695`](https://youtrack.jetbrains.com/issue/KT-87695) Compiler crash while compilation of MFVC destructuring with a variable name mismatch - [`KT-87696`](https://youtrack.jetbrains.com/issue/KT-87696) NBD doesn't work for smart-casted MFVC - [`KT-87546`](https://youtrack.jetbrains.com/issue/KT-87546) Fix slightly confusing test data for explicit context arguments in case of Java override - [`KT-87553`](https://youtrack.jetbrains.com/issue/KT-87553) K2: Incorrect argument evaluation order with explicit context argument in presence of explicit extension receiver - [`KT-86635`](https://youtrack.jetbrains.com/issue/KT-86635) Analysis API: arguments of applied annotation is sometimes (incorrectly) empty - [`KT-75945`](https://youtrack.jetbrains.com/issue/KT-75945) Indy: Allow lambdas with annotations - [`KT-85143`](https://youtrack.jetbrains.com/issue/KT-85143) Remove the unfinished "compile against klib" feature on JVM - [`KT-87436`](https://youtrack.jetbrains.com/issue/KT-87436) Separate LFs and compiler arguments for companion extensions - [`KT-87725`](https://youtrack.jetbrains.com/issue/KT-87725) Prohibit lambda implementations of sealed Java interfaces - [`KT-87466`](https://youtrack.jetbrains.com/issue/KT-87466) JvmExposeBoxed: Cannot generate code for delegating constructor of data class in IJ - [`KT-87189`](https://youtrack.jetbrains.com/issue/KT-87189) False negative NoWhenBranchMatchedException: when subtype implements multiple sealed interfaces - [`KT-87838`](https://youtrack.jetbrains.com/issue/KT-87838) IntroducedAt: Using `@IntroducedAt` in ordinary class constructor with inline class parameters leads to platform declaration clash - [`KT-87297`](https://youtrack.jetbrains.com/issue/KT-87297) 'Underscore for unused variable' feature should be stable and enabled by default - [`KT-65195`](https://youtrack.jetbrains.com/issue/KT-65195) K2: Unexpected exception when executing dynamic array element inc/dec - [`KT-87269`](https://youtrack.jetbrains.com/issue/KT-87269) Kotlin Debugger: ISE “Non-empty unresolved argument list.” on evaluating serializable value class with custom serializer - [`KT-82461`](https://youtrack.jetbrains.com/issue/KT-82461) Context sensitive resolution can use extension properties declared on Any receiver - [`KT-82465`](https://youtrack.jetbrains.com/issue/KT-82465) Context sensitive resolution does not resolve extension properties in presense of any additional receiver - [`KT-82462`](https://youtrack.jetbrains.com/issue/KT-82462) Context sensitive resolution can use extension properties from imports - [`KT-72903`](https://youtrack.jetbrains.com/issue/KT-72903) K/N: combine `Context` and `KonanBackendContext` - [`KT-29890`](https://youtrack.jetbrains.com/issue/KT-29890) Inline constructors for arrays could not be inlined - [`KT-87864`](https://youtrack.jetbrains.com/issue/KT-87864) K2IdeK2CodeKotlinSteppingTestGenerated$StepOver$Uncategorized.testSoSuspendableCallInEndOfFun fails - [`KT-81816`](https://youtrack.jetbrains.com/issue/KT-81816) False positive "Unreachable code" with lambda and elvis - [`KT-87255`](https://youtrack.jetbrains.com/issue/KT-87255) CompanionBlocksAndExtensions: companion blocks initialized before enum entires - [`KT-87975`](https://youtrack.jetbrains.com/issue/KT-87975) Reenable inline checks in noinline parameter default values - [`KT-87821`](https://youtrack.jetbrains.com/issue/KT-87821) Do not promote visibility of local lambda classes in private inline scopes to Public - [`KT-87926`](https://youtrack.jetbrains.com/issue/KT-87926) USELESS_JVM_EXPOSE_BOXED confuses in case of argument presence - [`KT-86518`](https://youtrack.jetbrains.com/issue/KT-86518) K2: Enrich NoWhenBranchMatchedException with additional information about the cause - [`KT-87061`](https://youtrack.jetbrains.com/issue/KT-87061) Companion blocks: compilation fails when companion function names clash with enum methods - [`KT-87931`](https://youtrack.jetbrains.com/issue/KT-87931) CCE caused by suspend conversion in receiver position - [`KT-87577`](https://youtrack.jetbrains.com/issue/KT-87577) Compiler crash on red code with ambiguous type parameter used as expression - [`KT-88045`](https://youtrack.jetbrains.com/issue/KT-88045) Delete leftovers of javac integration (javac-wrapper) subsystem - [`KT-87103`](https://youtrack.jetbrains.com/issue/KT-87103) Drop compiler/fir/dump - [`KT-87830`](https://youtrack.jetbrains.com/issue/KT-87830) Complementary value sets should include non-direct inheritors of supertypes - [`KT-87261`](https://youtrack.jetbrains.com/issue/KT-87261) K/N debug: 'is' check miscompilation — local variable reports wrong type when two smart-cast extractions precede an inline loop - [`KT-88142`](https://youtrack.jetbrains.com/issue/KT-88142) False negative INTERFACE_AS_FUNCTION when Java interface contains function called toString, equals or hashCode with receiver or context parameters - [`KT-86543`](https://youtrack.jetbrains.com/issue/KT-86543) IllegalStateException: Parent of this declaration is not a class: PROPERTY IR_EXTERNAL_DECLARATION_STUB - [`KT-88141`](https://youtrack.jetbrains.com/issue/KT-88141) False negative MANY_IMPL_MEMBER_NOT_IMPLEMENTED when method is called equals, hashCode or toString - [`KT-88128`](https://youtrack.jetbrains.com/issue/KT-88128) Rewrite `JvmBackendClassResolver` to get rid of descriptor usages - [`KT-88127`](https://youtrack.jetbrains.com/issue/KT-88127) Remove or replace usages of `psiElement` util - [`KT-81416`](https://youtrack.jetbrains.com/issue/KT-81416) Native: compiler fails in case of cross-module Volatile references - [`KT-65832`](https://youtrack.jetbrains.com/issue/KT-65832) K2: Support diagnostic suppression with complex expression argument - [`KT-88149`](https://youtrack.jetbrains.com/issue/KT-88149) Mention operator token in UNRESOLVED_REFERENCE_WRONG_RECEIVER - [`KT-88134`](https://youtrack.jetbrains.com/issue/KT-88134) Improve diagnostics for name-based-destructuring=complete and using obsolete syntax - [`KT-87664`](https://youtrack.jetbrains.com/issue/KT-87664) JvmExposeBoxed: exposing constructor of ordinary class changes behavior - [`KT-87368`](https://youtrack.jetbrains.com/issue/KT-87368) Adjust the message of `IMPOSSIBLE_IS_CHECK` - [`KT-88066`](https://youtrack.jetbrains.com/issue/KT-88066) Java Direct: (Re)introduce lazy AST calculations - [`KT-88079`](https://youtrack.jetbrains.com/issue/KT-88079) Java Direct: Get rid of VFS and VirtualFile use - [`KT-88064`](https://youtrack.jetbrains.com/issue/KT-88064) Java Direct: Use lexer for lightweight "pre-parsing" instead of regexes - [`KT-88101`](https://youtrack.jetbrains.com/issue/KT-88101) Java Direct: Deduplicate repeated type resolution logic - [`KT-88103`](https://youtrack.jetbrains.com/issue/KT-88103) Java Direct: use FirLazyJavaAnnotationList to avoid cycles in enums - [`KT-86109`](https://youtrack.jetbrains.com/issue/KT-86109) K2: Compiler crash on mix of static/companion in jkj hierarhy - [`KT-86742`](https://youtrack.jetbrains.com/issue/KT-86742) JVM: missing accidental override error on companion block members - [`KT-86119`](https://youtrack.jetbrains.com/issue/KT-86119) JVM builtins dump for JDK21 does not include methods introduced after JDK8 - [`KT-80741`](https://youtrack.jetbrains.com/issue/KT-80741) Fix rendering of inner classes with generic outer classes - [`KT-67014`](https://youtrack.jetbrains.com/issue/KT-67014) K1/K2 handle when expression as annotation target differently - [`KT-87129`](https://youtrack.jetbrains.com/issue/KT-87129) Decide what to do with tests in ScriptGenTest - [`KT-87549`](https://youtrack.jetbrains.com/issue/KT-87549) `@IntroducedAt` does not work correctly with inheritance - [`KT-73462`](https://youtrack.jetbrains.com/issue/KT-73462) AssertionError "FUN LOCAL_FUNCTION_FOR_LAMBDA has no continuation" on suspend lambda with parameter of functional type called from another file - [`KT-85403`](https://youtrack.jetbrains.com/issue/KT-85403) kotlin.NoWhenBranchMatchedException on Kotlin Native with sealed interface - [`KT-88102`](https://youtrack.jetbrains.com/issue/KT-88102) Incompatible return type in delegated member not reported if it implements intersection override - [`KT-88487`](https://youtrack.jetbrains.com/issue/KT-88487) Return value checker: unresolved TODO about Array.contains in stdlib - [`KT-88480`](https://youtrack.jetbrains.com/issue/KT-88480) KMP parser: string literal content is remapped to IDENTIFIER if it matches a soft keyword - [`KT-87389`](https://youtrack.jetbrains.com/issue/KT-87389) Change companion extension metadata serialization format - [`KT-88191`](https://youtrack.jetbrains.com/issue/KT-88191) KMP Separate Compilation: Problems with `throwNoWhenBranchMatchedException` function - [`KT-88340`](https://youtrack.jetbrains.com/issue/KT-88340) 'returnsResultOf' contract works incorrectly with named arguments - [`KT-87881`](https://youtrack.jetbrains.com/issue/KT-87881) IllegalStateException: Expected some types crash in FIR type inference when buildList contains implicit receiver call and nested when expression with !is smartcast - [`KT-70450`](https://youtrack.jetbrains.com/issue/KT-70450) OuterThisLowering - consider merging it into InnerClassLowering - [`KT-84499`](https://youtrack.jetbrains.com/issue/KT-84499) Kotlin/Java interop: type mismatch when overriding methods from Java class with module import declaration (Java 25) - [`KT-87659`](https://youtrack.jetbrains.com/issue/KT-87659) No warning emitted when runtime-retained annotations on lambdas are silently discarded by invokedynamic codegen - [`KT-88132`](https://youtrack.jetbrains.com/issue/KT-88132) False positive INCORRECT_RIGHT_COMPONENT_OF_INTERSECTION when typealias for Any used as right component of definitely-not-nullable supertype - [`KT-88013`](https://youtrack.jetbrains.com/issue/KT-88013) Native: migrate CastsOptimization from Predicate.Empty to Predicate.True and fix Predicates.or - [`KT-88662`](https://youtrack.jetbrains.com/issue/KT-88662) Render the actual receiver type in `UNRESOLVED_REFERENCE_WRONG_RECEIVER` - [`KT-88326`](https://youtrack.jetbrains.com/issue/KT-88326) Enable IntrinsicConstEvaluation since 2.5 - [`KT-88332`](https://youtrack.jetbrains.com/issue/KT-88332) IntrinsicConstEvaluation: false positive "const val initializer must be a constant value" on division by non-zero value that overflows to int zero - [`KT-88099`](https://youtrack.jetbrains.com/issue/KT-88099) "ArithmeticException: / by zero" caused by Int.mod on division by zero in constant evaluation - [`KT-88721`](https://youtrack.jetbrains.com/issue/KT-88721) KMP Separate Compilation: missing fake-override for internal declaration from a friend module - [`KT-87165`](https://youtrack.jetbrains.com/issue/KT-87165) \[K/N] computeTypes phase breaks boxed equality - [`KT-87967`](https://youtrack.jetbrains.com/issue/KT-87967) Implement deprecation warning for concurrent maps purely implementation hierarchy - [`KT-88766`](https://youtrack.jetbrains.com/issue/KT-88766) K2 KMP JVM IC: "NoSuchElementException: Key Module <commonMain> is missing in the map" when an actual and its expect are recompiled together - [`KT-88190`](https://youtrack.jetbrains.com/issue/KT-88190) False positive UNEXHAUSTIVE_WHEN_BASED_ON_JAVA_ANNOTATIONS - [`KT-36111`](https://youtrack.jetbrains.com/issue/KT-36111) False negative warning on exhaustive `when` with flexible type of sealed class in subject - [`KT-71600`](https://youtrack.jetbrains.com/issue/KT-71600) K2: missing WHEN_ENUM_CAN_BE_NULL_IN_JAVA - [`KT-67462`](https://youtrack.jetbrains.com/issue/KT-67462) Use new lowering phase creation API in Native backend - [`KT-88228`](https://youtrack.jetbrains.com/issue/KT-88228) JVM: IllegalAccessError at runtime when delegating property to private member of sealed superclass - [`KT-64802`](https://youtrack.jetbrains.com/issue/KT-64802) K2: Investigate behavior change related to PCLA+Captured types+ILT - [`KT-71754`](https://youtrack.jetbrains.com/issue/KT-71754) PCLA: compile-time failure on fixing a type variable on demand for an indexing operator assignment - [`KT-53422`](https://youtrack.jetbrains.com/issue/KT-53422) NEW_INFERENCE_NO_INFORMATION_FOR_PARAMETER in flow.collect - [`KT-88218`](https://youtrack.jetbrains.com/issue/KT-88218) -Xheader-mode: inline function bodies replaced with aconst_null/athrow stubs instead of being preserved - [`KT-78002`](https://youtrack.jetbrains.com/issue/KT-78002) K2: local class function annotation observes the function parameters - [`KT-85368`](https://youtrack.jetbrains.com/issue/KT-85368) ConstraintIncorporator#insideOtherConstraint is order-dependent - [`KT-77718`](https://youtrack.jetbrains.com/issue/KT-77718) K2: Remove workaround for KDF in FIR2IR implicit cast generation for receivers - [`KT-87788`](https://youtrack.jetbrains.com/issue/KT-87788) Incorrect smart cast stability of implicit `when` subject variables - [`KT-88761`](https://youtrack.jetbrains.com/issue/KT-88761) Native: remove custom validation phases - [`KT-64219`](https://youtrack.jetbrains.com/issue/KT-64219) K2, Wasm: Green expect-actual code allows for invalid external type hierarchy - [`KT-88860`](https://youtrack.jetbrains.com/issue/KT-88860) Fir2Ir crash "Expected argument type to be Nothing?" when a non-null value is null-checked and passed to a generic function - [`KT-88769`](https://youtrack.jetbrains.com/issue/KT-88769) KMP separate compilation: incorrect `EXPECT_ACTUAL_INCOMPATIBLE_CLASS_SCOPE` in case of complex inheritance by delegation - [`KT-88770`](https://youtrack.jetbrains.com/issue/KT-88770) KMP separate compilation: false-positive SUBCLASS_CANT_CALL_COMPANION_PROTECTED_NON_STATIC - [`KT-88580`](https://youtrack.jetbrains.com/issue/KT-88580) Kotlin/Native Release: "Unexpected receiver type: kotlin.collections.ArrayList" in generic collection code - [`KT-88012`](https://youtrack.jetbrains.com/issue/KT-88012) Abstract diagnostic factories from source types - [`KT-88307`](https://youtrack.jetbrains.com/issue/KT-88307) Support actualization of multiple top-level `expect` functions with the same `actual` - [`KT-88811`](https://youtrack.jetbrains.com/issue/KT-88811) Compiler crashes with "IllegalArgumentException: List has more than one element" when separate KMP compilation is combined with useMetadataOnIncrementalClasspath - [`KT-88934`](https://youtrack.jetbrains.com/issue/KT-88934) Error in IrConstExpressionTransformer when lowering constant expression in subject for function reference - [`KT-88961`](https://youtrack.jetbrains.com/issue/KT-88961) K2: FirPrefixAndSuffixSyntaxChecker misses literal prefixes/suffixes outside binary expressions with the LightTree parser - [`KT-88427`](https://youtrack.jetbrains.com/issue/KT-88427) K2: compiler crashes with IllegalArgumentException when escaped class name containing braces is used in diagnostic type rendering - [`KT-89016`](https://youtrack.jetbrains.com/issue/KT-89016) Replace early return with assertion in function type conversion - [`KT-89008`](https://youtrack.jetbrains.com/issue/KT-89008) Constant condition elimination may break debug information of inline scopes - [`KT-86376`](https://youtrack.jetbrains.com/issue/KT-86376) New inline variables scheme: incorrect line number - [`KT-88078`](https://youtrack.jetbrains.com/issue/KT-88078) Java Direct: Refactor binary class finder entanglement - [`KT-88304`](https://youtrack.jetbrains.com/issue/KT-88304) java-direct: JavaUsingAst tests silently fall back to the PSI-based finder, hiding java-direct failures - [`KT-88260`](https://youtrack.jetbrains.com/issue/KT-88260) java-direct: support Java 25 module import declarations (JEP 511) - [`KT-89013`](https://youtrack.jetbrains.com/issue/KT-89013) K/N: auto-built release compiler caches are compiled at O1, not O3 - [`KT-87540`](https://youtrack.jetbrains.com/issue/KT-87540) Fix potential issues in explicit context arguments implementation - [`KT-88369`](https://youtrack.jetbrains.com/issue/KT-88369) JvmExposeBoxed on overrides makes KAPT generate a standalone method with faulty `@Override` annotation - [`KT-88325`](https://youtrack.jetbrains.com/issue/KT-88325) JvmExposeBoxed: False-positive "no effect" warning on extension properties - [`KT-88388`](https://youtrack.jetbrains.com/issue/KT-88388) JvmExposeBoxed: Exposed constructor leads to NSME from another module - [`KT-87940`](https://youtrack.jetbrains.com/issue/KT-87940) \[DFA] Remove VariableStorage - [`KT-89087`](https://youtrack.jetbrains.com/issue/KT-89087) JVM: Initialization order of companion blocks is incorrect - [`KT-89065`](https://youtrack.jetbrains.com/issue/KT-89065) JVM: companion block functions in interfaces do not compile with `-jvm-default=disable` - [`KT-89123`](https://youtrack.jetbrains.com/issue/KT-89123) Keep the visibility inconsistency about data class copy and primary constructor as a warning - [`KT-87025`](https://youtrack.jetbrains.com/issue/KT-87025) Support aliased imports to compiler required annotations - [`KT-87072`](https://youtrack.jetbrains.com/issue/KT-87072) SINCE_KOTLIN doesn't work with non-literal arguments - [`KT-87020`](https://youtrack.jetbrains.com/issue/KT-87020) Type aliased `AnnotationTarget` used in `@Target`()\` - [`KT-77362`](https://youtrack.jetbrains.com/issue/KT-77362) JVM diagnostics are not properly reported for scripts and REPL - [`KT-89043`](https://youtrack.jetbrains.com/issue/KT-89043) Explicit context arguments: align sinceVersion with the 2.6.0 Stable plan - [`KT-89057`](https://youtrack.jetbrains.com/issue/KT-89057) IllegalArgumentException: source must not be null in FirOverrideChecker - [`KT-88399`](https://youtrack.jetbrains.com/issue/KT-88399) K2: StackOverflowError in FirPrefixAndSuffixSyntaxChecker.getLeaf for a long string-concatenation chain - [`KT-88995`](https://youtrack.jetbrains.com/issue/KT-88995) Inline scopes numbers: wrong call site line numbers when a default argument value contains an inline call - [`KT-88339`](https://youtrack.jetbrains.com/issue/KT-88339) JvmExposeBoxed: no null check is generated in exposed methods - [`KT-87385`](https://youtrack.jetbrains.com/issue/KT-87385) Ensure that KMP mismatches in libraries in the HMPP scheme are reported reasonably - [`KT-89183`](https://youtrack.jetbrains.com/issue/KT-89183) JVM: LambdaConversionException on JDK 9+ when a SAM method parameter is a type parameter with two interface upper bounds - [`KT-89325`](https://youtrack.jetbrains.com/issue/KT-89325) Java Direct: no supertypes on resolution due to reentrance - [`KT-86046`](https://youtrack.jetbrains.com/issue/KT-86046) Put `@K1Deprecation` to all public declarations of K1 modules - [`KT-88953`](https://youtrack.jetbrains.com/issue/KT-88953) CCE caused by suspend conversion of nullable argument to nullable expected type - [`KT-87372`](https://youtrack.jetbrains.com/issue/KT-87372) False positive INVISIBLE_REFERENCE when accessing protected companion block member of superclass - [`KT-86978`](https://youtrack.jetbrains.com/issue/KT-86978) Type arguments are allowed (and unresolved) in qualifiers in compiler-required annotations - [`KT-89196`](https://youtrack.jetbrains.com/issue/KT-89196) `@IntroducedAt` doesn't discover default values in scenario with `@ExpectRefinement` - [`KT-89167`](https://youtrack.jetbrains.com/issue/KT-89167) Internal compiler errors on const evaluation - [`KT-89134`](https://youtrack.jetbrains.com/issue/KT-89134) `TRIM_MARGIN_BLANK_PREFIX` when the prefix is an expression - [`KT-89039`](https://youtrack.jetbrains.com/issue/KT-89039) JVM: Companion inline function with a default value leads to RuntimeException ##### Compose compiler - [`b/485865131`](https://issuetracker.google.com/issues/485865131) Removed deprecated `IntrinsicRemember` Compose feature flag - [`b/485865131`](https://issuetracker.google.com/issues/485865131) Removed deprecated `StrongSkipping` Compose feature flag - [`b/555304803`](https://issuetracker.google.com/issues/555304803) Fix parameter traversal in `ComposableLambdaTokenizer.captureInsnCount` - [`b/539644912`](https://issuetracker.google.com/issues/539644912) \[Compose] Support rich callable references for `@Composable` functions - [`b/546101628`](https://issuetracker.google.com/issues/546101628) Fixed a bug that caused miscompilation whenever a `when` expression had a result that was computed by another `when` expression, and the inner `when` expression had a `@Composable` call in one of its conditions. - [`b/549552317`](https://issuetracker.google.com/issues/549552317) Fixed a bug that, in certain cases, prevented execution of non-local return `statements` inside lambdas called from `when` expressions. - [`b/481422057`](https://issuetracker.google.com/issues/481422057) Made the applier inferencer support repeated `ComposableTarget` annotations per the semantics described in the documentation of `ComposableTarget` - [`b/530458587`](https://issuetracker.google.com/issues/530458587) Start initializing the fields of `ComposableSingletons` objects lazily ##### IR. Inlining - [`KT-86558`](https://youtrack.jetbrains.com/issue/KT-86558) Forbid accesing volatile references after inlining - [`KT-72464`](https://youtrack.jetbrains.com/issue/KT-72464) \[Native]\[JS]\[Wasm] Non-local return through suspend conversion breaks the IR inliner - [`KT-71896`](https://youtrack.jetbrains.com/issue/KT-71896) KLIB IR inliner: Enable cross-module inlining in LV=2.5 - [`KT-88020`](https://youtrack.jetbrains.com/issue/KT-88020) \[KLIBs] Enable cross-module inliner in stdlib & kotlin-test - [`KT-86578`](https://youtrack.jetbrains.com/issue/KT-86578) Leaking of a private entity through a companion extension: cross-module case - [`KT-87829`](https://youtrack.jetbrains.com/issue/KT-87829) Volatile field leaking through internal inline function in friend module - [`KT-87521`](https://youtrack.jetbrains.com/issue/KT-87521) renderCascadingInlining throws NPE when reporting an AFU-transformed function - [`KT-81022`](https://youtrack.jetbrains.com/issue/KT-81022) KLIB inliner: Don't specify language features in test runners for IR Inliner on 1st stage ##### IR. Interpreter - [`KT-84627`](https://youtrack.jetbrains.com/issue/KT-84627) Disable IR interpreter in the compiler - [`KT-87043`](https://youtrack.jetbrains.com/issue/KT-87043) Remove IR interpreter sources from the compiler ##### IR. Tree ##### Fixes - [`KT-88082`](https://youtrack.jetbrains.com/issue/KT-88082) Do not allow constant folding if the resulting expression is Double.NaN and Float.NaN - [`KT-87954`](https://youtrack.jetbrains.com/issue/KT-87954) Use `kotlinLibrary` from IrModuleFragment instead of a library from ModuleDescriptor - [`KT-87836`](https://youtrack.jetbrains.com/issue/KT-87836) Make sure that type, value and kind in IrConst are coherent - [`KT-87442`](https://youtrack.jetbrains.com/issue/KT-87442) \[IR] Introduce 1st stage warning on failed tailrec optimization - [`KT-89203`](https://youtrack.jetbrains.com/issue/KT-89203) IR validation: New checker to prohibit use of legacy Ir\*Reference nodes on 1st compilation stage - [`KT-83236`](https://youtrack.jetbrains.com/issue/KT-83236) PeopleInSpace_mpp compilation error: The symbol table has been sealed - [`KT-78960`](https://youtrack.jetbrains.com/issue/KT-78960) \[FO] Limit static fake overrides generation for static functions - [`KT-85698`](https://youtrack.jetbrains.com/issue/KT-85698) Type parameter is out of bounds (in setter) for an extension property with type parameter - [`KT-85896`](https://youtrack.jetbrains.com/issue/KT-85896) Type parameter is out of bounds (in setter) for a property with context parameters - [`KT-87962`](https://youtrack.jetbrains.com/issue/KT-87962) \[IR] Add a checker that IrClass.superTypes is not empty - [`KT-87732`](https://youtrack.jetbrains.com/issue/KT-87732) Don't use `IrBuiltInsOverDescriptors` in KLIB tool's `dump-ir-inlinable-functions` command - [`KT-87438`](https://youtrack.jetbrains.com/issue/KT-87438) Make sure there are no duplicated names in lowerings on first and second stages - [`KT-87300`](https://youtrack.jetbrains.com/issue/KT-87300) IR: Replace module reference in `ir.declarations.createEmptyExternalPackageFragment` from `ModuleDescriptor` to `IrModuleFragment` - [`KT-87198`](https://youtrack.jetbrains.com/issue/KT-87198) IR: Add `IrModuleFragment` link to `IrExternalPackageFragment` - [`KT-77049`](https://youtrack.jetbrains.com/issue/KT-77049) Avoid failing to produce an IR dump in tests - [`KT-88177`](https://youtrack.jetbrains.com/issue/KT-88177) IR: Mark `DescriptorVisibility.isVisible` with `@ObsoleteDescriptorBasedAPI` and ensure it is not used outside the old frontend and psi2ir - [`KT-84335`](https://youtrack.jetbrains.com/issue/KT-84335) \[Klib] Carefully revise usage of IR validator checkers in testrunners - [`KT-88146`](https://youtrack.jetbrains.com/issue/KT-88146) Replace `IrDeclaration.module` with `IrDeclaration.moduleFragment` - [`KT-69305`](https://youtrack.jetbrains.com/issue/KT-69305) Re-enable reporting out-of-scope type parameter usages during pre-lowering IR validation - [`KT-87456`](https://youtrack.jetbrains.com/issue/KT-87456) Make sure IR renderer is working correctly with `isStatic` call - [`KT-85576`](https://youtrack.jetbrains.com/issue/KT-85576) KLIBs: Add PL tests with companion blocks and companion extensions - [`KT-70048`](https://youtrack.jetbrains.com/issue/KT-70048) IR: remove addSimpleDelegatingConstructor - [`KT-88693`](https://youtrack.jetbrains.com/issue/KT-88693) Investigate using the same IR validation settings for all backends - [`KT-88610`](https://youtrack.jetbrains.com/issue/KT-88610) Type parameter is out of bounds while returning fallback value - [`KT-88864`](https://youtrack.jetbrains.com/issue/KT-88864) Cache deserializers using a stable key inside IR linker - [`KT-88556`](https://youtrack.jetbrains.com/issue/KT-88556) PL: Companion extension receiver is missed during the rendering process ##### JVM. Reflection ##### New Features - [`KT-42082`](https://youtrack.jetbrains.com/issue/KT-42082) Ability to retrieve a container/owner class of the KProperty/KFunction - [`KT-87955`](https://youtrack.jetbrains.com/issue/KT-87955) Reflection support for contextualized callable references - [`KT-85904`](https://youtrack.jetbrains.com/issue/KT-85904) Reflection: add a way to get companion extension class - [`KT-84275`](https://youtrack.jetbrains.com/issue/KT-84275) Support companion blocks & extensions in reflection ##### Performance Improvements - [`KT-87408`](https://youtrack.jetbrains.com/issue/KT-87408) kotlin-reflect: KCallable.callBy on a bound `::copy` reference is \~55x slower since 2.2.20 - [`KT-84354`](https://youtrack.jetbrains.com/issue/KT-84354) kotlin-reflect: replace usages of SoftLazy with regular safe-publication lazy ##### Fixes - [`KT-91317`](https://youtrack.jetbrains.com/issue/KT-91317) Reflection: IAE "fromIndex(1) > toIndex(0)" on KClass.members of stdlib inline classes - [`KT-80710`](https://youtrack.jetbrains.com/issue/KT-80710) Reflection: change KCallable representation to avoid dependency on K1 - [`KT-87367`](https://youtrack.jetbrains.com/issue/KT-87367) Reflection: memberFunctions fails on suspend-implementing classes - [`KT-89732`](https://youtrack.jetbrains.com/issue/KT-89732) Reflection: IllegalStateException in CovariantOverrideComparator for Java interface inheriting both raw and generic method with same erasure - [`KT-88503`](https://youtrack.jetbrains.com/issue/KT-88503) KType.isMarkedNullable always returns false for `@Nullable`-annotated Java parameters in K2 reflection implementation - [`KT-88939`](https://youtrack.jetbrains.com/issue/KT-88939) Reflection: `@JvmStatic` object function parameter annotations are off-by-one - [`KT-88944`](https://youtrack.jetbrains.com/issue/KT-88944) Reflection: member enumeration on built-in types throws KotlinReflectionInternalError in new implementation - [`KT-88988`](https://youtrack.jetbrains.com/issue/KT-88988) KotlinReflectionInternalError when reading annotations of an interface property through a sub-interface that does not redeclare it - [`KT-88989`](https://youtrack.jetbrains.com/issue/KT-88989) Reflection: javaType is not supported when the type mentions the function's own type parameter - [`KT-89000`](https://youtrack.jetbrains.com/issue/KT-89000) KotlinReflectionInternalError on Array size.getter.annotations - [`KT-89019`](https://youtrack.jetbrains.com/issue/KT-89019) Reflection: Java Enum.valueOf(value) has lost its parameter name - [`KT-89280`](https://youtrack.jetbrains.com/issue/KT-89280) NoSuchElementException in argumentsMakeSenseOnlyForMutableContainer for Java non-static inner class of generic outer class - [`KT-87363`](https://youtrack.jetbrains.com/issue/KT-87363) Reflection: kotlin.Any constructor exposes `@IntrinsicCandidate` annotation in the new implementation - [`KT-89918`](https://youtrack.jetbrains.com/issue/KT-89918) Reflection: IllegalStateException while processing the times overload during Duration property lookup - [`KT-90525`](https://youtrack.jetbrains.com/issue/KT-90525) Reflection: "MutableCollectionKClassImpl cannot be cast to ClassBasedDeclarationContainer" from KType.classifier of annotated Java collection type - [`KT-89419`](https://youtrack.jetbrains.com/issue/KT-89419) Reflection: parameter annotations on bound constructor reference are loaded incorrectly - [`KT-85735`](https://youtrack.jetbrains.com/issue/KT-85735) Reflection: Java wildcard type based on Kotlin type with declaration-site variance is loaded differently in new implementation - [`KT-89949`](https://youtrack.jetbrains.com/issue/KT-89949) Reflection treats full value classes and Java value classes as inline classes when calling functions - [`KT-89952`](https://youtrack.jetbrains.com/issue/KT-89952) Reflection fails with NoSuchElementException when an inline class wraps a full value class - [`KT-89956`](https://youtrack.jetbrains.com/issue/KT-89956) KClass.isValue of mapped builtins like kotlin.Number ignores that their Java class is a value class - [`KT-87308`](https://youtrack.jetbrains.com/issue/KT-87308) Reflection: KTypeParameter instances not equal for bound/unbound KProperty - [`KT-86926`](https://youtrack.jetbrains.com/issue/KT-86926) Reflection: references to functions inherited in Java are not substituted in the new implementation - [`KT-87356`](https://youtrack.jetbrains.com/issue/KT-87356) New Reflection: KotlinReflectionInternalError on .annotations of primitive/array constructors - [`KT-87365`](https://youtrack.jetbrains.com/issue/KT-87365) Reflection: java.util.LinkedList::class.supertypes contains a duplicate MutableList\<E!> entry in the new implementation - [`KT-88145`](https://youtrack.jetbrains.com/issue/KT-88145) Investigate potential bug caused by incorrect statics handling in KClassImpl.Data#getInlineClassUnderlyingType - [`KT-87369`](https://youtrack.jetbrains.com/issue/KT-87369) Reflection: KClass.members fails on Java class with self-referential raw type bounds - [`KT-87464`](https://youtrack.jetbrains.com/issue/KT-87464) Reflection: property accessor parameters are equal to property parameters in the new implementation - [`KT-87581`](https://youtrack.jetbrains.com/issue/KT-87581) Reflection: extra abstract invoke() method shown for a Java class implementing a functional interface in the new implementation - [`KT-87948`](https://youtrack.jetbrains.com/issue/KT-87948) Reflection: AssertionError "Different tree sizes of bounds" on inheritance from Java raw class with self-recursive bound with method override - [`KT-87709`](https://youtrack.jetbrains.com/issue/KT-87709) Reflection: "invoke" in classes inheriting from suspend function types is loaded incorrectly - [`KT-89003`](https://youtrack.jetbrains.com/issue/KT-89003) Reflection: top-level properties and functions are shown java-way ##### JavaScript ##### New Features - [`KT-49791`](https://youtrack.jetbrains.com/issue/KT-49791) KJS: Provide option to export `dynamic` and `Any` as `unknown` - [`KT-87027`](https://youtrack.jetbrains.com/issue/KT-87027) \[Effect Analysis] Propagate effects across the call graph based on function body calls - [`KT-87026`](https://youtrack.jetbrains.com/issue/KT-87026) ⁠\[Effect Analysis] Introduce a lowering for analyzing mutation of inputs and outer state - [`KT-87029`](https://youtrack.jetbrains.com/issue/KT-87029) ⁠\[Effect Analysis] Leverage effect analysis results in DCE to delete unused properties' initializers - [`KT-87024`](https://youtrack.jetbrains.com/issue/KT-87024) \[Effect Analysis] Mark up kotlin-stdlib declarations with effect annotations - [`KT-88294`](https://youtrack.jetbrains.com/issue/KT-88294) Add es2020 target for Kotlin/JS and Gradle plugin - [`KT-88024`](https://youtrack.jetbrains.com/issue/KT-88024) KJS: Allow exporting interfaces nested in other interfaces to JavaScript ##### Performance Improvements - [`KT-89682`](https://youtrack.jetbrains.com/issue/KT-89682) K/JS & K/Wasm: Initialize trivial objects eagerly even in dev mode ##### Fixes - [`KT-91371`](https://youtrack.jetbrains.com/issue/KT-91371) K/JS: extending a JsExport-ed interface breaks property access - [`KT-80188`](https://youtrack.jetbrains.com/issue/KT-80188) Design exporting of suspend lambdas into JS/TS - [`KT-17719`](https://youtrack.jetbrains.com/issue/KT-17719) JS: integer division by zero does not throw exception - [`KT-49422`](https://youtrack.jetbrains.com/issue/KT-49422) Fix test about support of DefinitelyNotNull type in backends - [`KT-86273`](https://youtrack.jetbrains.com/issue/KT-86273) `@JsExport`.Ignore does not work properly with data classes properties - [`KT-64821`](https://youtrack.jetbrains.com/issue/KT-64821) KJS: "TypeError: \* is not a function" with class which extends suspend lambda - [`KT-90912`](https://youtrack.jetbrains.com/issue/KT-90912) K/JS: IR-based TypeScript export loses abstract modifier on abstract suspend method with a default argument - [`KT-90587`](https://youtrack.jetbrains.com/issue/KT-90587) K/JS: Exported abstract suspend functions are not callable from JS - [`KT-90564`](https://youtrack.jetbrains.com/issue/KT-90564) K/JS, K/Wasm: top-level suspend function doesn't trigger file properties initialization - [`KT-90843`](https://youtrack.jetbrains.com/issue/KT-90843) Investigate flaky JS/Node Misc tests in Kotlin 2.5 - [`KT-86954`](https://youtrack.jetbrains.com/issue/KT-86954) K/JS: hashCode() of Double/Float disagrees with equals() for NaN values - [`KT-89920`](https://youtrack.jetbrains.com/issue/KT-89920) K/JS: Adapted `::ulongArrayOf` reference does not unbox ULong arguments, producing a corrupted ULongArray - [`KT-89919`](https://youtrack.jetbrains.com/issue/KT-89919) KJS: "Unhandled JavaScript exception: array.slice is not a function" when using non-adapted ::uintArrayOf - [`KT-89591`](https://youtrack.jetbrains.com/issue/KT-89591) JS plain objects: generated top-level invoke/copy leak visibility for internal interfaces - [`KT-52772`](https://youtrack.jetbrains.com/issue/KT-52772) KJS: Generated \*.d.ts files should use type "unknown" in favour of type "any" - [`KT-89144`](https://youtrack.jetbrains.com/issue/KT-89144) \[JS, Wasm] `static_init_called` field for static initializers is not initialized correctly - [`KT-87516`](https://youtrack.jetbrains.com/issue/KT-87516) \[K/JS, K/Wasm] Companion objects coming from super interfaces are not initialized - [`KT-86934`](https://youtrack.jetbrains.com/issue/KT-86934) K/JS: Stack overflow when implementing interface with suspend fun using anonymous object - [`KT-85047`](https://youtrack.jetbrains.com/issue/KT-85047) Kotlin/JS: `@JsStatic` on suspend fun of class companion generates incorrect d.ts - [`KT-89372`](https://youtrack.jetbrains.com/issue/KT-89372) KJS: Run the second DCE pass after the optimization pipeline - [`KT-72720`](https://youtrack.jetbrains.com/issue/KT-72720) Setp up a nightly test suite for running all JS compiler tests with -Xir-generate-inline-anonymous-functions - [`KT-85540`](https://youtrack.jetbrains.com/issue/KT-85540) Drop longArrayClass definitions from boxedLong.kt and longAsBigInt.kt - [`KT-88343`](https://youtrack.jetbrains.com/issue/KT-88343) KJS: Report `JS_MODULE_PROHIBITED_ON_VAR` when `@file`:JsModule\` is present - [`KT-83337`](https://youtrack.jetbrains.com/issue/KT-83337) KJS: Difference in behavior on nested class initialization - [`KT-89290`](https://youtrack.jetbrains.com/issue/KT-89290) Web: companion block members are not initialized when observed from a nested class - [`KT-89978`](https://youtrack.jetbrains.com/issue/KT-89978) JS and Native box single-field full value classes and call equals() when comparing them with == - [`KT-89984`](https://youtrack.jetbrains.com/issue/KT-89984) JS: nullable value class over a nullable type parameter holding null is treated as null - [`KT-89449`](https://youtrack.jetbrains.com/issue/KT-89449) Kotlin/JS: Member names no longer minified in production - [`KT-13338`](https://youtrack.jetbrains.com/issue/KT-13338) JS: don't generate new class/object for empty enum entry - [`KT-73067`](https://youtrack.jetbrains.com/issue/KT-73067) Drop support for the legacy JS metadata from the metadata decompiler - [`KT-75176`](https://youtrack.jetbrains.com/issue/KT-75176) Add infrastructure for bundle size testing - [`KT-85990`](https://youtrack.jetbrains.com/issue/KT-85990) K/JS: Default parameter values ignored in `@JsStatic` suspend functions when class is exported - [`KT-86433`](https://youtrack.jetbrains.com/issue/KT-86433) JSCODE_ERROR for object destructuring assignment with default values - [`KT-86437`](https://youtrack.jetbrains.com/issue/KT-86437) Incorrect handling of array destructuring with elision - [`KT-87377`](https://youtrack.jetbrains.com/issue/KT-87377) External classes can have field names colliding with minimized subclass field/method names - [`KT-86648`](https://youtrack.jetbrains.com/issue/KT-86648) \[K/JS] Support companion blocks and extensions in TypeScript export - [`KT-87793`](https://youtrack.jetbrains.com/issue/KT-87793) \[Wasm, JS, IC] Invert IC cache invalidation keys list - [`KT-87352`](https://youtrack.jetbrains.com/issue/KT-87352) Kotlin/JS: Ignore `typealias` inside `@JsExport`ed class - [`KT-88015`](https://youtrack.jetbrains.com/issue/KT-88015) KJS: Exported sealed interfaces should not be implementable from TypeScript - [`KT-88117`](https://youtrack.jetbrains.com/issue/KT-88117) K/JS: duplicated expression in generated JS comma expression for IrComposite - [`KT-87901`](https://youtrack.jetbrains.com/issue/KT-87901) KJS: Perform WhileConditionFolding on IR instead of JS AST - [`KT-86771`](https://youtrack.jetbrains.com/issue/KT-86771) KJS: `@JsExport`.Ignore on a Long member still triggers the -Xes-long-as-bigint compilation error - [`KT-87008`](https://youtrack.jetbrains.com/issue/KT-87008) K/JS: Preserve containers' names when lifting static members in StaticMembersLowering - [`KT-87774`](https://youtrack.jetbrains.com/issue/KT-87774) KJS: Refactor org.jetbrains.kotlin.js.testOld.utils.DirectiveTestUtils - [`KT-88698`](https://youtrack.jetbrains.com/issue/KT-88698) \[K/JS, tests] Remove obsolete DISABLE_IR_VISIBILITY_CHECKS from kotlinx-serialization test data - [`KT-88571`](https://youtrack.jetbrains.com/issue/KT-88571) K/JS: "llegalStateException: Internal error: cannot find external signature" caused by `@Serializable` enum in 2.4.20-RC - [`KT-87753`](https://youtrack.jetbrains.com/issue/KT-87753) Add "scopes" decoding to ECMA426BasedSourceMapParser - [`KT-88463`](https://youtrack.jetbrains.com/issue/KT-88463) K/JS: Rewrite JsToStringGenerationVisitor to Kotlin - [`KT-87127`](https://youtrack.jetbrains.com/issue/KT-87127) KJS: `@JsPlainObject` factory contains duplicated parameters - [`KT-88158`](https://youtrack.jetbrains.com/issue/KT-88158) KJS: Properly export types of annotation classes to TypeScript ##### Klibs ##### New Features - [`KT-86840`](https://youtrack.jetbrains.com/issue/KT-86840) KLIBs: Implement a component inside the compiler to compute DAG of dependencies for a given set of libraries - [`KT-86081`](https://youtrack.jetbrains.com/issue/KT-86081) KLIBs: Support moving companion fun to parent class ##### Performance Improvements - [`KT-89498`](https://youtrack.jetbrains.com/issue/KT-89498) IR linker performance: IrFileDeserializerImpl.getAllMatchingSignatures() ##### Fixes - [`KT-73115`](https://youtrack.jetbrains.com/issue/KT-73115) Don't consume old KLIBs produced by compiler versions < 1.6.0 - [`KT-89825`](https://youtrack.jetbrains.com/issue/KT-89825) K/N: "IrClassSymbolImpl is already bound" when two cinterop libraries in the same package declare the same C struct - [`KT-87445`](https://youtrack.jetbrains.com/issue/KT-87445) Native: Rework internal presentation of KFunction to support references with context parameters - [`KT-87487`](https://youtrack.jetbrains.com/issue/KT-87487) KLIBs: Don't serialize empty metadata package fragments - [`KT-91139`](https://youtrack.jetbrains.com/issue/KT-91139) \[Klib] Backward compatibility break: Kotlin 2.4.20+ miscompiles suspend conversions from KLIBs built by Kotlin ≤ 2.2 - [`KT-90675`](https://youtrack.jetbrains.com/issue/KT-90675) Native, Klibs: Value class '==' boxes because the deserializer doesn't recognize the old GENERATED_SINGLE_FIELD_VALUE_CLASS_MEMBER origin - [`KT-81624`](https://youtrack.jetbrains.com/issue/KT-81624) \[KLIB Resolve] Kotlin/Native: -no-default-libs may lead to the final binary depending on a lot of system frameworks - [`KT-61096`](https://youtrack.jetbrains.com/issue/KT-61096) \[KLIB Resolve] Drop KLIB resolve inside the Kotlin/Native compiler - [`KT-84838`](https://youtrack.jetbrains.com/issue/KT-84838) Get rid of `ModuleDescriptor` from `IrModuleDeserializer` - [`KT-87387`](https://youtrack.jetbrains.com/issue/KT-87387) Fix K1 API usage in `:kotlin-util-klib-metadata` - [`KT-89482`](https://youtrack.jetbrains.com/issue/KT-89482) \[KLIB] Introduce special signature indices in regular & C-interop Native KLIBs - [`KT-89921`](https://youtrack.jetbrains.com/issue/KT-89921) klibs: failure with two identical static inline functions in the same file in different classes - [`KT-89276`](https://youtrack.jetbrains.com/issue/KT-89276) KLIBs: Check remaining usages of `KlibMetadataProtoBuf.Header` in compiler's source code - [`KT-84836`](https://youtrack.jetbrains.com/issue/KT-84836) Minimize usages of IrBuiltIns in the KotlinIrLinker - [`KT-81947`](https://youtrack.jetbrains.com/issue/KT-81947) \[Wasm] Klib backward and forward compatibility testing - [`KT-86320`](https://youtrack.jetbrains.com/issue/KT-86320) \[PL] Replacing unusable classifiers with Any? type may cause a signature clash - [`KT-87104`](https://youtrack.jetbrains.com/issue/KT-87104) Make org.jetbrains.kotlin.konan.file.File to be implementation detail of the compiler - [`KT-87450`](https://youtrack.jetbrains.com/issue/KT-87450) Advance KlibAbiCompatibilityLevel to 2.5 - [`KT-87447`](https://youtrack.jetbrains.com/issue/KT-87447) Wasm: Rework internal presentation of KFunction to support references with context parameters - [`KT-87443`](https://youtrack.jetbrains.com/issue/KT-87443) KLIB: Store metadata flags in manifest - [`KT-87625`](https://youtrack.jetbrains.com/issue/KT-87625) Wasm: a callable reference bound to a null receiver equals an unbound reference - [`KT-54019`](https://youtrack.jetbrains.com/issue/KT-54019) \[PL] Unimplemented FO: Adding interface to abstract parent + direct reference to absent member: JS build is successful, Native fails - [`KT-86572`](https://youtrack.jetbrains.com/issue/KT-86572) -Xheader-mode: header klib omits members provided by interface delegation (by) - [`KT-77818`](https://youtrack.jetbrains.com/issue/KT-77818) \[KLIB resolve] "The same 'unique_name=kotlin' found in more than one library" warning during metadata compilation - [`KT-87454`](https://youtrack.jetbrains.com/issue/KT-87454) KLIBs: Add PL tests for references with context parameters - [`KT-86687`](https://youtrack.jetbrains.com/issue/KT-86687) Split `KLIB_WRITING` metric, to`KLIB_IR_WRITING` and `KLIB_METADATA_WRITING` - [`KT-87965`](https://youtrack.jetbrains.com/issue/KT-87965) \[Tests]\[Klibs] Allow generated version overload wrappers appear during pre-serialization lowerings as legitimate Klib ABI entries. - [`KT-87787`](https://youtrack.jetbrains.com/issue/KT-87787) PL: callable references to methods/properties of removed companion object ##### Language Design - [`KT-12719`](https://youtrack.jetbrains.com/issue/KT-12719) Must-use return values: warn about unused return values - [`KT-89798`](https://youtrack.jetbrains.com/issue/KT-89798) Alpha release of companion blocks and extensions - [`KT-86090`](https://youtrack.jetbrains.com/issue/KT-86090) Stable release of "IntroduceAt": binary compatibility for optional parameters - [`KT-19627`](https://youtrack.jetbrains.com/issue/KT-19627) Object (name-based) destructuring - [`KT-22505`](https://youtrack.jetbrains.com/issue/KT-22505) Support calls to trimMargin/trimIndent as initializer for const vals - [`KT-90084`](https://youtrack.jetbrains.com/issue/KT-90084) Name-based destructuring: switch default to "syntax-only" ##### Libraries ##### New Features - [`KT-83426`](https://youtrack.jetbrains.com/issue/KT-83426) Add Tau=2\*Pi to the stdlib - [`KT-24908`](https://youtrack.jetbrains.com/issue/KT-24908) CodePoint value class - [`KT-6938`](https://youtrack.jetbrains.com/issue/KT-6938) Boolean.onTrue/onFalse, ifOrNull - [`KT-89662`](https://youtrack.jetbrains.com/issue/KT-89662) Stabilize Uuid.Companion.generateV{4,7} - [`KT-89629`](https://youtrack.jetbrains.com/issue/KT-89629) Make some of the Timer.schedule overloads ignorable - [`KT-87021`](https://youtrack.jetbrains.com/issue/KT-87021) ⁠\[Effect Analysis] Introduce a new annotation for marking stdlib functions - [`KT-89332`](https://youtrack.jetbrains.com/issue/KT-89332) kotlin-metadata: stabilize RVC-related API - [`KT-78462`](https://youtrack.jetbrains.com/issue/KT-78462) Annotate kotlin-stdlib-jvm with `@IgnorableReturnValue` where appropriate - [`KT-39661`](https://youtrack.jetbrains.com/issue/KT-39661) Support TypeVariable.getGenericDeclaration for types created in KType.javaType in kotlin-stdlib - [`KT-88037`](https://youtrack.jetbrains.com/issue/KT-88037) kotlin-metadata-jvm: add readLenient()/readStrict() to KotlinModuleMetadata - [`KT-88708`](https://youtrack.jetbrains.com/issue/KT-88708) Consider documenting that MutableMap.put keeps the stored key instance ##### Performance Improvements - [`KT-91066`](https://youtrack.jetbrains.com/issue/KT-91066) Kotlin/Wasm: KClass.hashCode() allocates and hashes the qualified class name string on every call - [`KT-71987`](https://youtrack.jetbrains.com/issue/KT-71987) K/N: Optimize Float.ulp & Double.ulp - [`KT-89899`](https://youtrack.jetbrains.com/issue/KT-89899) K/Wasm: Optimize Double.ulp ##### Fixes - [`KT-48530`](https://youtrack.jetbrains.com/issue/KT-48530) Asymmetric equality for progressions and ranges - [`KT-86051`](https://youtrack.jetbrains.com/issue/KT-86051) Check the Reflect API surface lib for the Companion Blocks and extensions - [`KT-89072`](https://youtrack.jetbrains.com/issue/KT-89072) Kotlin/Native: 1.0.pow(NaN) returns 1.0 instead of NaN from the contract - [`KT-64916`](https://youtrack.jetbrains.com/issue/KT-64916) Update Dokka build config to use JB Gradle Enterprise - [`KT-64200`](https://youtrack.jetbrains.com/issue/KT-64200) Dokka Integration tests refactoring - [`KT-64377`](https://youtrack.jetbrains.com/issue/KT-64377) Update Dokka Gradle integration tests build configuration - [`KT-82882`](https://youtrack.jetbrains.com/issue/KT-82882) Migrate `kotlinx-benchmarks` Gradle plugin from KLIB resolver to `KlibLoader` API - [`KT-89177`](https://youtrack.jetbrains.com/issue/KT-89177) Aggregate functions accepting a destination collection should be annotated with IgnorableReturnValue - [`KT-85126`](https://youtrack.jetbrains.com/issue/KT-85126) Increase StringBuilder.append(obj: Any?) deprecation level to ERROR - [`KT-89560`](https://youtrack.jetbrains.com/issue/KT-89560) Make kotlin.concurrent.thread's return value ignorable - [`KT-88241`](https://youtrack.jetbrains.com/issue/KT-88241) kotlin-metadata-jvm: Consider renaming isStatic to isCompanionBlockMember - [`KT-56363`](https://youtrack.jetbrains.com/issue/KT-56363) Kotlin/Native: NativeRandom does not behave well with multiple threads - [`KT-89174`](https://youtrack.jetbrains.com/issue/KT-89174) Incorrect exception type documented in random function for ranges - [`KT-86151`](https://youtrack.jetbrains.com/issue/KT-86151) AtomicFU + companion block: compiler plugin generated invalid IR - [`KT-78707`](https://youtrack.jetbrains.com/issue/KT-78707) Wasm: Throwable.stackTraceToString misses exception's class if it has no message or cause - [`KT-78998`](https://youtrack.jetbrains.com/issue/KT-78998) K/Wasm: consider using qualified name instead of simple name for JS Error created for exceptions - [`KT-65526`](https://youtrack.jetbrains.com/issue/KT-65526) Rewrite builtins as expect-actual - [`KT-52400`](https://youtrack.jetbrains.com/issue/KT-52400) Deprecate `@BuilderInference` - [`KT-86956`](https://youtrack.jetbrains.com/issue/KT-86956) Remove the JS guards from allDistinct NaN tests once KT-86954 is fixed - [`KT-87312`](https://youtrack.jetbrains.com/issue/KT-87312) Stabilize RVC and allow `@IgnorableReturnValue` even in disabled checker mode - [`KT-87849`](https://youtrack.jetbrains.com/issue/KT-87849) Set `@SinceKotlin`(2.3) for ignorability annotations - [`KT-87613`](https://youtrack.jetbrains.com/issue/KT-87613) Test Federation: Review domain Core Libraries Smoke & Contract tests - [`KT-86760`](https://youtrack.jetbrains.com/issue/KT-86760) Consider deprecating the assertNotNull 3-arg overload accepting a lambda - [`KT-57134`](https://youtrack.jetbrains.com/issue/KT-57134) Native: Consider introducing public ExceptionInInitializerError and NoClassDefFound - [`KT-86680`](https://youtrack.jetbrains.com/issue/KT-86680) Revert allEqualBy to == comparison once KT-86678 is fixed - [`KT-87779`](https://youtrack.jetbrains.com/issue/KT-87779) K/Wasm: remove DoNotInlineOnFirstStage from coroutine-related APIs - [`KT-87780`](https://youtrack.jetbrains.com/issue/KT-87780) K/Wasm: review coroutine-related APIs annotated by PublishedApi - [`KT-87407`](https://youtrack.jetbrains.com/issue/KT-87407) Adapt kotlinx.metadata to changes in companion extension metadata format - [`KT-78174`](https://youtrack.jetbrains.com/issue/KT-78174) Improve kotlin.AutoCloseable documentation - [`KT-86049`](https://youtrack.jetbrains.com/issue/KT-86049) Check serialization lib for the Companion Blocks and extensions ##### Native ##### New Features - [`KT-86815`](https://youtrack.jetbrains.com/issue/KT-86815) \[K/N] Header mode for cinterop ##### Fixes - [`KT-87869`](https://youtrack.jetbrains.com/issue/KT-87869) Native: Xcode 27 - [`KT-84955`](https://youtrack.jetbrains.com/issue/KT-84955) Deprecate apple x86_64 targets as Error - [`KT-86678`](https://youtrack.jetbrains.com/issue/KT-86678) K/N: == on boxed Double/Float disagrees with equals() for NaN values - [`KT-89258`](https://youtrack.jetbrains.com/issue/KT-89258) Kotlin/Native: mute volatile benchmarks - [`KT-89637`](https://youtrack.jetbrains.com/issue/KT-89637) K/N: Linking of linux (x64/arm64) binaries with cinterop on Windows is failing - [`KT-87872`](https://youtrack.jetbrains.com/issue/KT-87872) Native: a few tests in `ObjCToKotlinSteppingInLLDBTest` fail with Xcode 27 - [`KT-89355`](https://youtrack.jetbrains.com/issue/KT-89355) Kotlin/Native: some benchmarks are missing - [`KT-89541`](https://youtrack.jetbrains.com/issue/KT-89541) K/N: Enabling `-Xcompanion-blocks` in stdlib breaks some callable reference tests with OPT, NO_CACHE - [`KT-85131`](https://youtrack.jetbrains.com/issue/KT-85131) Native: freeze in `LLVMGetTargetFromTriple` during a parallel test run - [`KT-88965`](https://youtrack.jetbrains.com/issue/KT-88965) \[Native] Update minimal Xcode version - [`KT-88857`](https://youtrack.jetbrains.com/issue/KT-88857) Regression in LibraryPathFilter ##### Native. Build Infrastructure - [`KT-87996`](https://youtrack.jetbrains.com/issue/KT-87996) K/N test task fails with "No cache found for library" ##### Native. C Export - [`KT-89632`](https://youtrack.jetbrains.com/issue/KT-89632) \[K/N]\[CExport] Header declaration order depends on -Xinclude order - [`KT-87538`](https://youtrack.jetbrains.com/issue/KT-87538) Kotlin/Native: hide companion blocks and extensions from C export ##### Native. C and ObjC Import - [`KT-81934`](https://youtrack.jetbrains.com/issue/KT-81934) Swift export should look up `SwiftBridge` and `SwiftName` when translating types from platform libraries - [`KT-89401`](https://youtrack.jetbrains.com/issue/KT-89401) K/N: NPE in IrLazilyBoundAnnotationImpl when a cinterop klib references an annotation from a regular klib - [`KT-89463`](https://youtrack.jetbrains.com/issue/KT-89463) Native: 'Unable to compile C bridge' when implementing UIScreenshotServiceDelegateProtocol - [`KT-84721`](https://youtrack.jetbrains.com/issue/KT-84721) Generate C-interop KLIBs in previous ABI version in Kotlin 2.5.0 - [`KT-88374`](https://youtrack.jetbrains.com/issue/KT-88374) Kotlin/Native: deprecate CStructVar.Type with error ##### Native. ObjC Export - [`KT-88052`](https://youtrack.jetbrains.com/issue/KT-88052) \[ObjCExport] AA: Property names are mangled differently and accessors do not match K1's output - [`KT-70626`](https://youtrack.jetbrains.com/issue/KT-70626) ObjCExport: init constructors order in Throwable - [`KT-89981`](https://youtrack.jetbrains.com/issue/KT-89981) Building an Objective-C framework fails with single-field full value classes in the API - [`KT-87626`](https://youtrack.jetbrains.com/issue/KT-87626) `@ObjCEnum` interpreted as open enum in Swift - [`KT-88153`](https://youtrack.jetbrains.com/issue/KT-88153) \[ObjCExport] AA: documentation specifying annotation is not attached to receiver - [`KT-87852`](https://youtrack.jetbrains.com/issue/KT-87852) \[ObjCExport] AA: Replace name mangling of special method families - [`KT-86199`](https://youtrack.jetbrains.com/issue/KT-86199) Scalability problems with PackageFragmentProviderImpl - [`KT-87738`](https://youtrack.jetbrains.com/issue/KT-87738) Kotlin/Native: hide companion blocks and extensions from ObjC export ##### Native. Platforms - [`KT-78078`](https://youtrack.jetbrains.com/issue/KT-78078) Remove armv7k(watchosArm32) target ##### Native. Runtime - [`KT-88156`](https://youtrack.jetbrains.com/issue/KT-88156) Kotlin/Native: reduce number of runtime modules - [`KT-88954`](https://youtrack.jetbrains.com/issue/KT-88954) \[Native] Add -Wno-unknown-attributes to build of the runtime ##### Native. Runtime. Memory - [`KT-87963`](https://youtrack.jetbrains.com/issue/KT-87963) Kotlin/Native: review atomics usage in GlobalData.cpp ##### Native. Swift Export ##### New Features - [`KT-80632`](https://youtrack.jetbrains.com/issue/KT-80632) Swift export: symbol not found for cinterop protocol - [`KT-87802`](https://youtrack.jetbrains.com/issue/KT-87802) Swift Export: cross-language subtyping pt.2 - [`KT-72556`](https://youtrack.jetbrains.com/issue/KT-72556) Export top-level extension functions and properties from "main" package as Swift extensions - [`KT-87574`](https://youtrack.jetbrains.com/issue/KT-87574) Swift Export: unify error/exception throwing in sync & asynchronous bridges in cross-language inheritance - [`KT-84191`](https://youtrack.jetbrains.com/issue/KT-84191) \[Swift Export] export KDoc - [`KT-87556`](https://youtrack.jetbrains.com/issue/KT-87556) Kotlin/Native hide companion blocks and extensions from Swift Export ##### Fixes - [`KT-88599`](https://youtrack.jetbrains.com/issue/KT-88599) \[Swift Export. Documentation] Flow collection cancellation isn't awaited - [`KT-86791`](https://youtrack.jetbrains.com/issue/KT-86791) \[Swift Export] Beta version - [`KT-89728`](https://youtrack.jetbrains.com/issue/KT-89728) Swift Export: Prohibit exporting objc-imported protocol conformances on kontlin types - [`KT-88370`](https://youtrack.jetbrains.com/issue/KT-88370) \[Swift Export] Extension property on generic class with type param fails to compile - [`KT-88277`](https://youtrack.jetbrains.com/issue/KT-88277) Swift Export \[Inheritance]: function override with lambda parameter is ignored - [`KT-88259`](https://youtrack.jetbrains.com/issue/KT-88259) Swift Export \[Inheritance]: toString/hashCode/equals cause EXC_BAD_ACCESS on Swift subclass of an exported Kotlin class - [`KT-88256`](https://youtrack.jetbrains.com/issue/KT-88256) Swift Export: constructor of a Kotlin subclass with renamed params causes 'error: argument labels for initializer do not match' - [`KT-89159`](https://youtrack.jetbrains.com/issue/KT-89159) \[Swift export] val to var property override is unreadable: "ambiguous use" on the subclass, base value returned via the superclass - [`KT-89839`](https://youtrack.jetbrains.com/issue/KT-89839) \[Swift Export] there could be more than one incoming cinterop - [`KT-89842`](https://youtrack.jetbrains.com/issue/KT-89842) \[Swift Export] extensions of Unavailable type results on conflicts - [`KT-89701`](https://youtrack.jetbrains.com/issue/KT-89701) Swift Export: sealed-type switch references a subtype nested in an internal class - [`KT-89702`](https://youtrack.jetbrains.com/issue/KT-89702) Swift Export: reverse bridge calls a member named init without backticks - [`KT-90024`](https://youtrack.jetbrains.com/issue/KT-90024) \[Swift Export] improve compilation performance of Swift Export - [`KT-89647`](https://youtrack.jetbrains.com/issue/KT-89647) Native: failing test with state checker on - [`KT-88251`](https://youtrack.jetbrains.com/issue/KT-88251) Swift Export cross-language inheritance example cannot instantiate KotlinBase - [`KT-89064`](https://youtrack.jetbrains.com/issue/KT-89064) Swift Export: StackOverflowError for an exported function with an F-bounded type parameter - [`KT-86403`](https://youtrack.jetbrains.com/issue/KT-86403) Swift Export: Lean TypeInfo generation for swift inheritors - [`KT-87947`](https://youtrack.jetbrains.com/issue/KT-87947) Swift Export fails when inheriting Kotlin abstract class - [`KT-88042`](https://youtrack.jetbrains.com/issue/KT-88042) Swift Export \[Inheritance]: Kotlin can't call an interface method on a Swift subclass that inherits the interface (ClassCastException) - [`KT-88584`](https://youtrack.jetbrains.com/issue/KT-88584) Swift Export: context parameter is dropped from export when declared in a flattened package: missing argument for parameter [#&#8203;1](https://github.com/JetBrains/kotlin/issues/1) in call - [`KT-89067`](https://youtrack.jetbrains.com/issue/KT-89067) \[Swift Export] F-bounded type parameter on a class generates a bridge that does not compile - [`KT-89025`](https://youtrack.jetbrains.com/issue/KT-89025) \[Swift Export] generic type param with generic upper bound fails to compile - [`KT-88999`](https://youtrack.jetbrains.com/issue/KT-88999) Swift export: leaf case of sealedType() is unreachable when the implementing class is not exported - [`KT-86510`](https://youtrack.jetbrains.com/issue/KT-86510) \[Swift Export. Tests] Exporting full API surface of kotlinx.coroutines causes runtime crashes - [`KT-87875`](https://youtrack.jetbrains.com/issue/KT-87875) \[Swift Export] Reverse bridges don't work with overloads - [`KT-88386`](https://youtrack.jetbrains.com/issue/KT-88386) \[Swift Export] SwiftExportConfig.errorTypeStrategy with SpecialType generates incompilable code - [`KT-88809`](https://youtrack.jetbrains.com/issue/KT-88809) \[Swift Export] intersection override with final implementation fails to compile - [`KT-88740`](https://youtrack.jetbrains.com/issue/KT-88740) \[Swift Export] declaration with internal OptIn fails to compile - [`KT-88669`](https://youtrack.jetbrains.com/issue/KT-88669) \[Swift Export] abstract class with multiple interfaces with same declaration fails to compile - [`KT-87398`](https://youtrack.jetbrains.com/issue/KT-87398) Swift Export: issues with updating a user project - [`KT-88739`](https://youtrack.jetbrains.com/issue/KT-88739) \[Swift Export] function returning MutableList fails to export - [`KT-87457`](https://youtrack.jetbrains.com/issue/KT-87457) Swift Export: NSInvalidArgumentException in \_Kotlin_SwiftExport_wrapIntoExistential when Compose renders first iOS frame - [`KT-88330`](https://youtrack.jetbrains.com/issue/KT-88330) KotlinExistential has no \_createClassWrapperForExternalRCRef - [`KT-88723`](https://youtrack.jetbrains.com/issue/KT-88723) \[Swift Export] Support factory fun name based on suffix - [`KT-88682`](https://youtrack.jetbrains.com/issue/KT-88682) Swift Export: can't export enum class implementing a sealed interface - [`KT-88495`](https://youtrack.jetbrains.com/issue/KT-88495) \[Swift Export] KDoc support: text after the `@see` identifier is dropped - [`KT-88378`](https://youtrack.jetbrains.com/issue/KT-88378) \[Swift Export] Special characters in interface names - [`KT-88474`](https://youtrack.jetbrains.com/issue/KT-88474) \[Swift Export] Typealias for inner interface is internal - [`KT-88473`](https://youtrack.jetbrains.com/issue/KT-88473) \[Swift Export] Can't implement sealedType function for leaf interface - [`KT-88368`](https://youtrack.jetbrains.com/issue/KT-88368) \[Swift Export] OptIn receiver extension in interface fails to compile - [`KT-87697`](https://youtrack.jetbrains.com/issue/KT-87697) \[Swift Export] conflicting ObjC marker names - [`KT-87391`](https://youtrack.jetbrains.com/issue/KT-87391) \[Swift Export] object returned from a function as an interface should be castable to a last public class, if that class conforms to that said interface - [`KT-88224`](https://youtrack.jetbrains.com/issue/KT-88224) \[Swift Export] `@escaping` is emitted on a variadic closure parameter, which Swift rejects - [`KT-87791`](https://youtrack.jetbrains.com/issue/KT-87791) \[Swift Export] OptIn interface member with default implementation fails to compile - [`KT-88019`](https://youtrack.jetbrains.com/issue/KT-88019) Swift Export: parameter names in top level functions are not escaped - [`KT-88171`](https://youtrack.jetbrains.com/issue/KT-88171) \[Swift Export] enable KDoc export - [`KT-87874`](https://youtrack.jetbrains.com/issue/KT-87874) \[Swift Export] Generic start project param in closure fails to compile - [`KT-87798`](https://youtrack.jetbrains.com/issue/KT-87798) \[Swift Export] generic sealed interface fails to compile - [`KT-87808`](https://youtrack.jetbrains.com/issue/KT-87808) \[Swift Export] Nested generic fails to compile - [`KT-87236`](https://youtrack.jetbrains.com/issue/KT-87236) \[Swift Export] interface member with extension receiver fails to compile - [`KT-85545`](https://youtrack.jetbrains.com/issue/KT-85545) \[Swift Export] functional typealias with unavailable type - [`KT-85544`](https://youtrack.jetbrains.com/issue/KT-85544) \[Swift Export] property with hidden setter isn't exported ##### Tools. BCV - [`KT-85950`](https://youtrack.jetbrains.com/issue/KT-85950) Add support of "com.android.kotlin.multiplatform.library" plugin \[ABI validation] - [`KT-87551`](https://youtrack.jetbrains.com/issue/KT-87551) Bring kotlin.test API back after migrating to JUnit5 ##### Tools. Build Tools API ##### New Features - [`KT-87086`](https://youtrack.jetbrains.com/issue/KT-87086) Add Build Tools API entry point for Analysis API based TypeScript generation - [`KT-84401`](https://youtrack.jetbrains.com/issue/KT-84401) BTA: implement Kotlin/JS incremental compilation support - [`KT-88018`](https://youtrack.jetbrains.com/issue/KT-88018) K2 Multiplatform incremental compilation of common code targeting JVM across multiple modules ##### Fixes - [`KT-88776`](https://youtrack.jetbrains.com/issue/KT-88776) Remove deprecated JvmSnapshotBasedIncrementalCompilationConfiguration.MONOTONOUS_INCREMENTAL_COMPILE_SET_EXPANSION - [`KT-86169`](https://youtrack.jetbrains.com/issue/KT-86169) \[BTA] `applyArgumentStrings` silently drops typed arguments and suppresses typed validation when used on the same builder - [`KT-85464`](https://youtrack.jetbrains.com/issue/KT-85464) BTA: promote restricted arguments to ERROR - [`KT-83937`](https://youtrack.jetbrains.com/issue/KT-83937) Promote shrunk-classpath-snapshot configuration deprecation to error - [`KT-89513`](https://youtrack.jetbrains.com/issue/KT-89513) Introduce the JPS-only BTA API surface for client-managed incremental JVM compilation - [`KT-89615`](https://youtrack.jetbrains.com/issue/KT-89615) Support daemon mode in the JPS-only BTA API surface for client-managed incremental JVM compilation - [`KT-91193`](https://youtrack.jetbrains.com/issue/KT-91193) BTA classloader cache evicts classloaders that are in use - [`KT-87525`](https://youtrack.jetbrains.com/issue/KT-87525) Add metrics for JVM metadata operations in Incremental Compilation - [`KT-88756`](https://youtrack.jetbrains.com/issue/KT-88756) BTA: Forward compatibility issue with newly added default Enum values in compiler arguments - [`KT-87848`](https://youtrack.jetbrains.com/issue/KT-87848) Guard JVM incremental metadata plumbing behind KMP metadata-on-classpath support - [`KT-89804`](https://youtrack.jetbrains.com/issue/KT-89804) Protect build-tools-api-jps compatibility with an API dump - [`KT-88763`](https://youtrack.jetbrains.com/issue/KT-88763) Default classpath metadata to the common sources IC property - [`KT-88381`](https://youtrack.jetbrains.com/issue/KT-88381) Argument-parsing warnings are lost when compiling via Build Tools API - [`KT-84229`](https://youtrack.jetbrains.com/issue/KT-84229) Build reports missing memory metrics and incorrect in-process strategy indicators with BTA - [`KT-89673`](https://youtrack.jetbrains.com/issue/KT-89673) Use Path instead of String for file paths in the JPS BTA tracker API - [`KT-87522`](https://youtrack.jetbrains.com/issue/KT-87522) Separate enableUnsafeOptimizationsForMultiplatform for js and jvm - [`KT-88835`](https://youtrack.jetbrains.com/issue/KT-88835) Wasm klib incremental compilation via daemon ignores configuration inputs - [`KT-88299`](https://youtrack.jetbrains.com/issue/KT-88299) JS and Wasm klib compilation and linking operations silently ignore the IR_OUTPUT_DIR and X_INCLUDE compiler arguments - [`KT-89050`](https://youtrack.jetbrains.com/issue/KT-89050) LOOKUP_TRACKER is not propagated to JS/Wasm incremental compilation - [`KT-88298`](https://youtrack.jetbrains.com/issue/KT-88298) Dropped JS/Wasm compiler arguments are still present in the public BTA - [`KT-88491`](https://youtrack.jetbrains.com/issue/KT-88491) WasmLinkingOperation and WasmKlibCompilationOperation do not check option availability for the compiler version in set() - [`KT-88838`](https://youtrack.jetbrains.com/issue/KT-88838) JsKlibCompilationOperation.shouldCompileIncrementally() error message mentions the JVM config type - [`KT-88478`](https://youtrack.jetbrains.com/issue/KT-88478) JsLinkingOperationImpl uses Options(JsKlibCompilationOperation::class) instead of JsLinkingOperation::class - [`KT-88684`](https://youtrack.jetbrains.com/issue/KT-88684) WasmLinkingOperation cannot target wasm-wasi: no Wasm target option available in linking arguments - [`KT-88777`](https://youtrack.jetbrains.com/issue/KT-88777) Remove deprecated JvmSnapshotBasedIncrementalCompilationConfiguration.UNSAFE_INCREMENTAL_COMPILATION_FOR_MULTIPLATFORM - [`KT-85791`](https://youtrack.jetbrains.com/issue/KT-85791) Remove compatibility wrapper for BTA IMPL 2.4.0 with lower versions - [`KT-88348`](https://youtrack.jetbrains.com/issue/KT-88348) MessageCollector in IncrementalCompilerRunner drops diagnostics IDs - [`KT-87743`](https://youtrack.jetbrains.com/issue/KT-87743) Make `KotlinCoreEnvironment.disposeApplicationEnvironment()` unnecessary for K2 BTA compilation - [`KT-87822`](https://youtrack.jetbrains.com/issue/KT-87822) Clean up obsolete disk-based common metadata code after switching to IC-cache JVM metadata - [`KT-87792`](https://youtrack.jetbrains.com/issue/KT-87792) \[BTA] Handle removed arguments in BTA tests - [`KT-87654`](https://youtrack.jetbrains.com/issue/KT-87654) \[BTA] KotlinMetadataKlibCompilationOperation can silently produce a non-klib (legacy metadata) artifact - [`KT-87653`](https://youtrack.jetbrains.com/issue/KT-87653) \[BTA] Metadata operation reports a JVM-specific message for the restricted -d argument - [`KT-87597`](https://youtrack.jetbrains.com/issue/KT-87597) \[BTA] KotlinCompilationProcessFailedException causes LinkageError ##### Tools. CLI ##### New Features - [`KT-87671`](https://youtrack.jetbrains.com/issue/KT-87671) Disallow using of any lifecycle version greater than KotlinVersion.CURRENT ##### Performance Improvements - [`KT-87868`](https://youtrack.jetbrains.com/issue/KT-87868) In-process compilation via CLI/Build Tools API pays a large ThreadMXBean.getCurrentThreadUserTime penalty on Linux: PerformanceManager.measureSideTime measures unconditionally around every class file read ##### Fixes - [`KT-88174`](https://youtrack.jetbrains.com/issue/KT-88174) Show error when running the compiler on JDK < 17 - [`KT-73967`](https://youtrack.jetbrains.com/issue/KT-73967) JDK 25: "IllegalArgumentException: 25-ea" with EA builds - [`KT-89356`](https://youtrack.jetbrains.com/issue/KT-89356) Check that CLI arguments configuring already-deprecated/removed language features are deprecated/removed themselves - [`KT-89211`](https://youtrack.jetbrains.com/issue/KT-89211) Show warning when running the compiler on JDK < 17 - [`KT-88475`](https://youtrack.jetbrains.com/issue/KT-88475) IncrementalCompilationComponents instances are not being called anymore - [`KT-89727`](https://youtrack.jetbrains.com/issue/KT-89727) `EXPECT_ACTUAL_IR_MISMATCH` when using `separateCompilation=true` - [`KT-89800`](https://youtrack.jetbrains.com/issue/KT-89800) KMP Separate Compilation: Single-JVM-target commonTest cannot reference jvmMain with separate compilation - [`KT-75990`](https://youtrack.jetbrains.com/issue/KT-75990) Deprecate all K1-related compiler flags and modes - [`KT-89094`](https://youtrack.jetbrains.com/issue/KT-89094) Rich Errors: Create LF - [`KT-88548`](https://youtrack.jetbrains.com/issue/KT-88548) False positive "Member overrides different '`@Throws`' filter" when a nativeMain class overrides a commonMain member carrying the same `@Throws` filter - [`KT-86383`](https://youtrack.jetbrains.com/issue/KT-86383) Use a language feature for new inline variables scheme - [`KT-87493`](https://youtrack.jetbrains.com/issue/KT-87493) kotlinc.bat crashes with ClassNotFoundException when installed to a path with spaces on ReFS (dev drive) - [`KT-88222`](https://youtrack.jetbrains.com/issue/KT-88222) kotlinc/kotlin bash scripts fail to handle spaces in KOTLIN_HOME path, producing %20-encoded classpath entries on macOS/Linux - [`KT-87373`](https://youtrack.jetbrains.com/issue/KT-87373) Warn on the use of the `kotlin` executable and recommend `kotlinr` - [`KT-88026`](https://youtrack.jetbrains.com/issue/KT-88026) large arithmetic expression causes java.lang.NoClassDefFoundError instead of stackoverflow - [`KT-85591`](https://youtrack.jetbrains.com/issue/KT-85591) Remove `Xklib-normalize-absolute-path` compiler argument - [`KT-86626`](https://youtrack.jetbrains.com/issue/KT-86626) Add Compiler Argument for Context-bound Callable References - [`KT-87826`](https://youtrack.jetbrains.com/issue/KT-87826) Remove -Xcontext-receivers compiler argument - [`KT-68175`](https://youtrack.jetbrains.com/issue/KT-68175) Remove CLIConfigurationKeys.MESSAGE_COLLECTOR_KEY - [`KT-80348`](https://youtrack.jetbrains.com/issue/KT-80348) Expose 'XXLanguage' compiler argument as a normal argument - [`KT-76498`](https://youtrack.jetbrains.com/issue/KT-76498) Implement JSON dumper for performance stats ##### Tools. Compiler Plugin API - [`KT-68878`](https://youtrack.jetbrains.com/issue/KT-68878) AA: LLFirIdePredicateBasedProvider can return declarations from dependant modules - [`KT-46917`](https://youtrack.jetbrains.com/issue/KT-46917) Dependencies of native compiler plugins are not resolved - [`KT-86900`](https://youtrack.jetbrains.com/issue/KT-86900) FirSamResolver ignores plugin-generated abstract members when performing SAM conversion on fun interface ##### Tools. Compiler Plugins ##### New Features - [`KT-87731`](https://youtrack.jetbrains.com/issue/KT-87731) AtomicFU + companion block: gracefully handle delegated companion properties - [`KT-87978`](https://youtrack.jetbrains.com/issue/KT-87978) AtomicFU: support companion blocks and extensions for K/N - [`KT-87984`](https://youtrack.jetbrains.com/issue/KT-87984) AtomicFU: support companion blocks and extensions for JS target - [`KT-76529`](https://youtrack.jetbrains.com/issue/KT-76529) Support lombok.fieldDefaults.defaultPrivate in Lombok plugin - [`KT-87683`](https://youtrack.jetbrains.com/issue/KT-87683) Support functions and constructors with `@Builder` on Kotlin classes - [`KT-87682`](https://youtrack.jetbrains.com/issue/KT-87682) Support for `@Singular` annotation with `@Builder` on Kotlin classes - [`KT-88270`](https://youtrack.jetbrains.com/issue/KT-88270) Support for `@Singular` with `@Builder` and Guava collections on Kotlin classes - [`KT-87886`](https://youtrack.jetbrains.com/issue/KT-87886) Support for`@Builder`.Default`annotations with`@&#8203;Builder\` on Kotlin classes - [`KT-87685`](https://youtrack.jetbrains.com/issue/KT-87685) Support generics with `@Builder` on Kotlin classes - [`KT-87686`](https://youtrack.jetbrains.com/issue/KT-87686) Implement minimal viable functionality with `@Builder` on Kotlin classes ##### Fixes - [`KT-87563`](https://youtrack.jetbrains.com/issue/KT-87563) Lombok: StackOverflow with `@SuperBuilder` and cyclic inheritance hierarchy - [`KT-91488`](https://youtrack.jetbrains.com/issue/KT-91488) Lombok: Kotlin use of one sibling `@SuperBuilder` leaf's builder() makes the other leaf's inherited parent-builder setters unresolved - [`KT-90666`](https://youtrack.jetbrains.com/issue/KT-90666) Lombok: disable `@Builder` annotation in Kotlin code due to many issues - [`KT-90086`](https://youtrack.jetbrains.com/issue/KT-90086) Lombok: ClassCastException during supertype generation for EqualsAndHashCode with inheritance - [`KT-83329`](https://youtrack.jetbrains.com/issue/KT-83329) Lombok. The case where the default builder is hidden as an internal and an auxiliary one is created doesn't work from kotlin - [`KT-88124`](https://youtrack.jetbrains.com/issue/KT-88124) DataFrame: failing test when removing workaround in FIR2IR - [`KT-88729`](https://youtrack.jetbrains.com/issue/KT-88729) Lombok: flagUsage does not report erros/warnings for constructor-related annotations used in Kotlin - [`KT-88659`](https://youtrack.jetbrains.com/issue/KT-88659) Lombok: RuntimeException when NoArgsContructor/Builder are applied to a class with non-property parameter in a primary constructor - [`KT-88707`](https://youtrack.jetbrains.com/issue/KT-88707) Lombok: FileAnalysisException when creating an instance of an inner class with NoArgsConstructor - [`KT-89169`](https://youtrack.jetbrains.com/issue/KT-89169) Lombok: constructor annotations on a Java inner class produce an uncallable constructor - [`KT-89162`](https://youtrack.jetbrains.com/issue/KT-89162) Lombok: `@Builder` on a method generates nothing in the IDE because the annotation is read off unresolved FIR - [`KT-89152`](https://youtrack.jetbrains.com/issue/KT-89152) Lombok: use kotlin.test assertions in the plugin's test data instead of the hand-rolled assertEquals - [`KT-89133`](https://youtrack.jetbrains.com/issue/KT-89133) Lombok: no navigation from a generated `@Builder` member to the property it is generated from - [`KT-86915`](https://youtrack.jetbrains.com/issue/KT-86915) Support for multiple annotations on the same class - [`KT-86652`](https://youtrack.jetbrains.com/issue/KT-86652) Lombok: introduce NO_NOARG_CONSTRUCTOR_IN_SUPERCLASS for `@NoArgsConstructor` - [`KT-88276`](https://youtrack.jetbrains.com/issue/KT-88276) REDECLARATION conflicts with the existing nested 'Companion' - [`KT-89412`](https://youtrack.jetbrains.com/issue/KT-89412) Add kotlin-atomicfu-compiler-plugin to .zip compiler distribution - [`KT-71791`](https://youtrack.jetbrains.com/issue/KT-71791) \[AFU plugin] Improve illegal use cases handling - [`KT-88814`](https://youtrack.jetbrains.com/issue/KT-88814) Lombok: InstantiationError when using Builder with abstract or sealed class - [`KT-88891`](https://youtrack.jetbrains.com/issue/KT-88891) Lombok: Builder annotation generates setters for properties declared in a class body that do not work - [`KT-89040`](https://youtrack.jetbrains.com/issue/KT-89040) Lombok: no diagnostic and no codegen when `@Builder` applied to top-level functions - [`KT-89027`](https://youtrack.jetbrains.com/issue/KT-89027) Lombok: `@Builder`(access = AccessLevel.PRIVATE) in Kotlin produces unusable builder class - [`KT-88852`](https://youtrack.jetbrains.com/issue/KT-88852) Lombok: RuntimeException if Builder is applied to an inner class - [`KT-89024`](https://youtrack.jetbrains.com/issue/KT-89024) Lombok: ClassFormatError when loading class annotated with `@Builder`(builderMethodName="") - [`KT-88848`](https://youtrack.jetbrains.com/issue/KT-88848) Lombok: AssertionError when applying Builder annotation to a local class - [`KT-89218`](https://youtrack.jetbrains.com/issue/KT-89218) Lombok: no diagnostic when `@Builder`.Default or `@Singular` is applied to a body-declared property of a Kotlin class - [`KT-89185`](https://youtrack.jetbrains.com/issue/KT-89185) Lombok: toBuilder() silently drops a builder field with no property to read, where Lombok reports an error - [`KT-88941`](https://youtrack.jetbrains.com/issue/KT-88941) Lombok: KotlinIllegalArgumentExceptionWithAttachments in the IDE when `@NoArgsConstructor` or `@Builder` is applied to a Kotlin class - [`KT-89753`](https://youtrack.jetbrains.com/issue/KT-89753) Lombok: StackOverflowError when a Java class uses its own nested annotation on a member - [`KT-83273`](https://youtrack.jetbrains.com/issue/KT-83273) Lombok. The inner builder class is unavailable in kotlin - [`KT-88904`](https://youtrack.jetbrains.com/issue/KT-88904) Lombok: Builder annotation generates invalid IR for generics with type-parametrized upper bound - [`KT-89084`](https://youtrack.jetbrains.com/issue/KT-89084) Lombok: lombok.singular.useGuava=true is not working for Kotlin collections - [`KT-89045`](https://youtrack.jetbrains.com/issue/KT-89045) Lombok: some java.util.\* collections supported in Java as `@Singular` targets are not supported in Kotlin - [`KT-89117`](https://youtrack.jetbrains.com/issue/KT-89117) Lombok: NoSuchMethodError when using Java class annotated with Builder and Singular in Kotlin and with lombok.singular.useGuava=true - [`KT-79199`](https://youtrack.jetbrains.com/issue/KT-79199) Add K/N FIR dump tests to atomicfu compiler plugin - [`KT-89970`](https://youtrack.jetbrains.com/issue/KT-89970) Parcelize assigns fields of a value class after super() in Valhalla mode - [`KT-89971`](https://youtrack.jetbrains.com/issue/KT-89971) no-arg plugin silently generates zero-argument constructors for value classes - [`KT-89972`](https://youtrack.jetbrains.com/issue/KT-89972) no-arg reports a redundant superclass error on inner classes it already rejects - [`KT-89973`](https://youtrack.jetbrains.com/issue/KT-89973) all-open makes value classes open, causing "Value class cannot be open" errors - [`KT-89189`](https://youtrack.jetbrains.com/issue/KT-89189) `@EqualsAndHashCode` on a Kotlin class must generate canEqual - [`KT-88705`](https://youtrack.jetbrains.com/issue/KT-88705) Lombok: RuntimeException when compiling NoArgsConstructor applied to a value class - [`KT-88636`](https://youtrack.jetbrains.com/issue/KT-88636) Lombok: Fields starting with $ are not excluded from generated equals/hashCode - [`KT-88824`](https://youtrack.jetbrains.com/issue/KT-88824) Lombok: NoSuchMethodError when applying Builder to enum class - [`KT-89371`](https://youtrack.jetbrains.com/issue/KT-89371) CONFLICTING_JVM_DECLARATIONS when using both `@NoArgsConstructor` and `@Builder` - [`KT-87277`](https://youtrack.jetbrains.com/issue/KT-87277) AtomicFU: allow only private atomic companion extension and member properties - [`KT-88336`](https://youtrack.jetbrains.com/issue/KT-88336) Change Lombok diagnostics severity from warning to strong warning - [`KT-84119`](https://youtrack.jetbrains.com/issue/KT-84119) Power-assert: "StringIndexOutOfBoundsException: Range \[0, -2) out of bounds for length 884" in a scratch file - [`KT-88179`](https://youtrack.jetbrains.com/issue/KT-88179) Power-assert: IrGenerationExtensionException (StringIndexOutOfBoundsException) when assert() wraps a context-parameter function call - [`KT-88656`](https://youtrack.jetbrains.com/issue/KT-88656) Lombok: EqualsAndHashCode in Kotlin does not use deep hash code for arrays - [`KT-88511`](https://youtrack.jetbrains.com/issue/KT-88511) Lombok: VerifyError if `@EqualsAndHashCode` applied to a subclass of a class with final equals or hashCode - [`KT-88532`](https://youtrack.jetbrains.com/issue/KT-88532) Lombok `@EqualsAndHashCode`: hashCode() returns same value for null field and default value (e.g. Int=0), causing hash collision between non-equal instances - [`KT-88653`](https://youtrack.jetbrains.com/issue/KT-88653) Lombok: EqualsAndHashCode.callSuper diagnostics is present in Java, but is missing in Kotlin - [`KT-88655`](https://youtrack.jetbrains.com/issue/KT-88655) Lombok: missing diagnostics for Exlude annotations used with `@EqualsAndHashCode`(onlyExplicitlyIncluded = true) - [`KT-54072`](https://youtrack.jetbrains.com/issue/KT-54072) \[K2] \[JAVA_TYPE_MISMATCH] error in case sortedSetOf() is used as a param of a filed annotated with @&#8203; Singular which type is raw SortedSet - [`KT-87871`](https://youtrack.jetbrains.com/issue/KT-87871) ANNOTATION_HAS_NO_EFFECT reported for interfaces/annotation class with `@Log`, although the log property is generated - [`KT-88288`](https://youtrack.jetbrains.com/issue/KT-88288) `@Log` on a companion object does nothing when lombok.log.fieldIsStatic=false - [`KT-88367`](https://youtrack.jetbrains.com/issue/KT-88367) IrGenerationExtensionException when `@ToString` is applied to a class with a property in a companion block - [`KT-88701`](https://youtrack.jetbrains.com/issue/KT-88701) Lombok: ClassFormatError when using interface with NoArgsContructor annotation applied - [`KT-88505`](https://youtrack.jetbrains.com/issue/KT-88505) Lombok: `@Builder` generates a setter for a Java static field - [`KT-88936`](https://youtrack.jetbrains.com/issue/KT-88936) Lombok: Builder applied to an object generates unreachable code - [`KT-88507`](https://youtrack.jetbrains.com/issue/KT-88507) Lombok: VerifyError in runtime if `@EqualsAndHashCode` was applied to a enum class - [`KT-88644`](https://youtrack.jetbrains.com/issue/KT-88644) Lombok: Tolerate unsupported warning is not visible enough when combined with EqualsAndHashCode - [`KT-88620`](https://youtrack.jetbrains.com/issue/KT-88620) Lombok: of/exclude attributes of `@EqualsAndHashCode`/`@ToString` annotation reported as unsupported, but they do affect the codegen - [`KT-88614`](https://youtrack.jetbrains.com/issue/KT-88614) Lombok: EqualsAndHashCode applied to object/companion object does not report ANNOTATION_HAS_NO_EFFECT - [`KT-88322`](https://youtrack.jetbrains.com/issue/KT-88322) Add `linuxArm32Hfp()` to Power Assert runtime - [`KT-88803`](https://youtrack.jetbrains.com/issue/KT-88803) PowerAssert: Create tests for diagram without runtime - [`KT-88419`](https://youtrack.jetbrains.com/issue/KT-88419) Array values are not displayed well with `@ToString` - [`KT-88420`](https://youtrack.jetbrains.com/issue/KT-88420) There is no diagnostic when `@ToString` overrides a final method - [`KT-88410`](https://youtrack.jetbrains.com/issue/KT-88410) If the first class member doesn't have a backing field when `@ToString` has an extra comma - [`KT-88248`](https://youtrack.jetbrains.com/issue/KT-88248) LOG_PROPERTY_ALREADY_EXISTS isn't reported for member property - [`KT-88407`](https://youtrack.jetbrains.com/issue/KT-88407) ANNOTATION_HAS_NO_EFFECT isn't reported when `@Log`/`@String` is applied to an expression - [`KT-88333`](https://youtrack.jetbrains.com/issue/KT-88333) ANNOTATION_CLASS_MEMBER is reported for annotation with `@ToString` - [`KT-88337`](https://youtrack.jetbrains.com/issue/KT-88337) Handle Lombok AccessLevel.PROTECTED, MODULE, and PACKAGE correctly for Kotlin classes - [`KT-88203`](https://youtrack.jetbrains.com/issue/KT-88203) `@Log` with AccessLevel.PROTECTED is accessible from the public scope - [`KT-86651`](https://youtrack.jetbrains.com/issue/KT-86651) Lombok: "Constructor without parameters is already defined" checker for `@NoArgConstructor` - [`KT-87912`](https://youtrack.jetbrains.com/issue/KT-87912) AtomicFU: compiler plugin can't handle loop function invocation inside an inline function initializing top-level property - [`KT-87784`](https://youtrack.jetbrains.com/issue/KT-87784) AFU: compiler plugin does not support inline extension properties on atomics - [`KT-87612`](https://youtrack.jetbrains.com/issue/KT-87612) Test Federation: Review domain Compiler Plugins Smoke & Contract tests - [`KT-75877`](https://youtrack.jetbrains.com/issue/KT-75877) PowerAssert: don't display value for anonymous object - [`KT-87889`](https://youtrack.jetbrains.com/issue/KT-87889) Use Lombok implementation to singularize words - [`KT-85180`](https://youtrack.jetbrains.com/issue/KT-85180) AtomicFU/Native IR validation error - [`KT-67440`](https://youtrack.jetbrains.com/issue/KT-67440) Atomicfu-compiler-plugin: incorrect initialization order of delegated properties - [`KT-67839`](https://youtrack.jetbrains.com/issue/KT-67839) Atomicfu plugin: support transformation of minusAssign/plusAssign operators ##### Tools. Compiler plugins. Compose ##### Fixes - [`KT-91414`](https://youtrack.jetbrains.com/issue/KT-91414) Compose compiler, Kotlin/Native: lambda SAM-converted to `@Composable` fun interface gets no restart group; recomposition fails with "No nodes can be emitted before calling skipAndEndGroup" - [`KT-91591`](https://youtrack.jetbrains.com/issue/KT-91591) Compose: NoSuchFieldError when a cross-module `@JvmField` property of `@Composable` lambda type is accessed more than once (field arity grows by 2 per access) - [`KT-89310`](https://youtrack.jetbrains.com/issue/KT-89310) Drop K1 descriptor usage from `AbstractComposeLowering.sourceKey` - [`KT-89311`](https://youtrack.jetbrains.com/issue/KT-89311) Drop K1 descriptor usage from `ClassStabilityTransformer.visitClass` - [`KT-90466`](https://youtrack.jetbrains.com/issue/KT-90466) Compose compiler, Kotlin/Native: IrLinkageError "No function found for symbol" for lambda SAM-converted to `@Composable` fun interface from another module - [`KT-84055`](https://youtrack.jetbrains.com/issue/KT-84055) Reference to lambda in lambda in function 'TextField' can not be evaluated - [`KT-89957`](https://youtrack.jetbrains.com/issue/KT-89957) Compose infers full value classes with uncertain properties as stable - [`KT-89961`](https://youtrack.jetbrains.com/issue/KT-89961) Compose crashes with StackOverflowError on a recursive full value class - [`KT-89958`](https://youtrack.jetbrains.com/issue/KT-89958) Compose ignores type arguments of generic value classes when inferring stability - [`KT-89968`](https://youtrack.jetbrains.com/issue/KT-89968) Compose infers abstract and sealed value classes as unstable instead of uncertain - [`KT-89969`](https://youtrack.jetbrains.com/issue/KT-89969) Compose ignores the stability configuration file for value classes - [`KT-89681`](https://youtrack.jetbrains.com/issue/KT-89681) \[WEB] Expression uses unlinked type parameter symbol - [`KT-88069`](https://youtrack.jetbrains.com/issue/KT-88069) \[Compose Compiler] NoClassDefFoundError when invoking `@Composable` lambda directly - [`KT-88028`](https://youtrack.jetbrains.com/issue/KT-88028) Compose compiler: IndexOutOfBoundsException in ComposableTargetAnnotationsTransformer when overriding a `@Composable` function with default parameter in another module - [`KT-82808`](https://youtrack.jetbrains.com/issue/KT-82808) \[CMP] IrLinkageError: Abstract function is not implemented ##### Tools. Compiler plugins. Serialization ##### New Features - [`KT-66462`](https://youtrack.jetbrains.com/issue/KT-66462) Report a warning when the serializable class has a private companion - [`KT-55738`](https://youtrack.jetbrains.com/issue/KT-55738) Report a diagnostic when `@Serializable` class already has a serializer() function in companion with signature that matches plugin-generated - [`KT-69488`](https://youtrack.jetbrains.com/issue/KT-69488) Serialization: plugin should print a diagnostic or a warning when misusing `@Serializable`(with=...) - [`KT-81042`](https://youtrack.jetbrains.com/issue/KT-81042) Warn when Proto\* annotations are applied to properties of inappropriate type ##### Fixes - [`KT-91224`](https://youtrack.jetbrains.com/issue/KT-91224) Kx Serialization: Regression in support of Java enums with Serializable annotation - [`KT-71680`](https://youtrack.jetbrains.com/issue/KT-71680) Report a warning when `@Serializable` public class has private serializer - [`KT-73207`](https://youtrack.jetbrains.com/issue/KT-73207) Report a compiler error when `@Serializable`(with) is applied and number of generic parameters does not match - [`KT-69067`](https://youtrack.jetbrains.com/issue/KT-69067) K2 + Serialization: provide a warning when plugin-related annotations are typealiased - [`KT-59088`](https://youtrack.jetbrains.com/issue/KT-59088) KJS / Serialization: Report a compiler error if `@Serializable` class contains a property with dynamic type - [`KT-89643`](https://youtrack.jetbrains.com/issue/KT-89643) Fix Protobuf tag reuse for full value classes - [`KT-89275`](https://youtrack.jetbrains.com/issue/KT-89275) Kotlin/Wasm: Invalid Wasm is emitted for a `@Serializable` generic class with a class upper bound - [`KT-88540`](https://youtrack.jetbrains.com/issue/KT-88540) Warn when `@SerialInfo`/`@InheritableSerialInfo`-annotated annotation has inapplicable target - [`KT-75702`](https://youtrack.jetbrains.com/issue/KT-75702) Support array content equality when deciding whether to encode a default value in kotlinx.serialization plugin ##### Tools. Daemon - [`KT-83117`](https://youtrack.jetbrains.com/issue/KT-83117) Daemon mode: Clear jar caches at the end of the build ##### Tools. Gradle ##### New Features - [`KT-81782`](https://youtrack.jetbrains.com/issue/KT-81782) Enable CRI by default - [`KT-78215`](https://youtrack.jetbrains.com/issue/KT-78215) Gradle: enable Kotlin/JS compilation and linking through BTA by default - [`KT-78217`](https://youtrack.jetbrains.com/issue/KT-78217) Gradle: enable Kotlin/Wasm compilation and linking through BTA by default - [`KT-80510`](https://youtrack.jetbrains.com/issue/KT-80510) Gradle: enable metadata compilation through BTA by default - [`KT-74808`](https://youtrack.jetbrains.com/issue/KT-74808) Add Gradle DSL option for enabling unused return value checker - [`KT-88601`](https://youtrack.jetbrains.com/issue/KT-88601) Warn user on non-publishable targets when Kotlin Archive is enabled - [`KT-88529`](https://youtrack.jetbrains.com/issue/KT-88529) Support compatibility mode with direct dependencies on platform components in KGP - [`KT-88526`](https://youtrack.jetbrains.com/issue/KT-88526) Initial implementation of Kotlin Archive in KGP ##### Performance Improvements - [`KT-88084`](https://youtrack.jetbrains.com/issue/KT-88084) Each build leaves a strong reference to an instance of BuildMetricsService - [`KT-69613`](https://youtrack.jetbrains.com/issue/KT-69613) Remove usages of `getCanonicalPath` and `getCanonicalFile` in plugins code ##### Fixes - [`KT-88290`](https://youtrack.jetbrains.com/issue/KT-88290) Make kotlin.user.home support relative paths - [`KT-91772`](https://youtrack.jetbrains.com/issue/KT-91772) KGP drops an explicitly set compiler argument when it equals the KGP default but not the default of a newer compilerVersion - [`KT-84114`](https://youtrack.jetbrains.com/issue/KT-84114) Bump the minimal supported Gradle version to 8.14.x - [`KT-87989`](https://youtrack.jetbrains.com/issue/KT-87989) Deprecate the legacy Swift Export DSL and provide migration diagnostics - [`KT-87990`](https://youtrack.jetbrains.com/issue/KT-87990) Add consumer dependency overrides to Swift Export Xcode integration - [`KT-88594`](https://youtrack.jetbrains.com/issue/KT-88594) Compatibility with Gradle 9.8 release - [`KT-61225`](https://youtrack.jetbrains.com/issue/KT-61225) Turn "Kotlin Gradle plugin was loaded multiple times" warnings into error - [`KT-85434`](https://youtrack.jetbrains.com/issue/KT-85434) Gradle: drop support for non-BTA JVM compiler execution mode - [`KT-87910`](https://youtrack.jetbrains.com/issue/KT-87910) Implement Kotlin Archive (.kar) publication format - [`KT-88619`](https://youtrack.jetbrains.com/issue/KT-88619) Bump minimal supported AGP version to 8.8.2 - [`KT-88622`](https://youtrack.jetbrains.com/issue/KT-88622) Unconditionally deprecate direct integration with AGP - [`KT-87971`](https://youtrack.jetbrains.com/issue/KT-87971) Make multiple loaded plugins detection compatible with project isolation - [`KT-71968`](https://youtrack.jetbrains.com/issue/KT-71968) Setting custom `kotlin.project.persistent.dir` causes `NoSuchFileException: ./custom-cache-dir/sessions/kotlin-compiler-12437393244673679493.salive` - [`KT-69336`](https://youtrack.jetbrains.com/issue/KT-69336) Support kotlin.project.persistent.dir that is outside of rootProject - [`KT-87558`](https://youtrack.jetbrains.com/issue/KT-87558) Gradle: Remove property for disabling usage of non-packed klibs - [`KT-88785`](https://youtrack.jetbrains.com/issue/KT-88785) Gradle: Remove kotlin.internal.classpathSnapshot.parseInlinedLocalClasses - [`KT-82426`](https://youtrack.jetbrains.com/issue/KT-82426) Improve publishing with cross compilation - [`KT-90997`](https://youtrack.jetbrains.com/issue/KT-90997) Preserve behaviour of deprecated kotlin.internal.incremental.enableUnsafeOptimizationsForMultiplatform in 2.5.0 - [`KT-90672`](https://youtrack.jetbrains.com/issue/KT-90672) Gradle: "configureEach(Action) on task set cannot be executed in the current context" when KotlinCompile is created lazily with AGP built-in Kotlin - [`KT-85935`](https://youtrack.jetbrains.com/issue/KT-85935) KGP / Android: sourceSets deprecation not shown in DSL block form inside KotlinAndroidProjectExtension - [`KT-91330`](https://youtrack.jetbrains.com/issue/KT-91330) Groovy DSL: kotlin { sourceSets { main {} } } in Android project fails with misleading "Could not find method main()" - [`KT-91331`](https://youtrack.jetbrains.com/issue/KT-91331) Deprecated Kotlin sourceSets in Android extension: block form doesn't report the error in Groovy DSL or in suppressed Kotlin DSL - [`KT-88380`](https://youtrack.jetbrains.com/issue/KT-88380) Raise deprecation level to error for Kotlin source sets in Android extension - [`KT-87986`](https://youtrack.jetbrains.com/issue/KT-87986) Publish Swift Export metadata - [`KT-88602`](https://youtrack.jetbrains.com/issue/KT-88602) Add Gradle 9.8 support in integration tests - [`KT-88604`](https://youtrack.jetbrains.com/issue/KT-88604) Switch Gradle functional tests to Gradle 9.8 runtime - [`KT-73968`](https://youtrack.jetbrains.com/issue/KT-73968) KotlinDependencyManagement tries to mutate configuration after it was resolved - [`KT-88583`](https://youtrack.jetbrains.com/issue/KT-88583) Kapt may unexpectedly load conflicting dependencies from the Gradle runtime classpath - [`KT-88609`](https://youtrack.jetbrains.com/issue/KT-88609) Cleanup declarative Gradle prototype from ecosystem plugin - [`KT-89340`](https://youtrack.jetbrains.com/issue/KT-89340) Adopt sources.jars publication to Kotlin Archive - [`KT-89323`](https://youtrack.jetbrains.com/issue/KT-89323) Consume Swift Export metadata for project dependencies - [`KT-87987`](https://youtrack.jetbrains.com/issue/KT-87987) Consume Swift Export metadata for published external dependencies - [`KT-90111`](https://youtrack.jetbrains.com/issue/KT-90111) Add missing generated files to 2.5.0 branch - [`KT-88850`](https://youtrack.jetbrains.com/issue/KT-88850) Add explicit xcodeIntegration and opt-in task wiring - [`KT-88853`](https://youtrack.jetbrains.com/issue/KT-88853) Derive Swift Export module export modes from KMP api and implementation dependencies - [`KT-87509`](https://youtrack.jetbrains.com/issue/KT-87509) Stop using Gradle Problems API severity field - [`KT-77241`](https://youtrack.jetbrains.com/issue/KT-77241) KGP: Remove CleanData infrastructure - [`KT-87993`](https://youtrack.jetbrains.com/issue/KT-87993) Compile against Gradle API 9.7 - [`KT-87994`](https://youtrack.jetbrains.com/issue/KT-87994) Run Gradle integration tests against Gradle 9.7 - [`KT-87995`](https://youtrack.jetbrains.com/issue/KT-87995) Run Gradle functional tests using Gradle runtime 9.7 - [`KT-87840`](https://youtrack.jetbrains.com/issue/KT-87840) Isolated projects: "Project ... cannot access 'Project.extensions' functionality on another project" when configuring JS/Wasm targets (NodeJsPlugin/D8Plugin) - [`KT-88192`](https://youtrack.jetbrains.com/issue/KT-88192) KMP Separate Compilation: separate compilation mode is incompatible with configuration cache - [`KT-87726`](https://youtrack.jetbrains.com/issue/KT-87726) Run functional tests against the Gradle 9.6 release - [`KT-87256`](https://youtrack.jetbrains.com/issue/KT-87256) KotlincOutputParser fails to parse compilation errors under Gradle when task path prefixes are enabled (Kotlin 2.4.20-Beta1) - [`KT-87508`](https://youtrack.jetbrains.com/issue/KT-87508) Wire buildNeeded/buildDependent only for Gradle <9.5.0 - [`KT-86835`](https://youtrack.jetbrains.com/issue/KT-86835) \[KGP] Migrate KotlinSecondaryVariantsDataSharing to kotlinx-serialization - [`KT-86833`](https://youtrack.jetbrains.com/issue/KT-86833) \[KGP] Migrate Apple/Swift-export/Native Gson usages to kotlinx-serialization; introduce FileSerializer - [`KT-87724`](https://youtrack.jetbrains.com/issue/KT-87724) Fix failing SwiftPM Import Tests - [`KT-87970`](https://youtrack.jetbrains.com/issue/KT-87970) Extend test coverage for multiple loaded plugins detection - [`KT-87679`](https://youtrack.jetbrains.com/issue/KT-87679) Bump version of file-leak-detector used in KGP ITs - [`KT-87911`](https://youtrack.jetbrains.com/issue/KT-87911) Report an actionable diagnostic when .kar files reach compilation classpaths in Kotlin 2.4.20 - [`KT-86435`](https://youtrack.jetbrains.com/issue/KT-86435) Replace `File.ensureParentDirsCreated()` with NIO Path `createDirectories()` - [`KT-87729`](https://youtrack.jetbrains.com/issue/KT-87729) Update KGP test to use jvm-test-suite - [`KT-86040`](https://youtrack.jetbrains.com/issue/KT-86040) Run tests against the Gradle 9.6.0 release ##### Tools. Gradle. JS ##### New Features - [`KT-88882`](https://youtrack.jetbrains.com/issue/KT-88882) Reimplement Node.js provisioning in KGP - [`KT-88868`](https://youtrack.jetbrains.com/issue/KT-88868) Rework declaration and collection of npm dependencies in KGP - [`KT-87087`](https://youtrack.jetbrains.com/issue/KT-87087) Integrate Analysis API based TypeScript generation into the KMP Gradle plugin as a separate task - [`KT-86731`](https://youtrack.jetbrains.com/issue/KT-86731) Integrate new Kotlin JS Browser Test pipeline with IDEA in debug mode - [`KT-89230`](https://youtrack.jetbrains.com/issue/KT-89230) Expose allBrowserTestRunners as gradle named domain collection - [`KT-88856`](https://youtrack.jetbrains.com/issue/KT-88856) KGP/JS/Playwright: Provide Gradle test filtering arguments in KotlinJsTestsLocation - [`KT-86715`](https://youtrack.jetbrains.com/issue/KT-86715) Add ability to configure Dev-server URL (or specification) to run browser tests from ##### Fixes - [`KT-89052`](https://youtrack.jetbrains.com/issue/KT-89052) Add a cacheability annotation to EsmBundleKotlinJsTests - [`KT-90285`](https://youtrack.jetbrains.com/issue/KT-90285) KGP rejects 'valid' package names - [`KT-90770`](https://youtrack.jetbrains.com/issue/KT-90770) Analysis API-based TypeScript declarations ignore the module name set on the link task for UMD and plain modules - [`KT-90626`](https://youtrack.jetbrains.com/issue/KT-90626) Analysis API-based TypeScript declarations ignore the JS file name set on the link task - [`KT-86708`](https://youtrack.jetbrains.com/issue/KT-86708) Add FUS events for new JS test API - [`KT-90489`](https://youtrack.jetbrains.com/issue/KT-90489) Rich TypeScript declarations ignore Long-as-BigInt enabled by target es2020 - [`KT-89605`](https://youtrack.jetbrains.com/issue/KT-89605) Use nodeJsToolchain in all tasks for nodeExecutable - [`KT-90126`](https://youtrack.jetbrains.com/issue/KT-90126) FUS: configurationTimeMetrics fails with IllegalArgumentException for an unsupported browser test runner - [`KT-90286`](https://youtrack.jetbrains.com/issue/KT-90286) NodeJsExec ignores a custom executable - [`KT-89797`](https://youtrack.jetbrains.com/issue/KT-89797) KJS/KGP: Playwright tests fail to update after kotlin code changes - [`KT-90366`](https://youtrack.jetbrains.com/issue/KT-90366) -Xdts-use-unknown-instead-any is ignored by the new GenerateTypeScriptDefinitions task - [`KT-90519`](https://youtrack.jetbrains.com/issue/KT-90519) KGP and BTA do not preserve -XXLanguage settings for Analysis API-based TypeScript declaration generation - [`KT-90533`](https://youtrack.jetbrains.com/issue/KT-90533) -Xes-long-as-bigint=true is ignored by Analysis API-based TypeScript declaration generation - [`KT-90491`](https://youtrack.jetbrains.com/issue/KT-90491) GenerateTypeScriptDefinitions task generates UMD declarations for ES module when target is es2015 or higher and module kind is not set - [`KT-84724`](https://youtrack.jetbrains.com/issue/KT-84724) NPM dependency versions do not invalidate KotlinWebpack task cache key in kotlin multiplatform project - [`KT-85440`](https://youtrack.jetbrains.com/issue/KT-85440) Remove kotlin-js plugin - [`KT-89214`](https://youtrack.jetbrains.com/issue/KT-89214) Share JS/WasmJS npm dependencies through Gradle Configurations - [`KT-89404`](https://youtrack.jetbrains.com/issue/KT-89404) wasmJs browser test returns timeout and cant load mocha.js and mocha.css because they are missing in the ems bundle - [`KT-89508`](https://youtrack.jetbrains.com/issue/KT-89508) JS/Wasm: Remove deprecated properties in NodeJsRootExtension - [`KT-86683`](https://youtrack.jetbrains.com/issue/KT-86683) Use npm-installed mocha.js instead HTTP loaded variant in JS Browser test pipeline - [`KT-89734`](https://youtrack.jetbrains.com/issue/KT-89734) Update JS tooling dependencies - [`KT-88592`](https://youtrack.jetbrains.com/issue/KT-88592) Reporter option 'alsoWithHtml' has no effect. Because custom reporterOptions.Base was provided. In node-js tests - [`KT-88431`](https://youtrack.jetbrains.com/issue/KT-88431) Playwright JS tests don't run on Linux/ARM - [`KT-90303`](https://youtrack.jetbrains.com/issue/KT-90303) Rename nodeJs toolchain gradle properties - [`KT-90287`](https://youtrack.jetbrains.com/issue/KT-90287) Node.js toolchain fails without an explicit installation directory - [`KT-90087`](https://youtrack.jetbrains.com/issue/KT-90087) JS_TEST_BROWSER_TYPE FUS metric is not reported when using the default Chromium browser in Playwright tests - [`KT-88718`](https://youtrack.jetbrains.com/issue/KT-88718) \[TechDebt] Add dependsOnNpmTooling to simplify task dependency on NPM tooling - [`KT-84740`](https://youtrack.jetbrains.com/issue/KT-84740) Promote deprecation of NpmApiExecution#resolveRootProject to ERROR - [`KT-88709`](https://youtrack.jetbrains.com/issue/KT-88709) Deprecate NpmDependencyExtension - [`KT-87502`](https://youtrack.jetbrains.com/issue/KT-87502) Validate customBrowserExecutable path in new JS test DSL - [`KT-87641`](https://youtrack.jetbrains.com/issue/KT-87641) Having a few same js targets with configured tests leads to Cannot add task 'kotlinInstallPlaywrightBrowsers' - [`KT-87643`](https://youtrack.jetbrains.com/issue/KT-87643) jsBrowserTest for project with js and wasmJs fails on /build/kotlinJsTest/dist' which doesn't exist - [`KT-86112`](https://youtrack.jetbrains.com/issue/KT-86112) Promote KotlinJsIrTarget constructor deprecation from WARN to ERROR - [`KT-85179`](https://youtrack.jetbrains.com/issue/KT-85179) Remove NodeJsExec.create - [`KT-88597`](https://youtrack.jetbrains.com/issue/KT-88597) Fix failing Gradle Integration Tests Gradle Kotlin JS with Browser tests Linux - [`KT-88504`](https://youtrack.jetbrains.com/issue/KT-88504) Gradle Integration Tests Gradle Kotlin JS with Browser tests (Windows) fails after Gradle 9.7 Bump - [`KT-86797`](https://youtrack.jetbrains.com/issue/KT-86797) Failed JS tests don't report errors in the output - [`KT-86799`](https://youtrack.jetbrains.com/issue/KT-86799) Report browser environment to IJ - [`KT-87501`](https://youtrack.jetbrains.com/issue/KT-87501) Throw an error if new JS test DSL is used with Wasm - [`KT-87600`](https://youtrack.jetbrains.com/issue/KT-87600) Playwright install on multiple subprojects cause Gradle build to fail - [`KT-53687`](https://youtrack.jetbrains.com/issue/KT-53687) Don't trigger npm and yarn related tasks if it not relevant for assemble ##### Tools. Gradle. Multiplatform ##### Performance Improvements - [`KT-87790`](https://youtrack.jetbrains.com/issue/KT-87790) Kotlin 2.4.0 increases Gradle sync times ##### Fixes - [`KT-86666`](https://youtrack.jetbrains.com/issue/KT-86666) Metadata (aka e.g. commonMain) unique_name does not include group prefix - [`KT-87513`](https://youtrack.jetbrains.com/issue/KT-87513) Error deprecation for watchosArm32 target - [`KT-88590`](https://youtrack.jetbrains.com/issue/KT-88590) NoSuchElementException thrown with new KMP compilation scheme - [`KT-89848`](https://youtrack.jetbrains.com/issue/KT-89848) KAR: jsNpmAggregated fails on mixed legacy and archived artifacts in the classpath - [`KT-90544`](https://youtrack.jetbrains.com/issue/KT-90544) Gradle, Multiplatform: Publication iteration misses JS, Wasm and Native targets since 2.5.0-Beta2 (after Kotlin Archive publishing changes) - [`KT-89906`](https://youtrack.jetbrains.com/issue/KT-89906) KAR: incomplete publication may fail on metadata compilation if a cinterop used - [`KT-60724`](https://youtrack.jetbrains.com/issue/KT-60724) Legacy dependencies are not reported if used in tests - [`KT-89900`](https://youtrack.jetbrains.com/issue/KT-89900) Disable partial resolution diagnostic in large projects - [`KT-89563`](https://youtrack.jetbrains.com/issue/KT-89563) KGP doesn't work with the new xcproj Xcode project format - [`KT-84736`](https://youtrack.jetbrains.com/issue/KT-84736) SPM import: the package name for the included build is just an underscore - [`KT-86611`](https://youtrack.jetbrains.com/issue/KT-86611) Deprecate hidden kotlin.mpp.freeCompilerArgsForSourceSet property - [`KT-80897`](https://youtrack.jetbrains.com/issue/KT-80897) Drop implementationMetadataConfigurationName from KGP - [`KT-89878`](https://youtrack.jetbrains.com/issue/KT-89878) Raise deprecation to error for 'withJava()' API - [`KT-89413`](https://youtrack.jetbrains.com/issue/KT-89413) Multiplatform: jvmTest reports omit JUnit TestReporter.publishEntry entries on Gradle 9.4+ - [`KT-89863`](https://youtrack.jetbrains.com/issue/KT-89863) KAR: npm dependencies are missed in publication - [`KT-89777`](https://youtrack.jetbrains.com/issue/KT-89777) KAR: publication reports potential issues in pom file - [`KT-89871`](https://youtrack.jetbrains.com/issue/KT-89871) KAR: source.jar always includes shared source sets sources - [`KT-89849`](https://youtrack.jetbrains.com/issue/KT-89849) KAR: WasmJs compilation fails on mixed legacy and archived artifacts in the classpath - [`KT-89817`](https://youtrack.jetbrains.com/issue/KT-89817) KAR library is ignored in framework exported dependency - [`KT-89815`](https://youtrack.jetbrains.com/issue/KT-89815) KAR: consumer's cinterop compilation reports used unsupported archive - [`KT-88890`](https://youtrack.jetbrains.com/issue/KT-88890) Stabilize MppIdeDependencyResolutionIT IDE resolution strict mode - [`KT-88839`](https://youtrack.jetbrains.com/issue/KT-88839) IDE reports NoSuchMethodException: org.jetbrains.kotlin.gradle.plugin.sources.DefaultLanguageSettingsBuilder.getEnabledLanguageFeatures() - [`KT-82417`](https://youtrack.jetbrains.com/issue/KT-82417) KMP Separate Compilation: missing fragment dependencies for custom darwin source set that mirrors appleMain - [`KT-87946`](https://youtrack.jetbrains.com/issue/KT-87946) Flaky JSBrowserTestsIT ##### Tools. Gradle. Native ##### New Features - [`KT-84852`](https://youtrack.jetbrains.com/issue/KT-84852) Wire linkage package integration check with Swift Export's embedAndSign ##### Fixes - [`KT-87873`](https://youtrack.jetbrains.com/issue/KT-87873) Deprecation warning on AndroidNative gradle DSL - [`KT-89622`](https://youtrack.jetbrains.com/issue/KT-89622) cleanSwiftImportFingerprintArtifacts fails to parse a fingerprint left by 2.4.20 after upgrading to 2.5.0-Beta1 - [`KT-88813`](https://youtrack.jetbrains.com/issue/KT-88813) Delete native tasks API deprecated as ERROR - [`KT-89480`](https://youtrack.jetbrains.com/issue/KT-89480) Changing swift export visibility doesn't affect incremental builds - [`KT-89265`](https://youtrack.jetbrains.com/issue/KT-89265) K/N: Gradle 9.8 reports "Using the enum type KotlinNativeBundleArtifactsTypes as an attribute value type has been deprecated" - [`KT-87632`](https://youtrack.jetbrains.com/issue/KT-87632) Native test: empty unnamed Output tab appears in Test Results when test process exits abnormally - [`KT-76147`](https://youtrack.jetbrains.com/issue/KT-76147) Gradle Configuration Cache: 'compile\*KotlinMetadata' caused invocation of 'Task.project' in 'commonizeCInterop' - [`KT-87576`](https://youtrack.jetbrains.com/issue/KT-87576) Simplify SwiftPM lock file sync by moving logic from sync tasks into fetch task - [`KT-87535`](https://youtrack.jetbrains.com/issue/KT-87535) Make SwiftPM fingerprint file structured - [`KT-53477`](https://youtrack.jetbrains.com/issue/KT-53477) Native: Gradle plugin doesn't add compiler plugin transitive dependencies to compiler plugin classpath - [`KT-85468`](https://youtrack.jetbrains.com/issue/KT-85468) Don't fail IDE import if the SwiftPM import pipeline has failed somewhere - [`KT-87394`](https://youtrack.jetbrains.com/issue/KT-87394) Publishing fails with FileNotFoundException: iosArm64 KLIB missing when compilation skipped due to cross-compilation disabled in a project dependency - [`KT-88008`](https://youtrack.jetbrains.com/issue/KT-88008) SwiftPM-import Gradle IT fails after watchosArm32 removal and platform-condition change - [`KT-27683`](https://youtrack.jetbrains.com/issue/KT-27683) Most Kotlin compiler plugins cannot be used in Gradle MPP with Kotlin/Native - [`KT-87630`](https://youtrack.jetbrains.com/issue/KT-87630) Lenient import doesn't work with awaits introduced in KT-85933 ##### Tools. Gradle. Swift Export ##### New Features - [`KT-78747`](https://youtrack.jetbrains.com/issue/KT-78747) Swift export for SPM - [`KT-89803`](https://youtrack.jetbrains.com/issue/KT-89803) Swift package generation for Swift Export - [`KT-85687`](https://youtrack.jetbrains.com/issue/KT-85687) \[Swift Export - Gradle] Add exposed and hidden dependency visibility overrides ##### Fixes - [`KT-89720`](https://youtrack.jetbrains.com/issue/KT-89720) Add Swift Export metadata artifact to .kar archive - [`KT-89805`](https://youtrack.jetbrains.com/issue/KT-89805) Wire settings from the new Swift Export DSL into the Swift Export run - [`KT-90738`](https://youtrack.jetbrains.com/issue/KT-90738) swiftPackageIntegration: Release build fails to link exported package (undefined symbol KotlinRuntimeSupport_linkAnchor) - [`KT-89812`](https://youtrack.jetbrains.com/issue/KT-89812) Run Swift Export once per target and declare the outputs of its tasks - [`KT-90132`](https://youtrack.jetbrains.com/issue/KT-90132) Swift Export: Swift package export fails when Apple targets export different modules - [`KT-89680`](https://youtrack.jetbrains.com/issue/KT-89680) \[Swift Export] Types from a transitive spm dependency are not exported - [`KT-88987`](https://youtrack.jetbrains.com/issue/KT-88987) Add an example to the documentation for the export.swift.rootPackage DSL property - [`KT-89289`](https://youtrack.jetbrains.com/issue/KT-89289) Move SwiftExportConfigurationCompat into the internal package - [`KT-89379`](https://youtrack.jetbrains.com/issue/KT-89379) Remove the ExperimentalExportDsl opt-in annotation - [`KT-89354`](https://youtrack.jetbrains.com/issue/KT-89354) embedSwiftExportForXcode can never be a no-op - [`KT-89495`](https://youtrack.jetbrains.com/issue/KT-89495) Changes in published metadata not picked up by Swift Export task - [`KT-89393`](https://youtrack.jetbrains.com/issue/KT-89393) Report SwiftExportUnsupportedMetadataSchemaVersion when processing metadata from KotlinProjectSharedDataProvider - [`KT-90020`](https://youtrack.jetbrains.com/issue/KT-90020) Swift Export: OutOfMemoryError in SwiftExportAction because of default 512 MB worker heap - [`KT-90365`](https://youtrack.jetbrains.com/issue/KT-90365) Swift Export: rename Gradle properties to follow the naming conventions - [`KT-88672`](https://youtrack.jetbrains.com/issue/KT-88672) Gracefully fail embedSwiftExport task if the minimal target version is less then iOS 18 - [`KT-89059`](https://youtrack.jetbrains.com/issue/KT-89059) Introduce a bridging layer between the legacy SwiftExportExtension and the new ExportExtension.SwiftExportConfiguration - [`KT-88523`](https://youtrack.jetbrains.com/issue/KT-88523) Introduce the new export extension with a swift configuration block ##### Tools. Gradle. Wasm ##### New Features - [`KT-87082`](https://youtrack.jetbrains.com/issue/KT-87082) Support new playwright-based browser test DSL in wasmjs - [`KT-87136`](https://youtrack.jetbrains.com/issue/KT-87136) K/Wasm: Add possibility to have a distribution without webpack ##### Fixes - [`KT-89832`](https://youtrack.jetbrains.com/issue/KT-89832) K/Wasm: deprecate node for wasmWasi - [`KT-87562`](https://youtrack.jetbrains.com/issue/KT-87562) K/Wasm: remove `ExperimentalWasmDsl` from wasm-js target-related declarations KGP - [`KT-89269`](https://youtrack.jetbrains.com/issue/KT-89269) KGP/JS/Playwright: "Failed to load Kotlin WASM JS tests entry point TypeError" - [`KT-89510`](https://youtrack.jetbrains.com/issue/KT-89510) Wasm: Promote declarations deprecations - [`KT-89813`](https://youtrack.jetbrains.com/issue/KT-89813) K/Wasm: Update wasmtime to 49.0.1 - [`KT-89856`](https://youtrack.jetbrains.com/issue/KT-89856) K/Wasm: update Binaryen to 133 - [`KT-84258`](https://youtrack.jetbrains.com/issue/KT-84258) K/Wasm: Remove deprecated properties in BinaryenExec - [`KT-89521`](https://youtrack.jetbrains.com/issue/KT-89521) wasmJsTestBundleAsEsm fails instead of being skipped when there are no test sources - [`KT-88115`](https://youtrack.jetbrains.com/issue/KT-88115) "Your lockfile needs to be updated": Outdated bundled yarn.lock breaks kotlinWasmToolingSetup with --frozen-lockfile - [`KT-88566`](https://youtrack.jetbrains.com/issue/KT-88566) K/Wasm: Webpack configuration generated after user defined chunks from the webpack.config.d directory - [`KT-88285`](https://youtrack.jetbrains.com/issue/KT-88285) WasmJS tooling version overrides are ignored - [`KT-86879`](https://youtrack.jetbrains.com/issue/KT-86879) K/Wasm: Update wasmtime to 47.0.0 - [`KT-87831`](https://youtrack.jetbrains.com/issue/KT-87831) NPM install on Windows fails if project path contains braces - [`KT-87565`](https://youtrack.jetbrains.com/issue/KT-87565) Add validation for kotlin.wasm.compilationMode Gradle property values ##### Tools. Gradle. Xcode - [`KT-90520`](https://youtrack.jetbrains.com/issue/KT-90520) integrateLinkagePackage failing for json based xcproj with an existing spm dependency ##### Tools. Incremental Compile ##### Performance Improvements - [`KT-90019`](https://youtrack.jetbrains.com/issue/KT-90019) IC: Classpath snapshot shrinking builds the reverse-impact resolver even when no classpath classes are referenced - [`KT-89471`](https://youtrack.jetbrains.com/issue/KT-89471) Optimize allocations in ClasspathEntrySnapshotter.snapshot ##### Fixes - [`KT-88801`](https://youtrack.jetbrains.com/issue/KT-88801) Incremental compilation fails for a serializable class hierarchy in multiple files with private properties - [`KT-86121`](https://youtrack.jetbrains.com/issue/KT-86121) Incremental compilation fails for a serializable sealed inheritance chain in multiple files - [`KT-89336`](https://youtrack.jetbrains.com/issue/KT-89336) IC: inferred interface member return type is not recompiled when its underlying type changes - [`KT-89342`](https://youtrack.jetbrains.com/issue/KT-89342) Investigate potential performance improvement for IC classpath snapshotting - [`KT-88762`](https://youtrack.jetbrains.com/issue/KT-88762) Make kotlin.internal.jvm.enableUnsafeOptimizationsForMultiplatform a user-facing Gradle property - [`KT-91153`](https://youtrack.jetbrains.com/issue/KT-91153) Incremental compilation failed: The following FqNames can't be derived from DirtyData.dirtyLookupSymbols - [`KT-88997`](https://youtrack.jetbrains.com/issue/KT-88997) IC of common targeting JVM: IC crash on actualizing expect fake overrides when project contains intermediate jvm source-set - [`KT-89300`](https://youtrack.jetbrains.com/issue/KT-89300) K2 KMP JVM IC: Interface delegation causes IllegalStateException - [`KT-89044`](https://youtrack.jetbrains.com/issue/KT-89044) K2 KMP JVM IC: Actual typealias overload change ignored by incremental compilation - [`KT-89912`](https://youtrack.jetbrains.com/issue/KT-89912) Kotlin 2.4.20: JS/Wasm IC fails removing FIR-generated hint, then falls back to a full rebuild - [`KT-88539`](https://youtrack.jetbrains.com/issue/KT-88539) Incremental JS Klib compilation tests fail with LV 2.4+ - [`KT-62686`](https://youtrack.jetbrains.com/issue/KT-62686) K2: Common module sees platform declarations in case of MPP project incremental compilation ##### Tools. JPS - [`KT-88702`](https://youtrack.jetbrains.com/issue/KT-88702) Support incremental dumb-mode compiler execution with providing tracker data output for JPS - [`KT-89569`](https://youtrack.jetbrains.com/issue/KT-89569) Remove copied APIs from JPS - [`KT-89464`](https://youtrack.jetbrains.com/issue/KT-89464) Compilation fails with NoClassDefFoundError in UtilsKt ##### Tools. Kapt - [`KT-71883`](https://youtrack.jetbrains.com/issue/KT-71883) Kapt: generate Java sources directly instead of using JCTree - [`KT-88608`](https://youtrack.jetbrains.com/issue/KT-88608) KAPT: Do not generate JTree in direct mode - [`KT-89349`](https://youtrack.jetbrains.com/issue/KT-89349) Investigate failures in KAPT tests if one enables `+CLBasedAnnotationResolution` - [`KT-70784`](https://youtrack.jetbrains.com/issue/KT-70784) Consider using LightTree instead of PSI in K2 Kapt - [`KT-88559`](https://youtrack.jetbrains.com/issue/KT-88559) KAPT: 'com.sun.tools.java.util.Context' class can't be found ('tools.jar' is absent in the plugin classpath) on 28-ea JDK - [`KT-85195`](https://youtrack.jetbrains.com/issue/KT-85195) KAPT: IntroducedAt is not supported in KAPT - [`KT-80882`](https://youtrack.jetbrains.com/issue/KT-80882) K2 KAPT: Dagger fails to process code annotated with `@Composable` - [`KT-87855`](https://youtrack.jetbrains.com/issue/KT-87855) Kapt: direct generation produces HEX for Float values - [`KT-70804`](https://youtrack.jetbrains.com/issue/KT-70804) Cleanup kapt implementations for K1 and K2 ##### Tools. Maven - [`KT-90004`](https://youtrack.jetbrains.com/issue/KT-90004) Maven and Gradle tests fail after scripting runtime migration - [`KT-83374`](https://youtrack.jetbrains.com/issue/KT-83374) CRI: it is not clear that CRI generation requires IC being enabled in Maven ##### Tools. Performance benchmarks - [`KT-87324`](https://youtrack.jetbrains.com/issue/KT-87324) K/N: Add runtime benchmarks for release caches ##### Tools. REPL - [`KT-89459`](https://youtrack.jetbrains.com/issue/KT-89459) Remove `-Xrepl` option from `kotlinc` - [`KT-87432`](https://youtrack.jetbrains.com/issue/KT-87432) Implement JSR-223 variant on K2 compiler that compiles out of process - [`KT-89749`](https://youtrack.jetbrains.com/issue/KT-89749) K2 REPL: UNRESOLVED_REFERENCE to a previous snippet's class in a function with an implicit return type - [`KT-89750`](https://youtrack.jetbrains.com/issue/KT-89750) K2 REPL: UNINITIALIZED_VARIABLE is not reported for snippet properties - [`KT-89747`](https://youtrack.jetbrains.com/issue/KT-89747) K2 REPL: a snippet failing after resolution stays in the history and consumes a snippet number - [`KT-89748`](https://youtrack.jetbrains.com/issue/KT-89748) K2 REPL tests: in-process and Analysis API REPL runners keep failed snippets in the history - [`KT-86291`](https://youtrack.jetbrains.com/issue/KT-86291) Drop GenericReplCompiler ##### Tools. Scripts ##### Performance Improvements - [`KT-90299`](https://youtrack.jetbrains.com/issue/KT-90299) JSR-223: post-GC heap growth per evaluated snippet is \~6x higher in 2.5.20-dev-1225 than in 2.4.10 and \~3x higher than in 2.5.0-Beta1 ##### Fixes - [`KT-89220`](https://youtrack.jetbrains.com/issue/KT-89220) JSR-223: generic Java bindings break all subsequent `eval()` calls - [`KT-74354`](https://youtrack.jetbrains.com/issue/KT-74354) Implement (and use) expected exceptions processing in K2 REPL tests - [`KT-89752`](https://youtrack.jetbrains.com/issue/KT-89752) JSR-223 (K2): the engine's snippet number (repl.currentSnippetNo) is ignored by the compiler - [`KT-90022`](https://youtrack.jetbrains.com/issue/KT-90022) The completion doesn't work in main-kts scripts in IJ - [`KT-42101`](https://youtrack.jetbrains.com/issue/KT-42101) Scripts: `@file`:Import() in kotlin-main-kts uses a stale cache - [`KT-89627`](https://youtrack.jetbrains.com/issue/KT-89627) K2: a script processed before its definition's package sources causes 'Unresolved reference' in that package - [`KT-90244`](https://youtrack.jetbrains.com/issue/KT-90244) Scripting, JSR-223: Each new ScriptEngine or ScriptContext retains its K2 compiler environment, leading to OutOfMemoryError - [`KT-90298`](https://youtrack.jetbrains.com/issue/KT-90298) JSR-223: ENGINE_SCOPE/GLOBAL_SCOPE bindings are lost after the ScriptContext is replaced - [`KT-88453`](https://youtrack.jetbrains.com/issue/KT-88453) `VirtualFileScriptSource.text` leaks an unclosed file stream — script source file handle held until GC, blocks file deletion on Windows - [`KT-89247`](https://youtrack.jetbrains.com/issue/KT-89247) Kotlin Script: NoClassDefFoundError on 2nd execution with transitive dependency from imported script - [`KT-87958`](https://youtrack.jetbrains.com/issue/KT-87958) K2 scripting: FirPropertyImpl transformation crash when using class from `@file`:Import-ed script in 2.4.0+ - [`KT-87047`](https://youtrack.jetbrains.com/issue/KT-87047) Scripts: ClassNotFoundException for 'kotlin.script.experimental.dependencies.Repository' when compiling .main.kts with '-Xuse-fir-lt=false' - [`KT-87041`](https://youtrack.jetbrains.com/issue/KT-87041) Scripting: classpath extraction fails to extract stdlib from kotlinc - [`KT-76424`](https://youtrack.jetbrains.com/issue/KT-76424) Dependencies in main.kts not working with 2.1.20 ##### Tools. Statistics (FUS) - [`KT-88758`](https://youtrack.jetbrains.com/issue/KT-88758) Enable FUS for all Gradle IT tests - [`KT-88686`](https://youtrack.jetbrains.com/issue/KT-88686) Add FUS metrics to the new Swift Export DSL </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **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 these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NS4xMS4xIiwidXBkYXRlZEluVmVyIjoiNDUuMTEuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
chore(deps): update kotlin.version to v2.5.0
Some checks failed
Build and Publish / backend (push) Has been cancelled
Build and Publish / frontend (push) Has been cancelled
Build and Publish / mcp (push) Has been cancelled
Build and Publish / publish (push) Has been cancelled
001da360b0
renovate scheduled this pull request to auto merge when all checks succeed 2026-12-05 00:19:35 +01:00
Some checks failed
Build and Publish / backend (push) Has been cancelled
Required
Details
Build and Publish / frontend (push) Has been cancelled
Required
Details
Build and Publish / mcp (push) Has been cancelled
Required
Details
Build and Publish / publish (push) Has been cancelled
Some required checks were not successful.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/kotlin.version:renovate/kotlin.version
git switch renovate/kotlin.version
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
midas/podradar!221
No description provided.