Commit 31905fa
authored
Update metro to v0.9.3 (#1684)
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [dev.zacsweers.metro](https://redirect.github.com/ZacSweers/metro) |
plugin | patch | `0.9.2` -> `0.9.3` |
|
[dev.zacsweers.metro:gradle-plugin](https://redirect.github.com/ZacSweers/metro)
| dependencies | patch | `0.9.2` -> `0.9.3` |
---
### Release Notes
<details>
<summary>ZacSweers/metro (dev.zacsweers.metro)</summary>
###
[`v0.9.3`](https://redirect.github.com/ZacSweers/metro/blob/HEAD/CHANGELOG.md#093)
[Compare
Source](https://redirect.github.com/ZacSweers/metro/compare/0.9.2...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!
- [@​JoelWilcox](https://redirect.github.com/JoelWilcox)
- [@​japplin](https://redirect.github.com/japplin)
- [@​vRallev](https://redirect.github.com/vRallev)
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **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.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Renovate
Bot](https://redirect.github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yNjQuMCIsInVwZGF0ZWRJblZlciI6IjM5LjI2NC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->1 parent c5d1155 commit 31905fa
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
0 commit comments