Skip to content

Bump com.google.devtools.ksp from 2.3.11 to 2.3.12 - #3950

Merged
shobhitagarwal1612 merged 1 commit into
masterfrom
dependabot/gradle/master/com.google.devtools.ksp-2.3.12
Sep 19, 2026
Merged

shobhitagarwal1612 merged 1 commit into
masterfrom
dependabot/gradle/master/com.google.devtools.ksp-2.3.12

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 16, 2026 •

Copy link
Copy Markdown
Contributor

Bumps com.google.devtools.ksp from 2.3.11 to 2.3.12.

Release notes

Sourced from com.google.devtools.ksp's releases.

2.3.12

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

Commits
  • a3c3859 Format Resolver file
  • a614317 Fix grammatical errors in Resolver doc comments
  • c19f255 Merge equal EXPECT NEXT and EXPECT CURRENT in javaBackingFieldUsedInKotlin
  • d3df886 Add test for getting default annotation values in KMP
  • 3bcac20 Mark testJavaBackingFieldUsedInKotlin as fixed
  • e74bb5f Update expected test output in libOrigins
  • c9b1d40 Use KSSyntheticJavaBackingFieldImpl in KSPropertyDeclarationImpl
  • afefe15 Add KSSyntheticJavaBackingFieldImpl
  • 2da07c1 Add test for missing synthetic Java fields
  • 7033530 Fix visibility modifiers for Kotlin-based backing fields
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file java Pull requests that update java code labels Sep 16, 2026
@dependabot
dependabot Bot force-pushed the dependabot/gradle/master/com.google.devtools.ksp-2.3.12 branch from 3af391d to ca6380c Compare September 17, 2026 11:12
@dependabot
dependabot Bot force-pushed the dependabot/gradle/master/com.google.devtools.ksp-2.3.12 branch from ca6380c to 4e4a425 Compare September 17, 2026 15:42
@dependabot
dependabot Bot force-pushed the dependabot/gradle/master/com.google.devtools.ksp-2.3.12 branch from 4e4a425 to 333fb4a Compare September 17, 2026 16:12
@dependabot
dependabot Bot deployed to e2e-approval September 17, 2026 16:13 Active
@dependabot
dependabot Bot force-pushed the dependabot/gradle/master/com.google.devtools.ksp-2.3.12 branch from 333fb4a to 50bcbec Compare September 18, 2026 10:14
@dependabot
dependabot Bot force-pushed the dependabot/gradle/master/com.google.devtools.ksp-2.3.12 branch from 50bcbec to 3b0fdc6 Compare September 19, 2026 08:55
Bumps [com.google.devtools.ksp](https://github.com/google/ksp) from 2.3.11 to 2.3.12.
- [Release notes](https://github.com/google/ksp/releases)
- [Commits](google/ksp@2.3.11...2.3.12)

---
updated-dependencies:
- dependency-name: com.google.devtools.ksp
  dependency-version: 2.3.12
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/gradle/master/com.google.devtools.ksp-2.3.12 branch from 3b0fdc6 to 21bcef2 Compare September 19, 2026 08:57
@dependabot
dependabot Bot deployed to e2e-approval September 19, 2026 08:57 Active
@shobhitagarwal1612
shobhitagarwal1612 merged commit 24b7d1c into master Sep 19, 2026
17 checks passed
@shobhitagarwal1612
shobhitagarwal1612 deleted the dependabot/gradle/master/com.google.devtools.ksp-2.3.12 branch September 19, 2026 09:13

This branch was successfully deployed

1 active deployment
e2e-approval — 21bcef23 Deployed Sep 19, 2026 by dependabot[bot] via instrumentation-tests / request-approval #1193
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file java Pull requests that update java code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant