generated from JetBrains/compose-multiplatform-template
-
Notifications
You must be signed in to change notification settings - Fork 6
Update Kotlin, KSP and Compose Compiler to v2 (major) #130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
renovate
wants to merge
1
commit into
main
Choose a base branch
from
renovate/major-kotlin-ksp-and-compose-compiler
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
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
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
| datasource | package | from | to | | ---------- | ------------------------------------------------------------------------------------------------- | ------------- | ------------ | | maven | com.google.devtools.ksp:com.google.devtools.ksp.gradle.plugin | 1.9.22-1.0.18 | 2.1.21-2.0.2 | | maven | org.jetbrains.kotlin.plugin.serialization:org.jetbrains.kotlin.plugin.serialization.gradle.plugin | 1.9.22 | 2.1.21 | | maven | org.jetbrains.kotlin.plugin.parcelize:org.jetbrains.kotlin.plugin.parcelize.gradle.plugin | 1.9.22 | 2.1.21 | | maven | org.jetbrains.kotlin.jvm:org.jetbrains.kotlin.jvm.gradle.plugin | 1.9.22 | 2.1.21 | | maven | org.jetbrains.kotlin.android:org.jetbrains.kotlin.android.gradle.plugin | 1.9.22 | 2.1.21 | | maven | org.jetbrains.kotlin.multiplatform:org.jetbrains.kotlin.multiplatform.gradle.plugin | 1.9.22 | 2.1.21 | | maven | org.jetbrains.kotlin:kotlin-test-junit | 1.9.22 | 2.1.21 | | maven | org.jetbrains.kotlin:kotlin-test-annotations-common | 1.9.22 | 2.1.21 | | maven | org.jetbrains.kotlin:kotlin-test | 1.9.22 | 2.1.21 | | maven | org.jetbrains.kotlin:kotlin-compiler-embeddable | 1.9.22 | 2.1.21 | | maven | org.jetbrains.kotlin:kotlin-parcelize-runtime | 1.9.22 | 2.1.21 | | maven | org.jetbrains.kotlin:kotlin-stdlib | 1.9.22 | 2.1.21 |
a3a7561
to
cc7d91f
Compare
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.1.21-2.0.2
1.9.22
->2.1.21
1.9.22
->2.1.21
1.9.22
->2.1.21
1.9.22
->2.1.21
1.9.22
->2.1.21
1.9.22
->2.1.21
1.9.22
->2.1.21
1.9.22
->2.1.21
1.9.22
->2.1.21
1.9.22
->2.1.21
1.9.22
->2.1.21
Release Notes
google/ksp (com.google.devtools.ksp)
v2.1.21-2.0.2
Compare 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.1
Compare 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.1
Compare 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.0
Compare 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.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.
v2.1.10-1.0.29
Compare 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.29
Compare Source
Updates
Contributors
Thanks to everyone who reported bugs and participated in discussions!
v2.1.0-1.0.28
Compare 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.28
Compare Source
Updates
Contributors
Thanks to @GeorgCantor and everyone who reported bugs and participated in discussions!
v2.0.21-1.0.27
Compare 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.26
Compare 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.25
Compare 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.25
Compare 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.24
Compare Source
What's Changed
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`](https://redirect.github.com/google/ksp/commit/c63864cc1268bcb1c83e058494b6ff4b25947251)
v2.0.0-1.0.23
Compare Source
Issues fixed
v2.0.0-1.0.22
Compare Source
Important Changes
KSErrorType.toString()
now contains the reference name it was tried to be resolved, and thereforeKSErrorType
is 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.21
Compare 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.20
Compare Source
KSP 1.0.20 for Kotlin 1.9.25
v1.9.24-1.0.20
Compare Source
KSP 1.0.20 for kotlin compiler version 1.9.24
v1.9.23-1.0.20
Compare Source
KSP1 issues fixed
KSP2 issues fixed
v1.9.23-1.0.19
New APIs
SymbolProcessorEnvironment.kspVersion
CodeGenerator.associateWithFunctions
andCodeGenerator.associateWithProperties
Issues fixed in KSP2
Issues fixed in KSP Gradle Plugin
Known issues
JetBrains/kotlin (org.jetbrains.kotlin.plugin.serialization)
v2.1.21
Backend. Native. Debug
KT-75991
Xcode 16.3: Fix lldb stepping test over an inline functionCompiler
KT-75992
Xcode 16.3: stacktraces on simulators are not symbolicatedKT-76663
KJS: KotlinNothingValueException caused by expression return since 2.1.20KT-75756
Backend Internal error: Exception during IR lowering when trying to access variable from providedProperties in class within kotlin custom scriptKT-76209
CONFLICTING_UPPER_BOUNDS onNothing
boundKT-70352
K2: False-negative CONFLICTING_UPPER_BOUNDS onNothing
boundKT-74739
Native: "IllegalArgumentException: All constructors should've been lowered: FUNCTION_REFERENCE"KT-75483
Native: redundant unboxing generated with smart castKT-71425
IR Inliner: investigate return type of an inlined blockNative
KT-76252
Native: executable crash with generic value classes with 2.1.20Native. C and ObjC Import
KT-75781
Xcode 16.3: Fix cinterop tests failing with fatal error: could not build module '_stdint'Native. Runtime. Memory
KT-74280
Native: GC.collect crashes with -Xallocator=stdTools. CLI
KT-75588
[2.1.20-RC] "was compiled by a pre-release version of Kotlin and cannot be loaded by this version of the compiler" warnings despite using the same compiler versionKT-74663
kotlinc-js CLI: not providing -ir-output-dir results in NullPointerExceptionTools. Compiler Plugins
KT-76162
"IllegalStateException: No mapping for symbol: VALUE_PARAMETER INSTANCE_RECEIVER" after updating to 2.1.20Tools. Gradle
KT-73682
Compatibility with Gradle 8.12 releaseKT-73142
Kotlin Gradle plugin: Remove usage of Gradle's internal ExecHandleBuilderKT-36004
Update 'org.gradle.usage' attribute rules to support the 'JAVA_API' and 'JAVA_RUNTIME' valueKT-73968
KotlinDependencyManagement tries to mutate configuration after it was resolvedKT-73684
Run integration tests against Gradle 8.12KT-72694
Accessing Task.project during execution is being deprecated in Gradle 8.12KT-73683
Compile against Gradle API 8.12Tools. Gradle. JS
KT-77119
KJS: Gradle: Setting custom environment variables in KotlinJsTest tasks no longer worksKT-74735
KGP uses Gradle internalCompositeProjectComponentArtifactMetadata
KT-71879
Notice of upcoming deprecation for Boolean 'is-' properties in Gradle Groovy scriptsTools. Gradle. Multiplatform
KT-75808
KGP: MPP with jvm target and Gradle java-test-fixtures is brokenKT-75605
Dependency resolution fails in commonTest/nativeTest source sets for KMP module when depending on another project due to missing PSMKT-75512
Maven-publish: ArtifactId is not correct inpom
file with customizedwithXml
Tools. Incremental Compile
KT-62555
Wrong ABI fingerprint for inline function containing a lambdaKT-75883
Follow-up: switch from INSTANCE heuristic to outerClass chainTools. Kapt
KT-75936
K2 KAPT: unsupported FIR element kinds in constant evaluationKT-75942
K2 KAPT: underscore not allowed hereTools. Scripts
KT-76424
Dependencies in main.kts not working with 2.1.20KT-76296
Kotlin script compiler crashes when secondary constructor calls a functionKT-75589
Scripts: "IndexOutOfBoundsException in jdk.internal.util.Preconditions.outOfBounds" when trying to extend a class which uses global variableTools. Wasm
KT-76161
Wasm: "export startUnitTests was not found" after updating to Kotlin 2.1.20v2.1.20
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
](https://youtrack.jetbrConfiguration
📅 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.