github JetBrains/kotlin v2.5.0
Kotlin 2.5.0

one hour ago

Changelog

Updated vulnerable third-party dependencies:

  • 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 mem

Don't miss a new kotlin release

NewReleases is sending notifications on new releases.