Releases: autofac/Autofac.Mvc
Release list
v7.0.0
Breaking Changes
- Raised the minimum target framework to .NET Framework 4.8.1. Previously targeted
net472. Support fornet472(and anything belownet481) 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
NullReferenceExceptioninAutofacFilterProvider.GetFilterswhen the controller instance wasnull; filter evaluation is now skipped in that case, matching the baseFilterAttributeFilterProviderbehavior. (#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.Mvcto 5.3.0,Microsoft.AspNet.Razorto 3.3.0,Microsoft.AspNet.WebPagesto 3.3.0, andMicrosoft.Web.Infrastructureto 2.0.0.
Full Changelog: v6.1.0...v7.0.0
v6.1.0
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
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
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
v4.0.1
v4.0.0
v3.3.4
v3.3.3
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.