Skip to content

Bump dev.zacsweers.metro:gradle-plugin from 0.9.4 to 0.10.1#134

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/gradle/dev.zacsweers.metro-gradle-plugin-0.10.1
Closed

Bump dev.zacsweers.metro:gradle-plugin from 0.9.4 to 0.10.1#134
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/gradle/dev.zacsweers.metro-gradle-plugin-0.10.1

Conversation

@dependabot
Copy link
Contributor

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

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

Release notes

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

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.

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!

What's Changed

... (truncated)

Changelog

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

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!

0.10.0

2026-01-19

Behavior Changes

  • Enable contributesAsInject by default. See its docs for more details, but in short this means that @Inject is now optional on @ContributesBinding, @ContributesIntoSet, and @ContributesIntoMap annotated declarations.
    @ContributesBinding(AppScope::class)
    // @Inject // <-- now implicit!
    class TacoImpl(...) : Taco
  • [Gradle / FIR] Enable FIR hint generation by default on Kotlin 2.3.20-Beta1 or later.
    • By extension, this resolves Metro's most subscribed issue (#460) by enabling cross-module contribution/aggregation features in non-jvm/android compilations 🎉.
    • Note that there is a separate known kotlinc issue around qualifier annotations that affects native builds and is targeted for 2.3.20-Beta2. Follow #1556 for updates.

... (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)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update java code labels Jan 26, 2026
@coderabbitai
Copy link

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

Bumps [dev.zacsweers.metro:gradle-plugin](https://github.com/ZacSweers/metro) from 0.9.4 to 0.10.1.
- [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.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/gradle/dev.zacsweers.metro-gradle-plugin-0.10.1 branch from e005d70 to 8b6a948 Compare January 26, 2026 21:23
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 29, 2026

Superseded by #136.

@dependabot dependabot bot closed this Jan 29, 2026
@dependabot dependabot bot deleted the dependabot/gradle/dev.zacsweers.metro-gradle-plugin-0.10.1 branch January 29, 2026 02:44
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.

0 participants