Update dependency com.google.devtools.ksp to v2.3.10 #13

Open
renovate wants to merge 1 commit from renovate/ksp into main
Member

This PR contains the following updates:

Package Type Update Change
com.google.devtools.ksp (source) plugin minor 2.0.0-1.0.212.3.10

Release Notes

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

v2.3.10

Compare Source

What's Changed

  • Fix OOMs caused by unstopped coroutine Dispatcher threads by moving KSP task cache to a gradle build service (#​2817)
  • Sanitize ':' in internal-name module suffix so KSP works with Kotlin 2.4.0 default module names (#​2964)
  • Filter source file trees in KspAATask to restore NO-SOURCE skipping behaviour (#​2947)
  • Fix R-class resolution in KSP when AGP 9 built-in Kotlin is enabled (#​2857)
  • Fix KSP2 incremental cache path normalization mismatch (#​2854)
  • Normalize line endings for KspAATask source roots to prevent cross-platform remote build cache misses (#​2849)
  • Fix bug where KSP incremental compilation does not consider library class references in annotations (#​3011)
  • Consume all Kotlin sources in KSP to support other code generators (#​3001)
  • Fix configuration cache invalidation in klib cross-compilation check (#​3014)
  • Memoized hash code for KSTypeImpl to speed up processing (#​2896)
  • Fix incorrect name generation for data classes annotated with @JvmRecord (#​2813)
  • Include kotlinx.coroutines in the distributed uber jar symbol-processing-aa-embeddable (#​2938)
  • New debugging features for incremental compilation, including additional logging and dependency graph visualization (#​3015)
  • Deprecate the ksp(...) Gradle configuration in Kotlin Multiplatform (KMP) projects in favor of target-specific configurations (#​2956)

Contributors

Full Changelog: https://github.com/google/ksp/compare/2.3.9...2.3.10

v2.3.9

Compare Source

What's Changed

  • Cleaned up native cross-compilation support checks to prevent Gradle Configuration Cache invalidation (#​2953)
  • Fixed a compilation performance regression in in PsiResolutionStrategy introduced in 2.3.8 (#​2948)

Contributors

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

Full Changelog: https://github.com/google/ksp/compare/2.3.8...2.3.9

v2.3.8

Compare Source

What's Changed

  • Enabled new default annotation use-site rules in Kotlin's Analysis API (see KEEP 402) for more information. Note: KSP was already mostly compatible with KEEP 402, so there shouldn't be any visible changes for users. (#​2888)
  • Enabled ksp.project.isolation by default when Gradle isolated projects are enabled (#​2866)
  • Improved getSymbolsWithAnnotation performance by implementing a new PSI-based resolution strategy (#​2816)

Contributors

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

Full Changelog: https://github.com/google/ksp/compare/2.3.7...2.3.8

v2.3.7

Compare Source

What's Changed

  • Bumped Kotlin target language version to 2.3 (#​2821)
  • Fixed crash caused by upstream dependency (#​2856)
  • Fixed support for Gradle Isolated Projects (#​2844)

Contributors

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

Full Changelog: https://github.com/google/ksp/compare/2.3.6...2.3.7

v2.3.6

Compare Source

What's Changed

  • Fixed an issue where module recompilation would fail on Windows environments when KSP2 was enabled (#​2774)
  • Resolved an issue where generated Java sources were ignored when using Android Kotlin Multiplatform with IP-compatible paths (#​2744)
  • Fixed a KSP version 2.3.5 CI error exception that does not break build checks (#​2763)
  • Added symbol-processing-api and common-deps to compile dependencies (#​2789)
  • Improved the detection of built-in Kotlin by removing the reliance on KotlinBaseApiPlugin (#​2772)
  • A back-port of a performance optimization in the Intellij / Analysis API (2785 )
  • Added support for nested typealias Kotlin language feature #​2588
  • Exclude jdbc package from log4j to prevent vulnerability issue #​2651

Contributors

Full Changelog: https://github.com/google/ksp/compare/2.3.5...2.3.6

v2.3.5

Compare Source

What's Changed

  • KSPCoreEnvironment.instance_prop leaks memory when used programmatically #​2742
  • Missing first annotation argument when toByte is used #​2672
  • Fix circular dependency between KSP and KAPT in AGP 9.0 #​2743

Contributors

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

Full Changelog: https://github.com/google/ksp/compare/2.3.4...2.3.5

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: https://github.com/google/ksp/compare/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: https://github.com/google/ksp/compare/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: https://github.com/google/ksp/compare/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: https://github.com/google/ksp/compare/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: https://github.com/google/ksp/compare/2.2.20-2.0.4...2.3.0

v2.2.21-2.0.5

Compare Source

What's Changed

  • A new Gradle property flag was added to mute the warnings about KSP1 usage. You can enable this by setting warn.on.ksp1.usage=false in your gradle.properties file.

Full Changelog: https://github.com/google/ksp/compare/2.2.21-2.0.4...2.2.21-2.0.5

v2.2.21-2.0.4

Compare Source

What's Changed

Full Changelog: https://github.com/google/ksp/compare/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: https://github.com/google/ksp/compare/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: https://github.com/google/ksp/compare/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: https://github.com/google/ksp/compare/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: https://github.com/google/ksp/compare/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: https://github.com/google/ksp/compare/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: https://github.com/google/ksp/compare/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: https://github.com/google/ksp/compare/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: https://github.com/google/ksp/compare/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: https://github.com/google/ksp/compare/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: https://github.com/google/ksp/compare/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: https://github.com/google/ksp/compare/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: https://github.com/google/ksp/compare/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: https://github.com/google/ksp/compare/911690b86b60a0299af0e86b6abcf18d8abb003b...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: https://github.com/google/ksp/compare/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: https://github.com/google/ksp/compare/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: https://github.com/google/ksp/compare/2.0.0-1.0.21...2.0.0-1.0.22


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

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


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

This PR has been generated by Mend Renovate.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [com.google.devtools.ksp](https://goo.gle/ksp) ([source](https://github.com/google/ksp)) | plugin | minor | `2.0.0-1.0.21` → `2.3.10` | --- ### Release Notes <details> <summary>google/ksp (com.google.devtools.ksp)</summary> ### [`v2.3.10`](https://github.com/google/ksp/releases/tag/2.3.10) [Compare Source](https://github.com/google/ksp/compare/2.3.9...2.3.10) #### What's Changed - Fix OOMs caused by unstopped coroutine Dispatcher threads by moving KSP task cache to a gradle build service ([#&#8203;2817](https://github.com/google/ksp/issues/2817)) - Sanitize ':' in internal-name module suffix so KSP works with Kotlin 2.4.0 default module names ([#&#8203;2964](https://github.com/google/ksp/issues/2964)) - Filter source file trees in KspAATask to restore NO-SOURCE skipping behaviour ([#&#8203;2947](https://github.com/google/ksp/issues/2947)) - Fix R-class resolution in KSP when AGP 9 built-in Kotlin is enabled ([#&#8203;2857](https://github.com/google/ksp/issues/2857)) - Fix KSP2 incremental cache path normalization mismatch ([#&#8203;2854](https://github.com/google/ksp/issues/2854)) - Normalize line endings for KspAATask source roots to prevent cross-platform remote build cache misses ([#&#8203;2849](https://github.com/google/ksp/issues/2849)) - Fix bug where KSP incremental compilation does not consider library class references in annotations ([#&#8203;3011](https://github.com/google/ksp/issues/3011)) - Consume all Kotlin sources in KSP to support other code generators ([#&#8203;3001](https://github.com/google/ksp/issues/3001)) - Fix configuration cache invalidation in klib cross-compilation check ([#&#8203;3014](https://github.com/google/ksp/issues/3014)) - Memoized hash code for `KSTypeImpl` to speed up processing ([#&#8203;2896](https://github.com/google/ksp/issues/2896)) - Fix incorrect name generation for data classes annotated with `@JvmRecord` ([#&#8203;2813](https://github.com/google/ksp/issues/2813)) - Include `kotlinx.coroutines` in the distributed uber jar `symbol-processing-aa-embeddable` ([#&#8203;2938](https://github.com/google/ksp/issues/2938)) - New debugging features for incremental compilation, including additional logging and dependency graph visualization ([#&#8203;3015](https://github.com/google/ksp/issues/3015)) - Deprecate the `ksp(...)` Gradle configuration in Kotlin Multiplatform (KMP) projects in favor of target-specific configurations ([#&#8203;2956](https://github.com/google/ksp/issues/2956)) #### Contributors - Thanks to [@&#8203;mvanhorn](https://github.com/mvanhorn), [@&#8203;Yong-yuan-X](https://github.com/Yong-yuan-X), [@&#8203;MariusVolkhart](https://github.com/MariusVolkhart), [@&#8203;shmuelr](https://github.com/shmuelr) and everyone who reported bugs and participated in discussions! **Full Changelog**: <https://github.com/google/ksp/compare/2.3.9...2.3.10> ### [`v2.3.9`](https://github.com/google/ksp/releases/tag/2.3.9) [Compare Source](https://github.com/google/ksp/compare/2.3.8...2.3.9) #### What's Changed - Cleaned up native cross-compilation support checks to prevent Gradle Configuration Cache invalidation ([#&#8203;2953](https://github.com/google/ksp/issues/2953)) - Fixed a compilation performance regression in in PsiResolutionStrategy introduced in 2.3.8 ([#&#8203;2948](https://github.com/google/ksp/issues/2948)) #### Contributors - Thanks to everyone who reported bugs and participated in discussions! **Full Changelog**: <https://github.com/google/ksp/compare/2.3.8...2.3.9> ### [`v2.3.8`](https://github.com/google/ksp/releases/tag/2.3.8) [Compare Source](https://github.com/google/ksp/compare/2.3.7...2.3.8) #### What's Changed - Enabled new default annotation use-site rules in Kotlin's Analysis API (see KEEP 402) for more information. Note: KSP was already mostly compatible with KEEP 402, so there shouldn't be any visible changes for users. ([#&#8203;2888](https://github.com/google/ksp/issues/2888)) - Enabled ksp.project.isolation by default when Gradle isolated projects are enabled ([#&#8203;2866](https://github.com/google/ksp/issues/2866)) - Improved getSymbolsWithAnnotation performance by implementing a new PSI-based resolution strategy ([#&#8203;2816](https://github.com/google/ksp/issues/2816)) #### Contributors - Thanks to [@&#8203;hugoncosta](https://github.com/hugoncosta) and everyone who reported bugs and participated in discussions! **Full Changelog**: <https://github.com/google/ksp/compare/2.3.7...2.3.8> ### [`v2.3.7`](https://github.com/google/ksp/releases/tag/2.3.7) [Compare Source](https://github.com/google/ksp/compare/2.3.6...2.3.7) #### What's Changed - Bumped Kotlin target language version to 2.3 ([#&#8203;2821](https://github.com/google/ksp/issues/2821)) - Fixed crash caused by upstream dependency ([#&#8203;2856](https://github.com/google/ksp/issues/2856)) - Fixed support for Gradle Isolated Projects ([#&#8203;2844](https://github.com/google/ksp/issues/2844)) #### Contributors - Thanks to everyone who reported bugs and participated in discussions! **Full Changelog**: <https://github.com/google/ksp/compare/2.3.6...2.3.7> ### [`v2.3.6`](https://github.com/google/ksp/releases/tag/2.3.6) [Compare Source](https://github.com/google/ksp/compare/2.3.5...2.3.6) #### What's Changed - Fixed an issue where module recompilation would fail on Windows environments when KSP2 was enabled ([#&#8203;2774](https://github.com/google/ksp/issues/2774)) - Resolved an issue where generated Java sources were ignored when using Android Kotlin Multiplatform with IP-compatible paths ([#&#8203;2744](https://github.com/google/ksp/issues/2744)) - Fixed a KSP version 2.3.5 CI error exception that does not break build checks ([#&#8203;2763](https://github.com/google/ksp/issues/2763)) - Added symbol-processing-api and common-deps to compile dependencies ([#&#8203;2789](https://github.com/google/ksp/issues/2789)) - Improved the detection of built-in Kotlin by removing the reliance on KotlinBaseApiPlugin ([#&#8203;2772](https://github.com/google/ksp/issues/2772)) - A back-port of a performance optimization in the Intellij / Analysis API ([2785](https://github.com/google/ksp/pull/2785) ) - Added support for nested typealias Kotlin language feature [#&#8203;2588](https://github.com/google/ksp/issues/2588) - Exclude jdbc package from log4j to prevent vulnerability issue [#&#8203;2651](https://github.com/google/ksp/issues/2651) #### Contributors - Thanks to [@&#8203;salmanmkc](https://github.com/salmanmkc), [@&#8203;jaschdoc](https://github.com/jaschdoc), [@&#8203;gurusai-voleti](https://github.com/gurusai-voleti) and everyone who reported bugs and participated in discussions! **Full Changelog**: <https://github.com/google/ksp/compare/2.3.5...2.3.6> ### [`v2.3.5`](https://github.com/google/ksp/releases/tag/2.3.5) [Compare Source](https://github.com/google/ksp/compare/2.3.4...2.3.5) #### What's Changed - KSPCoreEnvironment.instance\_prop leaks memory when used programmatically [#&#8203;2742](https://github.com/google/ksp/issues/2742) - Missing first annotation argument when toByte is used [#&#8203;2672](https://github.com/google/ksp/issues/2672) - Fix circular dependency between KSP and KAPT in AGP 9.0 [#&#8203;2743](https://github.com/google/ksp/issues/2743) #### Contributors - Thanks to everyone who reported bugs and participated in discussions! **Full Changelog**: <https://github.com/google/ksp/compare/2.3.4...2.3.5> ### [`v2.3.4`](https://github.com/google/ksp/releases/tag/2.3.4) [Compare Source](https://github.com/google/ksp/compare/2.3.3...2.3.4) #### What's Changed - KSP ignores sources in Kotlin directory [#&#8203;2730](https://github.com/google/ksp/issues/2730) - Avoid recording Java symbol lookups in non-incremental builds [#&#8203;2728](https://github.com/google/ksp/issues/2728) - Clean up ThreadLocals when processing is done [#&#8203;2709](https://github.com/google/ksp/issues/2709) #### Contributors - Thanks to everyone who reported bugs and participated in discussions! **Full Changelog**: <https://github.com/google/ksp/compare/2.3.3...2.3.4> ### [`v2.3.3`](https://github.com/google/ksp/releases/tag/2.3.3) [Compare Source](https://github.com/google/ksp/compare/2.3.2...2.3.3) #### What's Changed - Migrate away from a deprecated compilerOptions KGP API [#&#8203;2703](https://github.com/google/ksp/issues/2703) #### Contributors - Thanks to everyone who reported bugs and participated in discussions! **Full Changelog**: <https://github.com/google/ksp/compare/2.3.2...2.3.3> ### [`v2.3.2`](https://github.com/google/ksp/releases/tag/2.3.2) [Compare Source](https://github.com/google/ksp/compare/2.3.1...2.3.2) #### 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 [#&#8203;2696](https://github.com/google/ksp/issues/2696) - Fixed a regression introduced in [#&#8203;2656](https://github.com/google/ksp/issues/2656) that caused runtime failures for projects using AGP 8.8.0 and older due to an incompatible, version-specific type check. [#&#8203;2694](https://github.com/google/ksp/issues/2694) #### Contributors Thanks to everyone who reported bugs and participated in discussions! **Full Changelog**: <https://github.com/google/ksp/compare/2.3.1...2.3.2> ### [`v2.3.1`](https://github.com/google/ksp/releases/tag/2.3.1) [Compare Source](https://github.com/google/ksp/compare/2.3.0...2.3.1) #### What's Changed - Added support for AGP 9.0 and built-in Kotlin [#&#8203;2674](https://github.com/google/ksp/issues/2674) - Fixed a bug in getJvmCheckedException that incorrectly handled nested classes. [#&#8203;2584](https://github.com/google/ksp/issues/2584) - Removed incorrect caching for KSValueArgumentLiteImpl that wrongly merged arguments with different parents, origins, or locations [#&#8203;2677](https://github.com/google/ksp/issues/2677) #### Contributors Thanks to everyone who reported bugs and participated in discussions! **Full Changelog**: <https://github.com/google/ksp/compare/2.3.0...2.3.1> ### [`v2.3.0`](https://github.com/google/ksp/releases/tag/2.3.0) [Compare Source](https://github.com/google/ksp/compare/2.2.21-2.0.5...2.3.0) #### What's Changed - KSP1 has been deprecated[ #&#8203;2657](https://github.com/google/ksp/pull/2657) - KSP version is no longer tied to the Kotlin compiler version (moving away from the old <kotlinversion>-<kspversion> format). [#&#8203;2658](https://github.com/google/ksp/issues/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**: <https://github.com/google/ksp/compare/2.2.20-2.0.4...2.3.0> ### [`v2.2.21-2.0.5`](https://github.com/google/ksp/releases/tag/2.2.21-2.0.5) [Compare Source](https://github.com/google/ksp/compare/2.2.21-2.0.4...2.2.21-2.0.5) #### What's Changed - A new Gradle property flag was added to mute the warnings about KSP1 usage. You can enable this by setting warn.on.ksp1.usage=false in your gradle.properties file. **Full Changelog**: <https://github.com/google/ksp/compare/2.2.21-2.0.4...2.2.21-2.0.5> ### [`v2.2.21-2.0.4`](https://github.com/google/ksp/releases/tag/2.2.21-2.0.4) [Compare Source](https://github.com/google/ksp/compare/2.2.20-2.0.4...2.2.21-2.0.4) #### What's Changed - Kotlin version: 2.2.21 by [@&#8203;mkmuir0](https://github.com/mkmuir0) in [#&#8203;2671](https://github.com/google/ksp/pull/2671) **Full Changelog**: <https://github.com/google/ksp/compare/2.2.21-RC2-2.0.4...2.2.21-2.0.4> ### [`v2.2.20-2.0.4`](https://github.com/google/ksp/releases/tag/2.2.20-2.0.4) [Compare Source](https://github.com/google/ksp/compare/2.2.20-2.0.3...2.2.20-2.0.4) #### What's Changed - Unable to build on AGP 8.11.1 using KSP 2.2.20-2.0.3 due to class cast exception [#&#8203;2614](https://github.com/google/ksp/issues/2614) - Resolver#getJvmCheckedException(KSPropertyAccessor) throws IllegalArgumentException [#&#8203;2548](https://github.com/google/ksp/issues/2548) - ClassCastException when building with 2.2.20-2.0.3 [#&#8203;2598](https://github.com/google/ksp/issues/2598) - Replace KaFirStopWorldCacheCleaner with no-op implementation [#&#8203;2626](https://github.com/google/ksp/issues/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 [#&#8203;2597](https://github.com/google/ksp/issues/2597) - Missing Gradle task wiring with 2.2.20-2.0.3 [#&#8203;2595](https://github.com/google/ksp/issues/2595) - 2.2.20-2.0.3 + protobufJavalite build errors [#&#8203;2596](https://github.com/google/ksp/issues/2596) #### Contributors Thanks to everyone who reported bugs and participated in discussions! **Full Changelog**: <https://github.com/google/ksp/compare/2.2.20-2.0.3...2.2.20-2.0.4> ### [`v2.2.20-2.0.3`](https://github.com/google/ksp/releases/tag/2.2.20-2.0.3) [Compare Source](https://github.com/google/ksp/compare/2.2.20-2.0.2...2.2.20-2.0.3) #### What's Changed - Removed usages of deprecated KGP ApiVersion - [#&#8203;2400](https://github.com/google/ksp/issues/2400) - Android integration for KSP has moved on to the new Variant API - [#&#8203;2250](https://github.com/google/ksp/issues/2250) - Runtime warning was added for projects that opt out of KSP2 - [#&#8203;2538](https://github.com/google/ksp/issues/2538) - AGP version against which KSP is compiled has been upgraded - [#&#8203;2552](https://github.com/google/ksp/issues/2552) #### Contributors Thanks to everyone who reported bugs and participated in discussions! Full Changelog: <https://github.com/google/ksp/compare/2.1.21-2.0.2...2.2.20-2.0.3> ### [`v2.2.20-2.0.2`](https://github.com/google/ksp/releases/tag/2.2.20-2.0.2) [Compare Source](https://github.com/google/ksp/compare/2.2.10-2.0.2...2.2.20-2.0.2) #### What's Changed - Kotlin version: 2.2.20 by [@&#8203;mkmuir0](https://github.com/mkmuir0) in [#&#8203;2590](https://github.com/google/ksp/pull/2590) **Full Changelog**: <https://github.com/google/ksp/compare/2.2.20-RC2-2.0.2...2.2.20-2.0.2> ### [`v2.2.10-2.0.2`](https://github.com/google/ksp/releases/tag/2.2.10-2.0.2) [Compare Source](https://github.com/google/ksp/compare/2.2.0-2.0.2...2.2.10-2.0.2) #### What's Changed - Kotlin version: 2.2.10 by [@&#8203;mkmuir0](https://github.com/mkmuir0) in [#&#8203;2555](https://github.com/google/ksp/pull/2555) **Full Changelog**: <https://github.com/google/ksp/compare/2.2.10-RC2-2.0.2...2.2.10-2.0.2> ### [`v2.2.0-2.0.2`](https://github.com/google/ksp/releases/tag/2.2.0-2.0.2) [Compare Source](https://github.com/google/ksp/compare/2.1.21-2.0.2...2.2.0-2.0.2) #### What's Changed - Kotlin version: 2.2.0 by [@&#8203;mkmuir0](https://github.com/mkmuir0) in [#&#8203;2507](https://github.com/google/ksp/pull/2507) **Full Changelog**: <https://github.com/google/ksp/compare/2.2.0-RC3-2.0.2...2.2.0-2.0.2> ### [`v2.1.21-2.0.2`](https://github.com/google/ksp/releases/tag/2.1.21-2.0.2) [Compare Source](https://github.com/google/ksp/compare/2.1.21-2.0.1...2.1.21-2.0.2) #### What's Changed KSP1: use new mangling scheme for inline classes [#&#8203;2446](https://github.com/google/ksp/issues/2446) KSP task (non-)registration happens too soon [#&#8203;1789](https://github.com/google/ksp/issues/1789) \[ksp2] Resolver.getJvmName wrong for properties starts with is [#&#8203;2275](https://github.com/google/ksp/issues/2275) Inlined JVM name is not correct [#&#8203;1493](https://github.com/google/ksp/issues/1493) \[KSP2] Annotation values of inner annotations shouldn't be marked as default [#&#8203;2437](https://github.com/google/ksp/issues/2437) Properly support @&#8203; all annotation use site target [#&#8203;2438](https://github.com/google/ksp/issues/2438) #### Contributors Thanks to everyone who reported bugs and participated in discussions! **Full Changelog**: <https://github.com/google/ksp/compare/2.1.21-2.0.1...2.1.21-2.0.2> ### [`v2.1.21-2.0.1`](https://github.com/google/ksp/releases/tag/2.1.21-2.0.1) [Compare Source](https://github.com/google/ksp/compare/2.1.20-2.0.1...2.1.21-2.0.1) #### What's Changed - Bump Kotlin version to 2.1.21 by [@&#8203;mkmuir0](https://github.com/mkmuir0) in [#&#8203;2448](https://github.com/google/ksp/pull/2448) **Full Changelog**: <https://github.com/google/ksp/compare/2.1.21-RC2-2.0.1...2.1.21-2.0.1> ### [`v2.1.20-2.0.1`](https://github.com/google/ksp/releases/tag/2.1.20-2.0.1) [Compare Source](https://github.com/google/ksp/compare/2.1.20-2.0.0...2.1.20-2.0.1) #### What's Changed - \[KSP2] Annotation values shouldn't be marked as default (synthetic origin) broken after PR [#&#8203;2424](https://github.com/google/ksp/issues/2424) in [#&#8203;2425](https://github.com/google/ksp/pull/2425) - \[KSP2] Wrong internal method name with custom moduleName compiler option in [#&#8203;2415](https://github.com/google/ksp/pull/2415) - \[KSP2] getJvmName for internal method did not sanitize java identifiers in [#&#8203;2413](https://github.com/google/ksp/pull/2413) - \[KSP2] Annotation and argument's origin is wrong in [#&#8203;2412](https://github.com/google/ksp/pull/2412) - \[KSP2] functionKind is MEMBER for static method in interface in Java in [#&#8203;2410](https://github.com/google/ksp/pull/2410) - KSP2 Generated .class files are not added to the classpath in [#&#8203;2365](https://github.com/google/ksp/pull/2365) - When I write specific code, KSP throws an Unexpected class for KtSymbol error. in [#&#8203;2303](https://github.com/google/ksp/pull/2303) #### Contributors Thanks to everyone who reported bugs and participated in discussions! **Full Changelog**: <https://github.com/google/ksp/compare/2.1.20-2.0.0...2.1.20-2.0.1> ### [`v2.1.20-2.0.0`](https://github.com/google/ksp/releases/tag/2.1.20-2.0.0) [Compare Source](https://github.com/google/ksp/compare/2.1.20-1.0.32...2.1.20-2.0.0) #### What's Changed - Bumped version to 2.0.0 and enabled KSP2 by default! - No-op blockOtherCompilerPlugins [#&#8203;2397](https://github.com/google/ksp/issues/2397) - A couple of fixes to compilation avoidance [#&#8203;2401](https://github.com/google/ksp/issues/2401) - KSTypeReferenceResolvedImpl.toString(): render unexpanded [#&#8203;2393](https://github.com/google/ksp/issues/2393) **Full Changelog**: <https://github.com/google/ksp/compare/2.1.20-1.0.32...2.1.20-2.0.0> ### [`v2.1.20-1.0.32`](https://github.com/google/ksp/releases/tag/2.1.20-1.0.32) [Compare Source](https://github.com/google/ksp/compare/2.1.20-1.0.31...2.1.20-1.0.32) ### What's Changed [#&#8203;2379](https://github.com/google/ksp/issues/2379) \[KSP2] resolved type of vararg parameter in functions changed vs KSP1 [#&#8203;2358](https://github.com/google/ksp/issues/2358) \[KSP2] Annotation missing from property when VALUE\_PARAMETER target is used. And various performance optimizations! ### [`v2.1.20-1.0.31`](https://github.com/google/ksp/releases/tag/2.1.20-1.0.31) [Compare Source](https://github.com/google/ksp/compare/2.1.10-1.0.31...2.1.20-1.0.31) #### What's Changed - Update github actions permissions for release on 1.0.31-release by [@&#8203;ting-yuan](https://github.com/ting-yuan) in [#&#8203;2383](https://github.com/google/ksp/pull/2383) - Bump Kotlin version to 2.1.20 by [@&#8203;mkmuir0](https://github.com/mkmuir0) in [#&#8203;2384](https://github.com/google/ksp/pull/2384) **Full Changelog**: <https://github.com/google/ksp/compare/2.1.20-RC2-1.0.31...2.1.20-1.0.31> ### [`v2.1.10-1.0.31`](https://github.com/google/ksp/releases/tag/2.1.10-1.0.31) [Compare Source](https://github.com/google/ksp/compare/2.1.10-1.0.30...2.1.10-1.0.31) #### Bug Fixes - \[KSP2] KSPropertyDeclaration#type for typealias does not match its declaration. [#&#8203;2345](https://github.com/google/ksp/issues/2345) - Incorrect isMutable on KSPropertyDeclaration from a JAVA\_LIB in 2.1.10-1.0.30 [#&#8203;2346](https://github.com/google/ksp/issues/2346) - KSP breaks compilation avoidance [#&#8203;2347](https://github.com/google/ksp/issues/2347) ### [`v2.1.10-1.0.30`](https://github.com/google/ksp/releases/tag/2.1.10-1.0.30) [Compare Source](https://github.com/google/ksp/compare/2.1.10-1.0.29...2.1.10-1.0.30) #### Bugs Fixed / PR Landed [#&#8203;2325](https://github.com/google/ksp/issues/2325) \[KSP2] KSType.arguments return arguments on aliased type. [#&#8203;2312](https://github.com/google/ksp/pull/2312) Partially migrate KSP off AGP's legacy Variant API [#&#8203;2309](https://github.com/google/ksp/issues/2309) Resolver#getDeclarationsFromPackage() does not find generated files [#&#8203;2252](https://github.com/google/ksp/issues/2252) Incremental processing breaks when a project dependency is modified [#&#8203;2265](https://github.com/google/ksp/issues/2265) \[ksp2] ksType.arguments will crash on a typealias's java wildcard type [#&#8203;2264](https://github.com/google/ksp/issues/2264) \[ksp2] getJavaWildcard does not return wildcard for List param (different with kapt/ksp1) [#&#8203;2246](https://github.com/google/ksp/issues/2246) Resolver returns non-equal instances of the same declaration. [#&#8203;2254](https://github.com/google/ksp/issues/2254) \[KSP2] Resolver#overrides() gives incorrect result when method isn't accessible. ### [`v2.1.10-1.0.29`](https://github.com/google/ksp/releases/tag/2.1.10-1.0.29) [Compare Source](https://github.com/google/ksp/compare/2.1.0-1.0.29...2.1.10-1.0.29) #### What's Changed - Update gradle.properties to Kotlin 2.1.10 Stable by [@&#8203;mkmuir0](https://github.com/mkmuir0) in [#&#8203;2308](https://github.com/google/ksp/pull/2308) **Full Changelog**: <https://github.com/google/ksp/compare/2.1.10-RC2-1.0.29...2.1.10-1.0.29> ### [`v2.1.0-1.0.29`](https://github.com/google/ksp/releases/tag/2.1.0-1.0.29) [Compare Source](https://github.com/google/ksp/compare/2.1.0-1.0.28...2.1.0-1.0.29) #### Updates - KSP2: Sanitize dots to underscores in suffixes of internals by [@&#8203;ting-yuan](https://github.com/ting-yuan) in [#&#8203;2229](https://github.com/google/ksp/pull/2229) - KSP2: clean up legacy incremental code by [@&#8203;ting-yuan](https://github.com/ting-yuan) in [#&#8203;2231](https://github.com/google/ksp/pull/2231) #### Contributors Thanks to everyone who reported bugs and participated in discussions! ### [`v2.1.0-1.0.28`](https://github.com/google/ksp/releases/tag/2.1.0-1.0.28) [Compare Source](https://github.com/google/ksp/compare/2.0.21-1.0.28...2.1.0-1.0.28) #### What's Changed - Bump Kotlin to 2.1.0 by [@&#8203;mkmuir0](https://github.com/mkmuir0) in [#&#8203;2235](https://github.com/google/ksp/pull/2235) - Update intellij to 233.13135.128 by [@&#8203;ting-yuan](https://github.com/ting-yuan) in [#&#8203;2238](https://github.com/google/ksp/pull/2238) **Full Changelog**: <https://github.com/google/ksp/compare/2.1.0-RC2-1.0.28...2.1.0-1.0.28> ### [`v2.0.21-1.0.28`](https://github.com/google/ksp/releases/tag/2.0.21-1.0.28) [Compare Source](https://github.com/google/ksp/compare/2.0.21-1.0.27...2.0.21-1.0.28) #### Updates - \[KSP2] Running from command line never finishes [#&#8203;2176](https://github.com/google/ksp/issues/2176) - Introduce KspAATask.commandLineArgumentProviders [#&#8203;2201](https://github.com/google/ksp/issues/2201) #### Contributors Thanks to [@&#8203;GeorgCantor](https://github.com/GeorgCantor) and everyone who reported bugs and participated in discussions! ### [`v2.0.21-1.0.27`](https://github.com/google/ksp/releases/tag/2.0.21-1.0.27) [Compare Source](https://github.com/google/ksp/compare/2.0.21-1.0.26...2.0.21-1.0.27) #### Bugs Fixed - KSP2: KtInvalidLifetimeOwnerAccessException: Access to invalid KtAlwaysAccessibleLifetimeToken: PSI has changed since creation [#&#8203;1854](https://github.com/google/ksp/issues/1854) - \[KSP2] getSymbolsWithAnnotation() doesn't work if the annotation is an alias in KOTLIN\_LIB [#&#8203;2024](https://github.com/google/ksp/issues/2024) - KotlinSymbolProcessingExtension leaks files due to URLClassLoader not being closed [#&#8203;2159](https://github.com/google/ksp/issues/2159) - Unresolvable iOS reference on Linux host [#&#8203;2173](https://github.com/google/ksp/issues/2173) - Fail to apply ksp before android [#&#8203;2174](https://github.com/google/ksp/issues/2174) - \[KSP2] Mangled names for internal functions are incorrect for Android modules [#&#8203;2180](https://github.com/google/ksp/issues/2180) - \[KSP2] JVM names for property getters/setters are incorrect if they start with "is" [#&#8203;2181](https://github.com/google/ksp/issues/2181) #### Contributors Thanks to [@&#8203;jonamireh](https://github.com/jonamireh), [@&#8203;kuanyingchou](https://github.com/kuanyingchou), [@&#8203;martinbonnin](https://github.com/martinbonnin), [@&#8203;pablobaxter](https://github.com/pablobaxter), [@&#8203;scott-pollom](https://github.com/scott-pollom), and everyone who reported bugs and participated in discussions! ### [`v2.0.21-1.0.26`](https://github.com/google/ksp/releases/tag/2.0.21-1.0.26) [Compare Source](https://github.com/google/ksp/compare/2.0.21-1.0.25...2.0.21-1.0.26) #### Bugs Fixed - A failure occurred while executing com.google.devtools.ksp.gradle.KspAAWorkerAction [#&#8203;1968](https://github.com/google/ksp/issues/1968) - \[KSP2] default value is null for nested annotation [#&#8203;2077](https://github.com/google/ksp/issues/2077) - \[KSP2] "internal" members are out of order in Resolver.getDeclarationsInSourceOrder() [#&#8203;1827](https://github.com/google/ksp/issues/1827) - \[KSP2] Resolver.getDeclarationsFromPackage() couldn't find Java declarations [#&#8203;1952](https://github.com/google/ksp/issues/1952) - \[KSP2] Property setter parameter name becomes value [#&#8203;1865](https://github.com/google/ksp/issues/1865) - \[KSP2] A failure occurred while executing com.google.devtools.ksp.gradle.KspAAWorkerAction [#&#8203;1941](https://github.com/google/ksp/issues/1941) - \[KSP2] NullPointerException when calling hasBackingField on properties of Enum declarations [#&#8203;1753](https://github.com/google/ksp/issues/1753) - JVM Module name is changed for libraries [#&#8203;2105](https://github.com/google/ksp/issues/2105) - \[KSP2] asMemberOf() is not working with Java sources [#&#8203;2051](https://github.com/google/ksp/issues/2051) - KSP2: implement KSPropertyDeclaration.findOverridee and Resolver.asMemberOf for java fields [#&#8203;1642](https://github.com/google/ksp/issues/1642) - \[KSP2] command line doesn't support absolute Windows paths [#&#8203;2046](https://github.com/google/ksp/issues/2046) - \[KSP2] NPE when getting annotation arguments on non-Jvm targets [#&#8203;1823](https://github.com/google/ksp/issues/1823) - \[KSP2] Resolver.mapToJvmSignature() is not consistent [#&#8203;2109](https://github.com/google/ksp/issues/2109) - \[KSP2] Default annotation argument values are sometimes missing [#&#8203;2107](https://github.com/google/ksp/issues/2107) - \[KSP2] KSFunctionDeclaration.asMemberOf doesn't work sometimes [#&#8203;2116](https://github.com/google/ksp/issues/2116) - \[KSP2] Qualified names of nested annotations from JAVA\_LIB is null [#&#8203;2033](https://github.com/google/ksp/issues/2033) - \[KSP2] Class literal annotation default values resolve to error types [#&#8203;1910](https://github.com/google/ksp/issues/1910) - KaFirPsiJavaTypeParameterSymbol cannot be cast to KaFirTypeParameterSymbol [#&#8203;2119](https://github.com/google/ksp/issues/2119) - KSP memory leak in Android build [#&#8203;2073](https://github.com/google/ksp/issues/2073) - \[KSP2] KSClassDeclaration.asType(emptyList()) fails after Resolver.getSymbolsWithAnnotation() call [#&#8203;2094](https://github.com/google/ksp/issues/2094) - KSValueArgumentImpl doesn't implement .equals() in KSP2 [#&#8203;2091](https://github.com/google/ksp/issues/2091) - \[KSP2] JvmName is ignored in annotation property getters [#&#8203;2148](https://github.com/google/ksp/issues/2148) - \[KSP2] Unable to get visibility of KSTypeAlias [#&#8203;2140](https://github.com/google/ksp/issues/2140) - Gradle kspKotlin task failed when upgrading to 2.0.20-1.0.25 [#&#8203;2123](https://github.com/google/ksp/issues/2123) - \[KSP2] Generic type arguments on typealiases are improperly forwarded to the KSType [#&#8203;2088](https://github.com/google/ksp/issues/2088) - java.lang.IllegalStateException: Storage for \[...] is already registered with 2.0.20-1.0.24 [#&#8203;2072](https://github.com/google/ksp/issues/2072) **Full Changelog**: <https://github.com/google/ksp/compare/911690b86b60a0299af0e86b6abcf18d8abb003b...2.0.21-1.0.26> #### Contributors Thanks to [@&#8203;ansman](https://github.com/ansman), [@&#8203;asapha](https://github.com/asapha), [@&#8203;kaeawc](https://github.com/kaeawc), [@&#8203;kuanyingchou](https://github.com/kuanyingchou), [@&#8203;scott-pollom](https://github.com/scott-pollom), and everyone who reported bugs and participated in discussions! ### [`v2.0.21-1.0.25`](https://github.com/google/ksp/releases/tag/2.0.21-1.0.25) [Compare Source](https://github.com/google/ksp/compare/2.0.20-1.0.25...2.0.21-1.0.25) #### What's Changed - UPDATE\_KOTLIN\_VERSION: 2.0.21 by [@&#8203;ting-yuan](https://github.com/ting-yuan) in [#&#8203;2145](https://github.com/google/ksp/pull/2145) **Full Changelog**: <https://github.com/google/ksp/compare/2.0.21-RC-1.0.25...2.0.21-1.0.25> ### [`v2.0.20-1.0.25`](https://github.com/google/ksp/releases/tag/2.0.20-1.0.25) [Compare Source](https://github.com/google/ksp/compare/2.0.20-1.0.24...2.0.20-1.0.25) #### Bugs Fixed Inlined JVM name is not correct [#&#8203;1493](https://github.com/google/ksp/issues/1493) \[KSP2] NullPointerException when getting name of nested annotation [#&#8203;1963](https://github.com/google/ksp/issues/1963) \[KSP2] The status was unresolved for FirSimpleFunctionImpl [#&#8203;1938](https://github.com/google/ksp/issues/1938) \[KSP2] Class values in type annotations get resolved to error type [#&#8203;1933](https://github.com/google/ksp/issues/1933) \[KSP2] Comparing KSType leads to exception [#&#8203;1918](https://github.com/google/ksp/issues/1918) \[KSP2] Can't find values in repeatable annotations [#&#8203;1883](https://github.com/google/ksp/issues/1883) incremental: aggregating outputs should always be invalidated [#&#8203;2027](https://github.com/google/ksp/issues/2027) \[KSP2] Not yet implemented: KSValueArgumentLiteImpl.getLocation [#&#8203;2048](https://github.com/google/ksp/issues/2048) \[KSP2] Not yet implemented: KSValueArgumentImpl.getParent [#&#8203;2049](https://github.com/google/ksp/issues/2049) getSymbolsWithAnnotation returns copy function from data class [#&#8203;1996](https://github.com/google/ksp/issues/1996) \[KSP2] Annotations got use-site target when there are none specified [#&#8203;1882](https://github.com/google/ksp/issues/1882) getting null pointer exception [#&#8203;1929](https://github.com/google/ksp/issues/1929) \[KSP2] Calling getDeclarationsInSourceOrder throws KotlinIllegalStateExceptionWithAttachments [#&#8203;1930](https://github.com/google/ksp/issues/1930) \[KSP2] A failure occurred while executing com.google.devtools.ksp.gradle.KspAAWorkerAction [#&#8203;1941](https://github.com/google/ksp/issues/1941) KSP2: Resolver.getJvmNames doesn't work for inline and internal classes [#&#8203;1640](https://github.com/google/ksp/issues/1640) kspCaches don't work together with Gradle build cache [#&#8203;2042](https://github.com/google/ksp/issues/2042) #### Contributors Thank you so much! [@&#8203;ansman](https://github.com/ansman), [@&#8203;kuanyingchou](https://github.com/kuanyingchou) **Full Changelog**: <https://github.com/google/ksp/compare/2.0.20-1.0.24...2.0.20-1.0.25> ### [`v2.0.20-1.0.24`](https://github.com/google/ksp/releases/tag/2.0.20-1.0.24) [Compare Source](https://github.com/google/ksp/compare/2.0.10-1.0.24...2.0.20-1.0.24) #### What's Changed - UPDATE\_KOTLIN\_VERSION: 2.0.20 by [@&#8203;ting-yuan](https://github.com/ting-yuan) in [#&#8203;2040](https://github.com/google/ksp/pull/2040) ### [`v2.0.10-1.0.24`](https://github.com/google/ksp/releases/tag/2.0.10-1.0.24) [Compare Source](https://github.com/google/ksp/compare/2.0.0-1.0.24...2.0.10-1.0.24) #### What's Changed - UPDATE\_KOTLIN\_VERSION: 2.0.10 by [@&#8203;ting-yuan](https://github.com/ting-yuan) in [#&#8203;2022](https://github.com/google/ksp/pull/2022) ### [`v2.0.0-1.0.24`](https://github.com/google/ksp/releases/tag/2.0.0-1.0.24) [Compare Source](https://github.com/google/ksp/compare/2.0.0-1.0.23...2.0.0-1.0.24) #### What's Changed [#&#8203;2013](https://github.com/google/ksp/issues/2013) Handle edge cases of KtAnnotated.annotations [#&#8203;2009](https://github.com/google/ksp/issues/2009) Fix :kotlin-analysis-api:shadowJar failing on Windows [#&#8203;2006](https://github.com/google/ksp/issues/2006) Use symbol-processing-aa-embeddable in Gradle #### Bugs Fixed [#&#8203;1956](https://github.com/google/ksp/issues/1956) IllegalAccessError in Dagger with KSP2.0.0-1.0.22 and KSP2 [#&#8203;1998](https://github.com/google/ksp/issues/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`](https://github.com/google/ksp/compare/e8807446b16ba19e110cc23f6b852054614f7ec8...c63864cc1268bcb1c83e058494b6ff4b25947251) ### [`v2.0.0-1.0.23`](https://github.com/google/ksp/releases/tag/2.0.0-1.0.23) [Compare Source](https://github.com/google/ksp/compare/2.0.0-1.0.22...2.0.0-1.0.23) #### Issues fixed - \[KSP2] Nullable type arg type becomes non-null after replace() call [#&#8203;1856](https://github.com/google/ksp/issues/1856) - Annotations on enum entires on K2 are missing [#&#8203;1962](https://github.com/google/ksp/issues/1962) - Got IllegalStateException when calling replace() on error types [#&#8203;1960](https://github.com/google/ksp/issues/1960) - \[KSP2] Resolver.getJvmCheckedException doesn't work on property accessors [#&#8203;1900](https://github.com/google/ksp/issues/1900) - \[KSP2] Property getter JVM names in data classes become componentN instead of getXXX [#&#8203;1958](https://github.com/google/ksp/issues/1958) - \[KSP2] Resolver.mapToJvmSignature doesn't unwrap inline classes [#&#8203;1859](https://github.com/google/ksp/issues/1859) - \[KSP2] KSFunctionDeclaration.asMemberOf does not return correct types [#&#8203;1919](https://github.com/google/ksp/issues/1919) - implement getOwnerJvmClassName [#&#8203;1979](https://github.com/google/ksp/issues/1979) - \[KSP2] KSPropertyDeclaration.hasBackingField returns inconsistent results [#&#8203;1939](https://github.com/google/ksp/issues/1939) - \[KSP2] Annotations on extension receivers are missing [#&#8203;1899](https://github.com/google/ksp/issues/1899) ### [`v2.0.0-1.0.22`](https://github.com/google/ksp/releases/tag/2.0.0-1.0.22) [Compare Source](https://github.com/google/ksp/compare/2.0.0-1.0.21...2.0.0-1.0.22) #### 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 [#&#8203;1908](https://github.com/google/ksp/issues/1908) KSP2: Calling KSP2 in programs does not appear to work on macOS or Windows [#&#8203;1917](https://github.com/google/ksp/issues/1917) KSP2's symbol-processing-aa-embeddable artifact exposes an unresolvable pre-release kotlin 2.0.20 dependency [#&#8203;1911](https://github.com/google/ksp/issues/1911) NoSuchMethodError when running KSP2 with Dagger (KSP 2.0.0-1.0.21) [#&#8203;1909](https://github.com/google/ksp/issues/1909) KSP2: default annotation arguments no longer work in 1.0.21 [#&#8203;1232](https://github.com/google/ksp/issues/1232) Expose simple names on a missing types's synthetic declaration [#&#8203;1857](https://github.com/google/ksp/issues/1857) \[KSP2] Modifiers are missing for property accessors [#&#8203;1924](https://github.com/google/ksp/issues/1924) \[KSP2] Type arg becomes '\*' after calling KSType.replace() with an error type [#&#8203;1948](https://github.com/google/ksp/issues/1948) KSP2 default annotation KClass values for built-in types use java.lang.\* versions #### What's Changed - Include type hint into KSErrorType. by [@&#8203;Jeffset](https://github.com/Jeffset) in [#&#8203;1848](https://github.com/google/ksp/pull/1848) - Implement Resolver.getModuleName API by [@&#8203;ZacSweers](https://github.com/ZacSweers) in [#&#8203;1847](https://github.com/google/ksp/pull/1847) - Patch AA service files in renamed uber jar by [@&#8203;ting-yuan](https://github.com/ting-yuan) in [#&#8203;1867](https://github.com/google/ksp/pull/1867) - fix annotation default value parsing for arrays and class literals. by [@&#8203;neetopia](https://github.com/neetopia) in [#&#8203;1871](https://github.com/google/ksp/pull/1871) - fix package name for library based symbols by [@&#8203;neetopia](https://github.com/neetopia) in [#&#8203;1873](https://github.com/google/ksp/pull/1873) - Do not index classpath in declaration provider by [@&#8203;ting-yuan](https://github.com/ting-yuan) in [#&#8203;1870](https://github.com/google/ksp/pull/1870) - check functional interface for modifiers by [@&#8203;neetopia](https://github.com/neetopia) in [#&#8203;1872](https://github.com/google/ksp/pull/1872) - Annotation default java by [@&#8203;neetopia](https://github.com/neetopia) in [#&#8203;1879](https://github.com/google/ksp/pull/1879) - fix type parameter bounds by [@&#8203;neetopia](https://github.com/neetopia) in [#&#8203;1880](https://github.com/google/ksp/pull/1880) - Add command line parser and entry points by [@&#8203;ting-yuan](https://github.com/ting-yuan) in [#&#8203;1885](https://github.com/google/ksp/pull/1885) - KSP2: Fix support of wasm by [@&#8203;ting-yuan](https://github.com/ting-yuan) in [#&#8203;1888](https://github.com/google/ksp/pull/1888) - Return KSClassDeclarationEnumEntryImpl for enum entry annotation values. by [@&#8203;neetopia](https://github.com/neetopia) in [#&#8203;1881](https://github.com/google/ksp/pull/1881) - Reuse Kotlin indexes in incremental providers by [@&#8203;ting-yuan](https://github.com/ting-yuan) in [#&#8203;1891](https://github.com/google/ksp/pull/1891) - special handling for java property accessors override checking by [@&#8203;neetopia](https://github.com/neetopia) in [#&#8203;1894](https://github.com/google/ksp/pull/1894) - KSP2: Reuse Java indexes by [@&#8203;ting-yuan](https://github.com/ting-yuan) in [#&#8203;1895](https://github.com/google/ksp/pull/1895) - Incremental: fix roots from getSealedSubclasses by [@&#8203;ting-yuan](https://github.com/ting-yuan) in [#&#8203;1893](https://github.com/google/ksp/pull/1893) - use safe cast for annotation type to declaration resolution by [@&#8203;neetopia](https://github.com/neetopia) in [#&#8203;1902](https://github.com/google/ksp/pull/1902) **Full Changelog**: <https://github.com/google/ksp/compare/2.0.0-1.0.21...2.0.0-1.0.22> </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yMzEuMSIsInVwZGF0ZWRJblZlciI6IjQzLjI1My4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->
renovate added 1 commit 2026-06-28 23:33:54 -07:00
Update ksp to v2.3.9
Some checks failed
gitleaks / scan (push) Failing after 1s
gitleaks / scan (pull_request) Failing after 1s
e3fe55921d
renovate changed title from Update ksp to v2.3.9 to Update dependency com.google.devtools.ksp to v2.3.9 2026-07-07 00:07:51 -07:00
renovate force-pushed renovate/ksp from e3fe55921d to b2f42c8f76 2026-07-10 00:11:55 -07:00 Compare
renovate changed title from Update dependency com.google.devtools.ksp to v2.3.9 to Update dependency com.google.devtools.ksp to v2.3.10 2026-07-10 00:12:01 -07:00
Some checks failed
gitleaks / scan (push) Failing after 1s
gitleaks / scan (pull_request) Failing after 1s
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/ksp:renovate/ksp
git checkout renovate/ksp

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git checkout main
git merge --no-ff renovate/ksp
git checkout renovate/ksp
git rebase main
git checkout main
git merge --ff-only renovate/ksp
git checkout renovate/ksp
git rebase main
git checkout main
git merge --no-ff renovate/ksp
git checkout main
git merge --squash renovate/ksp
git checkout main
git merge --ff-only renovate/ksp
git checkout main
git merge renovate/ksp
git push origin main
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Sulkta-OSS/varroa#13
No description provided.