Akka.Analyzers 0.2.3.1
0.2.3.1 March 1st 2024
0.2.3 February 29th 2024
- AK1002: Fix false positive detection
- Add multi target support for Roslyn 3.11, 4.4, 4.6, and 4.8
- AK1001: Rule removed due to #65
0.2.2 January 25th 2024
- AK2001: Harden rule, only run on Akka.NET v1.5.15 and later
- AK1001: Make sure that analyzer also considers
Context.Sender
- AK1001: Make sure that analyzer also consider lambda expressions with no code blocks
- AK1002: Add new rule to prevent
GracefulStop()
from being called inReceiveAsync()
andReceiveAnyAsync()
- AK1002: Improve rule to ignore user code with the same name
- AK1003: Add rule to flag non-performant
ReceiveAsync()
andReceiveAnyAsync()
invocation
0.2.1 January 9th 2024
0.2.0 January 8th 2024
- Added Uris for all error messages flagged by Akka.Analyzers
- Implemented
AK2001
: detect when automatically handled messages are being handled insideMessageExtractor
/IMessageExtractor
(Cluster.Sharding)
0.1.2 January 3rd 2024
- Resolved issues with
AK1001
Code Fix overwriting otherPipeTo
arguments - Updated
AK1001
to also check ifSender
is being used as thePipeTo
IActorRef sender
argument, which is now also handled by both the analyzer and the Code Fix. - Corrected casing on all issue numbers.
0.1.1 January 2nd 2024
Fixed Roslyn NuGet package format for analyzers and code fixes per https://learn.microsoft.com/en-us/nuget/guides/analyzers-conventions
0.1.0 January 2nd 2024
Added first set of Roslyn Analyzers and fixes for Akka.NET:
- AK1000: must not
new
up actor types outside ofProps.Create
- AK1001: must close over
Sender
when usingPipeTo
- AK2000:
Ask
should never haveTimeSpan.Zero
This is a pre-release package - we will work on incorporating this directly into the core Akka.NET NuGet packages.