Skip to content

Releases: pamidur/aspect-injector

2.6.1

07 Dec 09:23
87ec32a
Compare
Choose a tag to compare

Full Changelog: 2.6.0...2.6.1

  • adding fake debug info to generated code, so #164 does not happen
  • improvements for nuget package

2.6.0

23 Aug 08:34
ca85092
Compare
Choose a tag to compare

Improvements:

  • Improved types resolution and getting rid of force-referencing netstandard.dll #138
  • Proper net5 support
  • Added [SkipInjection] attribute so you can tell AspectInjector never inject into particular methods
  • Improved handling of the debug information

Fixes:

  • Attempt to fix #150 and #107 by avoiding Mono.Cecil's issue with deferred PDB reading, should speed up injection too

2.5.0

01 Feb 14:23
e6a2da1
Compare
Choose a tag to compare

New feature Interface Triggers #143 :

Now interfaces are valid target for [Injection] attribute. It works the same way as attribute based injections except it will not show up in [Argument(Source.Triggers)].
image

Common Aspects:

Fixes:

  • Fixed attributes instancing for Around aspects. Now produces valid code for attributes with named properties.

2.4.4

21 Jan 12:39
78ea3ef
Compare
Choose a tag to compare

In this release :

  • Fixed complex generic constraints #142
  • Updated Mono.Cecil to 0.11.3
  • Improved injection schedule to eliminate race condition with other tools
  • Build on GithubActions

2.4.3

30 Dec 11:50
Compare
Choose a tag to compare

Fixed:

  • again #140, now fixed base class ctor lookup for open generic types

2.4.2

25 Dec 21:47
692b577
Compare
Choose a tag to compare

Fixed:

  • Base class constructor call lookup for generic types #140

2.4.1

31 Jul 20:33
734241d
Compare
Choose a tag to compare

Fixed in this release:

  • #131 Broken build when projects has COM References
  • Fixed IncludeAssets for consumer projects. Now you can build build and publish your aspects as separate library without manually modifying PackageReference to AspectInjector

2.4.0

17 Jun 20:54
Compare
Choose a tag to compare

In this release:

  • [BREAKING CHANGE] Before/After aspects are applied after Around. So now you can use any combination of those #119
  • Added Roslyn Refactorings => to use - Alt+Enter or Ctrl+. on Class/Aspect or Method/Advice
    image
    image
    image

2.3.1

18 Feb 08:40
bc35d88
Compare
Choose a tag to compare

Bugfix release:

  • fixed #123 issue where emuns were treated as value types instead of as underlying int(long)

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))]