Skip to content

v3.7.6

Choose a tag to compare

@georgepwall1991 georgepwall1991 released this 09 Aug 14:00
· 2 commits to main since this release
70da0a7

DependencyInjection.Lifetime.Analyzers 3.7.6

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

  • DI032 now keeps keyed and unkeyed service slots distinct when replaying later Replace mutations, so a keyed replacement cannot hide a live unkeyed async-only disposable registration.

Install

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

What changed

Fixed

  • DI032 now keeps keyed and unkeyed service slots distinct when replaying later Replace mutations, so a keyed replacement cannot hide a live unkeyed async-only disposable registration.

Learn more