Skip to content

Bump dev.zacsweers.metro:gradle-plugin from 0.9.2 to 0.9.3#121

Merged
technoir42 merged 1 commit intomainfrom
dependabot/gradle/dev.zacsweers.metro-gradle-plugin-0.9.3
Jan 6, 2026
Merged

Bump dev.zacsweers.metro:gradle-plugin from 0.9.2 to 0.9.3#121
technoir42 merged 1 commit intomainfrom
dependabot/gradle/dev.zacsweers.metro-gradle-plugin-0.9.3

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 5, 2026

Bumps dev.zacsweers.metro:gradle-plugin from 0.9.2 to 0.9.3.

Release notes

Sourced from dev.zacsweers.metro:gradle-plugin's releases.

0.9.3

Happy new year!

Enhancements

  • [FIR] Add diagnostic for multiple graph-like annotations on a single declaration.
  • [IR] Stub @Binds expressions in origin points rather than graphs. This reduces unnecessary extra generated functions.
  • [IR] Generate reusable getters for scalar-only dependencies that are used multiple times. This helps avoid MethodTooLargeException errors in the JVM.
  • [IR] Detect suspicious member injections from inherited inject functions too.
  • [IR] Don't try to validate graphs if QualifierOverrideMismatch errors were reported prior to graph validation. This helps reduce noise in failure cases, as it would otherwise also likely report MissingBinding errors caused by the source of the QualifierOverrideMismatch error.

Fixes

  • [FIR, Anvil Interop] Fix rank-based binding replacements getting dropped for multi-contribution classes in root graphs when contributions are from external modules.
  • [FIR] Named annotation arguments in different order from declared parameters getting silently skipped.
  • [FIR] Fix Map<K, Provider<V>> parameters to @Provides functions mistakenly unwrapping the Provider value type.
  • [FIR] Disallow star projections in @ElementsIntoSet binding types.
  • [FIR] Require exactly one generic type argument @ElementsIntoSet binding types.
  • [IR, Anvil Interop] Fix rank-based binding replacements getting dropped for multi-contribution classes in graph extensions when contributions are from external modules.
  • [IR] Prohibit duplicate map keys.
  • [IR] Fix propagation of scoped multibinding sources to graph extensions.
  • [IR] Don't eagerly validate duplicate bindings (only report them if used).
  • [IC] Fix member injection metadata not always being written and causing IC issues with member inject function transformation.
  • [Gradle] Report all tested Kotlin versions when emitting compatibility warnings.

Changes

  • [FIR] Change SUSPICIOUS_MEMBER_INJECT_FUNCTION diagnostic to be a warning instead of an error.
  • Remove testing of 2.3.0 pre-releases. IntelliJ stable currently builds off Kotlin 2.3.2x and Android Studio stable currently points to Kotlin 2.2.2x.

Contributors

Special thanks to the following contributors for contributing to this release!

What's Changed

... (truncated)

Changelog

Sourced from dev.zacsweers.metro:gradle-plugin's changelog.

0.9.3

2026-01-02

Happy new year!

Enhancements

  • [FIR] Add diagnostic for multiple graph-like annotations on a single declaration.
  • [IR] Stub @Binds expressions in origin points rather than graphs. This reduces unnecessary extra generated functions.
  • [IR] Generate reusable getters for scalar-only dependencies that are used multiple times. This helps avoid MethodTooLargeException errors in the JVM.
  • [IR] Detect suspicious member injections from inherited inject functions too.
  • [IR] Don't try to validate graphs if QualifierOverrideMismatch errors were reported prior to graph validation. This helps reduce noise in failure cases, as it would otherwise also likely report MissingBinding errors caused by the source of the QualifierOverrideMismatch error.

Fixes

  • [FIR, Anvil Interop] Fix rank-based binding replacements getting dropped for multi-contribution classes in root graphs when contributions are from external modules.
  • [FIR] Named annotation arguments in different order from declared parameters getting silently skipped.
  • [FIR] Fix Map<K, Provider<V>> parameters to @Provides functions mistakenly unwrapping the Provider value type.
  • [FIR] Disallow star projections in @ElementsIntoSet binding types.
  • [FIR] Require exactly one generic type argument @ElementsIntoSet binding types.
  • [IR, Anvil Interop] Fix rank-based binding replacements getting dropped for multi-contribution classes in graph extensions when contributions are from external modules.
  • [IR] Prohibit duplicate map keys.
  • [IR] Fix propagation of scoped multibinding sources to graph extensions.
  • [IR] Don't eagerly validate duplicate bindings (only report them if used).
  • [IC] Fix member injection metadata not always being written and causing IC issues with member inject function transformation.
  • [Gradle] Report all tested Kotlin versions when emitting compatibility warnings.

Changes

  • [FIR] Change SUSPICIOUS_MEMBER_INJECT_FUNCTION diagnostic to be a warning instead of an error.
  • Remove testing of 2.3.0 pre-releases. IntelliJ stable currently builds off Kotlin 2.3.2x and Android Studio stable currently points to Kotlin 2.2.2x.

Contributors

Special thanks to the following contributors for contributing to this release!

Commits

Dependabot compatibility score

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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [dev.zacsweers.metro:gradle-plugin](https://github.com/ZacSweers/metro) from 0.9.2 to 0.9.3.
- [Release notes](https://github.com/ZacSweers/metro/releases)
- [Changelog](https://github.com/ZacSweers/metro/blob/main/CHANGELOG.md)
- [Commits](ZacSweers/metro@0.9.2...0.9.3)

---
updated-dependencies:
- dependency-name: dev.zacsweers.metro:gradle-plugin
  dependency-version: 0.9.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update java code labels Jan 5, 2026
@coderabbitai
Copy link

coderabbitai bot commented Jan 5, 2026

Important

Review skipped

Bot user detected.

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

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


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

@technoir42 technoir42 merged commit 457b863 into main Jan 6, 2026
5 checks passed
@technoir42 technoir42 deleted the dependabot/gradle/dev.zacsweers.metro-gradle-plugin-0.9.3 branch January 6, 2026 04:01
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