Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jan 2, 2026

This PR contains the following updates:

Package Change Age Confidence
dev.zacsweers.metro 0.9.20.9.3 age confidence

Release Notes

ZacSweers/metro (dev.zacsweers.metro)

v0.9.3

Compare Source

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!


Configuration

📅 Schedule: 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 was generated by Mend Renovate. View the repository job log.

@WhosNickDoglio WhosNickDoglio merged commit 99e3473 into trunk Jan 2, 2026
11 checks passed
@renovate renovate bot deleted the renovate/dev.zacsweers.metro-0.x branch January 2, 2026 19:57
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.

2 participants