aspect-injector

AOP framework for .NET (c#, vb, etc)

APACHE-2.0 License

Stars
756
Committers
12

Bot releases are visible (Hide)

aspect-injector - 2.8.3-pre3 Latest Release

Published by pamidur about 1 year ago

aspect-injector - 2.8.3-pre2

Published by pamidur about 1 year ago

  • Fixing osx binaries
aspect-injector - 2.8.3-pre1

Published by pamidur over 1 year ago

Addressing #220 and #221

aspect-injector - 2.8.2

Published by pamidur over 1 year ago

  • Proper support for WIN-Arm64 and OSX-Arm64
  • Improved debug info handling #217
aspect-injector - 2.8.1

Published by pamidur almost 2 years ago

  • Fixed #200
  • Moved submodule FluentIL to the main repo
aspect-injector - 2.8.0

Published by pamidur about 2 years ago

New Feature:
Added ARM support, including osx-arm

aspect-injector - 2.7.4

Published by pamidur about 2 years ago

Added support for musl libc (Alpine Linux)

aspect-injector - 2.7.3

Published by pamidur over 2 years ago

  • Improved VB.net compatibility
aspect-injector - 2.7.2

Published by pamidur over 2 years ago

Fixed:
#176 - Re-enabled nativePDB support on classic frameworks

aspect-injector - 2.7.1

Published by pamidur over 2 years ago

New:

  • Built against net6
  • Single file trimmed publish
  • Self contained / no more dependencies on installed dotnet

Fixed:

  • Fixed PDB generation seems to have fixed #138
  • Rolled back #164 which causes #170
  • New solution for #164 that fixes also #170
aspect-injector - 2.6.1

Published by pamidur almost 3 years ago

Full Changelog: https://github.com/pamidur/aspect-injector/compare/2.6.0...2.6.1

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

Published by pamidur about 3 years ago

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
aspect-injector - 2.5.0

Published by pamidur over 3 years ago

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:

  • Aspects.Cache v1.0.2 now has option to be on Per-Type basis (rather than only on Per-Instance). Thanks @MaciejWanat

Fixes:

  • Fixed attributes instancing for Around aspects. Now produces valid code for attributes with named properties.
aspect-injector - 2.4.4

Published by pamidur over 3 years ago

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
aspect-injector - 2.4.3

Published by pamidur almost 4 years ago

Fixed:

  • again #140, now fixed base class ctor lookup for open generic types
aspect-injector - 2.4.2

Published by pamidur almost 4 years ago

Fixed:

  • Base class constructor call lookup for generic types #140
aspect-injector - 2.4.1

Published by pamidur about 4 years ago

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
aspect-injector - 2.4.0

Published by pamidur over 4 years ago

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
aspect-injector - 2.3.1

Published by pamidur over 4 years ago

Bugfix release:

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

Published by pamidur over 4 years ago

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