Skip to content

Web Api Integration Release Notes

Alex Meyer-Gleaves edited this page Oct 24, 2016 · 7 revisions

4.0.1

  • Fixed #20 - A custom controller type name suffix can now be provided to the RegisterApiControllers method.

4.0.0

  • Fixed #6 and #14: The Autofac filter interfaces now use Task/async based method signatures rather than synchronous signatures. This avoids using Task.Run or other methods to convert async to synchronous where HttpContext.Current could sometimes get lost.
  • Fixed #8: Marked RegisterModelBinders as obsolete since it doesn't actually register the model binders such that they hook into dependency injection. Use the AsModelBinderForTypes() extension on binder registrations instead.
  • Fixed #10: Controller types that derive from base controllers can add action filters to non-virtual methods.
  • Switched to .NET 4.5 security model (no more AllowPartiallyTrustedCallersAttribute).

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. (#466)

3.1.0

Changes

  • Updated InstancePerApiRequest to accept additional lifetime scope tags.

  • Added a RegisterHttpRequestMessage method to the container builder that uses a DelegatingHandler to make the current HttpRequestMessage resolvable in the dependency scope.

Bug Fixes

  • Issue 426: Not all Web API filters are executed when multiple filters are applied to the same target.

3.0.2

Bug Fixes

  • Resolved Issue 426: Not all Web API filters are executed when multiple filters are applied to the same target.

3.0.1

Bug Fixes

  • Resolved Issue 418: Multiple IAutofacActionFilter causes each filter to execute multiple times. Filter wrappers are now only added once per ControllerType, FilterScope and MethodInfo combination.
Clone this wiki locally