Skip to content

Releases: autofac/Autofac.Extras.DynamicProxy

v8.0.1

Choose a tag to compare

@tillig tillig released this 09 Jul 19:07

Updated Autofac reference to 9.3.1.

v8.0.0

Choose a tag to compare

@tillig tillig released this 24 Jun 17:26
e5c2102

Breaking Changes

  • Dropped support for net6.0. This target framework has reached end of life and is no longer built. Consumers must target net8.0 or later (or one of the supported netstandard targets).
  • Minimum Autofac version raised to 9.x. The Autofac dependency moved from 6.5.0 to 9.3.0. Projects must be compatible with Autofac 9 to upgrade.

Other Changes

  • Conditional interception via a type predicate (#42). EnableClassInterceptors and EnableInterfaceInterceptors now accept an optional Func<Type, bool> shouldIntercept predicate so interception can be applied selectively based on the implementation type. This is especially useful with assembly scanning, where only some scanned types should be intercepted. For interface interception the predicate is evaluated at resolve time against the resolved implementation type; for class interception it is evaluated per type at registration. All new overloads are additive — existing signatures are unchanged, preserving binary compatibility.
  • Interface interception now works with open generic assembly scanning (#27). Previously, scanning an assembly with AsClosedTypesOf and enabling interface interception could throw because the concrete type registered alongside the interface failed the interface-only check. Interception now validates only the service actually being resolved.
  • Added support for net10.0 and net8.0; retained support for netstandard2.1 and netstandard2.0.
  • Updated Castle.Core from 5.1.1 to 5.2.1.
  • Known issue: Using [KeyFilter] with an enum key together with class interception does not work, because Castle DynamicProxy reproduces the enum attribute argument as its underlying integer type, so the key no longer matches the registered keyed service (upstream castleproject/Core#748). Workarounds: use a string key, or use interface interception instead of class interception (#56).

v7.1.0

Choose a tag to compare

@tillig tillig released this 29 Jun 14:20

Added net6.0 target framework.

v7.0.0

Choose a tag to compare

@tillig tillig released this 26 May 14:30
7104182

What's Changed

  • Update Castle.Core to v5.1.1 (thanks @sstassen-wowcorp!)
  • Enabled nullable reference type annotations.

Full Changelog: v6.0.1...v7.0.0

v6.0.1

Choose a tag to compare

@tillig tillig released this 01 Mar 17:14

What's Changed

New Contributors

Full Changelog: v6.0.0...v6.0.1

v6.0.0

Choose a tag to compare

@alexmg alexmg released this 29 Sep 08:43
d14b34a

This release is an update for compatibility with Autofac 6.0.0. The Autofac dependency has been updated to require 6.0.0 or later. There are some breaking changes in 6.0.0 - see the Autofac release notes for more information.

  • Fix #40 - PropertiesAutowired not working when EnableInterfaceInterceptors and AllowCircularDependencies
  • Removed net461 target framework - this also removes the ability to intercept transparent proxies (WCF, .NET Remoting) because those are classic .NET constructs.
  • Autofac minimum bumped to 6.0.0

v5.0.0

Choose a tag to compare

@tillig tillig released this 13 Feb 17:03
1566ba2

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.

  • No longer targeting net45 or netstandard1.3
  • New targets for net461, netstandard2.0, netstandard2.1
  • Minimum Autofac 5.1.0.

v4.5.0

Choose a tag to compare

@alexmg alexmg released this 29 Aug 14:29
  • Upgrade Castle.Core to 4.3.1 for performance improvements.
  • Switched from symbol server to SourceLink support.

v4.4.0

Choose a tag to compare

@tillig tillig released this 12 Feb 19:18

Updated the Castle.Core minimum version to 4.2.1 due to the new "slow-assembly-versioning" approach taken by Castle.Core. See the "Known Issues" section of the Autofac interceptors doc for additional info.

v4.3.0

Choose a tag to compare

@tillig tillig released this 09 Feb 16:51
  • Updated Castle.Core reference to 4.1.0 to avoid missing System.* package warnings.
  • Updated Autofac reference to 4.0.1 to make the full .NET 4.5 framework reference experience smoother.