fix(deps): update metro to v0.8.0#4
Merged
Merged
Conversation
POMs are not resolved in dependencies task but resolved in actual build. TODO: Fix
|
Download Debug Artifacts: projectkafka-debug.zip |
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:
0.7.7->0.8.00.7.7->0.8.0Release Notes
ZacSweers/metro (dev.zacsweers.metro:dev.zacsweers.metro.gradle.plugin)
v0.8.0Compare Source
2025-12-01
New: New
dev.zacsweers.metro:metrox-androidartifact for AndroidAppComponentFactorysupport. See the docs for more information.New: New
dev.zacsweers.metro:metrox-viewmodelandmetrox-viewmodel-composeartifacts for AndroidXViewModelsupport. See the docs (compose docs ) for more information.hiltViewModel()use. Modern Android apps should use higher level architectures like Circuit* (Disclosure: I am one of the authors of Circuit, and I'm a big fan of it!), Voyager, etc. that abstract awayViewModelmanagement.New: Add
generateMetroGraphMetadataGradle task that writes a merged JSON dump of all binding graphs in the project. This can be chained from theGenerateGraphMetadataTaskfor further processing.New: Add
analyzeMetroGraphGradle task that performs comprehensive graph analysis including fan-in/fan-out, betweenness centrality, dominator analysis, and longest path detection.New: Add
generateMetroGraphHtmlGradle task that generates interactive HTML visualizations of dependency graphs using ECharts. Features include force/circular layouts, filtering by package/scope/synthetic bindings, metrics heatmaps, and longest path highlighting. See the graph analysis docs for more information.New: Add
MetroArtifactsGradle API for accessing Metro reports and graph metadata directories.New: Add
supportedHintContributionPlatformsGradle DSL property to manually override supported hint contribution generation on different platforms. By default this computes default supported platforms based on the platform and Kotlin tooling version.API Change: Rename
generateJvmContributionHintsInFirGradle DSL property togenerateContributionHintsInFir. Note this property/mode still doesn't really work and is highly experimental at the moment.Behavior Change: Add
@DelicateMetroGradleApiannotations to relevant Gradle extension APIs.Behavior Change: The
generateContributionHintsproperty now computes defaults per platform and per Kotlin compilation as aconventionand can be overridden.Behavior Change: All non-final classes with member injections or that extend classes with member injections must now be annotated with
@HasMemberInjections. This is enforced with a new diagnostic check.Enhancement: Lazily validate multibindings. Previously, multibindings were validated eagerly even if they were unused in a graph.
Enhancement: Report all duplicate bindings errors during graph construction rather than failing at first.
Enhancement: Support
FirFunctionCallevaluation in annotation arguments during FIR.Enhancement: Order before the Compose compiler on Kotlin 2.3.0+.
Enhancement: Only print Metro Gradle version configuration mismatch warnings once rather than per-compilation.
Enhancement: Report Metro Gradle configuration issues to Gradle's
ProblemsAPI.Fix: Support member injection of classes that have no member injections but do extend superclasses with member injections.
Fix: Catch more
IrErrorTypeerror types cases and report context/advice where possible.Fix: Dedupe binding containers contributed to both parent and child graphs.
Fix: Fix support for Anvil's
excludeargument in dependency graph annotations when Anvil interop is enabled.Fix: Fix colliding reports destinations in KMP projects by disambiguating with the target path as another subdir indirection.
Fix: Fix qualifiers not being propagated to generated
MembersInjectorclasses for multibindings.Fix: Remove misleading "doesn't appear to be visible to this compilation" hint, as this hint was misreporting.
Fix: Fix not reserving properties multibinding contributors that are behind aliases.
Fix: Stub hint function bodies if FIR-generated.
Fix: Hide FIR-generated hint functions.
Fix: Full support injected Java fields from Dagger-processed Java supertypes.
Fix: Use correct type args for empty map provider return types.
Fix: Add Dagger's internal
SetFactory,MapFactoryandMapProviderFactoryto known Dagger ClassIds inProviderinterop.Removed: Removed deprecated
enableScopedInjectClassHintsGradle DSL property.Removed: Removed deprecated
enableStrictValidationGradle DSL property.Removed: Removed deprecated
contributesGraphExtensionGradle DSL property.Removed: Removed deprecated
contributesGraphExtensionFactoryGradle DSL property.Removed: Removed deprecated
optionalDependencyBehaviorGradle DSL property.Removed: Removed deprecated
OptionalDependencyBehaviorGradle plugin class.Removed: Removed deprecated
includeAnvilGradle DSL function.Removed: Removed deprecated
ContributesGraphExtensionannotation.Removed: Removed deprecated
OptionalDependencyannotation.Special thanks to the following contributors for contributing to this release!
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.