Releases · autofac/Autofac.Mvc · GitHub
Skip to content

Releases: autofac/Autofac.Mvc

v7.0.0

Choose a tag to compare

@tillig tillig released this 10 Jul 23:49
1491672

Breaking Changes

  • Raised the minimum target framework to .NET Framework 4.8.1. Previously targeted net472. Support for net472 (and anything below net481) has been removed; consumers must target .NET Framework 4.8.1 or later.
  • Updated the Autofac core dependency to 9.3.1 (previously 6.4.0). This is a major-version bump of Autofac and may require corresponding changes in your application.
  • Enabled nullable reference type annotations. The public API now carries nullability annotations, which may surface new compiler warnings in projects that consume the API in a nullable-aware context.

Other Changes

  • Fixed a NullReferenceException in AutofacFilterProvider.GetFilters when the controller instance was null; filter evaluation is now skipped in that case, matching the base FilterAttributeFilterProvider behavior. (#24)
  • Added support for registering a single filter component against multiple controllers/actions in one chained statement (e.g. AsActionFilterFor<A>().AsActionFilterFor<B>()), which previously threw "An item with the same key has already been added." (#33)
  • Updated ASP.NET MVC dependencies: Microsoft.AspNet.Mvc to 5.3.0, Microsoft.AspNet.Razor to 3.3.0, Microsoft.AspNet.WebPages to 3.3.0, and Microsoft.Web.Infrastructure to 2.0.0.

Full Changelog: v6.1.0...v7.0.0

v6.1.0

Choose a tag to compare

@tillig tillig released this 23 Aug 15:27

What's Changed

  • Update base Autofac dependency to 6.4.0 so fixes and features are present by default.
  • Add support for IAsyncDisposable (thanks @pengweiqhca ! #40)

Full Changelog: v6.0.0...v6.1.0

v6.0.0

Choose a tag to compare

@tillig tillig released this 28 Sep 22:01

This is an Autofac v6.0.0 compatibility release.

Breaking change: Starting with Autofac 6.0, we now only target netstandard20 and netstandard21; we have removed the explicit target for net461. As such, the Autofac.Mvc5 project has been updated to .NET 4.7.2. We strongly encourage you to upgrade to .NET Framework 4.7.2 or higher, as per the .NET Standard Documentation to avoid any of the known dependency issues when using .NET Standard packages in .NET Framework 4.6.1.

v5.0.0

Choose a tag to compare

@tillig tillig released this 28 Jan 23:26
cec7bfd

This release is an update for compatibility with Autofac 5.0.0 and requires that new version. Autofac 5.0.0 does have some breaking changes - see the Autofac release notes for more information.

  • Dependencies updated to Autofac 5.0.0.
  • .NET 4.6.1 is now the minimum framework version.

v4.0.2

Choose a tag to compare

@tillig tillig released this 10 Apr 15:44

Fixed #20 - MVC integration throws NullReferenceException at request end when HttpContext.Current is null

v4.0.1

Choose a tag to compare

@alexmg alexmg released this 08 Feb 13:14

Reduced .NET Framework dependency down to 4.5.

v4.0.0

Choose a tag to compare

@tillig tillig released this 03 Jan 23:26
  • Updated to .NET 4.5 and the associated security model.
  • Minimum requirement Autofac 4.0+.
  • Added ability to set the default context accessor.
  • Added property injection support to ExtensibleActionInvoker.

v3.3.4

Choose a tag to compare

@tillig tillig released this 03 Jan 23:25

Made AutofacDependencyResolver.GetService() and .GetServices() methods virtual.

v3.3.3

Choose a tag to compare

@tillig tillig released this 03 Jan 23:24

This release occurred prior to switching Autofac components to separate repositories.

3.3.3

Fixed code analysis issues.

3.3.0

Pushed the notion of per-request lifetime scope into Autofac core. Individual web/OWIN request mechanisms have been marked obsolete in favor of the new central method. (autofac/Autofac#466)

3.1.0

Updated InstancePerHttpRequest to accept additional lifetime scope tags.