Releases: autofac/Autofac.WebApi
v6.2.0: Merge pull request #74 from autofac/feature/update-build
- Packages for Autofac.WebApi are no longer published to MyGet. Instead, builds are now available from GitHub Packages This also means the actual packages themselves won't be manually attached to the release - you can get them from the package source now.
- Fix #72: The synchronization context should no longer be lost when running legacy filters. (Thanks @lbras!)
- References updated to:
- Autofac 8.4.0
- Microsoft.AspNet.WebApi.Core 5.3.0
- Newtonsoft.Json 13.0.4
- Microsoft.NETFramework.ReferenceAssemblies 1.0.3
v6.1.1
What's Changed
- Removed finalizer from
AutofacWebApiDependencyScopeso 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
HttpRequestMessageis now held internally usingAsyncLocalinstead 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.