Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Update Kotlin and KSP #41

Merged
merged 1 commit into from
Aug 15, 2024
Merged

Update Kotlin and KSP #41

merged 1 commit into from
Aug 15, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 30, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
org.jetbrains.kotlin.plugin.compose (source) 2.0.0 -> 2.0.10 age adoption passing confidence
org.jetbrains.kotlin.jvm (source) 2.0.0 -> 2.0.10 age adoption passing confidence
org.jetbrains.kotlin:compose-compiler-gradle-plugin (source) 2.0.0 -> 2.0.10 age adoption passing confidence
org.jetbrains.kotlin:kotlin-gradle-plugin (source) 2.0.0 -> 2.0.10 age adoption passing confidence
com.google.devtools.ksp (source) 2.0.0-1.0.23 -> 2.0.10-1.0.24 age adoption passing confidence
com.google.devtools.ksp:com.google.devtools.ksp.gradle.plugin (source) 2.0.0-1.0.23 -> 2.0.10-1.0.24 age adoption passing confidence
com.google.devtools.ksp:symbol-processing-api (source) 2.0.0-1.0.23 -> 2.0.10-1.0.24 age adoption passing confidence
org.jetbrains.kotlinx.binary-compatibility-validator 0.16.2 -> 0.16.3 age adoption passing confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

JetBrains/kotlin (org.jetbrains.kotlin.plugin.compose)

v2.0.10: Kotlin 2.0.10

2.0.10

Apple Ecosystem
  • KT-68257 Xcode incorrectly reuses embedAndSign framework when moving to and from 2.0.0
Compiler
Fixes
  • KT-69876 K2 Compile exception: Only IrBlockBody together with kotlinx serialization
  • KT-68521 K2: Property's private setters can be bypassed when using plusAssign and minusAssign operators
  • KT-68667 K2: Compiler hangs on mapNotNull and elvis inside lambda
  • KT-68747 K2: Long compilation time because of constraint solving when using typealias in different modules
  • KT-68940 K2: "IllegalArgumentException: All variables should be fixed to something"
  • KT-68797 K2 / Native: "java.lang.IllegalStateException: FIELD" caused by enabled caching
  • KT-68362 False-positive ABSTRACT_MEMBER_NOT_IMPLEMENTED for inheritor of java class which directly implements java.util.Map
  • KT-68449 K2: "when" expression returns Unit
  • KT-67072 K2: inconsistent stability of open vals on receivers of final type
  • KT-68570 K2: "Unresolved reference" in call with lambda argument and nested lambda argument
  • KT-69159 K2: KotlinNothingValueException in Exposed
  • KT-68623 K2: "Only safe or null-asserted calls are allowed" on safe call
  • KT-68193 JDK 21: new MutableList.addFirst/addLast methods allow adding nullable value for non-null types
  • KT-67804 removeFirst and removeLast return type with Java 21
  • KT-68727 K2: "Null argument in ExpressionCodegen for parameter VALUE_PARAMETER" caused by an enum class with default parameter in a different module
  • KT-68383 K2: "Argument type mismatch: actual type is 'kotlin.String', but 'T & Any' was expected." with intersection types
  • KT-68546 K2: false-positive conflicting overloads error on inheriting generic type with inherited generic and non-generic member overloads
  • KT-68626 K2: "Conflicting Overloads" for function if inherited from generic type
  • KT-68351 K2: "Suspension functions can only be called within coroutine body"
  • KT-68489 K2: WRONG_ANNOTATION_TARGET with Java and Kotlin @Target annotation positions
  • KT-69058 K2: Java-defined property annotations not persisted
  • KT-64515 K2 IDE: [NEW_INFERENCE_ERROR] in a build.gradle.kts script while applying "jvm-test-suite" plugin and then configuring targets for test suites
  • KT-68016 K2: Gradle repo test should compile correctly with Kotlin explicit api mode fails on K2
  • KT-68575 K2: @ParameterName annotation is not erased when inferring the type of it in lambdas
  • KT-67999 K2: lost flexibility on parameters of Java SAM
  • KT-59679 K2: Investigate extracting uncompleted candidates from blocks
  • KT-68401 K2: "IllegalAccessError: failed to access class" caused by package private super Java type, when inferencing a common super type of if or when branches on JVM
  • KT-68806 K/Wasm RuntimeError: unreachable on Sequence::toList
  • KT-68455 K2: False negative UPPER_BOUND_VIOLATED_BASED_ON_JAVA_ANNOTATIONS
  • KT-68538 KJS/K2: using while with break inside inline lambdas leads to an endless cycle
  • KT-68798 JVM compiler crashes on calling private expect constructor with a default parameter
  • KT-68734 K2: enum class in KMP: Expect declaration MMKVLogLevel is incompatible with actual MMKVLogLevel because modality is different
  • KT-68674 False positive ACTUAL_WITHOUT_EXPECT in K2
  • KT-68350 K2: "Inapplicable candidate(s)" caused by parameter reference of local class with type parameters from function
  • KT-68571 K2: "IllegalStateException: Fake override should have at least one overridden descriptor" caused by exceptions and when statement
  • KT-68523 K2: FileAnalysisException when using Definitely non-nullable types
  • KT-68339 K2: "Enum entry * is uninitialized here" caused by lazy property with enum in when expression
  • KT-66688 K2: false-negative "upper bound violated" error in extension receiver
  • KT-68630 DiagnosticsSuppressor is not invoked with Kotlin 2.0
  • KT-68222 K2. KMP. False negative Expected declaration must not have a body for expected top-level property with getter/setter
  • KT-64103 FirExpectActualDeclarationChecker reports diagnostic error for KtPsiSimpleDiagnostic with KtFakeSourceElement
  • KT-68191 K2. Static fake-overrides are not generated for kotlin Fir2IrLazyClass
  • KT-68024 K2: Gradle repo test accessors to kotlin internal task types... fails on K2
  • KT-64957 K1: drop ModuleAnnotationResolver
Compose compiler
Native
  • KT-68094 K2/Native: Member inherits different '@Throws' when inheriting from generic type
Tools. Compiler Plugins
  • KT-69187 Compose compiler for web doesn't support rememberComposableLambda
  • KT-68557 K2. Supertypes resolution of KJK hierarchy fails in presence of allopen plugin
Tools. Compiler plugins. Serialization
  • KT-68850 Compose lambda type not transformed with KGP 2 + new Compose plugin
Tools. Daemon
  • KT-68297 KGP 2.0 regression: JAVA_TOOL_OPTIONS is not considered in Kotlin daemon creation
Tools. Gradle
  • KT-69330 KotlinCompile friendPathsSet property is racy due causing build cache invalidation
  • KT-69026 Mark AGP 8.5.0 as compatible with KGP
  • KT-68447 ill-added intentionally-broken dependency source configurations
  • KT-69078 Gradle: Add option to disable FUS Service
  • KT-68278 Spring resource loading in combination with java-test-fixtures plugin broken
  • KT-66452 Gradle produces false positive configuration cache problem for Project usage at execution time
  • KT-68242 Run tests against AGP 8.4.0
Tools. Gradle. Multiplatform
  • KT-68805 KMP project (re-)import took a long time for downloading platform libs
  • KT-68248 kotlin multiplatform project fail to build on Fedora with corretto
Tools. Gradle. Native
  • KT-68638 KGP 2.0 breaks native test with api dependencies and configuration cache
  • KT-65761 Missing JDK Platform ClassLoader when compiling Kotlin native in daemon
Tools. JPS
  • KT-69204 Generate lookups in dumb mode for compatibility with ref index
Tools. Kapt
  • KT-68171 K2KAPT: boxed return types in overridden methods changed to primitives
Tools. Scripts
  • KT-68681 K2 / CLI / Script: "NullPointerException: getService(...) must not be null" caused by @DependsOn
  • KT-67747 K2: regression in Spring unit tests using javax.script.ScriptEngine
google/ksp (com.google.devtools.ksp)

v2.0.10-1.0.24

Compare Source

What's Changed

v2.0.0-1.0.24

Compare Source

What's Changed

#​2013 Handle edge cases of KtAnnotated.annotations
#​2009 Fix :kotlin-analysis-api:shadowJar failing on Windows
#​2006 Use symbol-processing-aa-embeddable in Gradle

Bugs Fixed

#​1956 IllegalAccessError in Dagger with KSP2.0.0-1.0.22 and KSP2
#​1998 KSP2 version 2.0.0-1.0.23 crashes on Moshi codegen with NoSuchElementException: Collection contains no element matching the predicate.

Full Changelog: google/ksp@e880744...c63864c

Kotlin/binary-compatibility-validator (org.jetbrains.kotlinx.binary-compatibility-validator)

v0.16.3

Compare Source

What's Changed:

  • Fixed support for Gradle version older than 8.2 (#​263)

Configuration

📅 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/kotlin-and-ksp branch from 33768d7 to 5be86a1 Compare August 2, 2024 15:37
@renovate renovate bot changed the title Update Kotlin and KSP to v2.0.0-1.0.24 Update Kotlin and KSP Aug 2, 2024
@renovate renovate bot force-pushed the renovate/kotlin-and-ksp branch from 5be86a1 to 83e5679 Compare August 6, 2024 11:01
@renovate renovate bot force-pushed the renovate/kotlin-and-ksp branch from 83e5679 to 20c3d36 Compare August 7, 2024 16:25
@LDRAlighieri LDRAlighieri merged commit ad39845 into main Aug 15, 2024
1 check passed
@renovate renovate bot deleted the renovate/kotlin-and-ksp branch August 15, 2024 10:27
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant