Update Kotlin, KSP and Compose Compiler to v2 (major)#130
Open
renovate[bot] wants to merge 1 commit intomainfrom
Open
Update Kotlin, KSP and Compose Compiler to v2 (major)#130renovate[bot] wants to merge 1 commit intomainfrom
renovate[bot] wants to merge 1 commit intomainfrom
Conversation
dc7e781 to
4bced86
Compare
4bced86 to
572ed0c
Compare
572ed0c to
31e4fc3
Compare
31e4fc3 to
f4baed9
Compare
f4baed9 to
7b0b4e2
Compare
7b0b4e2 to
e1f0208
Compare
56457e5 to
3071694
Compare
0d4eee0 to
1486a77
Compare
b432b2c to
1a5068b
Compare
1a5068b to
63ad90a
Compare
e31b8c7 to
4000dfc
Compare
4000dfc to
d1597a5
Compare
d1597a5 to
a4ca109
Compare
a4ca109 to
5a92f19
Compare
6a6009b to
a74030f
Compare
ecdf987 to
bd4699d
Compare
bd4699d to
88af1fe
Compare
88af1fe to
942aa2d
Compare
99f2393 to
4693e51
Compare
4693e51 to
01ee762
Compare
01ee762 to
810ad6d
Compare
810ad6d to
3ef5428
Compare
367a19a to
a3a7561
Compare
a3a7561 to
cc7d91f
Compare
3d50dc2 to
fad4ebc
Compare
2e873d0 to
95e1582
Compare
e363bc4 to
dda01dd
Compare
dda01dd to
14aea66
Compare
b13770f to
3684def
Compare
ba31fb7 to
1fdae4b
Compare
1fdae4b to
1010484
Compare
511dd0d to
5dd7d18
Compare
5dd7d18 to
aeb333c
Compare
| datasource | package | from | to | | ---------- | ------------------------------------------------------------------------------------------------- | ------------- | ------ | | maven | com.google.devtools.ksp:com.google.devtools.ksp.gradle.plugin | 1.9.22-1.0.18 | 2.3.5 | | maven | org.jetbrains.kotlin.plugin.serialization:org.jetbrains.kotlin.plugin.serialization.gradle.plugin | 1.9.22 | 2.3.10 | | maven | org.jetbrains.kotlin.plugin.parcelize:org.jetbrains.kotlin.plugin.parcelize.gradle.plugin | 1.9.22 | 2.3.10 | | maven | org.jetbrains.kotlin.jvm:org.jetbrains.kotlin.jvm.gradle.plugin | 1.9.22 | 2.3.10 | | maven | org.jetbrains.kotlin.android:org.jetbrains.kotlin.android.gradle.plugin | 1.9.22 | 2.3.10 | | maven | org.jetbrains.kotlin.multiplatform:org.jetbrains.kotlin.multiplatform.gradle.plugin | 1.9.22 | 2.3.10 | | maven | org.jetbrains.kotlin:kotlin-test-junit | 1.9.22 | 2.3.0 | | maven | org.jetbrains.kotlin:kotlin-test-annotations-common | 1.9.22 | 2.3.10 | | maven | org.jetbrains.kotlin:kotlin-test | 1.9.22 | 2.3.10 | | maven | org.jetbrains.kotlin:kotlin-compiler-embeddable | 1.9.22 | 2.3.10 | | maven | org.jetbrains.kotlin:kotlin-parcelize-runtime | 1.9.22 | 2.3.10 | | maven | org.jetbrains.kotlin:kotlin-stdlib | 1.9.22 | 2.3.10 |
aeb333c to
bd81673
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
1.9.22-1.0.18→2.3.51.9.22→2.3.101.9.22→2.3.101.9.22→2.3.101.9.22→2.3.101.9.22→2.3.101.9.22→2.3.101.9.22→2.3.101.9.22→2.3.101.9.22→2.3.101.9.22→2.3.101.9.22→2.3.10Release Notes
google/ksp (com.google.devtools.ksp)
v2.3.5Compare Source
What's Changed
Contributors
Full Changelog: google/ksp@2.3.4...2.3.5
v2.3.4Compare Source
What's Changed
Contributors
Full Changelog: google/ksp@2.3.3...2.3.4
v2.3.3Compare Source
What's Changed
Contributors
Full Changelog: google/ksp@2.3.2...2.3.3
v2.3.2Compare Source
What's Changed
Note: This release is a hotfix for a regression introduced in 2.3.1
Contributors
Thanks to everyone who reported bugs and participated in discussions!
Full Changelog: google/ksp@2.3.1...2.3.2
v2.3.1Compare Source
What's Changed
Contributors
Thanks to everyone who reported bugs and participated in discussions!
Full Changelog: google/ksp@2.3.0...2.3.1
v2.3.0Compare Source
What's Changed
Reason for 2.3.0 version name:
Full Changelog: google/ksp@2.2.20-2.0.4...2.3.0
v2.2.21-2.0.5Compare Source
What's Changed
Full Changelog: google/ksp@2.2.21-2.0.4...2.2.21-2.0.5
v2.2.21-2.0.4Compare Source
What's Changed
Full Changelog: google/ksp@2.2.21-RC2-2.0.4...2.2.21-2.0.4
v2.2.20-2.0.4Compare Source
What's Changed
Unable to build on AGP 8.11.1 using KSP 2.2.20-2.0.3 due to class cast exception #2614
Resolver#getJvmCheckedException(KSPropertyAccessor) throws IllegalArgumentException #2548
ClassCastException when building with 2.2.20-2.0.3 #2598
Replace KaFirStopWorldCacheCleaner with no-op implementation #2626
BuildConfig values are not available during annotation process after upgrading ksp from 2.2.10-2.0.2 -> 2.2.20-2.0.3 #2597
Missing Gradle task wiring with 2.2.20-2.0.3 #2595
2.2.20-2.0.3 + protobufJavalite build errors #2596
Contributors
Thanks to everyone who reported bugs and participated in discussions!
Full Changelog: google/ksp@2.2.20-2.0.3...2.2.20-2.0.4
v2.2.20-2.0.3Compare Source
What's Changed
Contributors
Thanks to everyone who reported bugs and participated in discussions!
Full Changelog: google/ksp@2.1.21-2.0.2...2.2.20-2.0.3
v2.2.20-2.0.2Compare Source
What's Changed
Full Changelog: google/ksp@2.2.20-RC2-2.0.2...2.2.20-2.0.2
v2.2.10-2.0.2Compare Source
What's Changed
Full Changelog: google/ksp@2.2.10-RC2-2.0.2...2.2.10-2.0.2
v2.2.0-2.0.2Compare Source
What's Changed
Full Changelog: google/ksp@2.2.0-RC3-2.0.2...2.2.0-2.0.2
v2.1.21-2.0.2Compare Source
What's Changed
KSP1: use new mangling scheme for inline classes #2446
KSP task (non-)registration happens too soon #1789
[ksp2] Resolver.getJvmName wrong for properties starts with is #2275
Inlined JVM name is not correct #1493
[KSP2] Annotation values of inner annotations shouldn't be marked as default #2437
Properly support @ all annotation use site target #2438
Contributors
Thanks to everyone who reported bugs and participated in discussions!
Full Changelog: google/ksp@2.1.21-2.0.1...2.1.21-2.0.2
v2.1.21-2.0.1Compare Source
What's Changed
Full Changelog: google/ksp@2.1.21-RC2-2.0.1...2.1.21-2.0.1
v2.1.20-2.0.1Compare Source
What's Changed
Contributors
Thanks to everyone who reported bugs and participated in discussions!
Full Changelog: google/ksp@2.1.20-2.0.0...2.1.20-2.0.1
v2.1.20-2.0.0Compare Source
What's Changed
Full Changelog: google/ksp@2.1.20-1.0.32...2.1.20-2.0.0
v2.1.20-1.0.32Compare 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.31Compare 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.31Compare Source
Bug Fixes
v2.1.10-1.0.30Compare Source
Bugs Fixed / PR Landed
#2325 [KSP2] KSType.arguments return arguments on aliased type.
#2312 Partially migrate KSP off AGP's legacy Variant API
#2309 Resolver#getDeclarationsFromPackage() does not find generated files
#2252 Incremental processing breaks when a project dependency is modified
#2265 [ksp2] ksType.arguments will crash on a typealias's java wildcard type
#2264 [ksp2] getJavaWildcard does not return wildcard for List param (different with kapt/ksp1)
#2246 Resolver returns non-equal instances of the same declaration.
#2254 [KSP2] Resolver#overrides() gives incorrect result when method isn't accessible.
v2.1.10-1.0.29Compare Source
What's Changed
Full Changelog: google/ksp@2.1.10-RC2-1.0.29...2.1.10-1.0.29
v2.1.0-1.0.29Compare Source
Updates
Contributors
Thanks to everyone who reported bugs and participated in discussions!
v2.1.0-1.0.28Compare Source
What's Changed
Full Changelog: google/ksp@2.1.0-RC2-1.0.28...2.1.0-1.0.28
v2.0.21-1.0.28Compare Source
Updates
Contributors
Thanks to @GeorgCantor and everyone who reported bugs and participated in discussions!
v2.0.21-1.0.27Compare Source
Bugs Fixed
Contributors
Thanks to @jonamireh, @kuanyingchou, @martinbonnin, @pablobaxter, @scott-pollom, and everyone who reported bugs and participated in discussions!
v2.0.21-1.0.26Compare Source
Bugs Fixed
Full Changelog: google/ksp@911690b...2.0.21-1.0.26
Contributors
Thanks to @ansman, @asapha, @kaeawc, @kuanyingchou, @scott-pollom, and everyone who reported bugs and participated in discussions!
v2.0.21-1.0.25Compare Source
What's Changed
Full Changelog: google/ksp@2.0.21-RC-1.0.25...2.0.21-1.0.25
v2.0.20-1.0.25Compare Source
Bugs Fixed
Inlined JVM name is not correct #1493
[KSP2] NullPointerException when getting name of nested annotation #1963
[KSP2] The status was unresolved for FirSimpleFunctionImpl #1938
[KSP2] Class values in type annotations get resolved to error type #1933
[KSP2] Comparing KSType leads to exception #1918
[KSP2] Can't find values in repeatable annotations #1883
incremental: aggregating outputs should always be invalidated #2027
[KSP2] Not yet implemented: KSValueArgumentLiteImpl.getLocation #2048
[KSP2] Not yet implemented: KSValueArgumentImpl.getParent #2049
getSymbolsWithAnnotation returns copy function from data class #1996
[KSP2] Annotations got use-site target when there are none specified #1882
getting null pointer exception #1929
[KSP2] Calling getDeclarationsInSourceOrder throws KotlinIllegalStateExceptionWithAttachments #1930
[KSP2] A failure occurred while executing com.google.devtools.ksp.gradle.KspAAWorkerAction #1941
KSP2: Resolver.getJvmNames doesn't work for inline and internal classes #1640
kspCaches don't work together with Gradle build cache #2042
Contributors
Thank you so much! @ansman, @kuanyingchou
Full Changelog: google/ksp@2.0.20-1.0.24...2.0.20-1.0.25
v2.0.20-1.0.24Compare Source
What's Changed
v2.0.10-1.0.24Compare Source
What's Changed
v2.0.0-1.0.24Compare 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:
e880744...c63864cv2.0.0-1.0.23Compare Source
Issues fixed
v2.0.0-1.0.22Compare Source
Important Changes
KSErrorType.toString()now contains the reference name it was tried to be resolved, and thereforeKSErrorTypeis no longer a singleton. Processors relying on equality checks of that (in contrast of usingKSType.isError) will need to be updated accordingly.Issues Fixed
#1908 KSP2: Calling KSP2 in programs does not appear to work on macOS or Windows
#1917 KSP2's symbol-processing-aa-embeddable artifact exposes an unresolvable pre-release kotlin 2.0.20 dependency
#1911 NoSuchMethodError when running KSP2 with Dagger (KSP 2.0.0-1.0.21)
#1909 KSP2: default annotation arguments no longer work in 1.0.21
#1232 Expose simple names on a missing types's synthetic declaration
#1857 [KSP2] Modifiers are missing for property accessors
#1924 [KSP2] Type arg becomes '*' after calling KSType.replace() with an error type
#1948 KSP2 default annotation KClass values for built-in types use java.lang.* versions
What's Changed
Full Changelog: google/ksp@2.0.0-1.0.21...2.0.0-1.0.22
v2.0.0-1.0.21Compare Source
This release brings mostly bug fixes into KSP2 beta
Users are encouraged to try out KSP2 beta.
new feature
expose an API in Resolver to retrieve the module name for handling mangling of internal members #1621
issues fixed
v1.9.25-1.0.20Compare Source
KSP 1.0.20 for Kotlin 1.9.25
v1.9.24-1.0.20Compare Source
KSP 1.0.20 for kotlin compiler version 1.9.24
v1.9.23-1.0.20Compare Source
KSP1 issues fixed
KSP2 issues fixed
v1.9.23-1.0.19New APIs
SymbolProcessorEnvironment.kspVersionCodeGenerator.associateWithFunctionsandCodeGenerator.associateWithPropertiesIssues fixed in KSP2
Issues fixed in KSP Gradle Plugin
Known issues
JetBrains/kotlin (org.jetbrains.kotlin.plugin.serialization)
v2.3.10v2.3.0Analysis API
KT-80082K2. False positive "Cannot resolve method" for self-bounded generic with wildcard return type in Java interopKT-80303Move:native:analysis-api-klib-readerto:libraries:toolsAnalysis API. Code Compilation
KT-70860K2 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 varKT-78554K2 IDE / Kotlin Debugger: ISE “No override for FUN IR_EXTERNAL_DECLARATION_STUB” on calling toString() for local class instance during evaluationKT-73201K2 IDE: Error while evaluating expressions with local classesAnalysis API. FIR
KT-81378Expected expression 'FirFunctionCallImpl' to be resolved caused bysuspend {}KT-80473Add events for tracking LL activitiesKT-46375Analysis API: Support cross-file class redeclaration checks using indicesKT-80471Analysis API: Deduplicate equivalent call candidates inresolveToCallCandidatesKT-79653[Analysis API] ContextCollector: BODY context of enum classes doesn't contain enum entriesKT-75858K2 AA: False positive 'property must be initialized' on incremental analysis with 'field' usage and semicolon in setterKT-80231AnnotationArgumentsStateKeepers doesn't restore the initial annotation in some casesKT-80233Pull mutation out of AnnotationArgumentsStateKeepersKT-71466LLFirBuiltinsSessionFactoryusescreateCompositeSymbolProviderKT-76432JavaClassUseSiteMemberScope: Expected FirResolvedTypeRef with ConeKotlinType but was FirUserTypeRefImplAnalysis API. Infrastructure
KT-80717Support IntelliJ Bazel build in the Kotlin Coop development modeAnalysis API. Light Classes
KT-80656Duplicate no-args constructor in PSIKT-60490Symbol Light Classes: Property accessors from a delegated interface don't present in the delegating classKT-79689SymbolLightClassForClassLike.toString() causes PSI tree loadingKT-80690Private interface functions are not present in light classesKT-80256K2: Certain actions in JPA code causes infinite PIEAE: "Element class CompositeElement of type REFERENCE_EXPRESSION (class KtNameReferenceExpressionElementType)"KT-79012Add a high-level overview of light classesAnalysis API. Providers and Caches
Fixes
KT-81476Analysis API:AlreadyDisposedExceptionfrom low-memory cache cleanupKT-80911Analysis API: Execute session invalidation in a non-cancelable sectionKT-81242Analysis API: Add UUID/lifetime properties to LL FIR session structure loggingKT-80622Analysis API: Visualise LL FIR session structure & weightKT-80904Analysis API: "Invalid dangling file module" exception during session invalidationKT-78882K2 AA: Calling containingSymbol on getProgressionLastElement causes exceptionKT-58325Analysis API: CombineLLKotlinStubBasedLibrarySymbolProviders in session dependencies (optimization)KT-77825Analysis API:CheckersComponentconsumes a lot of memory while being unused in LL FIR sessionsKT-76526Incorrect built-in module is provided for non-JVM sources in StandaloneKT-62549Analysis API: Cache callables in combined Kotlin symbol providersKT-70721LL FIR: investigate possibility of movingLLFirFirClassByPsiClassProvider . getClassByPsiClass (PsiClass)to symbol providersKT-72998Analysis API: IntroducegetClassLikeSymbolByPsito LL FIR symbol providersAnalysis API. Standalone
KT-81108AA: java.lang.ClassCastException: class org.jetbrains.kotlin.fir.FirBinaryDependenciesModuleData cannot be cast to class org.jetbrains.kotlin.analysis.low.level.api.fir.projectStructure.LLFirModuleDataKT-80573Potential performance issue on class ID computationKT-80559Try to optimize KotlinStandaloneDeclarationProviderFactory startup for testsKT-71706Analysis API Standalone:StandaloneProjectFactory.createSearchScopeByLibraryRootscreates inefficient file-based search scopesAnalysis API. Stubs and Decompilation
Performance Improvements
KT-77097SupportReplaceWithdeprecation annotation argument via stubsFixes
KT-80350Drop K1 decompilerKT-77082StackOverflowError in CreateFreshTypeVariableSubstitutorStage.shouldBeFlexibleKT-80798Improve stubs tests coverageKT-75318Read context parameter fields from metadata in CallableClsStubBuilderKT-77874AA disagrees with the compiler on descriptions of context parameters from binaries in messages for context argument ambiguity errorsKT-80276Implement native coping for stubsKT-79780Decompiled MultifileClass has Facade kindKT-79398isClsStubCompiledToJvmDefaultImplementation flag is inconsistent for compiled and decompiled stubsKT-79798Prettify stub usages in LL stub-based deserializerKT-78949AbstractLLStubBasedResolutionTest: tests against real stub-based filesKT-80251Inconsistent decompiled and compiled stub for properties with an initializer and a delegateKT-74547Implement decompiler for K2KT-79555Move KotlinFileStubImpl serialization/deserialization to the Analysis APIKT-79487"null DefinitelyNotNullType for 'T'" from decompilerKT-60764Stub Builder: fix differences between K1 and K2 stub building on decompiled filesKT-79484An empty enum class with a member decompiles with a synthetic errorKT-79730Decompiled files have an extraKtsuffixKT-79483data modifier is not present on object modifierKT-75398Local classes from scripts have ClassId in stubsKT-79412Context parameters with type annotations cause inconsistency errors while building stubsAnalysis API. Surface
New Features
KT-80084Provide endpoints for Analysis API to understand when the context sensitive resolution is usedKT-64340Analysis API: no way to get a type of vararg parameterKT-68387AA: provide context for type approximationsPerformance Improvements
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.