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

Releases: autofac/Autofac.WebApi

v7.0.0

Choose a tag to compare

@tillig tillig released this 20 Jul 23:13

Breaking Changes

  • Removed support for .NET Framework 4.7.2.
  • Updated the minimum Autofac dependency from 8.4.0 to 9.3.1.
  • Renamed the continuation parameter on AutofacActionFilterAdapter.ExecuteActionFilterAsync to next. Source code calling this method with a named argument must be updated.

Other Changes

  • Added support for .NET Framework 4.8.1.

v6.2.0

Choose a tag to compare

@tillig tillig released this 25 Oct 18:48
759ef70
  • 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

Choose a tag to compare

@tillig tillig released this 02 Aug 19:22

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

Choose a tag to compare

@tillig tillig released this 18 Nov 19:30

What's Changed

  • The current HttpRequestMessage is now held internally using AsyncLocal instead of direct call context access to help with Code Access Security issues - by @pengweiqhca in #65

New Contributors

Full Changelog: v6.0.1...v6.1.0

v6.0.1

Choose a tag to compare

@alexmg alexmg released this 01 Dec 13:15
  • Fix #59: HttpRequestMessage is disposed after the filters are resolved

v6.0.0

Choose a tag to compare

@alistairjevans alistairjevans released this 30 Sep 17:20

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

Choose a tag to compare

@tillig tillig released this 30 Jan 23:14

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

Choose a tag to compare

@tillig tillig released this 05 Sep 19:50
e56de19

Fix #45: Registration of filters on base controller classes should work again.

v4.3.0

Choose a tag to compare

@tillig tillig released this 15 Aug 21:01
d4506ad

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

Choose a tag to compare

@tillig tillig released this 26 Mar 15:39

Minor perf improvements.