Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
8.12.1
->8.13
3.0.3
->3.1.2
3.0.3
->3.1.2
3.0.3
->3.1.2
3.0.3
->3.1.2
3.0.3
->3.1.2
3.0.3
->3.1.2
2.1.10-1.0.29
->2.1.20-1.0.32
0.6.1
->0.6.2
2.1.10
->2.1.20
2.1.10
->2.1.20
2.1.10
->2.1.20
2.1.10
->2.1.20
2.1.10
->2.1.20
2.1.10
->2.1.20
2.1.10
->2.1.20
Release Notes
gradle/gradle (gradle)
v8.13
Compare Source
ktorio/ktor (io.ktor:ktor-serialization-kotlinx-json)
v3.1.2
Compare Source
Improvements
Bugfixes
v3.1.1
Compare Source
Improvements
Bugfixes
staticResources
(KTOR-6671)v3.1.0
Compare Source
Features
Improvements
receiveMultipart
throws IllegalStateException instead of UnsupportedMediaTypeException (KTOR-7470)bind
overload withhostName
andport
(KTOR-7663)Bugfixes
google/ksp (com.google.devtools.ksp)
v2.1.20-1.0.32
Compare Source
What's Changed
#2379 [KSP2] resolved type of vararg parameter in functions changed vs KSP1
#2358 [KSP2] Annotation missing from property when VALUE_PARAMETER target is used.
And various performance optimizations!
v2.1.20-1.0.31
Compare Source
What's Changed
Full Changelog: google/ksp@2.1.20-RC2-1.0.31...2.1.20-1.0.31
v2.1.10-1.0.31
Compare Source
Bug Fixes
v2.1.10-1.0.30
Compare Source
Bugs Fixed / PR Landed
https://github.com/google/ksp/issues/2325 [KSP2] KSType.arguments return arguments on aliased type.https://github.com/google/ksp/pull/23122 Partially migrate KSP off AGP's legacy Variant APIhttps://github.com/google/ksp/issues/23099 Resolver#getDeclarationsFromPackage() does not find generated fileshttps://github.com/google/ksp/issues/22522 Incremental processing breaks when a project dependency is modifiedhttps://github.com/google/ksp/issues/22655 [ksp2] ksType.arguments will crash on a typealias's java wildcard typhttps://github.com/google/ksp/issues/226464 [ksp2] getJavaWildcard does not return wildcard for List param (different with kapt/ksphttps://github.com/google/ksp/issues/2246246 Resolver returns non-equal instances of the same declaratiohttps://github.com/google/ksp/issues/2254254 [KSP2] Resolver#overrides() gives incorrect result when method isn't accessible.
Kotlin/kotlinx-datetime (org.jetbrains.kotlinx:kotlinx-datetime)
v0.6.2
TimeSource.asClock
(#164). Thanks, @hfhbd!NSDate
toInstant
conversions (#427)DatePeriod.plus
andDateTimePeriod.plus
with a warning (#381)Clock.asTimeSource
with a warning (#372)module-info
preventing usingkotlinx.datetime.format
together with JPMS (#438). Thanks, @cdelabou!JetBrains/kotlin (org.jetbrains.kotlin.plugin.compose)
v2.1.20
: Kotlin 2.1.20Changelog
Analysis API
Fixes
KT-68198
Analysis API: Support application service registration in plugin XMLsKT-57733
Analysis API: Use optimizedModuleWithDependenciesScope
s in combined symbol providersKT-73156
AA: type retrieval for erroneous typealias crashesKT-71907
K2 debugger evaluator failed when cannot resolve unrelated annotationKT-69128
K2 IDE: "Unresolved reference in KDoc" reports existing Java class in reference to its own nested classKT-71613
KaFirPsiJavaTypeParameterSymbol cannot be cast to KaFirTypeParameterSymbolKT-71741
K2 IDE. Classifier was found in KtFile but was not found in FirFile inlibraries/tools/kotlin-gradle-plugin-integration-tests/build.gradle.kts
inkotlin.git
and broken analysisKT-71942
Need to rethrow Intellij Platform exceptions, like ProcessCanceledExceptionKT-70949
Analysis API: "containingDeclaration" does not work on nested Java classes in K2 implementationKT-69736
K2 IDE: False positive resolution from KDoc forvalue
KT-69047
Analysis API: Unresolved KDoc reference to extensions with the same nameKT-70815
Analysis API: Implement stop-the-world session invalidationKT-69630
KAPT User project builds with KAPT4 enabled fail with Metaspace overflowAnalysis API. Code Compilation
KT-71263
K2 evaluator: Error in evaluating self property with extension receiverAnalysis API. FIR
Performance Improvements
KT-72025
FileStructureElement: reduce redundant resolveKT-74012
RedundantFirAbstractBodyResolveTransformerDispatcher.<init>
CPU consumptionKT-73900
ContextCollectorVisitor#computeContext may spend significant time oncreateSnapshot
KT-73665
FirElementFinder is inefficient in large filesKT-73330
Remove bodies from functions without contracts after the CONTRACTS phaseKT-73017
Analysis API:FirReferenceResolveHelper.getSymbolsByResolvedImport
searches for classes even when the selectedFqName
is a known packageFixes
KT-72308
getOrBuildFir returns null for this expression for plusAssign operatorKT-72660
ISE: Recursive update at org.jetbrains.kotlin.analysis.low.level.api.fir.caches.FirCaffeineCache.getValueKT-74097
ISE: Recursive update at org.jetbrains.kotlin.analysis.low.level.api.fir.caches.FirCaffeineCache.getValueKT-74098
ISE: Recursive update at org.jetbrains.kotlin.analysis.low.level.api.fir.caches.FirCaffeineCache.getValueKT-72148
K2: KISEWA: Expected FirResolvedArgumentList for FirAnnotationCallImpl of FirValueParameterImpl(DataClassMember) but FirArgumentListImpl foundKT-73079
K2: Internal compiler error when conflicting type aliases are presentKT-73456
Expected FirResolvedContractDescription but FirRawContractDescriptionImpl found for FirSimpleFunctionImplKT-73259
Expected FirResolvedContractDescription but FirLegacyRawContractDescriptionImpl found for FirSimpleFunctionImplKT-72740
FirDanglingModifierList:lazyResolveToPhase(STATUS)
cannot be called from a transformer with a phase STATUSKT-66132
K2: FirRegularClass expected, but FirFileImpl found | Containing declaration is not foundKT-72196
K2. KMP. IllegalStateException: expect-actual matching is only possible for code with sourcesKT-72652
FirProvider#getContainingClass
should supportFirDanglingModifierSymbol
KT-73105
Lazy resolve contract violation (BODY_RESOLVE from BODY_RESOLVE)KT-66261
K2: Analysis API: "FirDeclaration was not found for class org.jetbrains.kotlin.psi.KtProperty, fir is null" with MULTIPLE_LABELS_ARE_FORBIDDEN K2 errorKT-72315
K2. KIWA on usage of always-true OR in guard conditionKT-65707
K2 IDE: unresolved calls of callables imported with typealias as qualifierKT-61516
K2: Provide an LL FIR implementation forgetContainingClassSymbol
(inFirHelpers
)KT-72853
Expected FirResolvedArgumentList for FirAnnotationCallImpl of FirContextReceiverImpl(Source) but FirArgumentListImpl foundKT-64215
K2: do not resolve type annotations of receiver if it is used as an implicit return typeKT-64248
K2: do not resolve type annotations of context receiver if it is used as an implicit return typeKT-72821
Add assertion to diagnostic tests to check that all declarations have BODY_RESOLVE phase at the endKT-64056
K2: K2: FirLazyBodiesCalculator shouldn't calculate annotation arguments on type phaseKT-71651
K2 IDE: False positive NON_LOCAL_SUSPENSION_POINT in suspend function callKT-72164
K2. IllegalArgumentException when pre and post increment are used simultaneously in assignmentKT-71174
Illegal scope usedKT-72407
FirImplementationByDelegationWithDifferentGenericSignatureChecker: FirLazyExpression should be calculated before accessingKT-72228
K2: Reformat doesn't work in project with Kotlin2.0.21
KT-69671
TYPES phase contract violation through JavaSymbolProviderKT-71348
K2: KotlinIllegalStateExceptionWithAttachments: 'By now the annotations argument mapping should have been resolved' during code inspectionKT-72024
FirClassVarianceChecker: Expected FirResolvedTypeRef with ConeKotlinType but was FirImplicitTypeRefImplWithoutSourceKT-71746
K2 IDE.ISE: Zero or multiple overrides found for descriptor in FirRegularClassSymbol serializing/ExternalSerializer
and red code on@Serializer
(forClass) ` usageAnalysis API. Infrastructure
KT-72922
KotlinFakeClsStubsCache project leakageKT-71988
Improve scripts test coverage by LL FIRKT-64687
K2: Analysis API: migrate AbstractFirLibraryModuleDeclarationResolveTest to kotlin repoAnalysis API. Light Classes
KT-73492
K2. FP error in Java file when using@JvmSuppressWildcards
annotation without argumentsKT-66763
K2: Get rid of context receivers in Analysis API and LL APIKT-71781
SLC: migrate SLC from KotlinModificationTrackerService to KotlinModificationTrackerFactoryKT-67963
K2: PsiInvalidElementAccessException on redeclaration of class with constructorKT-71407
K2: Do not report@JvmField
default value as PsiField initializer in K2KT-72078
K2 PSI change for constructor parameter with value class typeAnalysis API. Providers and Caches
KT-69247
Analysis API: Invalidate sessions after builtins modification eventsKT-72704
ISE: No 'org.jetbrains.kotlin.fir.scopes.impl.FirDelegatedMembersFilter'(53) in array owner: LLFirBuiltinsAndCloneableSession for Builtins for JS/wasm-js (JS)KT-67148
Analysis API: Introduce a weak reference cache for the originalKtSymbol
inKtSymbolPointer
KT-73395
Analysis API:JavaElementPsiSourceWithSmartPointer
contains strong references to PSIKT-72390
Kotlin project full of red codeKT-72388
KaFirStopWorldCacheCleaner: Control-flow exceptionsKT-72644
"PSI has changed since creation" reason is misleadingAnalysis API. Standalone
KT-73776
Analysis API Standalone: Application services are missing registrations in tests and DokkaKT-70346
Analysis API Standalone: Remove the custom class loader option in Standalone session creationAnalysis API. Stubs and Decompilation
KT-69398
K2 IDE: SOE on editing top level private variable nameKT-72897
Analysis API: Smart PSI element pointers forKtEnumEntry
stubs cannot be restoredKT-71565
KtClassOrObject should use isLocal from greenStubAnalysis API. Surface
New Features
KT-73414
Analysis API: Support typealiased constructors in KaConstructorSymbolKT-70301
Analysis API: 'KaSamConstructorSymbol' does not allow to find the constructed SAM typeKT-68236
Analysis API: addisExternal
property for KtPropertySymbolKT-68598
Analysis API: missed getClassLikeSymbolByClassId APIPerformance Improvements
KT-74112
UI freeze:AnyThreadWriteThreadingSupport.getWritePermit
KT-73942
Extend resolveToSymbols cache to all referencesKT-73622
CacheresolveToSymbols
resultKT-72684
Drop explicit resolve from KaFirJavaInteroperabilityComponent#asPsiTypeElementKT-60486
Analysis API: optimize KaExpressionTypeProvider.returnType for simple casesFixes
KT-70114
K2: Analysis API: do not lazy resolve declarations without deprecation to get it deprecationKT-73406
[Analysis API] Allow extending KaModule resolution scope for all KaModulesKT-65850
Cover Analysis API with KDocsKT-72099
Analysis API: implement an API to retrieve default importsKT-73662
KotlinIllegalArgumentExceptionWithAttachments: Expected FirResolvedTypeRef with ConeKotlinType but was FirUserTypeRefImplKT-70108
Analysis API: "KaScopeProvider.scopeContext" provides scopes from implicit companion objects with inaccessible classifiersKT-68954
Remove JAR publications with old artifact names (high-level-api family)KT-70134
Analysis API: Port API documentation from the guide to KDocKT-72973
Introduce KaSymbolOrigin.TYPE_ALIAS_CONSTRUCTORKT-70356
analyzeCopy with IGNORE_SELF cannot find private membersKT-66783
Analysis API:KtFirSymbolProvider
creates symbols when given PSI from unrelated modulesKT-72937
Migrate KaFirReceiverParameterSymbol to KaFirSymbol/KaFirKtBasedSymbolKT-70243
K2 IDE: PsiMethod.callableSymbol returnsnull
for constructorKT-66608
SupportOperatorFunctionChecks#isOperator
in AAKT-73068
Analysis API: AKaFirJavaFieldSymbol
for a static Java field is open instead of finalKT-73055
Get rid of the deprecated Analysis API APIKT-65065
ProvideKtTypeReference#getShortTypeText()
KT-63800
AA: this reference shortener doesn't simplify labelKT-72793
Analysis API: 'expressionType' returns raw type for typealiased constructors callsKT-72658
resolveToCall
doesn't work forKtSafeQualifiedExpression
KT-69930
K2 IDE: Kotlin/JS project: ISE: "Unsupported type DYNAMIC_TYPE"KT-71373
Make KaSessionProvider the internal APIKT-71869
KaClassSymbol.superTypes for kotlin.Any contains kotlin.Any itself (K1-only)KT-64190
K2 IDE: Analysis API: KDoc link leads to a function instead of interfaceKT-72075
defaultType
should be available forKaClassifierSymbol
instead ofKaNamedClassSymbol
KT-72002
Analysis API: psi KaTypeParameterSymbol for default Java constructor is nullBackend. Native. Debug
KT-73306
Native: add a way to specify a dir for the debug compilation unit fileKT-68536
Native: bridges and trampolines affect stepping in the debuggerKT-72398
Native: useDW_AT_trampoline
forobjc2kotlin_*
functions instead ofKonanHook
inkonan_lldb.py
Backend. Wasm
KT-71868
K/Wasm: support generating debug information in DWARF formatKT-71645
[Wasm] Check wasm test runner for groupByPackage=true caseKT-72232
Wasm, IC: Compilation exception on renaming of fileKT-73907
Wasm: Duplication of files in browser distributionKT-72223
Compiler generates an invalid glue-code for externals with backquoted identifiersKT-73015
[Wasm, IC] Implement possibility for readonly IC cacheKT-71763
K/Wasm: compiler generates incorrect code for is check on JsAnyKT-72156
custom-formatters.js exists in JAR after publishToMavenLocal but not in the published artifact in Maven publicKT-71037
[Wasm, IC] Investigate how make kotlin.test not fully loaded in ICCompiler
New Features
KT-74049
Introduce special override rule to allow overriding T! with T & AnyKT-73256
Implementall
meta-target for annotationsKT-73255
Change defaulting rule for annotationsKT-61447
Support context receivers overloads in Kotlin multiplatformKT-67034
Warning when a property hides a Java field from superclassKT-71092
Native: Write out used dependenciesKT-71094
Kotlin/Native incremental compilation: fail compilation if cache build failedKT-71569
Improve diagnostic precision for OPT_IN_ARGUMENT_IS_NOT_MARKERPerformance Improvements
KT-73434
Slow / infinite compile involving ConeInferenceContextKT-73328
Do not spillthis
to a local variable in coroutinesKT-69995
K2: Slow compilation when star projecting mutually recursive bounds from javaKT-73687
Inefficient KtCommonFile#getFileAnnotationListKT-45452
K/N optimization: inline simple functions that aren't marked withinline
keywordKT-64898
K2: toFirProperty call in PsiRawFirBuilder forces AST loadingKT-71673
Consider making EnhancementSymbolsCache. enhancedFunctions using simple cacheKT-71973
KtPsiUtil#getEnclosingElementForLocalDeclaration shouldn't iterate over directoriesFixes
KT-75965
The iOS app did not run successfully in Release modeKT-57696
Deprecate JvmDefault annotation with level HIDDENKT-75578
K2: False negative [SUPER_CALL_WITH_DEFAULT_PARAMETERS] when calling the upper-class implementation of a method with the default value argumentKT-74764
Native: merge init nodes generated within the same LLVM module for the same klibKT-75444
Contradictions in the constraint system are ignored in case of multiple constraints from forking pointsKT-75649
K2: NPE on assigning platform type value to non-nullable lateinit varKT-75483
Native: redundant unboxing generated with smart castKT-73028
K2. FileAnalysisException on private property in ContextKT-73937
Context parameters: IllegalArgumentException: source must not be null on lateinit var with a contextKT-74104
Native: SynchronizedLazyImpl produces NPE on 2.1.20-Beta1 on mingwX64KT-71752
K2: Absent non-null check for platform types in assignmentsKT-75526
Regression in K2 scripting: local name doesn't shadow one from the implicit receiverKT-68131
K2: build Grazie monorepo main branchKT-72618
Cannot define operator inc/dec in class contextKT-74739
Native: "IllegalArgumentException: All constructors should've been lowered: FUNCTION_REFERENCE"KT-68768
K2: unsuccessful inference fork with jspecify annotationsKT-71943
K2: IAE "source must not be null" in FirJvmModuleAccessibilityQualifiedAccessCheckerKT-75111
False negative "This declaration needs opt-in" for usage of enum entry with OptIn marker in another moduleKT-73831
Do not choosefield
target in annotation classesKT-73494
Enable first-only-warn annotation defaulting modeKT-74929
False positive TYPE_PARAMETER_OF_PROPERTY_NOT_USED_IN_RECEIVER if it is used with T&AnyKT-74227
K2: "Cannot infer type for this parameter. Please specify it explicitly" caused by lambda in another lambda with a parameterized function typeKT-70789
CLI error "mixing legacy and modern plugin arguments is prohibited" on using -Xcompiler-plugin unless default scripting plugin is disabledKT-73903
Design 'replaceWith' / 'test-only' kinds for the 'LanguageFeature' classKT-74474
K2: Report more precise diagnostic when last expression of non-unit lambda is a statementKT-74478
K2: False negative RETURN TYPE_MISMATCH if the last statement of a lambda is indexed assignmentKT-67480
K/N: a separate inlining phase after the loweringsKT-72154
Dokka fails withnot array: KClass<out Annotation>
on Kotlin 2.1.20-dev with@SubclassOptInRequired
KT-72040
Extra checkers: false-positive unused parameter warnings on anonymous lambda parametersKT-74203
K2: False negative NO_ELSE_IN_WHEN of a generic type with star projection <*> bounded by a sealed hierarchyKT-63720
Coroutine debugger: do not optimise out local variablesKT-74024
K2: Prohibit declaring local type aliasesKT-73146
Context parameters CLI & diagnosticsKT-73251
Warn users about removal of context classes and constructorsKT-72222
Context parameters parsing & resolution part 1KT-61175
K2: FirReceiverParameter does not extend FirDeclarationKT-73858
Compose / iOS: NullPointerException on buildingKT-73864
[Native] DecoupleIrType.computePrimitiveBinaryTypeOrNull
from backend.nativeKT-73122
Move the upgrade references lowering to be first one in Native pipelineKT-73608
K2: "Initializer type mismatch" with map and typealias to objectKT-73691
DCE removes static initializer function, which is actually calledKT-74147
K2: False negative INCONSISTENT_TYPE_PARAMETER_VALUESKT-73454
K2: Fix type parameters mapping for typealiases with inner RHSKT-73043
K2 Compiler does not allow references to inner constructors with typealiasesKT-74040
Compilation of inner class usage does not check the visibility of parent class during compilation in different roundsKT-74195
Fully qualified names in error messages make them complicatedKT-74221
MakeFirSupertypesChecker
a platform checkerKT-72962
Consider enabling ConsiderForkPointsWhenCheckingContradictions LF earlierKT-74242
Freeze onrunCatching
call infinally
block inside SAM conversionKT-29222
FIR: consider folding binary expression chainsKT-73760
Cannot implement two Java interfaces with@NotNull
-annotated type argument and Kotlin's plain (nullable) type parameterKT-58933
Applying suggested signature from WRONG_NULLABILITY_FOR_JAVA_OVERRIDE leads to red codeKT-74107
K2: Calling type alias constructor with inner RHS in static scope causes runtime crashKT-74244
Context parameters: context isn't checked for expect/actual property declarationKT-74276
Update ASM from 9.0 to 9.6.1KT-72737
Avoid function references creation in lowerings after FunctionReferenceLoweringKT-72295
K2: Generated accessors for delegated property should have property sourceKT-73150
InvestigaConfiguration
📅 Schedule: Branch creation - "* 0-3 * * *" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.