Skip to content

Bump dev.zacsweers.metro:gradle-plugin from 0.9.4 to 0.10.2#136

Merged
technoir42 merged 1 commit intomainfrom
dependabot/gradle/dev.zacsweers.metro-gradle-plugin-0.10.2
Feb 3, 2026
Merged

Bump dev.zacsweers.metro:gradle-plugin from 0.9.4 to 0.10.2#136
technoir42 merged 1 commit intomainfrom
dependabot/gradle/dev.zacsweers.metro-gradle-plugin-0.10.2

Conversation

@dependabot
Copy link
Contributor

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

Bumps dev.zacsweers.metro:gradle-plugin from 0.9.4 to 0.10.2.

Release notes

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

0.10.2

Enhancements

  • [FIR] Add a diagnostic warning for @IntoSet callables returning collections, as these probably intended to use @ElementsIntoSet.
  • [IR] Automatically patch #1556 issues between Kotlin versions [2.3.0 - 2.3.20-Beta2) for any klib-using compilation or JVM compilation that enables the -Xannotations-in-metadata compiler option (which isn't enabled by default). This auto-patching is best effort and a fix in kotlinx is targeting 2.3.20-Beta2. If you have any issues, it can be disabled via the patchKlibParams Gradle DSL property.

Fixes

  • [IR] Don't try class binding lookups for nullable types. These must always be explicitly provided.
  • [IR] Disambiguate return-type overloads of generated @Binds functions for @Contributes annotations that contribute multiple interfaces of the same simple name but different package name.
  • [IR] Skip assisted parameters when validating parameter type matching on native compilations.

What's Changed

Full Changelog: ZacSweers/metro@0.10.1...0.10.2

0.10.1

Enhancements

  • [IR] Add a dedicated UNUSED_GRAPH_INPUT diagnostic for unusedGraphInputsSeverity option.
  • [IR] Reduce memory usage when processing long graph extension chains. This is a combination of a few things:
    • Using a (shaded) ScatterMap implementation from androidx.collections
    • Relinquishing binding lookup caches after graph validation completes
    • Caching IrBinding instances
    • Route almost all bindings through BindingLookup for lazy lookups rather than eagerly adding to the binding graph.
  • [IR] Don't report subtypes of Any in similar binding hints.
  • [IR] Don't report multibinding elements in similar binding hints (only report the multibinding itself if relevant).
  • [Graph Reporting] Since all bindings are lazily retrieved from BindingLookup now, this will also cut down graph analysis report sizes, as they should now be almost entirely free of unused bindings.

... (truncated)

Changelog

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

0.10.2

2026-01-28

Enhancements

  • [FIR] Add a diagnostic warning for @IntoSet callables returning collections, as these probably intended to use @ElementsIntoSet.
  • [IR] Automatically patch #1556 issues between Kotlin versions [2.3.0 - 2.3.20-Beta2) for any klib-using compilation or JVM compilation that enables the -Xannotations-in-metadata compiler option (which isn't enabled by default). This auto-patching is best effort and a fix in kotlinx is targeting 2.3.20-Beta2. If you have any issues, it can be disabled via the patchKlibParams Gradle DSL property.

Fixes

  • [IR] Don't try class binding lookups for nullable types. These must always be explicitly provided.
  • [IR] Disambiguate return-type overloads of generated @Binds functions for @Contributes annotations that contribute multiple interfaces of the same simple name but different package name.
  • [IR] Skip assisted parameters when validating parameter type matching on native compilations.

0.10.1

2026-01-23

Enhancements

  • [IR] Add a dedicated UNUSED_GRAPH_INPUT diagnostic for unusedGraphInputsSeverity option.
  • [IR] Reduce memory usage when processing long graph extension chains. This is a combination of a few things:
    • Using a (shaded) ScatterMap implementation from androidx.collections
    • Relinquishing binding lookup caches after graph validation completes
    • Caching IrBinding instances
    • Route almost all bindings through BindingLookup for lazy lookups rather than eagerly adding to the binding graph.
  • [IR] Don't report subtypes of Any in similar binding hints.
  • [IR] Don't report multibinding elements in similar binding hints (only report the multibinding itself if relevant).
  • [Graph Reporting] Since all bindings are lazily retrieved from BindingLookup now, this will also cut down graph analysis report sizes, as they should now be almost entirely free of unused bindings.

Fixes

  • [IR] Fix exclusions not inherited from parent graphs.
  • [IR] When reporting unused graph inputs on graph extensions, report the diagnostic on the original source declaration if possible.
  • [IR/Native] Fix parameter type equality check in native compilations in constructor-injected class factories.
  • [IR/Compat] Fix compatibiltiy for source-less diagnostics in Kotlin 2.3.20-Beta1.

Contributors

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

... (truncated)

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.4 to 0.10.2.
- [Release notes](https://github.com/ZacSweers/metro/releases)
- [Changelog](https://github.com/ZacSweers/metro/blob/main/CHANGELOG.md)
- [Commits](ZacSweers/metro@0.9.4...0.10.2)

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

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 29, 2026
@coderabbitai
Copy link

coderabbitai bot commented Jan 29, 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.

  • 🔍 Trigger a full review

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

@technoir42 technoir42 merged commit 6fe355f into main Feb 3, 2026
5 checks passed
@technoir42 technoir42 deleted the dependabot/gradle/dev.zacsweers.metro-gradle-plugin-0.10.2 branch February 3, 2026 21:14
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