Skip to content

Releases: autofac/Autofac.Extensions.DependencyInjection

v5.0.1

07 Oct 15:28

Choose a tag to compare

Rebuilt to address dotnet/core#3388 - 5.0.0 package didn't have proper dates on assemblies, causing some date-related operations on assemblies to fail.

v5.0.0

23 Sep 23:28

Choose a tag to compare

  • Removed netstandard1.1 support.
  • Added AutofacChildScopeServiceProviderFactory to address ASP.NET Core 3.0 / .NET Core generic hosting when using a child lifetime scope as the "root" of the app.
  • Added AutofacServiceProvider.LifetimeScope property to allow retrieving the root container / scope from the provider.
  • Added IServiceProvider.GetAutofacRoot() extension method for more conveniently and safely accessing the AutofacServiceProvider.LifetimeScope property.

v5.0.0-rc1

29 Aug 20:25

Choose a tag to compare

  • Removed netstandard1.1 support.
  • Added AutofacChildScopeServiceProviderFactory to address ASP.NET Core 3.0 / .NET Core generic hosting when using a child lifetime scope as the "root" of the app.
  • Added AutofacServiceProvider.LifetimeScope property to allow retrieving the root container / scope from the provider.
  • Added IServiceProvider.GetAutofacRoot() extension method for more conveniently and safely accessing the AutofacServiceProvider.LifetimeScope property.

v4.4.0

25 Feb 14:05
de6c51b

Choose a tag to compare

  • Reduced package dependencies when using .NET Standard 2.0
  • Prevent Disposer stack space leak when IServiceProvider is looked up

v4.3.1

06 Nov 23:16

Choose a tag to compare

Resolved #32: Updated minimum Autofac version to 4.6.1 to ensure an IServiceProvider built on a child lifetime scope can properly resolve things like IOptions<T>.

v4.3.0

16 Aug 20:45

Choose a tag to compare

  • Enabled SourceLink support.
  • Added netstandard2.0 target.
  • Resolved #30: Implemented IDisposable on AutofacServiceProvider to better handle application shutdown and conform to IDisposable specification test.

v4.2.2

20 Mar 20:44

Choose a tag to compare

Resolved #29: Updated minimum core Autofac version to 4.2.0 to avoid conflicts involving SerializableAttribute at runtime.

v4.2.1

26 Feb 18:17

Choose a tag to compare

  • Resolved #25: Updated tooling, references to remove NETStandard.Library conflict.
  • Increased minimum Autofac core version to 4.0.1 to improve the full .NET Framework experience.

v4.2.0

19 Jul 23:37

Choose a tag to compare

Added support for specifying a child lifetime scope tag to serve as the service provider "root" - an advanced option that allows you more control over isolating things registered using the Microsoft.Extensions.DependencyInjection interfaces.

v4.1.0

22 Apr 06:23

Choose a tag to compare

  • Added IServiceProviderFactory implementation (AutofacServiceProviderFactory).
  • AddAutofac extension method on ServiceCollection for adding IServiceProviderFactory.
  • Microsoft.Extensions.DependencyInjection.Abstractions dependency upgraded to 1.1.0.
  • Release notes link to NuGet package.