Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Releases: JetBrains/kotlin

Kotlin 2.3.0

16 Dec 13:29

Choose a tag to compare

Changelog

Analysis API

  • KT-80082 K2. False positive "Cannot resolve method" for self-bounded generic with wildcard return type in Java interop
  • KT-80303 Move:native:analysis-api-klib-reader to:libraries:tools

Analysis API. Code Compilation

  • KT-70860 K2 IDE / Kotlin Debugger: CCE “java.lang.String cannot be cast to java.lang.Void” on evaluating not-null variable on the line with assigning null to that var
  • KT-78554 K2 IDE / Kotlin Debugger: ISE “No override for FUN IR_EXTERNAL_DECLARATION_STUB” on calling toString() for local class instance during evaluation
  • KT-73201 K2 IDE: Error while evaluating expressions with local classes

Analysis API. FIR

  • KT-81378 Expected expression 'FirFunctionCallImpl' to be resolved caused bysuspend {}
  • KT-80473 Add events for tracking LL activities
  • KT-46375 Analysis API: Support cross-file class redeclaration checks using indices
  • KT-80471 Analysis API: Deduplicate equivalent call candidates inresolveToCallCandidates
  • KT-79653 [Analysis API] ContextCollector: BODY context of enum classes doesn't contain enum entries
  • KT-75858 K2 AA: False positive 'property must be initialized' on incremental analysis with 'field' usage and semicolon in setter
  • KT-80231 AnnotationArgumentsStateKeepers doesn't restore the initial annotation in some cases
  • KT-80233 Pull mutation out of AnnotationArgumentsStateKeepers
  • KT-71466LLFirBuiltinsSessionFactory usescreateCompositeSymbolProvider
  • KT-76432 JavaClassUseSiteMemberScope: Expected FirResolvedTypeRef with ConeKotlinType but was FirUserTypeRefImpl

Analysis API. Infrastructure

  • KT-80717 Support IntelliJ Bazel build in the Kotlin Coop development mode

Analysis API. Light Classes

  • KT-80656 Duplicate no-args constructor in PSI
  • KT-60490 Symbol Light Classes: Property accessors from a delegated interface don't present in the delegating class
  • KT-79689 SymbolLightClassForClassLike.toString() causes PSI tree loading
  • KT-80690 Private interface functions are not present in light classes
  • KT-80256 K2: Certain actions in JPA code causes infinite PIEAE: "Element class CompositeElement of type REFERENCE_EXPRESSION (class KtNameReferenceExpressionElementType)"
  • KT-79012 Add a high-level overview of light classes

Analysis API. Providers and Caches

Fixes

  • KT-81476 Analysis API:AlreadyDisposedException from low-memory cache cleanup
  • KT-80911 Analysis API: Execute session invalidation in a non-cancelable section
  • KT-81242 Analysis API: Add UUID/lifetime properties to LL FIR session structure logging
  • KT-80622 Analysis API: Visualise LL FIR session structure & weight
  • KT-80904 Analysis API: "Invalid dangling file module" exception during session invalidation
  • KT-78882 K2 AA: Calling containingSymbol on getProgressionLastElement causes exception
  • KT-58325 Analysis API: CombineLLKotlinStubBasedLibrarySymbolProviders in session dependencies (optimization)
  • KT-77825 Analysis API:CheckersComponent consumes a lot of memory while being unused in LL FIR sessions
  • KT-76526 Incorrect built-in module is provided for non-JVM sources in Standalone
  • KT-62549 Analysis API: Cache callables in combined Kotlin symbol providers
  • KT-70721 LL FIR: investigate possibility of movingLLFirFirClassByPsiClassProvider . getClassByPsiClass (PsiClass) to symbol providers
  • KT-72998 Analysis API: IntroducegetClassLikeSymbolByPsi to LL FIR symbol providers

Analysis API. Standalone

  • KT-81108 AA: java.lang.ClassCastException: class org.jetbrains.kotlin.fir.FirBinaryDependenciesModuleData cannot be cast to class org.jetbrains.kotlin.analysis.low.level.api.fir.projectStructure.LLFirModuleData
  • KT-80573 Potential performance issue on class ID computation
  • KT-80559 Try to optimize KotlinStandaloneDeclarationProviderFactory startup for tests
  • KT-71706 Analysis API Standalone:StandaloneProjectFactory.createSearchScopeByLibraryRoots creates inefficient file-based search scopes

Analysis API. Stubs and Decompilation

Performance Improvements

  • KT-77097 SupportReplaceWith deprecation annotation argument via stubs

Fixes

  • KT-80350 Drop K1 decompiler
  • KT-77082 StackOverflowError in CreateFreshTypeVariableSubstitutorStage.shouldBeFlexible
  • KT-80798 Improve stubs tests coverage
  • KT-75318 Read context parameter fields from metadata in CallableClsStubBuilder
  • KT-77874 AA disagrees with the compiler on descriptions of context parameters from binaries in messages for context argument ambiguity errors
  • KT-80276 Implement native coping for stubs
  • KT-79780 Decompiled MultifileClass has Facade kind
  • KT-79398 isClsStubCompiledToJvmDefaultImplementation flag is inconsistent for compiled and decompiled stubs
  • KT-79798 Prettify stub usages in LL stub-based deserializer
  • KT-78949 AbstractLLStubBasedResolutionTest: tests against real stub-based files
  • KT-80251 Inconsistent decompiled and compiled stub for properties with an initializer and a delegate
  • KT-74547 Implement decompiler for K2
  • KT-79555 Move KotlinFileStubImpl serialization/deserialization to the Analysis API
  • KT-79487 "null DefinitelyNotNullType for 'T'" from decompiler
  • KT-60764 Stub Builder: fix differences between K1 and K2 stub building on decompiled files
  • KT-79484 An empty enum class with a member decompiles with a synthetic error
  • KT-79730 Decompiled files have an extraKt suffix
  • KT-79483 data modifier is not present on object modifier
  • KT-75398 Local classes from scripts have ClassId in stubs
  • KT-79412 Context parameters with type annotations cause inconsistency errors while building stubs

Analysis API. Surface

New Features

  • KT-80084 Provide endpoints for Analysis API to understand when the context sensitive resolution is used
  • KT-64340 Analysis API: no way to get a type of vararg parameter
  • KT-68387 AA: provide context for type approximations

Performance Improvements

  • KT-80713 Optimize KaDeclarationSymbol#visibility for class-like symbols
  • KT-79097 KaFirNamedFunctionSymbol#isSuspend shouldn't trigger resolution
  • KT-79095 isOverride shouldn't trigger resolution if not compiler plugins present

Fixes

  • KT-80234 Incorrect value ofisActual for the implicitlyactual constructor of annotation class
  • KT-81132 Use KaSession instead of a particular KaSessionComponent for context parameter bridges
  • KT-81129 K2: KaSymbolInformationProvider#importableFq...
Read more
Assets18
NicosNicolaou16, cosmicethics, dayanruben, l2hyunwoo, masterQian, egorshr, anzyhui, philip-segerfast, LandryNorris, tlarcher-gpsw, and 22 more reacted with thumbs up emojiIsakTheHacker reacted with laugh emojisvenjacobs, jeprubio, Snowiiii, j2esu, HaroonBsf, jeongyong95, 4isper, Kykara4uk, DrUlysses, Sterta, and 47 more reacted with hooray emojiSnowiiii, albertocavalcante, jeongyong95, 4isper, Sterta, AbdullinAM, Wesley-Young, edrd-f, egorshr, wwwang3, and 22 more reacted with heart emojijeremy-techson, Snowiiii, HaroonBsf, jeongyong95, 4isper, Sterta, AbdullinAM, Wesley-Young, SubhrajyotiSen, Kanialdo, and 26 more reacted with rocket emojikroegerama, egorshr, wwwang3, masterQian, philip-segerfast, tlarcher-gpsw, Elelan, sphrak, Aliorpse, changfeng1050, and 3 more reacted with eyes emoji
81 people reacted

Kotlin 2.3.0-RC3

09 Dec 14:15

Choose a tag to compare

Kotlin 2.3.0-RC3Pre-release
Pre-release

Changelog

Compiler

  • KT-82869 Green-to-Red change in 2.3 after prioritizing non-suspend-function-type overloads

Libraries

  • KT-82901Long.MIN_VALUE.milliseconds produces invalid denormalized Duration
Loading
EliasColl, Lavmee, nikbulavin, Rawa, NicosNicolaou16, LandryNorris, dayanruben, Elelan, mo24ali, StijnDRZP, and 20 more reacted with thumbs up emojisalimisler28, egorshr, Konstantin-Kttipay, YektaDev, StepByStepler, yosabicute, and tlarcher-gpsw reacted with laugh emojiseljabali, Rawa, LandryNorris, dayanruben, Elelan, StijnDRZP, salimisler28, Junzz0, s0h1s2, egorshr, and 6 more reacted with hooray emojiLavmee, Rawa, LandryNorris, dayanruben, Elelan, chrisjenx, StijnDRZP, salimisler28, egorshr, ParaskP7, and 6 more reacted with heart emojisureshg, StijnDRZP, erenmalkoc, narcisteodorpurghel, CyroPCJr, joselitopapi14, salimisler28, adzeeman, egorshr, ParaskP7, and 7 more reacted with rocket emojisalimisler28, egorshr, YektaDev, yosabicute, and tlarcher-gpsw reacted with eyes emoji
47 people reacted

Kotlin 2.3.0-RC2

02 Dec 14:29

Choose a tag to compare

Kotlin 2.3.0-RC2Pre-release
Pre-release

Changelog

Compiler

  • KT-82590 ClassCastException when instantiating class with generics implemented by fun interface and lambda

Tools. Compiler Plugin API

  • KT-82563 Improve compiler error messages to identify incompatible plugins causing compilation failures
Loading
NicosNicolaou16, Lavmee, Elelan, erwinelder, ahagelstein, adamglin0, imknown, char-yb, CyroPCJr, EpicVon2468, and 11 more reacted with thumbs up emojiseljabali, IRus, DavidNiessen, AbdullinAM, nikbulavin, Elelan, chrisjenx, adamglin0, Junzz0, EpicVon2468, and 7 more reacted with hooray emojiYektaDev, tlarcher-gpsw, salimisler28, AhmerAfzal1, and bugiman77 reacted with heart emojiIRus, Quillraven, AbdullinAM, canivezo, sureshg, Elelan, alex-cova, tnlanh, chrisjenx, adamglin0, and 12 more reacted with rocket emojiIRus, Elelan, adamglin0, xia-sc, EpicVon2468, Jeff11, Rawa, Smekalisty, salimisler28, yosabicute, and 3 more reacted with eyes emoji
44 people reacted

Kotlin 2.3.0-RC

18 Nov 13:25

Choose a tag to compare

Kotlin 2.3.0-RCPre-release
Pre-release

Changelog

Backend. Wasm

  • KT-82075 K/Wasm: kotlin.wasm.internal.getSimpleName crashes on iOS Safari older than 26

Compiler

  • KT-82138 Debugger: Cannot evaluate JvmInline value class parameter
  • KT-78413 Kotlin Debugger: value classes as context parameters have incorrect names in Variables View during debugging
  • KT-80549 Call of Java method with type parameter bounds: Expected FirResolvedTypeRef with ConeKotlinType but was FirJavaTypeRef
  • KT-82132 False-positive type mismatch with -language-version 2.2
  • KT-81988 K2: Any?.toString() causes NPE inside lambda with Java
  • KT-82022 K/N: Unexpected "Annotation@JvmInline is missing on actual declaration" warning with value classes

Compose compiler

  • CMP-9167 iOS: Platform declaration clash: The following functions have the same IR signature

IR. Actualizer

  • KT-77337IrNoExpectSymbolsHandler finds expect class reference after enabling annotation traversal in IR

IR. Tree

  • KT-81952 "IllegalStateException: Callable reference with vararg should not appear at this stage" for callable references to functions with generic vararg parameters

JVM. Reflection

  • KT-81967 isSubtypeOf: ClassCastException: CapturedKType cannot be cast to class AbstractKType
  • KT-81619 Reflection: Function supertype of a FunctionN class has flexible type in new implementation

JavaScript

  • KT-82005 KJS: "TypeError: callAgent.jsonRpcCall_ij3z26_k$ is not a function" after code change in 2.3.0-Beta1/2
  • KT-79514 java.lang.IllegalStateException: IrClassSymbolImpl is unbound. Signature: kotlin.js/Promise|null[0] on running jsBrowserTest

Libraries

  • KT-81995 K/N: CMP: Undefined symbol _kfun:kotlin.time.Duration.kotlin.time.Duration
  • KT-72111 Change Duration.parseOrNull logic to not throw exceptions internally

Tools. Compiler Plugin API

  • KT-82099 Compiler plugin ordering has no effect

Tools. Gradle

  • KT-79482 Report webMain / webTest usage in FUS metrics
  • KT-82244 Conflicting warnings when using AGP 9.0.0-alpha with built-in Kotlin disabled
  • KT-82068 Workaround iOS Simulator start failure in IT
  • KT-81161 Gradle plugin api reference: compiler arguments types are not available

Tools. Gradle. Multiplatform

  • KT-81601 Withandroid.builtInKotlin=false AGP 9.0+, usingkotlin-multiplatform plugin will fail with aClass Cast Exception
  • KT-81980 KGP warning gives incorrect suggestion for AGP application compatibility

Tools. Gradle. Native

  • KT-81510commonizeCInterop exception with 'kotlinNativeBundleConfiguration' not found

Tools. Maven

  • KT-82180 kotlin-maven-plugin: IC succeeds after dependent source deletion

Tools. Wasm

  • KT-82365 K/Wasm: NodeRun tasks in Wasi depend on kotlinWasmToolingSetup
Loading
YektaDev, Smekalisty, NicosNicolaou16, LandryNorris, xiaobailong24, egorshr, TocnoWamGovoriyYaNeHacer201145, BRLunt, andylamax, Elelan, and 26 more reacted with thumbs up emojisalimisler28, sphrak, and yosabicute reacted with laugh emojiseljabali, YektaDev, LandryNorris, xiaobailong24, egorshr, akiya-nagatsuka, CyroPCJr, andylamax, Elelan, StijnDRZP, and 14 more reacted with hooray emojialbertjoelbg, leticiatecno, YektaDev, LandryNorris, xiaobailong24, egorshr, erwinelder, OliverO2, andylamax, Elelan, and 10 more reacted with heart emojibenckx, manriif, nikbulavin, YektaDev, LandryNorris, xiaobailong24, egorshr, andylamax, StijnDRZP, IRus, and 9 more reacted with rocket emojisalimisler28, sphrak, and yosabicute reacted with eyes emoji
57 people reacted

Kotlin 2.3.0-Beta2

28 Oct 09:40

Choose a tag to compare

Pre-release

Changelog

Analysis API

  • KT-80082 K2. False positive "Cannot resolve method" for self-bounded generic with wildcard return type in Java interop

Analysis API. Code Compilation

  • KT-70860 K2 IDE / Kotlin Debugger: CCE “java.lang.String cannot be cast to java.lang.Void” on evaluating not-null variable on the line with assigning null to that var

Analysis API. FIR

  • KT-81378 Expected expression 'FirFunctionCallImpl' to be resolved caused bysuspend {}
  • KT-80473 Add events for tracking LL activities

Analysis API. Providers and Caches

  • KT-81476 Analysis API:AlreadyDisposedException from low-memory cache cleanup
  • KT-80911 Analysis API: Execute session invalidation in a non-cancelable section
  • KT-81242 Analysis API: Add UUID/lifetime properties to LL FIR session structure logging
  • KT-80622 Analysis API: Visualise LL FIR session structure & weight
  • KT-80904 Analysis API: "Invalid dangling file module" exception during session invalidation
  • KT-78882 K2 AA: Calling containingSymbol on getProgressionLastElement causes exception

Analysis API. Standalone

  • KT-81108 AA: java.lang.ClassCastException: class org.jetbrains.kotlin.fir.FirBinaryDependenciesModuleData cannot be cast to class org.jetbrains.kotlin.analysis.low.level.api.fir.projectStructure.LLFirModuleData

Analysis API. Stubs and Decompilation

  • KT-77097 SupportReplaceWith deprecation annotation argument via stubs

Analysis API. Surface

New Features

  • KT-80084 Provide endpoints for Analysis API to understand when the context sensitive resolution is used

Fixes

  • KT-81132 Use KaSession instead of a particular KaSessionComponent for context parameter bridges
  • KT-81129 K2: KaSymbolInformationProvider#importableFqName: should return null for dynamic declarations
  • KT-81128 K2: KaSymbolInformationProvider#importableFqName: should return null for error destructuring declarations
  • KT-81127 K2: KaSymbolInformationProvider#importableFqName: should return null for anonymous functions
  • KT-81126 K2: KaSymbolInformationProvider#importableFqName: should return null for enum entry initializer constructors
  • KT-81125 K2: KaSymbolInformationProvider#importableFqName: should return null for property accessors
  • KT-81124 K2: KaSymbolInformationProvider#importableFqName: type alias constructor should have a reference to the type alias and not to the underlying class
  • KT-70127 Analysis API: 'KaFirReceiverParameterSymbol' does not implement 'KaFirSymbol'; leads to exception fromimportableFqName
  • KT-81123 Reimplement KaFirSymbolInformationProvider#importableFqName
  • KT-81122 Drop KaImportOptimizer
  • KT-79772 Migrate from 'validityAsserted' to 'withValidityAssertion'
  • KT-59857 KaExpressionTypeProvider#returnType shouldn't throw an exception for class like declarations

Backend. Wasm

  • KT-79244 [Wasm] Drop K1-specific tests, testrunners and test directives
  • KT-80397 K/Wasm: turn on by default using a new version of the exception handling proposal for wasm-wasi target
  • KT-76204 K/Wasm: support generating a wasm module per kotlin module/klib
  • KT-81372 K/Wasm: JsException: Exception was thrown while running JavaScript code on Safari 18.2/18.3
  • KT-80106 devServer in Kotlin/Wasm overwrites defaults, causing missing static paths

Compiler

New Features

  • KT-80837 Warn about extension function with a context shadowed by member
  • KT-80031 Check spotbugs's@CheckReturnValue in Kotlin's unused return value checker

Performance Improvements

  • KT-81617 Native: casts optimizations pass explodes on deep nested loops
  • KT-81340 K/N: severe compilation time degradation after turning on casts optimization pass
  • KT-52283 Never ending type inference while compiling Kotlin code with lots of self pointing generics

Fixes

  • KT-81618 "Number of arguments should not be less than number of parameters" on JVM on Kotlin 2.3.0-Beta1
  • KT-81652 Native: ClassCastException: ApplicationForegroundStateListener.Companion
  • KT-74999 K2: KotlinNothingValueException within Extension Function
  • KT-81254 "AssertionError: There should be at least one non-stub type to compute common supertype": Parser issue during generic type inference
  • KT-80250 ISE: flow for PostponedLambdaExitNode not initialized - traversing nodes in wrong order?
  • KT-81186 Only allow local type aliases in REPL/scripts until full stabilization
  • KT-80929 IC Native: Undefined symbols on ktor
  • KT-81657 K2: put warning about "exposing package-private in internal" under experimental language feature
  • KT-81241 Konanc exit while lowering org.jetbrains.kotlin.ir.util.IrUtilsKt.remapTypeParameters
  • KT-74819 K2: False-positive overload resolution ambiguity for flatMap inside PCLA
  • KT-79506 Contract for getter and setter doesn't work if a property is called from another module
  • KT-71420 Report error when reified type parameter is inferred to intersection type
  • KT-77727 Move some of the extra checkers to the default list
  • KT-81257 Native: "Unexpected boolean predicate" when generating 'static_cache'
  • KT-81525 Report REDUNDANT_SPREAD_OPERATOR on (*) instead of argument expression
  • KT-81522 Fix Light TreeSPREAD_OPERATOR diagnostic positioning
  • KT-77008 K2: Incorrectly force casting to a wrong type
  • KT-78127 K2: Too precise inference for if/when with expected type in assignment
  • KT-80208 K2: ClassCastException: "class java.util.ArrayList cannot be cast to class java.lang.Void" type inference picks Void for generic function
  • KT-79231 Inconsistent InnerClass entry flags for abstract inner enum
  • KT-20677 Improve diagnostic about implicit default constructor absence for expected annotation class
  • KT-9111 Improve diagnostic for call with access to outer class from nested class
  • KT-81385 Missing error of nullable expression in class literal in case of reified type parameter
  • KT-81141 Fix FirUnsupportedArrayLiteralChecker to forbid array literals inside non-annotation contexts
  • KT-81383 Return type of anonymous function used asrun argument is incorrectly inferred toNothing
  • KT-80577 "Return type mismatch" for self-referential types used as generic parameters
  • KT-81198 Move type and type parameter annotations from jvm_metadata.proto to metadata.proto
  • KT-81057 Wrong handling of boxing during redundant casts optimization
  • KT-76479 Backend. JVM: Report errors on exposure of types in inline functions
  • KT-81191 K2: "null cannot be cast to non-null type ConeTypeParameterLookupTag" with invalid code
  • KT-81115 Allow converting lambda wi...
Read more
Loading
NicosNicolaou16, YektaDev, MikeKirillov, sureshg, yunusemreaksu, dayanruben, salimisler28, changfeng1050, traver20, ParaskP7, and 10 more reacted with thumbs up emojiYektaDev, salimisler28, Elelan, tlarcher-gpsw, robinminjdbb-hash, and ice1000 reacted with laugh emojiasapha, nikbulavin, seljabali, manriif, YektaDev, dayanruben, salimisler28, CyroPCJr, CaioWzy, Junzz0, and 6 more reacted with hooray emojiYektaDev, dayanruben, salimisler28, ParaskP7, Elelan, tlarcher-gpsw, and danieldiaz10301996-art reacted with heart emojiYektaDev, jacobras, sureshg, dayanruben, salimisler28, ParaskP7, Elelan, brewin, tlarcher-gpsw, ssyflovety, and 2 more reacted with rocket emojiYektaDev, salimisler28, su-jingqing, and tlarcher-gpsw reacted with eyes emoji
36 people reacted

Kotlin 2.2.21

23 Oct 10:35

Choose a tag to compare

Changelog

Backend. Wasm

  • KT-81372 K/Wasm: JsException: Exception was thrown while running JavaScript code on Safari 18.2/18.3
  • KT-80018 K/Wasm: exceptions don't work properly in JavaScriptCore (vm inside Safari, WebKit)

Compiler

  • KT-81191 K2: "null cannot be cast to non-null type ConeTypeParameterLookupTag" with invalid code
  • KT-80936 NON_PUBLIC_CALL_FROM_PUBLIC_INLINE :@PublishedApi doesn't work for fun interfaces

JavaScript

  • KT-79926 Wrong export of interfaces with companions with ES Modules
  • KT-81424 Kotlin/JS: Cannot Get / in a simple running application
  • KT-80873 KJS: Stdlib requires ES2020-compatible JS engine due to BigInt type literal

Native

  • KT-79384 K/N: Application Not Responding: Thread Deadlock

Tools. Gradle

  • KT-79047 Gradle compileKotlin fails with configuration cache
  • KT-81148 Publishing helpers in KGP are incompatible with Isolated Projects
  • KT-80950 KGP breaks configuration cache when signing plugin with GnuPG is applied

Tools. Gradle. Multiplatform

  • KT-61127 Remove scoped resolvable and intransitive DependenciesMetadata configurations used in the pre-IdeMultiplatformImport IDE import
  • KT-81249 Kotlin 2.2.20 broke KMP implementation of Parcelize

Tools. Gradle. Native

  • KT-81510commonizeCInterop exception with 'kotlinNativeBundleConfiguration' not found
  • KT-81134 Native: Gradle configuration failure likely related to Klibs cross-compilation
  • KT-77732commonizeCInterop failed with "Unresolved classifier: platform/posix/size_t"
  • KT-80675 Commonized cinterops between "test" compilations produce an import failure

Tools. Maven

  • KT-81218 Kotlin Maven Plugin 2.2.20: Java classes not resolved with enabled incremental compilation without daemon

Tools. Wasm

  • KT-80582 Multiple reloads when using webpack dev server after 2.2.20-Beta2
Loading
Elelan, SteinerOk, nikbulavin, hoc081098, michaleibl, salimisler28, HaroonBsf, takathemax, dayanruben, rootacite, and 23 more reacted with thumbs up emojihoc081098, salimisler28, Elelan, YektaDev, xiaobailong24, and tlarcher-gpsw reacted with laugh emojiseljabali, hoc081098, salimisler28, dayanruben, Siedlerchr, Elelan, YektaDev, xiaobailong24, Junzz0, CyroPCJr, and 13 more reacted with hooray emojiElelan, hoc081098, salimisler28, dayanruben, pantor-r, YektaDev, xiaobailong24, fzhinkin, Lilytreasure, davthecodercom, and 6 more reacted with heart emojiElelan, hoc081098, benckx, salimisler28, dayanruben, ReneHaddad, YektaDev, xiaobailong24, iceychris, fzhinkin, and 5 more reacted with rocket emojiElelan, hoc081098, salimisler28, char-yb, YektaDev, xiaobailong24, tlarcher-gpsw, and vivekmm-007 reacted with eyes emoji
57 people reacted

Kotlin 2.2.21-RC2

16 Oct 11:35

Choose a tag to compare

Pre-release

Changelog

Tools. Gradle. Native

  • KT-81134 Native: Gradle configuration failure likely related to Klibs cross-compilation
  • KT-81510commonizeCInterop exception with 'kotlinNativeBundleConfiguration' not found
Loading
NicosNicolaou16, nikbulavin, ReneHaddad, Elelan, xiaobailong24, salimisler28, CyroPCJr, YektaDev, dayanruben, LandryNorris, and 8 more reacted with thumbs up emojiYektaDev, salimisler28, and CLEOKECODESPACE reacted with laugh emojiYektaDev, dayanruben, LandryNorris, chrisjenx, salimisler28, ParaskP7, and CLEOKECODESPACE reacted with hooray emojiYektaDev, dayanruben, LandryNorris, chrisjenx, ParaskP7, salimisler28, and freshmorsikov reacted with heart emojiYektaDev, dayanruben, LandryNorris, salimisler28, jisungbin, and ParaskP7 reacted with rocket emojiYektaDev, salimisler28, and vivekmm-007 reacted with eyes emoji
23 people reacted

Kotlin 2.3.0-Beta1

07 Oct 14:20

Choose a tag to compare

Pre-release

Changelog

Analysis API

  • KT-80303 Move:native:analysis-api-klib-reader to:libraries:tools

Analysis API. Code Compilation

  • KT-80227 Support unnamed context parameters in evaluation
  • KT-78554 K2 IDE / Kotlin Debugger: ISE “No override for FUN IR_EXTERNAL_DECLARATION_STUB” on calling toString() for local class instance during evaluation
  • KT-73201 K2 IDE: Error while evaluating expressions with local classes

Analysis API. FIR

  • KT-46375 Analysis API: Support cross-file class redeclaration checks using indices
  • KT-80471 Analysis API: Deduplicate equivalent call candidates inresolveToCallCandidates
  • KT-79653 [Analysis API] ContextCollector: BODY context of enum classes doesn't contain enum entries
  • KT-75858 K2 AA: False positive 'property must be initialized' on incremental analysis with 'field' usage and semicolon in setter
  • KT-80231 AnnotationArgumentsStateKeepers doesn't restore the initial annotation in some cases
  • KT-80233 Pull mutation out of AnnotationArgumentsStateKeepers
  • KT-71466LLFirBuiltinsSessionFactory usescreateCompositeSymbolProvider
  • KT-76432 JavaClassUseSiteMemberScope: Expected FirResolvedTypeRef with ConeKotlinType but was FirUserTypeRefImpl

Analysis API. Infrastructure

  • KT-80717 Support IntelliJ Bazel build in the Kotlin Coop development mode

Analysis API. Light Classes

  • KT-80656 Duplicate no-args constructor in PSI
  • KT-60490 Symbol Light Classes: Property accessors from a delegated interface don't present in the delegating class
  • KT-79689 SymbolLightClassForClassLike.toString() causes PSI tree loading
  • KT-79012 Add a high-level overview of light classes

Analysis API. Providers and Caches

  • KT-78882 K2 AA: Calling containingSymbol on getProgressionLastElement causes exception
  • KT-58325 Analysis API: CombineLLKotlinStubBasedLibrarySymbolProviders in session dependencies (optimization)
  • KT-77825 Analysis API:CheckersComponent consumes a lot of memory while being unused in LL FIR sessions
  • KT-76526 Incorrect built-in module is provided for non-JVM sources in Standalone
  • KT-62549 Analysis API: Cache callables in combined Kotlin symbol providers
  • KT-70721 LL FIR: investigate possibility of movingLLFirFirClassByPsiClassProvider . getClassByPsiClass (PsiClass) to symbol providers
  • KT-72998 Analysis API: IntroducegetClassLikeSymbolByPsi to LL FIR symbol providers

Analysis API. Standalone

  • KT-80573 Potential performance issue on class ID computation
  • KT-80559 Try to optimize KotlinStandaloneDeclarationProviderFactory startup for tests
  • KT-71706 Analysis API Standalone:StandaloneProjectFactory.createSearchScopeByLibraryRoots creates inefficient file-based search scopes

Analysis API. Stubs and Decompilation

Performance Improvements

  • KT-77097 SupportReplaceWith deprecation annotation argument via stubs

Fixes

  • KT-77082 StackOverflowError in CreateFreshTypeVariableSubstitutorStage.shouldBeFlexible
  • KT-80798 Improve stubs tests coverage
  • KT-75318 Read context parameter fields from metadata in CallableClsStubBuilder
  • KT-77874 AA disagrees with the compiler on descriptions of context parameters from binaries in messages for context argument ambiguity errors
  • KT-80350 Drop K1 decompiler
  • KT-80276 Implement native coping for stubs
  • KT-79780 Decompiled MultifileClass has Facade kind
  • KT-79398 isClsStubCompiledToJvmDefaultImplementation flag is inconsistent for compiled and decompiled stubs
  • KT-79798 Prettify stub usages in LL stub-based deserializer
  • KT-78949 AbstractLLStubBasedResolutionTest: tests against real stub-based files
  • KT-80251 Inconsistent decompiled and compiled stub for properties with an initializer and a delegate
  • KT-74547 Implement decompiler for K2
  • KT-79555 Move KotlinFileStubImpl serialization/deserialization to the Analysis API
  • KT-79487 "null DefinitelyNotNullType for 'T'" from decompiler
  • KT-60764 Stub Builder: fix differences between K1 and K2 stub building on decompiled files
  • KT-79484 An empty enum class with a member decompiles with a synthetic error
  • KT-79730 Decompiled files have an extraKt suffix
  • KT-79483 data modifier is not present on object modifier
  • KT-75398 Local classes from scripts have ClassId in stubs
  • KT-79412 Context parameters with type annotations cause inconsistency errors while building stubs

Analysis API. Surface

New Features

  • KT-64340 Analysis API: no way to get a type of vararg parameter
  • KT-68387 AA: provide context for type approximations

Performance Improvements

  • KT-80713 Optimize KaDeclarationSymbol#visibility for class-like symbols
  • KT-79097 KaFirNamedFunctionSymbol#isSuspend shouldn't trigger resolution
  • KT-79095 isOverride shouldn't trigger resolution if not compiler plugins present

Fixes

  • KT-78093 Add bridges for context parameters
  • KT-79328 K2 AA, isUsedAsExpression: Unhandled Non-KtExpression parent of KtExpression: class org.jetbrains.kotlin.psi.KtImportDirective
  • KT-80366 IllegalStateException from KaFirStopWorldCacheCleaner
  • KT-80274 Merge AbstractMultiModuleSymbolByPsiTest to AbstractSymbolByPsiTest
  • KT-80352 KaBaseResolutionScope.contains(PsiElement) always returns false for Android light classes (e.g. synthetic R.java classes)
  • KT-80234 Incorrect value ofisActual for the implicitlyactual constructor of annotation class
  • KT-80178 Incorrect modality for an abstract interface function with a redundantopen modifier
  • KT-79129 [Analysis API]KaFe10TypeCreator.buildClassType cannot build builtin types by class ids
  • KT-79143 AA:argumentMapping contains an expression that is not an argument
  • KT-59857 KaExpressionTypeProvider#returnType shouldn't throw an exception for class like declarations
  • KT-79667 Enable resolve on java record components in standalone mode
  • KT-73050KaFirSymbolRelationProvider#expectsForActual: suspicius logic for KaReceiverParameterSymbol
  • KT-78904 KaBaseWriteActionStartedChecker throws when no additional WA was done
  • KT-79281 Add KDoc toKaTypePointer#restore
  • KT-78597 KaUseSiteVisibilityChecker returns false for internal functions exposed via implicit receiver
  • KT-71705 FIR api impl: Postfix increment expression'sexpressionType is Unit when incrementing array element
  • KT-75057 Analysis API: Reference to object thr...
Read more
Loading
NicosNicolaou16, YektaDev, dayanruben, xiaobailong24, jdaniel3331, StijnDRZP, egorshr, Elelan, imknown, inemtsev, and 14 more reacted with thumbs up emojiYektaDev, xiaobailong24, ZSXB2468, egorshr, Elelan, philip-segerfast, and salimisler28 reacted with laugh emojiseljabali, sureshg, Elelan, Junzz0, YektaDev, schelombitko-bumble, dayanruben, xiaobailong24, CyroPCJr, StijnDRZP, and 7 more reacted with hooray emojiElelan, nikbulavin, PeTcHeNkA, YektaDev, dayanruben, xiaobailong24, StijnDRZP, egorshr, ParaskP7, philip-segerfast, and 3 more reacted with heart emojiElelan, swistak7171, sureshg, YektaDev, arashiyama11, dayanruben, xiaobailong24, StijnDRZP, egorshr, inemtsev, and 7 more reacted with rocket emojiElelan, YektaDev, xiaobailong24, egorshr, philip-segerfast, and salimisler28 reacted with eyes emoji
40 people reacted

Kotlin 2.2.21-RC

07 Oct 12:08

Choose a tag to compare

Kotlin 2.2.21-RCPre-release
Pre-release

Changelog

Backend. Wasm

  • KT-81372 K/Wasm: JsException: Exception was thrown while running JavaScript code on Safari 18.2/18.3
  • KT-80018 K/Wasm: exceptions don't work properly in JavaScriptCore (vm inside Safari, WebKit)

Compiler

  • KT-81191 K2: "null cannot be cast to non-null type ConeTypeParameterLookupTag" with invalid code
  • KT-80936 NON_PUBLIC_CALL_FROM_PUBLIC_INLINE :@PublishedApi doesn't work for fun interfaces

JavaScript

  • KT-80873 KJS: Stdlib requires ES2020-compatible JS engine due to BigInt type literal
  • KT-79926 Wrong export of interfaces with companions with ES Modules

Native

  • KT-79384 K/N: Application Not Responding: Thread Deadlock

Tools. Gradle

  • KT-81148 Publishing helpers in KGP are incompatible with Isolated Projects
  • KT-80950 KGP breaks configuration cache when signing plugin with GnuPG is applied
  • KT-79047 Gradle compileKotlin fails with configuration cache

Tools. Gradle. Multiplatform

  • KT-81249 Kotlin 2.2.20 broke KMP implementation of Parcelize
  • KT-61127 Remove scoped resolvable and intransitive DependenciesMetadata configurations used in the pre-IdeMultiplatformImport IDE import

Tools. Gradle. Native

  • KT-77732commonizeCInterop failed with "Unresolved classifier: platform/posix/size_t"
  • KT-80675 Commonized cinterops between "test" compilations produce an import failure

Tools. Maven

  • KT-81218 Kotlin Maven Plugin 2.2.20: Java classes not resolved with enabled incremental compilation without daemon

Tools. Wasm

  • KT-80582 Multiple reloads when using webpack dev server after 2.2.20-Beta2
Loading
lppedd, MDAlviano, geisonbruno, manriif, andylamax, NicosNicolaou16, Siedlerchr, YektaDev, sphrak, imknown, and 6 more reacted with thumbs up emojiYektaDev, sphrak, and Elelan reacted with laugh emojiseljabali, dayanruben, AbdullinAM, Elelan, PeTcHeNkA, andylamax, Junzz0, YektaDev, xiaobailong24, CyroPCJr, and 3 more reacted with hooray emojiYektaDev, sphrak, and ParaskP7 reacted with heart emojiseljabali, dayanruben, AbdullinAM, Elelan, ReneHaddad, andylamax, YektaDev, xiaobailong24, sphrak, and ParaskP7 reacted with rocket emojiYektaDev and sphrak reacted with eyes emoji
25 people reacted

Kotlin 2.2.20

10 Sep 08:33

Choose a tag to compare

Changelog

Analysis API

  • KT-78187 Synthetic properties not to be shown as callables
  • KT-72525 K2. red code and KIWA on new-lines in guarded when conditions (with parentheses)
  • KT-74246 KaVisibilityChecker.isVisible is inefficient with multiple calls on the same use-site

Analysis API. Code Compilation

  • KT-78382 K2 IR lowering error when interface extends interface
  • KT-73201 K2 IDE: Error while evaluating expressions with local classes
  • KT-78164 Evaluator: '@JvmName' annotations are not recognized in other modules
  • KT-76457 K2 IDE / KMP Debugger: KISEWA “Cannot compile a common source without a JVM counterpart” on evaluating inline fun from common module inside jvm
  • KT-73084 K2 evaluator cannot resolve local variables standing at the closing brace

Analysis API. FIR

Performance Improvements

  • KT-76490 Do not load ast during the contracts phase if no contracts present
  • KT-78132 Do not check FirElementBuilder#tryGetFirWithoutBodyResolve optimization for already resolved declarations

Fixes

  • KT-72227 SOE from recursive value class
  • KT-68977 K2 IDE: Reference to companion object through typealias in a function call does not work
  • KT-72357 Implement partial body resolution
  • KT-76932 Support context parameters on dangling modifier list
  • KT-72407 FirImplementationByDelegationWithDifferentGenericSignatureChecker: FirLazyExpression should be calculated before accessing
  • KT-77602 K2 / Analysis API: KAEWA “No fir element was found for KtParameter” on incorrect context()-call
  • KT-77629 K2: NPE: "org.jetbrains.kotlin.fir.java.declarations.FirJavaTypeParameter.performFirstRoundOfBoundsResolution"
  • KT-76855 Analysis API:KaType.asPsiType returnsnull for a local inner class in dependent analysis tests
  • KT-72718 ImplicitReceiverValue.createSnapshot creates invalid FIR if receiver is smart-casted
  • KT-76811 Analysis API:resolveToFirSymbol finds aFirPropertySymbol for aKtScript in dependent analysis
  • KT-73586 [Analysis API] AddlazyResolveToPhase(STATUS) before accessing modifiers of members
  • KT-71135 AA: exception from sealed inheritors checker whenanalyzeCopy
  • KT-75534 K2 AA: "Containing declaration should present for nested declaration class KtNamedFunction" with dangling annotation on top-level anonymous function
  • KT-75687 K2: local variable doesn't get to the do-while scope
  • KT-56543 LL FIR: rework lazy transformers so transformers modify only declarations they suppose to

Analysis API. Infrastructure

  • KT-76809 Analysis API: Dependent analysis tests frequently work with the original element instead of the copied element

Analysis API. Light Classes

  • KT-78835 Find usages of a light constructor from a class with an empty body finds usages of class as well
  • KT-78878 K2. Method shown as unavailable in Java when@JvmExposeBoxed is applied (redundantly) at both class and method level in Kotlin
  • KT-78065 Support "Expose boxed inline value classes" in Light Classes
  • KT-78076 DLC: KotlinDeclarationInCompiledFileSearcher missed accessors if types are boxed
  • KT-77569 SLC: annotation missing from generated no-args constructor
  • KT-75182 K2 AA. False positive red code "Unresolved reference" to a Kotlin method in Java when Kotlin uses a value class with@JvmOverloads
  • KT-77564 Constructor with JvmOverloads and value class shouldn't mark regular constructors private
  • KT-77505 K2: find usages on java accessor methods do not detect kotlin property accessor usages
  • KT-76789 Annotation resolve shouldn't search through non-class members
  • KT-76907 Wrong equality between repeatable annotation and container

Analysis API. Providers and Caches

  • KT-77578 Analysis API: Performance degradation ofKaBaseResolutionScope.contains after introduction of library restriction scopes
  • KT-78640 Analysis API: Remove "friend builtins provider" fromFirDeclarationForCompiledElementSearcher
  • KT-74907 Analysis API: Apply platform-based library module content restrictions consistently
  • KT-77605 AA: Leaking KaDanglingFileModule through IdeKotlinPackageProvider
  • KT-62474 Analysis API: Improve mergeability and performance of custom search scopes
  • KT-77022 Get rid of ExpectBuiltinPostProcessor workaround
  • KT-77248 Delegation ofJavaModuleResolver is restricted toCliJavaModuleResolver
  • KT-76850 LLFirLibrarySession cannot be cast to LLFirResolvableModuleSession
  • KT-76952 Analysis API:when exhaustiveness analysis fails for sealed classes in dangling files
  • KT-72390 Kotlin project full of red code

Analysis API. Standalone

  • KT-78638 Analysis API Standalone: Stdlib builtins are not indexed inSTUBS deserialized declaration origin mode

Analysis API. Stubs and Decompilation

  • KT-77496 Support HAS_MUST_USE_RETURN_VALUE metadata flags in FirStubBasedMemberDeserializer
  • KT-77778 Function receivers doesn't have annotations
  • KT-77777 Receiver annotations shouldn't be present on types
  • KT-77538 Support default property accessors with annotations
  • KT-77763 Decompiled stubs miss inline modifier for property accessors
  • KT-77309 Decompiled property from annotation constructor with default value should have a constant initializer
  • KT-77168 Prefer DataInputOutputUtil for serialization/deserialization
  • KT-77117 Flaky WRONG_ANNOTATION_TARGET diagnostic
  • KT-76791 Function signature types are deserialized inconsistently
  • KT-76947 Support functional types with context parameters

Analysis API. Surface

New Features

  • KT-73473 Provide KaExpressionInformationProvider.isUsedAsResultOfLambda
  • KT-77278 Implement psi-basedKaFirKotlinPropertyKtPropertyBasedSymbol#hasBackingField
  • KT-70770 KaLocalVariableSymbol: supportisLateInit

Performance Improvements

  • KT-78526 Get rid of redundantcheckValidity fromwithPsiValidityAssertion

Fixes

  • KT-77674 Analysis API: Redundant smart cast to the original type
  • KT-76577 Guard KaFirStopWorldCacheCleaner from deadlocks via threads waiting
  • KT-78820 K2: ISE "FIR element class FirErrorExpressionImpl is not supported in constant evaluation" through RedundantValueArgumentInspection
  • KT-75057 Analysis API: Reference to object through typealias in invoke operator call leads to original type
  • KT-79042 Do not restore KaTypePointer if target kind has changed
  • KT-72421 AA: "KtReference.resolveToSymbols" returns empty list when ASSIGN_OPERATOR_AMBGUITY error is present
  • KT-63464...
Read more
Loading
NicosNicolaou16, andannn, mdddj, PMARZV, GulmirzaNorboyev, shibasis0801, Elelan, masterQian, xiaobailong24, salimisler28, and 34 more reacted with thumbs up emojimasterQian, xiaobailong24, salimisler28, Elelan, egorshr, YektaDev, sphrak, tlarcher-gpsw, and dayanruben reacted with laugh emojinozoo1025, darriousliu, gabrielfeo, nikbulavin, iceychris, sindrenm, mdddj, MioYiSama, audkar, ptitjes, and 26 more reacted with hooray emojimasterQian, xiaobailong24, salimisler28, Elelan, albertjoelbg, frogggias, LandryNorris, iferca, egorshr, CrystalNetworkST, and 13 more reacted with heart emojilppedd, mdddj, EdricChan03, shibasis0801, Elelan, masterQian, xiaobailong24, salimisler28, inemtsev, brewin, and 15 more reacted with rocket emojiYangDai2003, Elelan, masterQian, xiaobailong24, salimisler28, lisonge, LandryNorris, egorshr, YektaDev, sphrak, and 2 more reacted with eyes emoji
82 people reacted
Previous13452728
Previous

[8]ページ先頭

©2009-2025 Movatter.jp