Repository navigation
deps: update dependency dev.zacsweers.metro to v1.4.5 - autoclosed - #20
Closed
renovate[bot] wants to merge 1 commit into
Closed
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
renovate
Bot
force-pushed
the
renovate/metro
branch
2 times, most recently
from
October 17, 2026 07:44
a438895 to
e1503e3
Compare
renovate
Bot
force-pushed
the
renovate/metro
branch
from
October 19, 2026 18:51
e1503e3 to
2ec2e77
Compare
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.3.2→1.4.5Release Notes
ZacSweers/metro (dev.zacsweers.metro)
v1.4.5Compare Source
2026-09-24
Fixes
@Multibindsdeclarations as accessors to fix a false positiveCONTRIBUTES_TO_COULD_BE_BINDING_CONTAINERwarning.ClassCastExceptionduring member injection when a class declares an injected method before an injected property.ExperimentalMetroGradleApito thegradle-pluginartifact.Changes
AnalysisFlagsAPI to detect IDE mode in newer Kotlin versions.graphsartifact and makegraph-vieweran implementation dependency of the Gradle plugin. Model APIs now require opting into@ExperimentalMetroGraphApi. Existing model packages and the public experimentalBindingGraphandGraphAnalyzerAPIs are preserved.generateMainMetroGraphHtml. Outputs move tobuild/reports/metro/{target}/{compilation}/. See migration details.androidx.tracingdependency to2.0.3.2.5.0-Beta1.Contributors
Special thanks to the following contributors for contributing to this release!
Consider sponsoring Metro's development
v1.4.4Compare Source
2026-09-16
Enhancements
Fixes
generateContributionProvidersandgenerateClassesInIrare enabled.-Xwarning-leveloverrides in fallback diagnostic reporting across all supported Kotlin versions.2.5.0-Beta1now selects the latest2.5.0-dev-*implementation if there is no2.5.0-*non-dev build.Changes
2.5.0compat to2.5.0-dev-7307.2.5.0-dev-4967compat to2.5.0-dev-6460(pacing with IntelliJ 2026.3 EAPs).Contributors
Special thanks to the following contributors for contributing to this release!
Consider sponsoring Metro's development
v1.4.3Compare Source
2026-09-08
Enhancements
@ContributesTointerface only exposes bindings and recommend making it a binding container with@BindingContainer. The latter is preferable as it reduces generated code.Array<IntArray>::classcan be read asIntArray::class.priorityon@ContributesBindingand@ContributesIntoMap, allowing higher-priority contributions to replace conflicting bindings or map entries without directly referencing the lower-priority implementation.Fixes
@get:BindsOptionalOfproperties when Dagger interop is enabled.Bindings<Int>andBindings<Long>can coexist in the same file.@Bindsdeclarations from generic binding containers.@Bindsresolution when multiple graphs use the same generic binding container with different type arguments. Each graph now resolves bindings using its own container's type arguments.generateContributionProviders,generateClassesInIr, andcontributesAsInjectare enabled together.@OptionalBindingaccessor requests the same type, regardless of declaration order.2.3.0and2.3.10.Class-keyed maps wrapped in providers or lazy values whenKClass/Classinterop is enabled.ClassCastExceptionwhen aClass-keyed map is injected into a provider-created class across modules withKClass/Classinterop enabled.@GraphPrivateon Dagger@BindsOptionalOfdeclarations inherited by graph extensions, while preserving public declarations for the same key.Changes
2.3.0and2.3.10. We recommend upgrading to Kotlin2.3.20or newer.2.4.20. Note the runtime artifacts still target Kotlin2.3.0and Metro supports a wide range of compiler versions. See the compatibility docs for a full table of compatible versions.3.18.2.2.5.0support to2.5.0-dev-4967for IntelliJ 2026.3 EAPs. This replaces the2.5.0-dev-498and2.5.0-dev-3513compat modules.2.5.0-dev-6460.2.4.20.2.4.20-RC2.2.4.20-RC3.263.3889.65).canary 4).Contributors
Special thanks to the following contributors for contributing to this release!
Consider sponsoring Metro's development
v1.4.2Compare Source
2026-08-13
Fixes
KClassannotation arguments.@Originchains.Changes
2.5.0-dev-3513.2.4.20-RC.watchosArm32target, which Kotlin no longer supports.2.0.0stable. Note that Metro's runtime tracing support is still experimental to incubate a little longer.Contributors
Special thanks to the following contributors for contributing to this release!
Consider sponsoring Metro's development
v1.4.1Compare Source
2026-08-06
New
CircuitSerializerRegistrationSet contributions for@CircuitSerializableScreenandPopResulttypes when using Circuit0.36.0or newer.Fixes
@Qualifierand@MapKey.@GraphExtension.Factoryreplacements acrossadditionalScopeswhen generating classes in IR.@Assistedparameters.Changed
MembersInjectorand constructor-injected classes with member injection work. If you were relying on that behavior by accident, it's going to be different now!Contributors
Special thanks to the following contributors for contributing to this release!
Consider sponsoring Metro's development
v1.4.0Compare Source
2026-07-30
New
Experimental support for suspend providers
This release introduces experimental support for suspend providers. This is disabled by default and can be enabled by the
metro.enableSuspendProvidersoption. See the coroutines documentation for details.@Providesfunctions and graph accessors can besuspend. Suspension propagates through dependent bindings. Metro reports a dependency trace when a non-suspend path reaches one.suspend () -> Tto defer initialization until invocation, orSuspendLazy<T>to also cache the first successful result.Provider, function providers,Lazy,SuspendProvider, suspend functions, andSuspendLazycan be nested to any depth in a scalar wrapper stack.Map<K, suspend () -> V>orMap<K, SuspendProvider<V>>.withContextwithin your provider body.runtime-coroutinesartifact when suspend providers are enabled. If runtime dependencies are managed manually, add it for scoped suspend bindings,suspendLazy, and injection requests containingSuspendLazyat any nesting level.runtime-coroutinesuses kotlinx-coroutines on every platform.Other new stuff
@SubCircuitInjectannotation).Enhancements
@Providesproperties on Kotlin2.4.20-Beta1and newer.2.3.20by backporting compat support for the compiler's new declaration finder APIs.provider()is already aProviderinstance, return it directly rather than needlessly wrap it.Fixes
@Providesproperties are used without compiler support (i.e. pre-2.4.20).@IntoMapor@ContributesIntoMapannotation.2.3.20.Anysupertype.DoubleCheck.lazy()calls when materializingLazygraph accessors and binding parameters.Providerfields.@ContributesTointerfaces with IR class generation.object, enum, or class-literal provider bindings when they're requested throughProvider,Lazy, or provider-based multibindings.metro.generateClassesInIrGradle and system property overrides instead of replacing them with the Kotlin-version default.2.4.20-Beta2support.Changes
2.4.10. Note the runtime artifacts still target Kotlin2.3.0and Metro supports a wide range of compiler versions. See the compatibility docs for a full table of compatible versions.2026.2stable.mordant-core.3.18.1.2.0.0-rc01.Contributors
Special thanks to the following contributors for contributing to this release!
Consider sponsoring Metro's development
Configuration
📅 Schedule: (UTC)
🚦 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 this update again.
This PR was generated by Mend Renovate. View the repository job log.