Skip to content

Bump the dependencies group in /service with 3 updates - #2151

Merged
copybara-service[bot] merged 1 commit into
mainfrom
test_983443202
Sep 21, 2026
Merged

copybara-service[bot] merged 1 commit into
mainfrom
test_983443202

Conversation

@copybara-service

Copy link
Copy Markdown
Contributor

Bump the dependencies group in /service with 3 updates

Bumps the dependencies group in /service with 3 updates: com.google.devtools.ksp:symbol-processing-api, androidx.room3:room3-compiler-processing-testing and org.jetbrains.kotlin:kotlin-maven-plugin.

Updates com.google.devtools.ksp:symbol-processing-api from 2.3.11 to 2.3.12

Release notes

Sourced from com.google.devtools.ksp:symbol-processing-api'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

Updates androidx.room3:room3-compiler-processing-testing from 3.0.2 to 3.0.3

Updates org.jetbrains.kotlin:kotlin-maven-plugin from 2.4.10 to 2.4.20

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Fixes #2146

FUTURE_COPYBARA_INTEGRATE_REVIEW=#2146 from google:dependabot/maven/service/dependencies-38df72858a aa393b4

Bumps the dependencies group in /service with 3 updates: [com.google.devtools.ksp:symbol-processing-api](https://github.com/google/ksp), androidx.room3:room3-compiler-processing-testing and org.jetbrains.kotlin:kotlin-maven-plugin.

Updates `com.google.devtools.ksp:symbol-processing-api` from 2.3.11 to 2.3.12
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/google/ksp/releases">com.google.devtools.ksp:symbol-processing-api's releases</a>.</em></p>
<blockquote>
<h2>2.3.12</h2>
<h2>What's Changed</h2>
<h3>Migrating Processors to Support Backing Fields</h3>
<p>This release introduces support for explicit backing fields (<a href="https://redirect.github.com/google/ksp/issues/2873">#2873</a>), which may now be returned by <code>Resolver.getSymbolsWithAnnotation</code>. To prevent breaking existing processors, new language features require an explicit opt-in.</p>
<p>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:</p>
<ul>
<li><code>Resolver.getSymbolsWithAnnotation</code>: The function now returns a <code>KSBackingField</code> if the given annotation targeted a field. Previously, if a field were targeted, the function would return a <code>KSProperty</code>.</li>
<li><code>Resolver.effectiveJavaModifiers</code>: The function returns fewer modifiers for a <code>KSPropertyDeclaration</code> 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 <code>KSBackingField</code> obtained from the property instead.</li>
</ul>
<p>Additionally, KSP now models Java fields as properties that always have backing fields. Some of the modifiers now apply to the backing field instead.</p>
<p>Processors adapting to new features must opt in via both of the following steps simultaneously (failing to do both may lead to undefined behavior):</p>
<ol>
<li>The processor should call the <code>registerProcessorForNewFeatures</code> function in <code>SymbolProcessorEnvironment</code> immediately when created (and only once). Example: <a href="https://github.com/google/ksp/blob/958be42cfd07943f901727d12ab7fec6540d543f/test-utils/src/main/kotlin/com/google/devtools/ksp/processor/AbstractTestProcessor.kt#L30">AbstractTestProcessor.kt#L30</a></li>
<li>All implementations of <code>KSVisitor</code> should move to <code>KSVisitorNext</code>. If their processor code does not directly implement the interface but instead <strong>extends</strong> one of the KSP-provided visitors (such as <code>KSTopDownVisitor</code>), they should instead extend <code>KSTopDownVisitor(enableNewFeatures = true)</code> and override <code>visitBackingField</code> depending on their code and needs.</li>
</ol>
<p>Let us know if you run into unexpected behavior!</p>
<h3>Bug Fixes</h3>
<ul>
<li>Fix Resolver.getDeclarationsFromPackage returning incomplete declarations from KLibs in Kotlin Multiplatform (<a href="https://redirect.github.com/google/ksp/issues/2396">#2396</a>)</li>
<li>Fix KSP CLI process hanging indefinitely when a processor throws an unhandled exception (<a href="https://redirect.github.com/google/ksp/issues/3120">#3120</a>)</li>
<li>Fix implicit task dependency error between KSP and Android Lint in Android KMP (<a href="https://redirect.github.com/google/ksp/issues/3128">#3128</a>)</li>
<li>Fix NullPointerException by registering PluginProblemReporter as an application service (<a href="https://redirect.github.com/google/ksp/issues/3140">#3140</a>)</li>
<li>Do not mark companion objects as JAVA_STATIC in Resolver.effectiveJavaModifiers (<a href="https://redirect.github.com/google/ksp/issues/3125">#3125</a>)</li>
<li>Fix JAVA_STATIC modifier resolution for <a href="https://github.com/JvmStatic"><code>@​JvmStatic</code></a> members in Resolver.effectiveJavaModifiers (<a href="https://redirect.github.com/google/ksp/issues/3124">#3124</a>)</li>
<li>Update minimum supported Android Gradle Plugin (AGP) version to 8.12.0 (<a href="https://redirect.github.com/google/ksp/issues/3149">#3149</a>)</li>
</ul>
<h2>New Contributors</h2>
<p>Thanks to <a href="https://github.com/KlyneChrysler"><code>@​KlyneChrysler</code></a>, <a href="https://github.com/budindepunk"><code>@​budindepunk</code></a>, and everyone who reported bugs and participated in discussions!</p>
<p><strong>Full Changelog</strong>: <a href="https://github.com/google/ksp/compare/2.3.11...2.3.12">https://github.com/google/ksp/compare/2.3.11...2.3.12</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/google/ksp/commit/a3c38590913b863cc6b73b41d54ff8afa625f642"><code>a3c3859</code></a> Format Resolver file</li>
<li><a href="https://github.com/google/ksp/commit/a614317b071a434139689d8fc0f5c1377b4f0d44"><code>a614317</code></a> Fix grammatical errors in Resolver doc comments</li>
<li><a href="https://github.com/google/ksp/commit/c19f255fd96877bbc5b1b18c227c2a3d56883a24"><code>c19f255</code></a> Merge equal EXPECT NEXT and EXPECT CURRENT in javaBackingFieldUsedInKotlin</li>
<li><a href="https://github.com/google/ksp/commit/d3df886048fc6512a06649371b2c1917863160cf"><code>d3df886</code></a> Add test for getting default annotation values in KMP</li>
<li><a href="https://github.com/google/ksp/commit/3bcac2082b36d3be96ea37070fa007d26233af88"><code>3bcac20</code></a> Mark testJavaBackingFieldUsedInKotlin as fixed</li>
<li><a href="https://github.com/google/ksp/commit/e74bb5f56328808f1ad37ba62e66ec3a8e72976e"><code>e74bb5f</code></a> Update expected test output in libOrigins</li>
<li><a href="https://github.com/google/ksp/commit/c9b1d406ed5bebb34411c4036fecbf0b014b013a"><code>c9b1d40</code></a> Use KSSyntheticJavaBackingFieldImpl in KSPropertyDeclarationImpl</li>
<li><a href="https://github.com/google/ksp/commit/afefe15219f9ef70363390236eca8e012c12f6d2"><code>afefe15</code></a> Add KSSyntheticJavaBackingFieldImpl</li>
<li><a href="https://github.com/google/ksp/commit/2da07c146f61caa0428c97df1152466a7a2aa7d5"><code>2da07c1</code></a> Add test for missing synthetic Java fields</li>
<li><a href="https://github.com/google/ksp/commit/70335307edb9381edd707e5c0eabedf22300c3ab"><code>7033530</code></a> Fix visibility modifiers for Kotlin-based backing fields</li>
<li>Additional commits viewable in <a href="https://github.com/google/ksp/compare/2.3.11...2.3.12">compare view</a></li>
</ul>
</details>
<br />

Updates `androidx.room3:room3-compiler-processing-testing` from 3.0.2 to 3.0.3

Updates `org.jetbrains.kotlin:kotlin-maven-plugin` from 2.4.10 to 2.4.20

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions

</details>

Fixes #2146

COPYBARA_INTEGRATE_REVIEW=#2146 from google:dependabot/maven/service/dependencies-38df72858a aa393b4
PiperOrigin-RevId: 985325047
@copybara-service
copybara-service Bot merged commit f77b12e into main Sep 21, 2026
2 checks passed
@copybara-service
copybara-service Bot deleted the test_983443202 branch September 21, 2026 16:25
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.

1 participant