Update dependency dev.zacsweers.metro:dev.zacsweers.metro.gradle.plugin to v1.3.0#355
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.2.1→1.3.0Release Notes
ZacSweers/metro (dev.zacsweers.metro:dev.zacsweers.metro.gradle.plugin)
v1.3.0Compare Source
2026-07-01
New
[IR] Revamp graph-validation diagnostics with structured output. Taking some inspiration from Rust error messages.
Stable diagnostic IDs
Compact dependency chains
Aligned binding traces
Source snippets
help:/note:guidance in messages (replaces the previous(hint)sections)Per-diagnostic docs links
Diagnostics now wrap to 100 columns and start on their own line after the compiler location prefix
Example plain output
Example rich output
(note that in rich terminals this would have color and markup too!)
[runtime/JVM] Add experimental runtime tracing for generated graph code, backed by AndroidX Tracing 2.x. Enable it with
metro.enableRuntimeTracing. See the runtime tracing performance docs for setup guidance.metro-traceruntime helper artifact.androidx.tracing.Tracerinstances as a graph input as a parent tracer.[gradle] Add a
diagnosticsRenderModeGradle option (AUTO/PLAIN/RICH) for diagnostic rendering.AUTOdefaults to rich output and falls back to plain output for non-emptyNO_COLOR,--console=plain, and IDE-invoked builds.[docs] Add a generated Diagnostics Reference docs page for Metro's common graph validation diagnostics.
[FIR/IR] Add support for parameterless
@Bindsdeclarations for constructor-injected classes.Enhancements
openclasses annotated with@BindingContainer.help:guidance for dependency cycle errors, suggesting deferred types such as() -> TorLazy<T>.... same as for Xcontinuation, and fully qualify type names only when two distinct types in one diagnostic share a simple name.@GraphPrivate.Fixes
@Bindsmirror declarations so copied declarations remain attached to the correct generated class.@GraphPrivateon cross-module mirror functions so private multibinding contributions do not leak through chained graph extensions.@Providesbinding is injected asdagger.Lazy<T>from a child graph.Map<K, () -> V>multibindings accessed through provider-style map factories on Kotlin/JS. Generated maps now store callable function values instead of MetroProviderobjects.@Bindsimplementations on KLIB backends. Metro now emits concrete identity bodies for inherited@Bindsmembers where JS, Native, and Wasm validate abstract members during deserialization.Changes
.ascsignature files (gradle/gradle#20232) and thesha256/sha512. If you rely on these, let me know.binding-contributions-as-containersflag, onlybinding-contributions-as-containersis supported going forward.9.6.1.2.4.10-RC.2.4.20-Beta1.Contributors
Special thanks to the following contributors for contributing to this release!
Consider sponsoring Metro's development
Configuration
📅 Schedule: (UTC)
🚦 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 this update again.
This PR was generated by Mend Renovate. View the repository job log.