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
a3a7561 to
cc7d91f
Compare
3d50dc2 to
fad4ebc
Compare
2e873d0 to
95e1582
Compare
e363bc4 to
dda01dd
Compare
dda01dd to
14aea66
Compare
14aea66 to
b13770f
Compare
| datasource | package | from | to | | ---------- | ------------------------------------------------------------------------------------------------- | ------------- | ------ | | maven | com.google.devtools.ksp:com.google.devtools.ksp.gradle.plugin | 1.9.22-1.0.18 | 2.3.0 | | maven | org.jetbrains.kotlin.plugin.serialization:org.jetbrains.kotlin.plugin.serialization.gradle.plugin | 1.9.22 | 2.2.21 | | maven | org.jetbrains.kotlin.plugin.parcelize:org.jetbrains.kotlin.plugin.parcelize.gradle.plugin | 1.9.22 | 2.2.21 | | maven | org.jetbrains.kotlin.jvm:org.jetbrains.kotlin.jvm.gradle.plugin | 1.9.22 | 2.2.21 | | maven | org.jetbrains.kotlin.android:org.jetbrains.kotlin.android.gradle.plugin | 1.9.22 | 2.2.21 | | maven | org.jetbrains.kotlin.multiplatform:org.jetbrains.kotlin.multiplatform.gradle.plugin | 1.9.22 | 2.2.21 | | maven | org.jetbrains.kotlin:kotlin-test-junit | 1.9.22 | 2.2.21 | | maven | org.jetbrains.kotlin:kotlin-test-annotations-common | 1.9.22 | 2.2.21 | | maven | org.jetbrains.kotlin:kotlin-test | 1.9.22 | 2.2.21 | | maven | org.jetbrains.kotlin:kotlin-compiler-embeddable | 1.9.22 | 2.2.21 | | maven | org.jetbrains.kotlin:kotlin-parcelize-runtime | 1.9.22 | 2.2.21 | | maven | org.jetbrains.kotlin:kotlin-stdlib | 1.9.22 | 2.2.21 |
b13770f to
3684def
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.3.01.9.22->2.2.211.9.22->2.2.211.9.22->2.2.211.9.22->2.2.211.9.22->2.2.211.9.22->2.2.211.9.22->2.2.211.9.22->2.2.211.9.22->2.2.211.9.22->2.2.211.9.22->2.2.21Release Notes
google/ksp (com.google.devtools.ksp)
v2.3.0Compare Source
What's Changed
Full Changelog: google/ksp@2.2.20-2.0.4...2.3.0
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.2.21: Kotlin 2.2.21Changelog
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 interfacesJavaScript
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 literalNative
KT-79384K/N: Application Not Responding: Thread DeadlockTools. 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 appliedTools. 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 ParcelizeTools. 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 failureTools. Maven
KT-81218Kotlin Maven Plugin 2.2.20: Java classes not resolved with enabled incremental compilation without daemonTools. Wasm
KT-80582Multiple reloads when using webpack dev server after 2.2.20-Beta2v2.2.20Analysis 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-siteAnalysis 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 braceAnalysis 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 declarationsFixes
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 toAnalysis API. Infrastructure
KT-76809Analysis API: Dependent analysis tests frequently work with the original element instead of the copied elementAnalysis 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 containerAnalysis 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 codeAnalysis API. Standalone
KT-78638Analysis API Standalone: Stdlib builtins are not indexed inSTUBSdeserialized declaration origin modeAnalysis 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 parametersAnalysis API. Surface
New Features
KT-73473Provide KaExpressionInformationProvider.isUsedAsResultOfLambdaKT-77278Implement psi-basedKaFirKotlinPropertyKtPropertyBasedSymbol#hasBackingFieldKT-70770KaLocalVariableSymbol: supportisLateInitPerformance Improvements
KT-78526Get rid of redundantcheckValidityfromwithPsiValidityAssertionFixes
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 "claConfiguration
📅 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.