Skip to content

Bump dev.zacsweers.metro:gradle-plugin from 1.2.1 to 1.3.0#226

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/gradle/dev.zacsweers.metro-gradle-plugin-1.3.0
Open

Bump dev.zacsweers.metro:gradle-plugin from 1.2.1 to 1.3.0#226
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/gradle/dev.zacsweers.metro-gradle-plugin-1.3.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 7, 2026

Copy link
Copy Markdown
Contributor

Bumps dev.zacsweers.metro:gradle-plugin from 1.2.1 to 1.3.0.

Release notes

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

1.3.0

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

      ExampleGraph.kt:9:3: error: 
      [Metro/MissingBinding] No binding found for String
      

      trace (in dev.zacsweers.example.ExampleGraph): String is requested at dev.zacsweers.example.ExampleGraph.a

      similar bindings: - CharSequence (Supertype. Type: Provided) - ExampleGraph.kt:12:3

      help: ensure String has an @​Inject constructor or is provided by an @​Provides or @​Binds declaration visible to ExampleGraph docs: https://zacsweers.github.io/metro/latest/diagnostics/#missingbinding

    • Example rich output

      (note that in rich terminals this would have color and markup too!)

      ExampleGraph.kt:9:3: error: 
        ╭─ [Metro/MissingBinding] No binding found for String
        │ → ExampleGraph.kt:9:3
        │
      9 │   val a: String
        │   ⌃⌃⌃⌃⌃⌃⌃⌃⌃⌃⌃⌃⌃
        ╰─
      

      trace (in dev.zacsweers.example.ExampleGraph): String is requested at dev.zacsweers.example.ExampleGraph.a

      similar bindings: • CharSequence (Supertype. Type: Provided) — ExampleGraph.kt:12:3

      help: ensure String has an @​Inject constructor or is provided by an @​Provides or @​Binds declaration visible to ExampleGraph docs: https://zacsweers.github.io/metro/latest/diagnostics/#missingbinding

  • [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.

... (truncated)

Changelog

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

1.3.0

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

      ExampleGraph.kt:9:3: error: 
      [Metro/MissingBinding] No binding found for String
      

      trace (in dev.zacsweers.example.ExampleGraph): String is requested at dev.zacsweers.example.ExampleGraph.a

      similar bindings: - CharSequence (Supertype. Type: Provided) - ExampleGraph.kt:12:3

      help: ensure String has an @​Inject constructor or is provided by an @​Provides or @​Binds declaration visible to ExampleGraph docs: https://zacsweers.github.io/metro/latest/diagnostics/#missingbinding

    • Example rich output

      (note that in rich terminals this would have color and markup too!)

      ExampleGraph.kt:9:3: error: 
        ╭─ [Metro/MissingBinding] No binding found for String
        │ → ExampleGraph.kt:9:3
        │
      9 │   val a: String
        │   ⌃⌃⌃⌃⌃⌃⌃⌃⌃⌃⌃⌃⌃
        ╰─
      

      trace (in dev.zacsweers.example.ExampleGraph): String is requested at dev.zacsweers.example.ExampleGraph.a

      similar bindings: • CharSequence (Supertype. Type: Provided) — ExampleGraph.kt:12:3

      help: ensure String has an @​Inject constructor or is provided by an @​Provides or @​Binds declaration visible to ExampleGraph

... (truncated)

Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file java Pull requests that update java code labels Jul 7, 2026
Bumps [dev.zacsweers.metro:gradle-plugin](https://github.com/ZacSweers/metro) from 1.2.1 to 1.3.0.
- [Release notes](https://github.com/ZacSweers/metro/releases)
- [Changelog](https://github.com/ZacSweers/metro/blob/main/CHANGELOG.md)
- [Commits](ZacSweers/metro@1.2.1...1.3.0)

---
updated-dependencies:
- dependency-name: dev.zacsweers.metro:gradle-plugin
  dependency-version: 1.3.0
  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-1.3.0 branch from 4dbcb7d to 2fb3f0e Compare July 7, 2026 08: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.

0 participants