Update all dependencies
This PR contains the following updates:
| Package | Type | Update | Change | Age | Confidence |
|---|---|---|---|---|---|
| gradle (source) | patch | 8.14.1 -> 8.14.3 |
|||
| org.sonarqube | plugin | minor | 6.0.1.5171 -> 6.3.1.5724 |
||
| org.jetbrains:annotations | dependencies | patch | 26.0.2 -> 26.0.2-1 |
||
| org.apache.logging.log4j:log4j-slf4j2-impl (source) | dependencies | minor | 2.24.3 -> 2.25.2 |
||
| org.apache.logging.log4j:log4j-core (source) | dependencies | minor | 2.24.3 -> 2.25.2 |
||
| org.apache.logging.log4j:log4j-api (source) | dependencies | minor | 2.24.3 -> 2.25.2 |
||
| com.diffplug.spotless | plugin | minor | 7.0.2 -> 7.2.1 |
||
| com.diffplug.spotless:spotless-plugin-gradle | dependencies | minor | 7.0.2 -> 7.2.1 |
||
| com.gradle.develocity | plugin | minor | 4.0 -> 4.2.2 |
||
| org.assertj:assertj-core (source) | dependencies | patch | 3.27.3 -> 3.27.6 |
||
| org.jetbrains.kotlinx.kover | plugin | patch | 0.9.1 -> 0.9.3 |
||
| org.jetbrains.kotlinx.kover:org.jetbrains.kotlinx.kover.gradle.plugin | dependencies | patch | 0.9.1 -> 0.9.3 |
||
| org.junit.jupiter:junit-jupiter-api (source) | dependencies | minor | 5.12.0 -> 5.14.1 |
||
| org.junit:junit-bom (source) | dependencies | minor | 5.12.0 -> 5.14.1 |
||
| org.apache.commons:commons-text (source) | dependencies | minor | 1.13.0 -> 1.14.0 |
||
| com.github.spotbugs | plugin | minor | 6.1.5 -> 6.4.5 |
||
| com.github.spotbugs.snom:spotbugs-gradle-plugin | dependencies | minor | 6.1.5 -> 6.4.5 |
||
| io.freefair.lombok | plugin | minor | 8.12.1 -> 8.14.3 |
||
| io.vavr:vavr (source) | dependencies | patch | 0.10.6 -> 0.10.7 |
||
| org.jetbrains.kotlin.jvm | plugin | minor | 2.1.10 -> 2.2.21 |
||
| org.jetbrains.kotlin:kotlin-gradle-plugin (source) | dependencies | minor | 2.1.10 -> 2.2.21 |
Release Notes
gradle/gradle (gradle)
v8.14.3: 8.14.3
The Gradle team is excited to announce Gradle 8.14.3.
This is a patch release for 8.14. We recommend using 8.14.3 instead of 8.14.
Here are the highlights of this release:
- Java 24 support
- GraalVM Native Image toolchain selection
- Enhancements to test reporting
- Build Authoring improvements
We would like to thank the following community members for their contributions to this release of Gradle: Aurimas, Ben Bader, Björn Kautler, chandre92, Daniel Hammer, Danish Nawab, Florian Dreier, Ivy Chen, Jendrik Johannes, jimmy1995-gu, Madalin Valceleanu, Na Minhyeok.
Upgrade instructions
Switch your build to use Gradle 8.14.3 by updating your wrapper:
./gradlew wrapper --gradle-version=8.14.3 && ./gradlew wrapper
See the Gradle 8.x upgrade guide to learn about deprecations, breaking changes and other considerations when upgrading.
For Java, Groovy, Kotlin and Android compatibility, see the full compatibility notes.
Reporting problems
If you find a problem with this release, please file a bug on GitHub Issues adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the forum.
We hope you will build happiness with Gradle, and we look forward to your feedback via Twitter or on GitHub.
v8.14.2: 8.14.2
The Gradle team is excited to announce Gradle 8.14.2.
Here are the highlights of this release:
- Java 24 support
- GraalVM Native Image toolchain selection
- Enhancements to test reporting
- Build Authoring improvements
We would like to thank the following community members for their contributions to this release of Gradle: Aurimas, Ben Bader, Björn Kautler, chandre92, Daniel Hammer, Danish Nawab, Florian Dreier, Ivy Chen, Jendrik Johannes, jimmy1995-gu, Madalin Valceleanu, Na Minhyeok.
Upgrade instructions
Switch your build to use Gradle 8.14.2 by updating your wrapper:
./gradlew wrapper --gradle-version=8.14.2 && ./gradlew wrapper
See the Gradle 8.x upgrade guide to learn about deprecations, breaking changes and other considerations when upgrading.
For Java, Groovy, Kotlin and Android compatibility, see the full compatibility notes.
Reporting problems
If you find a problem with this release, please file a bug on GitHub Issues adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the forum.
We hope you will build happiness with Gradle, and we look forward to your feedback via Twitter or on GitHub.
JetBrains/java-annotations (org.jetbrains:annotations)
v26.0.2-1
- A technical release using the new Sonatype publication mechanism, see https://central.sonatype.org/publish/publish-portal-guide/
Kotlin/kotlinx-kover (org.jetbrains.kotlinx.kover:org.jetbrains.kotlinx.kover.gradle.plugin)
v0.9.3
===================
Kover Gradle Plugin
Bugfixes
#759Fixed locating of host tests for the multiplatform Android library#766Fixed support of KSP plugin
Build features
- Upgraded Gradle version to
9.1.0
v0.9.2
===================
Kover Gradle Plugin
Features
#748Disable caching for KoverAgentJarTask
Bugfixes
#747Added support for KMP Android library plugin
spotbugs/spotbugs-gradle-plugin (com.github.spotbugs.snom:spotbugs-gradle-plugin)
v6.4.5
Bug Fixes
v6.4.4
Bug Fixes
v6.4.3
Bug Fixes
v6.4.2
Bug Fixes
v6.4.1
Bug Fixes
v6.4.0
Features
v6.3.0
Features
v6.2.7
Bug Fixes
v6.2.6
Bug Fixes
v6.2.5
Bug Fixes
v6.2.4
Bug Fixes
v6.2.3
Bug Fixes
v6.2.2
Bug Fixes
v6.2.1
Bug Fixes
v6.2.0
Features
v6.1.13
Bug Fixes
v6.1.12
Bug Fixes
v6.1.11
Bug Fixes
- deps: update dependency com.android.tools.build:gradle to v8.10.0 (#1363) (218d15a)
- deps: update dependency com.tngtech.archunit:archunit to v1.4.1 (#1364) (61b47d7)
v6.1.10
Bug Fixes
v6.1.9
Bug Fixes
v6.1.7
Bug Fixes
v6.1.6
Bug Fixes
vavr-io/vavr (io.vavr:vavr)
v0.10.7
Maintenance release - fixed broken JavaDoc stylesheets.
btw, we're getting really close to shipping v0.11.0...
JetBrains/kotlin (org.jetbrains.kotlin:kotlin-gradle-plugin)
v2.2.21
Backend. Wasm
KT-81372K/Wasm: JsException: Exception was thrown while running JavaScript code on Safari 18.2/18.3KT-80018K/Wasm: exceptions don't work properly in JavaScriptCore (vm inside Safari, WebKit)
Compiler
KT-81191K2: "null cannot be cast to non-null type ConeTypeParameterLookupTag" with invalid codeKT-80936NON_PUBLIC_CALL_FROM_PUBLIC_INLINE :@PublishedApidoesn't work for fun interfaces
JavaScript
KT-79926Wrong export of interfaces with companions with ES ModulesKT-81424Kotlin/JS: Cannot Get / in a simple running applicationKT-80873KJS: Stdlib requires ES2020-compatible JS engine due to BigInt type literal
Native
KT-79384K/N: Application Not Responding: Thread Deadlock
Tools. Gradle
KT-79047Gradle compileKotlin fails with configuration cacheKT-81148Publishing helpers in KGP are incompatible with Isolated ProjectsKT-80950KGP breaks configuration cache when signing plugin with GnuPG is applied
Tools. Gradle. Multiplatform
KT-61127Remove scoped resolvable and intransitive DependenciesMetadata configurations used in the pre-IdeMultiplatformImport IDE importKT-81249Kotlin 2.2.20 broke KMP implementation of Parcelize
Tools. Gradle. Native
KT-81510commonizeCInteropexception with 'kotlinNativeBundleConfiguration' not foundKT-81134Native: Gradle configuration failure likely related to Klibs cross-compilationKT-77732commonizeCInteropfailed with "Unresolved classifier: platform/posix/size_t"KT-80675Commonized cinterops between "test" compilations produce an import failure
Tools. Maven
KT-81218Kotlin Maven Plugin 2.2.20: Java classes not resolved with enabled incremental compilation without daemon
Tools. Wasm
KT-80582Multiple reloads when using webpack dev server after 2.2.20-Beta2
v2.2.20
Analysis API
KT-78187Synthetic properties not to be shown as callablesKT-72525K2. red code and KIWA on new-lines in guarded when conditions (with parentheses)KT-74246KaVisibilityChecker.isVisible is inefficient with multiple calls on the same use-site
Analysis API. Code Compilation
KT-78382K2 IR lowering error when interface extends interfaceKT-73201K2 IDE: Error while evaluating expressions with local classesKT-78164Evaluator: '@JvmName' annotations are not recognized in other modulesKT-76457K2 IDE / KMP Debugger: KISEWA “Cannot compile a common source without a JVM counterpart” on evaluating inline fun from common module inside jvmKT-73084K2 evaluator cannot resolve local variables standing at the closing brace
Analysis API. FIR
Performance Improvements
KT-76490Do not load ast during the contracts phase if no contracts presentKT-78132Do not check FirElementBuilder#tryGetFirWithoutBodyResolve optimization for already resolved declarations
Fixes
KT-72227SOE from recursive value classKT-68977K2 IDE: Reference to companion object through typealias in a function call does not workKT-72357Implement partial body resolutionKT-76932Support context parameters on dangling modifier listKT-72407FirImplementationByDelegationWithDifferentGenericSignatureChecker: FirLazyExpression should be calculated before accessingKT-77602K2 / Analysis API: KAEWA “No fir element was found for KtParameter” on incorrect context()-callKT-77629K2: NPE: "org.jetbrains.kotlin.fir.java.declarations.FirJavaTypeParameter.performFirstRoundOfBoundsResolution"KT-76855Analysis API:KaType.asPsiTypereturnsnullfor a local inner class in dependent analysis testsKT-72718ImplicitReceiverValue.createSnapshot creates invalid FIR if receiver is smart-castedKT-76811Analysis API:resolveToFirSymbolfinds aFirPropertySymbolfor aKtScriptin dependent analysisKT-73586[Analysis API] AddlazyResolveToPhase(STATUS)before accessing modifiers of membersKT-71135AA: exception from sealed inheritors checker whenanalyzeCopyKT-75534K2 AA: "Containing declaration should present for nested declaration class KtNamedFunction" with dangling annotation on top-level anonymous functionKT-75687K2: local variable doesn't get to the do-while scopeKT-56543LL FIR: rework lazy transformers so transformers modify only declarations they suppose to
Analysis API. Infrastructure
KT-76809Analysis API: Dependent analysis tests frequently work with the original element instead of the copied element
Analysis API. Light Classes
KT-78835Find usages of a light constructor from a class with an empty body finds usages of class as wellKT-78878K2. Method shown as unavailable in Java when@JvmExposeBoxedis applied (redundantly) at both class and method level in KotlinKT-78065Support "Expose boxed inline value classes" in Light ClassesKT-78076DLC: KotlinDeclarationInCompiledFileSearcher missed accessors if types are boxedKT-77569SLC: annotation missing from generated no-args constructorKT-75182K2 AA. False positive red code "Unresolved reference" to a Kotlin method in Java when Kotlin uses a value class with@JvmOverloadsKT-77564Constructor with JvmOverloads and value class shouldn't mark regular constructors privateKT-77505K2: find usages on java accessor methods do not detect kotlin property accessor usagesKT-76789Annotation resolve shouldn't search through non-class membersKT-76907Wrong equality between repeatable annotation and container
Analysis API. Providers and Caches
KT-77578Analysis API: Performance degradation ofKaBaseResolutionScope.containsafter introduction of library restriction scopesKT-78640Analysis API: Remove "friend builtins provider" fromFirDeclarationForCompiledElementSearcherKT-74907Analysis API: Apply platform-based library module content restrictions consistentlyKT-77605AA: Leaking KaDanglingFileModule through IdeKotlinPackageProviderKT-62474Analysis API: Improve mergeability and performance of custom search scopesKT-77022Get rid of ExpectBuiltinPostProcessor workaroundKT-77248Delegation ofJavaModuleResolveris restricted toCliJavaModuleResolverKT-76850LLFirLibrarySession cannot be cast to LLFirResolvableModuleSessionKT-76952Analysis API:whenexhaustiveness analysis fails for sealed classes in dangling filesKT-72390Kotlin project full of red code
Analysis API. Standalone
KT-78638Analysis API Standalone: Stdlib builtins are not indexed inSTUBSdeserialized declaration origin mode
Analysis API. Stubs and Decompilation
KT-77496Support HAS_MUST_USE_RETURN_VALUE metadata flags in FirStubBasedMemberDeserializerKT-77778Function receivers doesn't have annotationsKT-77777Receiver annotations shouldn't be present on typesKT-77538Support default property accessors with annotationsKT-77763Decompiled stubs miss inline modifier for property accessorsKT-77309Decompiled property from annotation constructor with default value should have a constant initializerKT-77168Prefer DataInputOutputUtil for serialization/deserializationKT-77117Flaky WRONG_ANNOTATION_TARGET diagnosticKT-76791Function signature types are deserialized inconsistentlyKT-76947Support functional types with context parameters
Analysis API. Surface
New Features
KT-73473Provide KaExpressionInformationProvider.isUsedAsResultOfLambdaKT-77278Implement psi-basedKaFirKotlinPropertyKtPropertyBasedSymbol#hasBackingFieldKT-70770KaLocalVariableSymbol: supportisLateInit
Performance Improvements
KT-78526Get rid of redundantcheckValidityfromwithPsiValidityAssertion
Fixes
KT-77674Analysis API: Redundant smart cast to the original typeKT-76577Guard KaFirStopWorldCacheCleaner from deadlocks via threads waitingKT-78820K2: ISE "FIR element class FirErrorExpressionImpl is not supported in constant evaluation" through RedundantValueArgumentInspectionKT-75057Analysis API: Reference to object through typealias in invoke operator call leads to original typeKT-79042Do not restore KaTypePointer if target kind has changedKT-72421AA: "KtReference.resolveToSymbols" returns empty list when ASSIGN_OPERATOR_AMBGUITY error is presentKT-63464AA: KtPsiTypeProvider#asPsiType doesn't substitute kotlin.UnitKT-75913K2: SymbolLightLazyAnnotation evaluates arguments and replaces them with constantsKT-78628K2. Setting Receiver=true in Change Signature produces parameter of regular function type receiver instead of extension function typeKT-78278ISE: FIR element "class org.jetbrains.kotlin.fir.expressions.impl.FirErrorResolvedQualifierImpl" is not supported in constant evaluation at org.jetbrains.uast.kotlin.internal.FirKotlinUastConstantEvaluator.evaluateKT-73184Analysis API: KaFunctionCall.argumentMapping is unexpectedly deparenthesisedKT-73327Cover all psi inputs with scope validity assertionsKT-78613PSI: add binary compatibility checksKT-74013Analysis API: Cover the API surface with@SubclassOptInRequiredannotationsKT-76614Move the parser and lexer to a separate moduleKT-78552KaFunctionValueParameteris not marked asKaLifetimeOwnerKT-71152Add back SubclassOptInRequired to classes in KaModule.ktKT-71876Support storing parameter names inKaFunctionTypeKT-77738AA: inconsistentKaType.allSupertypesregarding multiple iterationsKT-75358K2 AA, KaFirVisibilityChecker: private member of anonymous object is not visible inside itKT-73723K2 AA, KaFirVisibilityChecker: protected member of superclass is not visible from anonymous objectKT-78057[Analysis API, K2] Context parameters are not resolved in KDocKT-73758K2 Mode: "KaEvaluator.evaluate" does not work for simple arithmetic expressionsKT-72301K2 AA.PSI should present for declaration built by Kotlin codeon property access syntax of generic Java getter through Kotlin subclassKT-77730K2: Unable to get a light PSI for a nested annotation used with fully-qualified nameKT-73216K2: unresolvable references in type parametersKT-71794Analysis API: Types with errors have unresolved qualifiers in lambda parameters positionKT-65846Support parameter names in functional type renderingKT-76738K2 AA: rendering constructor of sealed class inserts protected modifierKT-77515KaTypeProvider#receiverTypeshould be more tolerant to an error codeKT-77333K2 AA: KaFirTypeProvider.getType: InvalidFirElementTypeException: For TYPE_REFERENCE with textI, unexpected element of type: FirSuperReceiverExpressionImpl foundKT-76044K2 AA: isFun is true for restored symbol of Java interface with several methodsKT-77264KaTypeProvider#typeshould be more tolerant to an error codeKT-77282KaPropertySymbol: supportisDelegatedPropertyfor librariesKT-77254K2 AA: expectedType doesn't provide anything for parameter default valueKT-74777KaVariableSymbol.hasBackingField returns incorrect result for librariesKT-77280RenameKaPropertyAccessorSymbol#isCustomtoisNotDefaultKT-77210Analysis API:scopeContextshows implicit receiver with a class instance in the class constructorKT-77196Clarify differences between KaPropertyAccessorSymbol#{isDefault, hasBody}KT-76580K2: No expected type for the second+ vararg argumentKT-76750K2. internal exception 'Unable to provide inlay hint' on typo in nested lambdasKT-73290Analysis API: Improve the architecture of content scopes and resolution scopesKT-73055Get rid of the deprecated Analysis API APIKT-70199K2: ConcurrentModificationException at FirCallCompleter$LambdaAnalyzerImpl.analyzeAndGetLambdaReturnArguments
Backend. Wasm
New Features
KT-65721K/Wasm: stop unconditionally exporting any main function from the root package
Performance Improvements
KT-70097Optimize shared primitive variables in Native and Wasm
Fixes
KT-80106devServer in Kotlin/Wasm overwrites defaults, causing missing static pathsKT-80018K/Wasm: exceptions don't work properly in JavaScriptCore (vm inside Safari, WebKit)KT-66072K/Wasm: improve how exceptions work in JS interopKT-77897WasmJs: ClassCastException when using star-projection with nullable transformation in generic extension functionKT-71533K/Wasm + K2: no error on KClass::qualifiedName usagesKT-73931WASM: "RuntimeError: illegal cast" with nullable genericKT-65403[WASM] RuntimeError is thrown instead of ClassCastExceptionKT-79317[Wasm] Do not throw CCE for ExcludedFromCodegen declarationsKT-66085K/WASM: Runtime error is uncaught withcatch (e: Throwable)KT-78036K/Wasm: generate a message with "expected" and "actual" types in case of CCEKT-78384K/Wasm: Incorrect debug info of local declarations in inline function from another fileKT-72220Wasm: Unclear exception in case of missed dependencyKT-71691No trace on Wasm/JS if an error occurred in initializing global variables in a file with the main functionKT-67554[Wasm] Consider to have reference equals or/and equals for function referencesKT-71521K/Wasm: incorrect results on equality checks for capturing property referencesKT-71522K/Wasm: incorrect results on equality checks for function referencesKT-69570K/Wasm: JsExport with default parameter value compiles to invalid WasmKT-71517K/Wasm: KClass::qualifiedName for local classes and objects returns non-null valueKT-68309WASM: Anonymous class simpleName returns "" instead of null KT-77272K/Wasm: Remove kotlin.wasm.internal.ClosureBox* classes from the standard libraryKT-66106Wasm: lambda was not invoked in test lambda2.ktKT-77855[Wasm] Improve virtual function calls speed for lambdasKT-77501Wasm: unsigned vararg compiles to invalid WasmKT-76775[Wasm] Inconsistent FP mod operationKT-77464Wasm: KType.toString() has simple names even with -Xwasm-kclass-fqnKT-77465Wasm: KTypeParamter printed without variance information
Compiler
New Features
KT-71768Enable -Xjvm-default=all-compatibility by default to generate JVM default interface methodsKT-78374Make indy lambda function name generation more consistentKT-45683Allow generics in contract type assertionsKT-27090Support contracts in getter and setter for top-level extension propertiesKT-76766Warning is missing for wrong subclass checkingKT-71244Incorporate existing@CheckReturnValueannotation(s) into Kotlin's unused return value checkerKT-73256Implementallmeta-target for annotationsKT-78792Report warning for redundant return in expression bodyKT-32313Support contracts for operator functionsKT-70722Implement better Kotlin warnings for value classes and JEP 390 (Warnings for Value-Based Classes)KT-65688Generate when-expressions over final classes via invokedynamic typeSwitch + tableswitch on JDK 21+KT-54344Trigger the unused expression warning for interpolated strings, even when the expression may have side effectsKT-74807Implement 'full' unused return value checker modeKT-77653K/N: an optimization pass to remove redundant type checksKT-64477Enhance KotlinLightParser to make it able to parse scriptsKT-74809Support unnamed local variablesKT-72941ANNOTATIONS_ON_BLOCK_LEVEL_EXPRESSION_ON_THE_SAME_LINE missing in K2KT-75061Support context-sensitive resolution in type position
Performance Improvements
KT-77993Optimize old PSI/LightTree Kotlin parserKT-78672Consider having FirCallableSymbol.callableId null for local properties / parametersKT-77839K2: consider not creating CallableId for value parameters / variables / fieldsKT-74981Kotlin/Native: large binary size for iOS target in 2.1.0(LLVM16)KT-77838K2: consider replacing LinkedHashMap with HashMap inside scopes and scope sessionKT-76698Android Studio compose preview holds read lock 700ms for KaCompilerFacility APIKT-68677Kotlin compilation issue when using EnumMap and Pair
Fixes
KT-79979K2: ClassCastException when overriding extension property with delegationKT-67146UPPER_BOUND_VIOLATEDmissing on implicit type argumentsKT-76477Kotlin/Native: fix compiler performance reporting in sources->klib and klibs->binaryKT-79866kotlinc 2.2.0 silently emits 'NonExistentClass' instead of reporting an errorKT-78666"Platform declaration clash" caused by indy lambda name generation which generates conflicting namesKT-80285IJ monorepo: broken compilation after 2.2.20-RC updateKT-79442"Multiple annotations of type kotlin.coroutines.jvm.internal.DebugMetadata": 2.2.0-Beta1 generates broken code with JVM default suspend methods in interfacesKT-78589"Class does not have member field" caused by delegation from a Java to Kotlin classKT-79816Java Interfaces implemented by delegation have non-null return checksKT-78097False positive NO_ELSE_IN_WHEN on sealed interface with negative is checkKT-77182A function in a file annotated with@file:MustUseReturnValue doesn't produce a warning when it is used from compiled codeKT-79085Adding-Xreturn-value-checker=fullto kotlinc causes "error: conflicting overloads"KT-75268K2: Implement the new compilation scheme for MPP (compiler part)KT-78843FIR tree: comments within String concatenation aren't visited in 2.2.0KT-77401[FIR]ParameterNameTypeAttribute.namedoesn't support@ParameterNamewith compile-time constant property argumentKT-73611Remove -Xextended-compiler-checks in favor of a deprecation cycleKT-79276Dexing fails with "Cannot read field X becauseis null" with 2.2.0 KT-79781Missing MISSING_DEPENDENCY_CLASS when using type alias with inaccessible RHSKT-78621false-positive type mismatch error on value of nullable type as value of platform typeKT-79547"UnsupportedOperationException: Not supported" with inlining and value classesKT-52706Bad signature for generic value classes with substituted type parameterKT-79519Nested type alias is unreachable from another moduleKT-76839False-negative MISSING_DEPENDENCY_CLASS on parameter of data class constructorKT-78352False-positive IDENTITY_SENSITIVE_OPERATIONS_WITH_VALUE_TYPE when comparing with equality operator (==)KT-78815Symbol not found: __ZNSt3__117bad_function_callD1Everror on iOS 15.5 simulator in Xcode 16.3 after upda
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.