Releases: SonarSource/sonar-dotnet
Releases Β· SonarSource/sonar-dotnet
10.18
This releases focuses on fixing the false-positives that are raised on code making use of the new features in C# 14.ο»Ώ
Improvement
- NET-2921 - Fix passthrough calculation in ModelBuilder
- NET-2903 - Remove manual extension methods
- NET-2895 - Cleanup handling of ParameterList of primary constructors
Task
- NET-2917 - Update RSPEC before 10.18 release
False Positive
- NET-2898 - Fix S2583/S2589 FP: Extension Members
- NET-2877 - Fix S2225 FP: Extension member
- NET-2832 - Fix S3063 FP: NullConditionalOperator
- NET-2825 - Fix S1144 FP: Partial events
- NET-2821 - Fix S3264 FP: Partial events
- NET-2805 - Fix S1144 FP: S1144 Is confused by Debugger Display attribute
- NET-2748 - Fix S3459 FP: NullConditional Assignment
- NET-2716 - Fix S2325 FP: Field Keyword
- NET-2712 - Fix S2953 FP: Extension block member
- NET-2707 - Fix S3877 FP: Equals method without IEquatable
- NET-2684 - Fix S7039 FP/FN: Null-conditional assignment
- NET-2672 - Fix S3928 FP: Extension block
- NET-2671 - Fix S2970 FP: Null Conditional Assignment
- NET-2668 - Fix S3398 FP: On private methods in C#14 extensions classes
- NET-2644 - Fix S1144 FP: Always raises on private methods in extension block
- NET-2621 - Fix S2325 FP: Incorrectly reports on C# 14 extensions
- NET-2620 - Fix S4545 FP: Extension Methods
- NET-2391 - Fix S1121 FP: Extract (null-forgiving) assignment from expression
- NET-1914 - Fix S3264 FP: when using +=
False Negative
10.17
10.16.2
Rotations of binary signing keys
10.16.1
Rotations of binary signing keys
10.16
10.15
False Positive
- NET-2198 - Fix S1905 FP: Cast of default! expression is required
- NET-2197 - Fix S1905 FP: stackalloc and Span conversions
- NET-1641 - Fix S1905 FP: casting
IEnumerable<string?>toIEnumerable<string> - NET-2157 - Fix S2589 FP: Don't raise an issue after a delegate is invoked
- NET-2073 - Fix S2699 FP: Add support for FsCheck property tests
- NET-1537 - Fix S6964 FP: Don't raise on properties annotated with the BindRequiredAttribute
Improvement
- NET-2112 - Consider ExplodedNodes relevant if a successor would be relevant
- NET-2183 - SE: Set constraint on operation when learning from IsPattern
False Negative
Task
- NET-2208 - Update RSpec before release
10.14
Hey everyone,
This release mostly focuses on mitigating (NET-2196) a performance regression that was introduced in 10.13.
Improvement
- NET-2196 - Fix path algorithm for execution flows to mitigate performance regression
- NET-2177 - Improve how the Symbolic Execution engine handles exception paths
- NET-2135 - Support xUnit V3
- NET-2163 - Provide Interface for other plugins to add rules to VB.NET SonarWay profile
False Negative
Task
- NET-2170 - Update RSPEC before 10.14 release
10.13
Hello everyone,
ο»Ώ
In this release, we've focused on:
- False positive fixes
- Enhancing S2259's secondary locations to provide clearer, step-by-step explanations of null pointer dereferences issues.
False Positives
- NET-2099 - Fix S3885 FP: Do not raise in ResolutionEventHandler
- NET-2023 - Fix S3257 FP: Array with target-typed new
- NET-1646 - Fix S3267 FP: Loops should be simplified with LINQ expressions
- NET-1588 - Fix S1066 FP: Combination of
dynamicandoutshould not raise - NET-882 - Fix S3257 FP: Don't raise for C# 10 and later when there's explicit delegate creation
Improvements
10.12
This release brings the VB version of S6418 and a few FP and FN fixes.
New Rule
False Positive
False Negative
- NET-1260 - Fix S1215 FN: GC.GetTotalMemory(forceFullCollection: true) should not be called
- NET-1258 - Fix S6678 FN: Lowercase placeholders in interpolated string
- NET-1255 - Fix S3267 FN: Logical operators are not supported
Task
- NET-2060 - Update RSPEC before 11.12 release
10.11
Hello everyone!
In this release we fixed a bunch of false positives and false negatives.
Additionally this version adds support for telemetry in order to gather information on feature usage. Telemetry, requires scanner 10.2.0 or greater.
False Positive
- NET-1522 - Fix S2068 FP: Do not raise on
password:secret - NET-1149 - Fix S3626 FP: Add exception when return statement is preceding local functions
False Negative
- NET-1263 - Fix S1871 FN: Nested if .. else if chain
- NET-1256 - S2068: Remove word boundary(\b) from regex
- NET-1254 - Fix S3878 FN: When params are passed as array through an attribute
- NET-1252 - FN S1168: Support IndexerDeclaration and ConversionOperatorDeclaration
- NET-459 - Fix S1168 FN: Add support for partial indexers