Skip to content

9.14

Compare
Choose a tag to compare
@SonarTech SonarTech released this 23 Nov 13:47
1d0f0d9

Hello everyone!

We are happy to announce that we now have 5 dedicated Blazor rules 🚀 🥳

Special thanks to our contributor (and former colleague) @sagi1623 for fixing #8302.

Improvements

  • 8274 - [C#] New rule S6797: Query parameter should be of supported type
  • 8278 - [C#] New rule S6798: [JSInvokable] attribute should only be used on public methods
  • 8275 - [C#] New rule S6800: Component parameter type should match the route parameter type constraint
  • 8277 - [C#] New rule S6802: Using lambda expressions in loops should be avoided in Blazor markup section
  • 8338 - [C#] New rule S6803: Parameters with SupplyParameterFromQuery attribute should be used only in routable components
  • 8228 - [C#] Deprecate S4212
  • 8346 - Create CFG from member node
  • 8271 - Adding missing operation wrappers and syntax kinds to the shim layer
  • 8230 - Update Signing Certificate
  • 8290 - Update RSPEC before 9.14 release

Bug Fixes

  • 8310 - [C#, VB.NET] Fix S2068 AD0001: Overflow exception when a configuration file value is a number greater than Int32.MaxValue

False Positive

  • 8285 - [C#, VB.NET] Fix S2583 FP: Number constraint from remainder calculation is not correct.
  • 8358 - [C#] Fix S2743 FP: Arrow properties do not have static fields
  • 7624 - [C#] Fix S3604 FP: Primary constructors

False Negative

  • 8335 - [C#] Fix S2259 FN: FlowCaptures in Field/PropertyReference.Instance
  • 6050 - [C#] Fix S2930 FN: Track System.Threading.CancellationTokenSource

Performance

  • 8181 - [C#] Improve S5332 performance: Reuse compiled regex