Skip to content

Releases: pamidur/aspect-injector

2.3.0

10 Feb 15:36
210bb8f
Compare
Choose a tag to compare

New Feature:
Injection attributes can be inherited #122 :

    [Injection(typeof(CacheAspect), Inherited=true)]
    public abstract class CacheAttribute : Attribute
    {
        public abstract ObjectCache Cache { get; }
        public abstract CacheItemPolicy Policy { get; }
    }

    public class MemoryCacheAttribute : CacheAttribute
    {
         ... implementation
    }

And then MemoryCacheAttribute will behave as if it has [Injection(typeof(CacheAspect))]

2.2.8

19 Jan 18:52
Compare
Choose a tag to compare
  • Fixed regression where putting string into or out of string array caused issues
  • Now forced all aspects to be public

2.2.7

18 Jan 22:19
6ea888f
Compare
Choose a tag to compare

It took us quite a while to fix these severe issues:

  • Scope.PerInstance now works correctly even for complex generics-involved hierarchy of classes from many assemblies #99
  • Fixed generic types resolution for bases classes. Overall refactored call references creation and generics resolution #97

2.2.6

17 Jan 19:13
Compare
Choose a tag to compare

Fixed (I hope) execution on pure netcore 3.0+ environments such as docker containers #118.

2.2.5

14 Oct 11:20
Compare
Choose a tag to compare
  • fixed #114
  • added version to AI output

2.2.2

14 Oct 11:16
Compare
Choose a tag to compare
  • fixed compatibility with VS Live Tests #105
  • added ability disable Aspect Injector with $(AspectInjectorEnabled) = true in *.*proj file

2.2.1

16 Jun 19:03
Compare
Choose a tag to compare

New features release!

  • you can inject around constructors now!
  • [Injection] attribute has new propagation control feature via Injection.Propagation and Injection.PropagationFilter properties. Where you can setup propagation strategy and regex filter respectively.
  • Compiler generated members (e.g. named and anonymous methods) are skipped by default. Use [Injection( ... , Propagation = PropagateTo.Everything)]

2.1.1

03 May 11:39
Compare
Choose a tag to compare

Regression bugfix release:

  • fixed #70 and generally added tests to check that there is no platform dependent references added to target assemblies. This ensures that only netstandard references can be added to targets.

1.0.2

26 Apr 19:58
Compare
Choose a tag to compare

Bugfix release for v1 (Legacy):

2.1.0

17 Apr 19:22
Compare
Choose a tag to compare

In this release doesn't have a lot of changes, however where moving to separating il processing into another library. Thus version is bumped to 2.1.0.
Also:

  • fixed issue #90 , so now we support aspnetcore 3
  • fixed transitive build, you can only reference AspectInjector once in library where you have aspects and the just reference only your library (only vs2019).