Skip to content

Update ksp monorepo to v2.3.13 - #52

Open
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/ksp-monorepo
Open

renovate[bot] wants to merge 1 commit into
masterfrom
renovate/ksp-monorepo

Conversation

@renovate

@renovate renovate Bot commented Sep 10, 2025 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
com.google.devtools.ksp (source) 2.2.10-2.0.2 → 2.3.13 age confidence
com.google.devtools.ksp:com.google.devtools.ksp.gradle.plugin (source) 2.2.10-2.0.2 → 2.3.13 age confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

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

v2.3.13

Compare Source

What's Changed

  • Add KSContextParameter and KSFunctionDeclaration.contextParameters to the API (#​3216)
  • Improve diagnostics by returning last round dismissible errors when KSP fails (#​3196)
  • Add opt-in processor classloader caching (ksp.classloader.cache.processors=true) to speed up multi-module builds (#​3210)
  • Avoid clearing binary and library caches between KSP rounds (#​3235)
  • Optimize classpath scanning, dependency indexing, and package directory lookups during incremental compilation (#​3254)
  • Backport IntelliJ Platform CoreJarHandler to prevent non-deterministic missing jar entries (#​3240)
  • Fix getting annotation default values from KLibs in Kotlin Multiplatform (#​2356)
  • Fix resolving aliased annotations in PsiResolutionStrategy (#​2997)
  • Fix Gradle project isolation detection when configured via command-line flags (#​3188)
  • Fix duplicate declaration generation in intermediate Kotlin Multiplatform metadata compilations (#​3229)

Contributors

Full Changelog: google/ksp@2.3.12...2.4.0

v2.3.12

Compare Source

What's Changed

Migrating Processors to Support Backing Fields

This release introduces support for explicit backing fields (#​2873), which may now be returned by Resolver.getSymbolsWithAnnotation. To prevent breaking existing processors, new language features require an explicit opt-in.

More generally, the KSP API now explicitly models backing fields for properties. The following is an exhaustive list of functions in KSP API where processor may observe the change after opting in:

  • Resolver.getSymbolsWithAnnotation: The function now returns a KSBackingField if the given annotation targeted a field. Previously, if a field were targeted, the function would return a KSProperty.
  • Resolver.effectiveJavaModifiers: The function returns fewer modifiers for a KSPropertyDeclaration if it has a backing field, since most of the JVM-specific annotations apply to the backing field. If you are interested in the JVM modifiers, you should call the function with the KSBackingField obtained from the property instead.

Additionally, KSP now models Java fields as properties that always have backing fields. Some of the modifiers now apply to the backing field instead.

Processors adapting to new features must opt in via both of the following steps simultaneously (failing to do both may lead to undefined behavior):

  1. The processor should call the registerProcessorForNewFeatures function in SymbolProcessorEnvironment immediately when created (and only once). Example: AbstractTestProcessor.kt#L30
  2. All implementations of KSVisitor should move to KSVisitorNext. If their processor code does not directly implement the interface but instead extends one of the KSP-provided visitors (such as KSTopDownVisitor), they should instead extend KSTopDownVisitor(enableNewFeatures = true) and override visitBackingField depending on their code and needs.

Let us know if you run into unexpected behavior!

Bug Fixes
  • Fix Resolver.getDeclarationsFromPackage returning incomplete declarations from KLibs in Kotlin Multiplatform (#​2396)
  • Fix KSP CLI process hanging indefinitely when a processor throws an unhandled exception (#​3120)
  • Fix implicit task dependency error between KSP and Android Lint in Android KMP (#​3128)
  • Fix NullPointerException by registering PluginProblemReporter as an application service (#​3140)
  • Do not mark companion objects as JAVA_STATIC in Resolver.effectiveJavaModifiers (#​3125)
  • Fix JAVA_STATIC modifier resolution for @​JvmStatic members in Resolver.effectiveJavaModifiers (#​3124)
  • Update minimum supported Android Gradle Plugin (AGP) version to 8.12.0 (#​3149)

New Contributors

Thanks to @​KlyneChrysler, @​budindepunk, and everyone who reported bugs and participated in discussions!

Full Changelog: google/ksp@2.3.11...2.3.12

v2.3.11

Compare Source

What's Changed

  • Support org.gradle.isolated-projects for project isolation (#​3051)
  • Fix premature kspDebugAndroidTest task skipping on Android library modules (#​3050)
  • Fix missing parent declaration exception for @NotNull annotations during incremental compilation (#​3030)
  • Clean output directories instead of skipping tasks when processor classpath transitions to empty (#​3046)
  • Fix build cache misses by marking KspGradleConfig.logLevel as @Internal (#​3039)
  • Add org.gradle.isolated-projects=true to KSP Gradle properties reference table (#​3076)
  • Add KSP Gradle properties reference table to README documentation (#​3070)
  • Document collection values in KSValueArgument.value (#​3069)
  • Update error messaging for ksp.useKSP2 deprecation notice (#​3066)

Contributors

Full Changelog: google/ksp@2.3.10...2.3.11

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). Note: Non-KMP projects are also affected. For migration details, see the documentation.

Contributors

Full Changelog: google/ksp@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: google/ksp@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: google/ksp@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: google/ksp@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: google/ksp@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: google/ksp@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: 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.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: google/ksp@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: 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


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 is behind base branch, 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 was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot force-pushed the renovate/ksp-monorepo branch from 0ee487f to 85ccbbd Compare September 13, 2025 19:01
@renovate renovate Bot changed the title Update ksp monorepo to v2.2.20-2.0.2 Update ksp monorepo to v2.2.20-2.0.3 Sep 13, 2025
@renovate
renovate Bot force-pushed the renovate/ksp-monorepo branch from 85ccbbd to c607702 Compare October 8, 2025 01:02
@renovate renovate Bot changed the title Update ksp monorepo to v2.2.20-2.0.3 Update ksp monorepo to v2.2.20-2.0.4 Oct 8, 2025
@renovate
renovate Bot force-pushed the renovate/ksp-monorepo branch from c607702 to a6d9df9 Compare October 22, 2025 05:01
@renovate renovate Bot changed the title Update ksp monorepo to v2.2.20-2.0.4 Update ksp monorepo to v2.3.0 Oct 22, 2025
@renovate
renovate Bot force-pushed the renovate/ksp-monorepo branch from a6d9df9 to 6d78915 Compare November 4, 2025 07:58
@renovate renovate Bot changed the title Update ksp monorepo to v2.3.0 Update ksp monorepo to v2.3.1 Nov 4, 2025
@renovate renovate Bot changed the title Update ksp monorepo to v2.3.1 Update ksp monorepo to v2.3.2 Nov 6, 2025
@renovate
renovate Bot force-pushed the renovate/ksp-monorepo branch from 6d78915 to 371250b Compare November 6, 2025 22:40
@renovate
renovate Bot force-pushed the renovate/ksp-monorepo branch from 371250b to c4014df Compare November 20, 2025 21:05
@renovate renovate Bot changed the title Update ksp monorepo to v2.3.2 Update ksp monorepo to v2.3.3 Nov 20, 2025
@renovate
renovate Bot force-pushed the renovate/ksp-monorepo branch from c4014df to cf175d2 Compare December 16, 2025 22:03
@renovate renovate Bot changed the title Update ksp monorepo to v2.3.3 Update ksp monorepo to v2.3.4 Dec 16, 2025
@renovate
renovate Bot force-pushed the renovate/ksp-monorepo branch from cf175d2 to ff449f6 Compare January 28, 2026 22:09
@renovate renovate Bot changed the title Update ksp monorepo to v2.3.4 Update ksp monorepo to v2.3.5 Jan 28, 2026
@renovate
renovate Bot force-pushed the renovate/ksp-monorepo branch from ff449f6 to d97121e Compare February 18, 2026 00:55
@renovate renovate Bot changed the title Update ksp monorepo to v2.3.5 Update ksp monorepo to v2.3.6 Feb 18, 2026
@renovate
renovate Bot force-pushed the renovate/ksp-monorepo branch from d97121e to 05a796f Compare April 23, 2026 02:05
@renovate renovate Bot changed the title Update ksp monorepo to v2.3.6 Update ksp monorepo to v2.3.7 Apr 23, 2026
@renovate
renovate Bot force-pushed the renovate/ksp-monorepo branch from 05a796f to db79285 Compare May 13, 2026 17:32
@renovate renovate Bot changed the title Update ksp monorepo to v2.3.7 Update ksp monorepo to v2.3.8 May 13, 2026
@renovate
renovate Bot force-pushed the renovate/ksp-monorepo branch from db79285 to d3fcc0c Compare May 27, 2026 00:09
@renovate renovate Bot changed the title Update ksp monorepo to v2.3.8 Update ksp monorepo to v2.3.9 May 27, 2026
@renovate
renovate Bot force-pushed the renovate/ksp-monorepo branch from d3fcc0c to 3aeb719 Compare July 9, 2026 22:29
@renovate renovate Bot changed the title Update ksp monorepo to v2.3.9 Update ksp monorepo to v2.3.10 Jul 9, 2026
@renovate
renovate Bot force-pushed the renovate/ksp-monorepo branch from 3aeb719 to d10f4c5 Compare August 15, 2026 11:15
@renovate renovate Bot changed the title Update ksp monorepo to v2.3.10 Update ksp monorepo to v2.3.11 Aug 15, 2026
@renovate
renovate Bot force-pushed the renovate/ksp-monorepo branch from d10f4c5 to 1eb5471 Compare September 10, 2026 01:29
@renovate renovate Bot changed the title Update ksp monorepo to v2.3.11 Update ksp monorepo to v2.3.12 Sep 10, 2026
@renovate
renovate Bot force-pushed the renovate/ksp-monorepo branch from 1eb5471 to 141ab85 Compare October 30, 2026 18:34
@renovate renovate Bot changed the title Update ksp monorepo to v2.3.12 Update ksp monorepo to v2.3.13 Oct 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants