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.14.2
7.0.2
->7.0.4
0.30.0
->0.33.0
1.8.0
->1.8.1
6.0.0.M2
->6.0.0.M4
6.0.0.M2
->6.0.0.M4
6.0.0.M2
->6.0.0.M4
6.0.0.M2
->6.0.0.M4
6.0.0.M2
->6.0.0.M4
2.1.10
->2.2.0
2.1.10
->2.2.0
2.1.10
->2.2.0
2.0.1
->2.1.2
Release Notes
gradle/gradle (gradle)
v8.14.2
Compare Source
v8.14.1
Compare Source
v8.14
Compare Source
v8.13
Compare Source
vanniktech/gradle-maven-publish-plugin (com.vanniktech.maven.publish)
v0.33.0
Compare Source
BREAKING
publishToMavenCentral()
andpublishToMavenCentral(automaticRelease)
withoutSonatypeHost
willnow publish through the Central Portal.
publishToMavenCentral
that take aSonatypeHost
parameter.SonatypeHost
.New
com.android.fused-library
. There are currently several limitationson the Android Gradle plugin side which make signing as well as publishing sources/javadocs not possible.
Improvements
mavenCentralPublishing=true
replacesSONATYPE_HOST=CENTRAL_PORTAL
mavenCentralAutomaticPublishing=true
replacesSONATYPE_AUTOMATIC_RELEASE=true
signAllPublications=true
replacesRELEASE_SIGNING_ENABLED=true
pomFromGradleProperties()
isnot called.
TaskProvider
toJavadocJar.Dokka
-javadoc
jars (locally, the name of the published artifact is unchanged)version
to be read too early when publishing toCentral Portal.
Thanks to @Goooler, @solrudev and @sschuberth for their contributions to this release.
Minimum supported versions
Compatibility tested up to
v0.32.0
Compare Source
when publishing to Maven Central.
actionable error message.
Minimum supported versions
Compatibility tested up to
Configuration cache status
Configuration cache is generally supported, except for:
V2Enabled
v0.31.0
Compare Source
matching prefix.
Minimum supported versions
Compatibility tested up to
Configuration cache status
Configuration cache is generally supported, except for:
V2Enabled
Kotlin/kotlinx.serialization (org.jetbrains.kotlinx:kotlinx-serialization-json)
v1.8.1
==================
This release updates Kotlin version to 2.1.20, while also providing several important improvements
and bugfixes.
Improvements
Bugfixes
kotest/kotest (io.kotest:kotest-runner-junit5)
v6.0.0.M4
What's Changed
before
andafter
matchers error messages by @felixwiemuth in https://github.com/kotest/kotest/pull/4848should[Not]ContainAnyOf
,should[Not]BeOneOf
andshould[Not]BeIn
by @habara-k in https://github.com/kotest/kotest/pull/4849New Contributors
Full Changelog: kotest/kotest@v6.0.0.M3...v6.0.0.M4
v6.0.0.M3
What's Changed
New Contributors
Full Changelog: kotest/kotest@V6.0.0.M2...v6.0.0.M3
JetBrains/kotlin (org.jetbrains.kotlin.plugin.serialization)
v2.2.0
: Kotlin 2.2.0Changelog
Analysis API
KT-73337
Migrate analysis sources to new IR parameter APIKT-75880
K2 Mode: Typealias reference resolves to the underlying class in KMP projectKT-74246
KaVisibilityChecker.isVisible is inefficient with multiple calls on the same use-siteKT-57733
Analysis API: Use optimizedModuleWithDependenciesScope
s in combined symbol providersKT-69535
Redesign 'containingSymbol'KT-69950
Analysis API: IntroduceisSubtypeOf(ClassId)
KT-68393
Analysis API: RenameKaClassLikeSymbol. classIdIfNonLocal
toclassId
KT-62924
Analysis API: rename KtCallableSymbol.callableIdIfNonLocal -> callableIdAnalysis API. Code Compilation
KT-75502
K2: IDEA hangs when evaluating inside kotlin-stdlib modules in the Kotlin projectKT-73077
Evaluation of inline functions is broken inside Kotlin project and Amper module in Idea sourcesKT-73936
K2: CyclicInlineDependencyException: Inline functions have a cyclic dependency in evaluatorKT-74582
InterpreterMethodNotFoundError when trying to evaluate simple expressions after recent fixesKT-74524
Compilation exception with incorrect JvmName annotation argumentsKT-74443
Compilation peer collector ignores inline property accessorsAnalysis API. FIR
New Features
KT-73493
Support context parametersPerformance Improvements
KT-75790
Experiment with increasing DEFAULT_LOCKING_INTERVAL timeKT-72159
LLFirCompilerRequiredAnnotationsTargetResolver: consider rewriting it to use honest jumping locksFixes
KT-76331
Cleanup FileStructureElement for classesKT-73117
K2 AA: Exception "Setter is not found" when val has a setter without bodyKT-76540
K2: Missing library dependency on Android SDK from androidx.activity-1.8.2 causes LiveEdit failuresKT-73266
K2. "Declaration should have non-local container" with unclosed annotation on top-level functionKT-76432
JavaClassUseSiteMemberScope: Expected FirResolvedTypeRef with ConeKotlinType but was FirUserTypeRefImplKT-76217
K2 AA: "No fir element was found for KtParameter" with multiple context parameter listsKT-74740
Highlighting is broken after the built-in serialization refactoringKT-76366
ContextCollector: annotations on class members don't have the class as implicit receiverKT-76352
ContextCollector: wrong class annotation context in BODY modeKT-76341
ContextCollector: support dangling modifiersKT-76332
"Declaration should have non-local container" for declaration inside file annotationKT-76115
DisableFirElementBuilder#getFirForElementInsideAnnotations
optimization for files, classes and scriptsKT-76347
ContextCollector: avoid resolution for enum entry annotationsKT-76272
Cleanup AbstractFileStructureTestKT-75542
K2 AA: "FirDeclaration was not found for class KtNamedFunction, fir is class FirErrorExpressionImpl" for unclosed annotation on member functionKT-73719
K2. "FirDeclaration was not found for class KtDestructuringDeclaration, fir is class FirBlockImpl" on incorrect chain callKT-72908
K2 Analysis API: "FirDeclaration was not found for class org.jetbrains.kotlin.psi.KtFunctionLiteral" with non-local destructuring declaration without initializer beforeinit
blockKT-75532
ContextCollector: scope for an anonymous function type parameter contains regular parametersKT-74508
FirElementBuilder#findElementInside
should reuse logic fromKtToFirMapping#getFir
KT-73066
[LL] Enable low-level-api-fir-native even with the disabled native partKT-75132
Investigate failures of sandbox diagnostic testKT-75130
Set up LL FIR tests for sandbox test dataKT-73386
Standardize LL FIR test for compiler test dataKT-75125
ISE “Value classes cannot have 0 fields” on instantiating inline class without fieldsKT-75179
ContextCollector: support error propertiesKT-74632
K2: ISE FirLazyDelegatedConstructorCall should be calculated before accessingKT-74818
K2 AA: "FirDeclaration was not found for class KtTypeParameter, fir is null" with TYPE_PARAMETERS_NOT_ALLOWED on anonymous functionKT-73183
Support context parameters in ContextCollectorVisitorKT-60350
K2 IDE: top level destructuring RHS should be resolvableKT-74794
K2: FirLazyExpression should be calculated before accessing with context parameter and implicit return typeKT-72938
Get rid of KaFirAnnotationListForReceiverParameterKT-73727
Exception in implicit type resolutionAnalysis API. Infrastructure
KT-74917
[Analysis API, Test Framework] Introduce a way to acquirePsiFile
for a givenTestFile
inKtTestModule
Analysis API. Light Classes
KT-73405
Get rid of KtElement#{symbolPointer, symbolPointerOfType} API usagesKT-75391
Reduce the amount of psi-based logic in light classesKT-70001
SLC adds@Override
with zero text offset onoverride
memberKT-75755
K2. False positive red code on vararg parameters in Kotlin class with@JvmOverloads
when called from JavaKT-75397
Constructors and functions with non-last vararg parameters are treated as varargsKT-74868
Support context parametersKT-74733
SymbolPsiLiteral.text == value for Java constantKT-74620
Delegated functions with value classes are present in light classesKT-74595
Static functions with value classes are present in light classesKT-74284
Synthetic data class methods using value class types present in LCAnalysis API. Providers and Caches
Performance Improvements
KT-62115
Analysis API: Package providers are not cached per search scopeKT-74463
Analysis API:LLNativeForwardDeclarationsSymbolProvider
queries its cache even when theClassId
cannot represent a native forward declarationFixes
KT-74541
Analysis API: Include files generated by resolve extensions inKaModule
content scopesKT-64236
Analysis API: Introduce a separate module for fallback dependencies of library source modulesKT-74090
Analysis API: Support dumb mode (restricted analysis)KT-63780
Analysis API: Invalidate resolvable library sessions when binary library modules are modifiedKT-72388
KaFirStopWorldCacheCleaner: Control-flow exceptionsKT-74943
Analysis API: ReplaceKotlinGlobalModificationService
with simpler global modification event publishing and listener-based modification trackersKT-70518
K2: Analysis API: Access indices outside ofConcurrentMap
computation in symbol providersKT-74302
Analysis API:LLFirProvider
should disregard self-declarations ingetFirClassifierBy*
KT-67868
Analysis API: Improve the architecture ofLLFirKotlinSymbolProvider
sAnalysis API. Standalone
KT-72810
withMultiplatformLightClassSupport is inconvenient in StandaloneAnalysis API. Stubs and Decompilation
KT-71787
PsiRawFirBuilder.Visitor#visitStringTemplateExpression
forces AST loadingKT-68484
K2 IDE, Analysis API: "We should be able to find a symbol for function" for getting KaType ofIterable<T>.map(transform: (T) -> R)
parameter in J2KAnalysis API. Surface
New Features
KT-74475
AddisInline
forKaPropertySymbol
KT-75063
KaScopeContext: support context parametersPerformance Improvements
KT-73669
Support psi-based symbol pointer for implicit primary constructorsKT-76008
Provide PSI-based implementation forKaFirNamedClassSymbol#companionObject
KT-70165
Introduce PSI-basedKaSymbol
s for K2Fixes
KT-72730
K2: "Unexpected owner function: KtNamedFunction" on vararg val parameter in functionKT-75123
K2. KaFirNamedFunctionSymbol should contain a receiverKT-75894
Cannot build KaFirJavaFieldSymbol for FirFieldImplKT-75115
Analysis API: TheJavaModuleResolver
compiler class is leaked to Analysis API platform implementationsKT-76018
K2: Stop the wold leads to deadlock/freezeKT-76011
KaFirNamedClassSymbol#companionObject
doesn't provide generated objects generated by compiled pluginsKT-72482
"KotlinIllegalArgumentExceptionWithAttachments: Expected all candidates to have same callableId but some of them but was different" on trying to add the importKT-75586
KaFirPropertyGetterSymbol#isInline
andKaFirPropertySetterSymbol#isInline
is incorrect for accessors with explicit modifierKT-58572
Analysis API: Enforcing STATUS resolve in 'KtFirNamedClassOrObjectSymbol.visibility' may cause lazy resolve contract violationKT-75574
Recognize injected code fragment copiesKT-75573
Recognize physical file copies as dangling filesKT-74801
Analysis API: Publish/subscribe to modification events with a single message bus topicKT-73290
Analysis API: Improve the architecture of content scopes and resolution scopesKT-68901
Constructor delegation call receiver missing in fir implementationKT-72639
Support context parameter APIKT-73112
AA: FirExpression.toKtReceiverValue should handle context receivers properlyKT-74905
Cannot find context receiver in FIR declarationKT-74563
createPointer
is overloaded not for all implementationsKT-73722
Analysis API: Automatically check that the API surface is fully documentedKT-65065
ProvideKtTypeReference#getShortTypeText()
Backend. Native. Debug
KT-75991
Xcode 16.3: Fix lldb stepping test over an inline functionBackend. Wasm
New Features
KT-59032
Support instantiation of annotation classes on WASMFixes
KT-77622
K/Wasm: investigate CMP crash on mobile SafariKT-76747
[Wasm] Wasm name section absent for wasm structsKT-76701
K/Wasm: custom formatters are not loaded when a project is built with incremental compilationKT-66081
K/WASM:0/0
,5/0
and5%0
throw not ArithmeticException, but RuntimeErrorKT-76287
[Wasm] Enable stdlib and kotlin.test tests after compiler bootstrapKT-75871
[Wasm] Implement new RTTI approachKT-75872
Wasm / IC: IllegalStateException: IC internal error: can not find libraryKT-74441
K/Wasm: incorrect 1e-45.toString()KT-59118
WASM: floating point toString inconsistenciesKT-68948
Wasm: float from variable is printed with many decimal pointsKT-69107
[wasm] Seemingly incorrect roundingKT-73362
Migrate K/Wasm sources to new IR parameter APICompiler
New Features
KT-70722
Implement better Kotlin warnings for value classes and JEP 390 (Warnings for Value-Based Classes)KT-71768
Enable -Xjvm-default=all-compatibility by default to generate JVM default interface methodsKT-54205
Support jakarta Nullability annotationsKT-57919
Store all annotations in Kotlin metadata on JVM under a flagKT-73255
Change defaulting rule for annotationsKT-74382
Annotating Java record components for@JvmRecord
data classKT-74811
Prohibit usages of@MustUseValue
/@IgnorableValue
if RV checker is not enabledKT-74806
Implement feature flag for improved unused return value checkerKT-74809
Support unnamed local variablesKT-73508
Add a warning diagnostic for using kotlin.concurrent.AtomicRefKT-72941
ANNOTATIONS_ON_BLOCK_LEVEL_EXPRESSION_ON_THE_SAME_LINE missing in K2KT-74497
Warn about incompatible Kotlin and Java targets in annotationsKT-75061
Support context-sensitive resolution in type positionKT-75315
Support context-sensitive resolution in the call-argument positionKT-75316
Support context-sensitive resolution for expression-position with expected typeKT-76088
Support context-sensitive resolution for annotation argumentsKT-74049
Introduce special override rule to allow overriding T! with T & AnyPerformance Improvements
KT-76395
Performance degradation on 28.03.2025KT-76422
FirJavaFacade#createFirJavaClass: do not compute super type references right awayKT-75957
K2: PsiRawFirBuilder.Visitor#toFirExpression forces AST loading via getSpreadElementKT-74824
Exponential performance caused by nested flexible typesKT-62855
K2: extra allocation for SAM conversion compared to K1KT-74977
K/N: support stack array for Array(size) callKT-74369
Exponential compiler memory usage in specific situations with type inferenceFixes
KT-76606
Enable 'Indy: Allow lambdas with annotations' by defaultKT-77301
False positive Context Parameter resolution when using DslMarkerKT-74389
K2: False positive NON_EXPORTABLE_TYPE on non-UnitPromise<...>
in K/JSKT-77219
"@Composable
annotation is not applicable" on vararg@Composable
() -> Unit in Kotlin 2.2.0KT-76357
K2: a nested class annotation observes member declarations of the outer classKT-72734
Support new callable reference nodes in Kotlin NativeKT-74421
K2: Missing "val cannot be reassigned" when trying to assign a value to parent's "val"KT-63720
Coroutine debugger: do not optimise out local variablesKT-74470
NSME on calling in runtime internal constructor of value class with default arg from testsKT-77640
Context parameters: using 'contextOf()' function leads to [NO_CONTEXT_ARGUMENT]KT-73909
Add an inspection discouraging usage of kotlin.concurrent Native atomics in favor of the new atomicsKT-76583
CCE: suspend lambda attempts to unbox value class parameter twice after lambda suspendedKT-76663
KJS: KotlinNothingValueException caused by expression return since 2.1.20KT-75457
Native: cache machinery uses stdlib cache with default runtime options even if custom runtime options are supplied when partial linkage is disabledKT-76615
K2: "IllegalArgumentException: Inline class types should have the same representation: Lkotlin/UByte; != B" for mixed Java/Kotlin codeKT-77220
Annotation with EXPRESSION is not allowed on lambdas in Kotlin 2.2.0KT-76381
K2: Expected expression 'FirPropertyAccessExpressionImpl' to be resolvedKT-74739
Native: "IllegalArgumentException: All constructors should've been lowered: FUNCTION_REFERENCE"KT-74325
Explicit API mode does not enforce explicit return types for extension propertiesKT-77259
Confusing message forANNOTATION_WILL_BE_APPLIED_ALSO_TO_PROPERTY_OR_FIELD
KT-73771
K2: Infinite compilation caused by buildList without typeKT-61258
Kotlin/Native: CLASS CLASS name: modality:FINAL visibility:local superTypes:[.Base]KT-75317
Kotlin/Native: segfault in kotlin::gc::Markkotlin::gc::mark::ConcurrentMark::MarkTraitsKT-75965
The iOS app did not run successfully in Release modeKT-77397
Report UNSUPPORTED_CONTEXTUAL_DECLARATION_CALL when calling declaration with contextual function type in signatureKT-77137
K2: Controversial behavior allows resolving annotation arguments on a companion inside itKT-77150
Native: compilation fails with an assertion errorKT-51960
ClassCastException: Inline function with both context and extension receiver produces this when invokedKT-73611
Remove -Xextended-compiler-checks in favor of a deprecation cycleKT-74649
Deprecate language versions 1.8 and 1.9KT-77283
Binary compatibility of FirDeclarationCheckerKT-73445
K2: do not report "cannot infer visibility" when inheriting multiple implementationsKT-75945
](https://youtrack.jetbrains.com/issue/KT-759Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), 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.