Releases: autofac/Autofac.WebApi
v6.1.1
What's Changed
- Removed finalizer from
AutofacWebApiDependencyScope
so it doesn't stick in the finalizer queue (thanks @srogovtsev! #69) - Bump Newtonsoft.Json from 5.0.8 to 13.0.1 for security fix
Full Changelog: v6.1.0...v6.1.1
v6.1.0
What's Changed
- The current
HttpRequestMessage
is now held internally usingAsyncLocal
instead of direct call context access to help with Code Access Security issues - by @pengweiqhca in #65
New Contributors
- @pengweiqhca made their first contribution in #65
Full Changelog: v6.0.1...v6.1.0
v6.0.1
v6.0.0
Version 6.0.0 is a compatibility release for Autofac v6.
Breaking change: Starting with Autofac 6.0, we now only target netstandard2.0
and netstandard2.1
; we have removed the explicit target for net461
.
The impact to you is that, while Autofac will still work on .NET Framework 4.6.1 as it did before, 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.
- Minimum framework updated to .NET 4.6.1.
- Fix #49: New overloads support async filters.
v4.3.1
v4.3.0
Fixes:
- #9: Filters can now be applied via predicate to allow more control over controllers that should use the filter.
- #17: You can now register a filter for multiple controllers in a single statement.
- #30: OnActionExecutedAsync no longer calls subsequent filters if the response has been set by a previous filter.
- #34: Updated the async/await handling of filters to use continuations so context won't be lost.
Autofac.WebApi now includes some code from the open source ASP.NET web stack, licensed under Apache 2.0. While this should not affect consumers of the package from a licensing perspective, if you have forked this repo and/or are distributing your own version of Autofac.WebApi or its components, you should be aware of this update.
v4.2.1
v4.2.0
v4.1.0
- Resolved #16:
OnActionExecuted
happens in reverse order of filters inOnActionExecuting
. - Resolved #22: Added
HttpConfiguration.RegisterHttpRequestMessage()
extension so it can be used without aContainerBuilder
. - New feature: Ability for
AutofacWebApiDependencyResolver
to execute a scope configuration action when creating a request lifetime scope.