1.3.1
Fixes
- [FIR] Report a diagnostic error when
@DependencyGraph.Factoryis used for a graph extension, instead of crashing. - [IR] Fix
createGraphFactory()calls for graph factory interfaces compiled in upstream modules with IR-only class generation. - [IC] Fix stale graph callsites after non-assisted constructor parameters change on an assisted-injected type when the Compose compiler plugin is applied.
- [IR/interop] Fix graph dependency accessors that return supported
Lazy<T>orProvider<T>wrapper types. - [IR/interop] Fix a crash when member-injecting an unscoped constructor-injected binding as
dagger.Lazy<T>.
Changes
- Fold
2.4.20-dev-3583compat into2.4.20-dev-6138as IntelliJ 2026.2 RCs now depend on a newer version. - Test Kotlin
2.4.10-RC2.
Contributors
Special thanks to the following contributors for contributing to this release!
Consider sponsoring Metro's development
What's Changed
- Fix accessing graph factories across modules with IR class gen by @ZacSweers in #2507
- Update IDE version mappings by @ZacSweers in #2510
- Fix member-injection of interop providers by @ZacSweers in #2511
- Update dependency com.autonomousapps:gradle-testkit-truth to v1.7.1 by @renovate[bot] in #2514
- Update dagger to v2.60.1 by @renovate[bot] in #2513
- Migrate Renovate config by @renovate[bot] in #2515
- Fold 6138 dev builds by @ZacSweers in #2516
- Update junit-framework monorepo to v6.1.1 by @renovate[bot] in #2519
- Update dependency com.autonomousapps:gradle-testkit-support to v0.27 by @renovate[bot] in #2523
- Update dependency pymdown-extensions to v11.0.1 by @renovate[bot] in #2517
- Update dependency androidx.test.uiautomator:uiautomator to v2.4.0 by @renovate[bot] in #2522
- Update Metro bootstrap to v1.3.0 by @renovate[bot] in #2525
- Update dependency pillow to v12.3.0 by @renovate[bot] in #2524
- Update plugin com.gradle.develocity to v4.5.0 by @renovate[bot] in #2526
- Update plugin shadow to v9.5.1 by @renovate[bot] in #2528
- Update plugin testkit to v0.19 by @renovate[bot] in #2529
- Update dependency zensical to v0.0.50 by @renovate[bot] in #2518
- Fix crash when wrong annotation is used for graph extension factory by @bnorm in #2530
- Fix graph dependency getter expression when it's wrapped in Lazy by @kevinguitar in #2512
- Fix missing IC lookup on compose-processed assisted injects by @ZacSweers in #2532
Full Changelog: 1.3.0...1.3.1