Skip to content

v3.7.3

Choose a tag to compare

@github-actions github-actions released this 09 Aug 11:05
· 10 commits to main since this release

DependencyInjection.Lifetime.Analyzers 3.7.3

Compile-time DI diagnostics for Microsoft.Extensions.DependencyInjection projects that want earlier feedback on lifetime bugs, scope leaks, service locator drift, and unresolvable registrations.

Why install or upgrade

  • DI031 now scopes RemoveAll and Replace replay to the same service slot, service-collection flow, and execution body, preventing unrelated mutations from hiding shared-implementation diagnostics.

Install

dotnet add package DependencyInjection.Lifetime.Analyzers --version 3.7.3

What changed

Fixed

  • DI031 now scopes RemoveAll and Replace replay to the same service slot, service-collection flow, and execution body, preventing unrelated mutations from hiding shared-implementation diagnostics.

Learn more