Skip to content

Conversation

@renovate-self-hosted-apter
Copy link
Contributor

@renovate-self-hosted-apter renovate-self-hosted-apter bot commented Jun 1, 2024

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
com.google.devtools.ksp (source) 1.9.23-1.0.202.3.4 age confidence
org.jetbrains.kotlin.multiplatform (source) 1.9.232.3.0 age confidence
org.jetbrains.kotlin.plugin.serialization (source) 1.9.232.3.0 age confidence
org.jetbrains.kotlin.android (source) 1.9.232.3.0 age confidence
org.jetbrains.kotlin:kotlin-test-annotations-common (source) 1.9.232.3.0 age confidence
org.jetbrains.kotlin:kotlin-test-common (source) 1.9.232.3.0 age confidence
org.jetbrains.kotlin:kotlin-test-junit (source) 1.9.232.3.0 age confidence

Release Notes

google/ksp (com.google.devtools.ksp)

v2.3.4

Compare Source

What's Changed

  • KSP ignores sources in Kotlin directory #​2730
  • Avoid recording Java symbol lookups in non-incremental builds #​2728
  • Clean up ThreadLocals when processing is done #​2709

Contributors

  • Thanks to everyone who reported bugs and participated in discussions!

Full Changelog: google/ksp@2.3.3...2.3.4

v2.3.3

Compare Source

What's Changed

  • Migrate away from a deprecated compilerOptions KGP API #​2703

Contributors

  • Thanks to everyone who reported bugs and participated in discussions!

Full Changelog: google/ksp@2.3.2...2.3.3

v2.3.2

Compare Source

What's Changed

Note: This release is a hotfix for a regression introduced in 2.3.1

  • Fixed an issue where KSP incorrectly processed specific nullable annotations from Java interfaces, leading to incorrect nullability in the generated Kotlin code #​2696
  • Fixed a regression introduced in #​2656 that caused runtime failures for projects using AGP 8.8.0 and older due to an incompatible, version-specific type check. #​2694

Contributors

Thanks to everyone who reported bugs and participated in discussions!

Full Changelog: google/ksp@2.3.1...2.3.2

v2.3.1

Compare Source

What's Changed

  • Added support for AGP 9.0 and built-in Kotlin #​2674
  • Fixed a bug in getJvmCheckedException that incorrectly handled nested classes. #​2584
  • Removed incorrect caching for KSValueArgumentLiteImpl that wrongly merged arguments with different parents, origins, or locations #​2677

Contributors

Thanks to everyone who reported bugs and participated in discussions!
Full Changelog: google/ksp@2.3.0...2.3.1

v2.3.0

Compare Source

What's Changed

  • KSP1 has been deprecated #​2657
  • KSP version is no longer tied to the Kotlin compiler version (moving away from the old - format). #​2658
  • KSP is no longer a compiler plugin (like KSP1). It now operates as a more standalone tool built on stable compiler APIs (shared with tools like IntelliJ).
  • KSP now has fewer limitations on the Kotlin version in use and allows the KSP team to provide better compatibility to KGP/AGP/Gradle
  • Read more about KSP2: https://github.com/google/ksp/blob/main/docs/ksp2.md

Reason for 2.3.0 version name:

  • It is independent of Kotlin now
  • We wanted to match the Kotlin language version
  • It is newer than the latest KSP 2.2.20-2.0.4 release.

Full Changelog: google/ksp@2.2.20-2.0.4...2.3.0

v2.2.21-2.0.4

Compare 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.4

Compare 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.3

Compare Source

What's Changed

  • Removed usages of deprecated KGP ApiVersion - #​2400
  • Android integration for KSP has moved on to the new Variant API - #​2250
  • Runtime warning was added for projects that opt out of KSP2 - #​2538
  • AGP version against which KSP is compiled has been upgraded - #​2552

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

Compare 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.2

Compare 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.2

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

  • [KSP2] Annotation values shouldn't be marked as default (synthetic origin) broken after PR #​2424 in #​2425
  • [KSP2] Wrong internal method name with custom moduleName compiler option in #​2415
  • [KSP2] getJvmName for internal method did not sanitize java identifiers in #​2413
  • [KSP2] Annotation and argument's origin is wrong in #​2412
  • [KSP2] functionKind is MEMBER for static method in interface in Java in #​2410
  • KSP2 Generated .class files are not added to the classpath in #​2365
  • When I write specific code, KSP throws an Unexpected class for KtSymbol error. in #​2303

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

  • Bumped version to 2.0.0 and enabled KSP2 by default!
  • No-op blockOtherCompilerPlugins #​2397
  • A couple of fixes to compilation avoidance #​2401
  • KSTypeReferenceResolvedImpl.toString(): render unexpanded #​2393

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

  • [KSP2] KSPropertyDeclaration#type for typealias does not match its declaration. #​2345
  • Incorrect isMutable on KSPropertyDeclaration from a JAVA_LIB in 2.1.10-1.0.30 #​2346
  • KSP breaks compilation avoidance #​2347

v2.1.10-1.0.30

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

  • [KSP2] Running from command line never finishes #​2176
  • Introduce KspAATask.commandLineArgumentProviders #​2201

Contributors

Thanks to @​GeorgCantor and everyone who reported bugs and participated in discussions!

v2.0.21-1.0.27

Compare Source

Bugs Fixed

  • KSP2: KtInvalidLifetimeOwnerAccessException: Access to invalid KtAlwaysAccessibleLifetimeToken: PSI has changed since creation #​1854
  • [KSP2] getSymbolsWithAnnotation() doesn't work if the annotation is an alias in KOTLIN_LIB #​2024
  • KotlinSymbolProcessingExtension leaks files due to URLClassLoader not being closed #​2159
  • Unresolvable iOS reference on Linux host #​2173
  • Fail to apply ksp before android #​2174
  • [KSP2] Mangled names for internal functions are incorrect for Android modules #​2180
  • [KSP2] JVM names for property getters/setters are incorrect if they start with "is" #​2181

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

  • A failure occurred while executing com.google.devtools.ksp.gradle.KspAAWorkerAction #​1968
  • [KSP2] default value is null for nested annotation #​2077
  • [KSP2] "internal" members are out of order in Resolver.getDeclarationsInSourceOrder() #​1827
  • [KSP2] Resolver.getDeclarationsFromPackage() couldn't find Java declarations #​1952
  • [KSP2] Property setter parameter name becomes value #​1865
  • [KSP2] A failure occurred while executing com.google.devtools.ksp.gradle.KspAAWorkerAction #​1941
  • [KSP2] NullPointerException when calling hasBackingField on properties of Enum declarations #​1753
  • JVM Module name is changed for libraries #​2105
  • [KSP2] asMemberOf() is not working with Java sources #​2051
  • KSP2: implement KSPropertyDeclaration.findOverridee and Resolver.asMemberOf for java fields #​1642
  • [KSP2] command line doesn't support absolute Windows paths #​2046
  • [KSP2] NPE when getting annotation arguments on non-Jvm targets #​1823
  • [KSP2] Resolver.mapToJvmSignature() is not consistent #​2109
  • [KSP2] Default annotation argument values are sometimes missing #​2107
  • [KSP2] KSFunctionDeclaration.asMemberOf doesn't work sometimes #​2116
  • [KSP2] Qualified names of nested annotations from JAVA_LIB is null #​2033
  • [KSP2] Class literal annotation default values resolve to error types #​1910
  • KaFirPsiJavaTypeParameterSymbol cannot be cast to KaFirTypeParameterSymbol #​2119
  • KSP memory leak in Android build #​2073
  • [KSP2] KSClassDeclaration.asType(emptyList()) fails after Resolver.getSymbolsWithAnnotation() call #​2094
  • KSValueArgumentImpl doesn't implement .equals() in KSP2 #​2091
  • [KSP2] JvmName is ignored in annotation property getters #​2148
  • [KSP2] Unable to get visibility of KSTypeAlias #​2140
  • Gradle kspKotlin task failed when upgrading to 2.0.20-1.0.25 #​2123
  • [KSP2] Generic type arguments on typealiases are improperly forwarded to the KSType #​2088
  • java.lang.IllegalStateException: Storage for [...] is already registered with 2.0.20-1.0.24 #​2072

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: e880744...c63864c

v2.0.0-1.0.23

Compare Source

Issues fixed

  • [KSP2] Nullable type arg type becomes non-null after replace() call #​1856
  • Annotations on enum entires on K2 are missing #​1962
  • Got IllegalStateException when calling replace() on error types #​1960
  • [KSP2] Resolver.getJvmCheckedException doesn't work on property accessors #​1900
  • [KSP2] Property getter JVM names in data classes become componentN instead of getXXX #​1958
  • [KSP2] Resolver.mapToJvmSignature doesn't unwrap inline classes #​1859
  • [KSP2] KSFunctionDeclaration.asMemberOf does not return correct types #​1919
  • implement getOwnerJvmClassName #​1979
  • [KSP2] KSPropertyDeclaration.hasBackingField returns inconsistent results #​1939
  • [KSP2] Annotations on extension receivers are missing #​1899

v2.0.0-1.0.22

Compare Source

Important Changes

  • KSErrorType.toString() now contains the reference name it was tried to be resolved, and therefore KSErrorType is no longer a singleton. Processors relying on equality checks of that (in contrast of using KSType.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
  • Class values are missing class type in annotation values #​1646
  • Kotlin Function* types reports inconsistent package and qualified names #​1845
  • KSP2 cannot load Android lint checks jar due to FileTooBigException #​1839
  • [KSP2] KSAnnotations with annotation properties with a default value always resolve to null #​1843
  • [KSP2] Modifier.FUN is missing in functional interfaces #​1853
  • [KSP2] ClassCastException when calling KSType.starProjection() on a Java field type #​1735
  • [KSP2] Annotation arguments with default values are missing #​1837
  • [KSP2] Intersection types are not modeled #​1846
  • KSP2: Model enum entries in annotation values #​1861
  • KSP2: Unknown JS backend: Wasm #​1889
  • [KSP2] NullPointerException when getting arguments of annotation value #​1798

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

JetBrains/kotlin (org.jetbrains.kotlin.multiplatform)

v2.3.0

Analysis API
  • KT-80082 K2. False positive "Cannot resolve method" for self-bounded generic with wildcard return type in Java interop
  • KT-80303 Move :native:analysis-api-klib-reader to :libraries:tools
Analysis API. Code Compilation
  • KT-70860 K2 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 var
  • KT-78554 K2 IDE / Kotlin Debugger: ISE “No override for FUN IR_EXTERNAL_DECLARATION_STUB” on calling toString() for local class instance during evaluation
  • KT-73201 K2 IDE: Error while evaluating expressions with local classes
Analysis API. FIR
  • KT-81378 Expected expression 'FirFunctionCallImpl' to be resolved caused by suspend {}
  • KT-80473 Add events for tracking LL activities
  • KT-46375 Analysis API: Support cross-file class redeclaration checks using indices
  • KT-80471 Analysis API: Deduplicate equivalent call candidates in resolveToCallCandidates
  • KT-79653 [Analysis API] ContextCollector: BODY context of enum classes doesn't contain enum entries
  • KT-75858 K2 AA: False positive 'property must be initialized' on incremental analysis with 'field' usage and semicolon in setter
  • KT-80231 AnnotationArgumentsStateKeepers doesn't restore the initial annotation in some cases
  • KT-80233 Pull mutation out of AnnotationArgumentsStateKeepers
  • KT-71466 LLFirBuiltinsSessionFactory uses createCompositeSymbolProvider
  • KT-76432 JavaClassUseSiteMemberScope: Expected FirResolvedTypeRef with ConeKotlinType but was FirUserTypeRefImpl
Analysis API. Infrastructure
  • KT-80717 Support IntelliJ Bazel build in the Kotlin Coop development mode
Analysis API. Light Classes
  • KT-80656 Duplicate no-args constructor in PSI
  • KT-60490 Symbol Light Classes: Property accessors from a delegated interface don't present in the delegating class
  • KT-79689 SymbolLightClassForClassLike.toString() causes PSI tree loading
  • KT-80690 Private interface functions are not present in light classes
  • KT-80256 K2: Certain actions in JPA code causes infinite PIEAE: "Element class CompositeElement of type REFERENCE_EXPRESSION (class KtNameReferenceExpressionElementType)"
  • KT-79012 Add a high-level overview of light classes
Analysis API. Providers and Caches
Fixes
  • KT-81476 Analysis API: AlreadyDisposedException from low-memory cache cleanup
  • KT-80911 Analysis API: Execute session invalidation in a non-cancelable section
  • KT-81242 Analysis API: Add UUID/lifetime properties to LL FIR session structure logging
  • KT-80622 Analysis API: Visualise LL FIR session structure & weight
  • KT-80904 Analysis API: "Invalid dangling file module" exception during session invalidation
  • KT-78882 K2 AA: Calling containingSymbol on getProgressionLastElement causes exception
  • KT-58325 Analysis API: Combine LLKotlinStubBasedLibrarySymbolProviders in session dependencies (optimization)
  • KT-77825 Analysis API: CheckersComponent consumes a lot of memory while being unused in LL FIR sessions
  • KT-76526 Incorrect built-in module is provided for non-JVM sources in Standalone
  • KT-62549 Analysis API: Cache callables in combined Kotlin symbol providers
  • KT-70721 LL FIR: investigate possibility of moving LLFirFirClassByPsiClassProvider . getClassByPsiClass (PsiClass) to symbol providers
  • KT-72998 Analysis API: Introduce getClassLikeSymbolByPsi to LL FIR symbol providers
Analysis API. Standalone
  • KT-81108 AA: java.lang.ClassCastException: class org.jetbrains.kotlin.fir.FirBinaryDependenciesModuleData cannot be cast to class org.jetbrains.kotlin.analysis.low.level.api.fir.projectStructure.LLFirModuleData
  • KT-80573 Potential performance issue on class ID computation
  • KT-80559 Try to optimize KotlinStandaloneDeclarationProviderFactory startup for tests
  • KT-71706 Analysis API Standalone: StandaloneProjectFactory.createSearchScopeByLibraryRoots creates inefficient file-based search scopes
Analysis API. Stubs and Decompilation
Performance Improvements
  • KT-77097 Support ReplaceWith deprecation annotation argument via stubs
Fixes
  • KT-80350 Drop K1 decompiler
  • KT-77082 StackOverflowError in CreateFreshTypeVariableSubstitutorStage.shouldBeFlexible
  • KT-80798 Improve stubs tests coverage
  • KT-75318 Read context parameter fields from metadata in CallableClsStubBuilder
  • KT-77874 AA disagrees with the compiler on descriptions of context parameters from binaries in messages for context argument ambiguity errors
  • KT-80276 Implement native coping for stubs
  • KT-79780 Decompiled MultifileClass has Facade kind
  • KT-79398 isClsStubCompiledToJvmDefaultImplementation flag is inconsistent for compiled and decompiled stubs
  • KT-79798 Prettify stub usages in LL stub-based deserializer
  • KT-78949 AbstractLLStubBasedResolutionTest: tests against real stub-based files
  • KT-80251 Inconsistent decompiled and compiled stub for properties with an initializer and a delegate
  • KT-74547 Implement decompiler for K2
  • KT-79555 Move KotlinFileStubImpl serialization/deserialization to the Analysis API
  • KT-79487 "null DefinitelyNotNullType for 'T'" from decompiler
  • KT-60764 Stub Builder: fix differences between K1 and K2 stub building on decompiled files
  • KT-79484 An empty enum class with a member decompiles with a synthetic error
  • KT-79730 Decompiled files have an extra Kt suffix
  • KT-79483 data modifier is not present on object modifier
  • KT-75398 Local classes from scripts have ClassId in stubs
  • KT-79412 Context parameters with type annotations cause inconsistency errors while building stubs
Analysis API. Surface
New Features
  • KT-80084 Provide endpoints for Analysis API to understand when the context sensitive resolution is used
  • KT-64340 Analysis API: no way to get a type of vararg parameter
  • KT-68387 AA: provide context for type approximations
Performance Improvements
  • KT-80713 Optimize KaDeclarationSymbol#visibility for class-like symbols
  • KT-79097 KaFirNamedFunctionSymbol#isSuspend shouldn't trigger resolution
  • KT-79095 isOverride shouldn't trigger resolution if not compiler plugins present
Fixes
  • KT-80234 Incorrect value of isActual for the implicitly actual constructor of annotation class
  • KT-81132 Use KaSession instead of a particular KaSessionComponent for context parameter bridges
  • KT-81129 K2: KaSymbolInformationProvider#importableFqName: should return null for dynamic declarations
  • KT-81128 K2: KaSymbolInformationProvider#importableFqName: should return null for error destructuring declarations
  • KT-81127 K2: KaSymbolInformationProvider#importableFqName: should return null for anonymous functions
  • KT-81126 K2: KaSymbolInformationProvider#importableFqName: should return null for enum entry initializer constructors
  • KT-81125 K2: KaSymbolInformationProvider#importableFqName: should return null for property accessors
  • KT-81124 K2: KaSymbolInformationProvider#importableFqName: type alias constructor should have a reference to the type alias and not to the underlying class
  • KT-70127 Analysis API: 'KaFirReceiverParameterSymbol' does not implement 'KaFirSymbol'; leads to exception from importableFqName
  • KT-81123 Reimplement KaFirSymbolInformationProvider#importableFqName
  • KT-81122 Drop KaImportOptimizer
  • KT-78093 Add bridges for context parameters
  • KT-79772 Migrate from 'validityAsserted' to 'withValidityAssertion'
  • KT-79328 K2 AA, isUsedAsExpression: Unhandled Non-KtExpression parent of KtExpression: class org.jetbrains.kotlin.psi.KtImportDirective
  • KT-80366 IllegalStateException from KaFirStopWorldCacheCleaner
  • KT-80274 Merge AbstractMultiModuleSymbolByPsiTest to AbstractSymbolByPsiTest
  • KT-80352 KaBaseResolutionScope.contains(PsiElement) always returns false for Android light classes (e.g. synthetic R.java classes)
  • KT-80178 Incorrect modality for an abstract interface function with a redundant open modifier
  • KT-79129 [Analysis API] KaFe10TypeCreator.buildClassType cannot build builtin types by class ids
  • KT-79143 AA: argumentMapping contains an expression that is not an argument
  • KT-59857 KaExpressionTypeProvider#returnType shouldn't throw an exception for class like declarations
  • KT-79667 Enable resolve on java record components in standalone mode
  • KT-73050 KaFirSymbolRelationProvider#expectsForActual: suspicius logic for KaReceiverParameterSymbol
  • KT-78904 KaBaseWriteActionStartedChecker throws when no additional WA was done
  • KT-79281 Add KDoc to KaTypePointer#restore
  • KT-78597 KaUseSiteVisibilityChecker returns false for internal functions exposed via implicit receiver
  • KT-71705 FIR api impl: Postfix increment expression's expressionType is Unit when incrementing array element
  • KT-75057 Analysis API: Reference to object through typealias in invoke operator call leads to original type
Backend. Native. Debug
  • KT-79848 Flaky debugger tests in opt.debug/cache.*/GC.CMS/GC.sch.ad/alloc.custom configuration
Backend. Wasm
New Features
  • KT-59032 Support instantiation of annotation classes on WASM
Fixes
  • KT-76204 K/Wasm: support generating a wasm module per kotlin module/klib
  • KT-79357 K/Wasm: store data for string literals in utf8 for Latin1
  • KT-82075 K/Wasm: kotlin.wasm.internal.getSimpleName crashes on iOS Safari older than 26
  • KT-79244 [Wasm] Drop K1-specific tests, testrunners and test directives
  • KT-69621 K/Wasm: Consider enabling support for KClass.qualifiedName by default
  • KT-80397 K/Wasm: turn on by default using a new version of the exception handling proposal for wasm-wasi target
  • KT-81372 K/Wasm: JsException: Exception was thrown while running JavaScript code on Safari 18.2/18.3
  • KT-80018 K/Wasm: exceptions don't work properly in JavaScriptCore (vm inside Safari, WebKit)
  • KT-66072 K/Wasm: improve how exceptions work in JS interop
  • KT-80106 devServer in Kotlin/Wasm overwrites defaults, causing missing static paths
  • KT-80210 Wasm: "Unexpected non-external class: kotlin.Nothing" caused by JsExport with JsPromise
  • KT-80555 WASM IC: Can't link symbol on kotlinx.coroutines on fresh master
  • KT-80415 WasmJs Number Elvis Operator Crash
  • KT-76509 WasmJS: ReferenceError: Temporal is not defined caused by "Redundant reference to unused external results"
  • KT-79317 [Wasm] Do not throw CCE for ExcludedFromCodegen declarations
  • KT-78036 K/Wasm: generate a message with "expected" and "actual" types in case of CCE
Compiler
New Features
  • KT-80461 K2: false positive NO_ELSE_IN_WHEN for complex sealed hierarchy
  • KT-77676 K/N: enable typechecks and the casts optimization pass in debug mode by default
  • KT-79185 Support local type aliases
  • KT-80837 Warn about extension function with a context shadowed by member
  • KT-80768 Warning on overloading by a superset of context parameters in class context
  • KT-80031 Check spotbugs's @CheckReturnValue in Kotlin's unused return valu

Configuration

📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM, on day 1 of the month ( * 0-3 1 * * ) (UTC), 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.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


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

This PR has been generated by Renovate Bot.

@coderabbitai
Copy link

coderabbitai bot commented Jun 1, 2024

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

📝 Walkthrough

Walkthrough

The primary change involves upgrading the Kotlin version from 1.9.23 to 2.1.20 and the Kotlin Symbol Processing (KSP) version from 1.9.23-1.0.20 to 2.1.20-2.0.0 in the project's dependency configuration. This upgrade signifies a notable shift in capabilities and may introduce new features, while other dependencies remain unchanged, maintaining compatibility in the codebase.

Changes

Files Change Summary
gradle/libs.versions.toml Updated Kotlin to 2.1.20 and KSP to 2.1.20-2.0.0; other dependencies unchanged.

Poem

🐇 In the garden of code, we hop with glee,
New Kotlin blooms, as bright as can be!
With KSP's magic, we dance and we play,
Enhancements abound, let’s code through the day!
Hopping along, our bugs fade away! ✨


Comment @coderabbitai help to get the list of available commands and usage tips.

@renovate-self-hosted-apter renovate-self-hosted-apter bot force-pushed the renovate/major-kotlin branch 2 times, most recently from b7cbe03 to 42a825e Compare June 5, 2024 22:35
Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 01b7b69 and 694282f.

Files selected for processing (1)
  • gradle/libs.versions.toml (1 hunks)
Additional comments not posted (2)
gradle/libs.versions.toml (2)

8-8: Verify the impact of the Kotlin version update.

The Kotlin version has been updated from 1.9.23 to 2.0.10. Ensure that the codebase is compatible with this major version update and that all necessary changes have been made to accommodate any breaking changes or new features.


11-11: Verify the impact of the KSP version update.

The KSP version has been updated from 1.9.23-1.0.20 to 2.0.0-1.0.24. Ensure that the codebase is compatible with this major version update and that all necessary changes have been made to accommodate any breaking changes or new features.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 694282f and 75d3369.

Files selected for processing (1)
  • gradle/libs.versions.toml (1 hunks)
Files skipped from review as they are similar to previous changes (1)
  • gradle/libs.versions.toml

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 75d3369 and c5d0b5a.

Files selected for processing (1)
  • gradle/libs.versions.toml (1 hunks)
Additional comments not posted (2)
gradle/libs.versions.toml (2)

11-11: Verify the impact of KSP 2.0.10-1.0.24 update.

This update may affect annotation processing and symbol handling. Ensure that all KSP-related functionalities are tested and working as expected.

Run the following script to identify any KSP-specific code that may require testing:


8-8: Verify compatibility with Kotlin 2.0.20.

This major version update may introduce breaking changes. Ensure that the codebase and all dependencies are compatible with Kotlin 2.0.20.

Run the following script to check for any known compatibility issues or breaking changes:

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between c5d0b5a and c58ac3c.

Files selected for processing (1)
  • gradle/libs.versions.toml (1 hunks)
Files skipped from review as they are similar to previous changes (1)
  • gradle/libs.versions.toml

@renovate-self-hosted-apter renovate-self-hosted-apter bot force-pushed the renovate/major-kotlin branch 2 times, most recently from 3895b26 to 3d7fa14 Compare October 11, 2024 06:07
@renovate-self-hosted-apter renovate-self-hosted-apter bot force-pushed the renovate/major-kotlin branch 3 times, most recently from 140817f to a1e2fb4 Compare November 27, 2024 23:51
@renovate-self-hosted-apter renovate-self-hosted-apter bot changed the title chore(deps): update kotlin to v2 (major) fix(deps): update kotlin to v2 (major) Dec 6, 2024
@renovate-self-hosted-apter renovate-self-hosted-apter bot force-pushed the renovate/major-kotlin branch 2 times, most recently from 9dc624f to a257489 Compare January 28, 2025 21:26
@renovate-self-hosted-apter renovate-self-hosted-apter bot force-pushed the renovate/major-kotlin branch 2 times, most recently from b3f2d6d to a8f3b3c Compare March 26, 2025 17:52
@renovate-self-hosted-apter renovate-self-hosted-apter bot force-pushed the renovate/major-kotlin branch 2 times, most recently from c590b5c to b18ca8e Compare May 13, 2025 22:08
@renovate-self-hosted-apter renovate-self-hosted-apter bot force-pushed the renovate/major-kotlin branch 2 times, most recently from 14202e6 to 3619576 Compare June 24, 2025 20:29
@renovate-self-hosted-apter renovate-self-hosted-apter bot force-pushed the renovate/major-kotlin branch 2 times, most recently from 28d99bd to df4790c Compare August 15, 2025 00:48
@renovate-self-hosted-apter renovate-self-hosted-apter bot force-pushed the renovate/major-kotlin branch 3 times, most recently from ee8d0ae to 78622fa Compare September 11, 2025 22:12
@renovate-self-hosted-apter renovate-self-hosted-apter bot force-pushed the renovate/major-kotlin branch 2 times, most recently from 5e6a43b to 4ab1c23 Compare October 23, 2025 09:02
@renovate-self-hosted-apter renovate-self-hosted-apter bot force-pushed the renovate/major-kotlin branch 2 times, most recently from d227a5f to bc21063 Compare November 6, 2025 20:12
@renovate-self-hosted-apter renovate-self-hosted-apter bot changed the title fix(deps): update kotlin to v2 (major) chore(deps): update kotlin to v2 (major) Jan 6, 2026
@renovate-self-hosted-apter renovate-self-hosted-apter bot changed the title chore(deps): update kotlin to v2 (major) fix(deps): update kotlin to v2 (major) Jan 6, 2026
@renovate-self-hosted-apter renovate-self-hosted-apter bot changed the title fix(deps): update kotlin to v2 (major) chore(deps): update kotlin to v2 (major) Jan 6, 2026
@renovate-self-hosted-apter renovate-self-hosted-apter bot changed the title chore(deps): update kotlin to v2 (major) fix(deps): update kotlin to v2 (major) Jan 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant