Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency sonaranalyzer.csharp to v9.16.0.82469 #53

Merged
merged 1 commit into from
Dec 23, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 28, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
SonarAnalyzer.CSharp (source) 9.12.0.78982 -> 9.16.0.82469 age adoption passing confidence

Release Notes

SonarSource/sonar-dotnet (SonarAnalyzer.CSharp)

v9.16.0.82469: 9.16

Compare Source

Hello everyone!

For this release, we focused on improving the symbolic execution engine, specifically rules S2589 and S2583, to increase their accuracy.
We also deprecated rule S4792.

False Positive
  • 8470 - [C#, VB.NET] Fix S2583 FP: Should not raise on double condition
  • 8378 - [C#, VB.NET] Fix S2583 FP: Variable Set in Catch Block
  • 8140 - [C#, VB.NET] Fix S2583 FP: nested try catch blocks
  • 8094 - [C#, VB.NET] Fix S2583/S2589 FP: Delegate can be null when last invocation is removed but comparing the delegate against null gets reported as always false
  • 8326 - [C#] Fix S2589 FP: Var pattern should not raise
  • 8324 - [C#] Fix S2259 FP: Raising issue in unreachable code when using declaration pattern on unknown value
  • 8149 - [C#] Fix S2589 FP: Switch Expression default case with bool literal
  • 8011 - [C#] Fix S2589 FP: Rule is erroneously raised on var-type pattern matches that use when clauses
  • 8008 - [C#] Fix S2589 FP: Rule is raised on catch-all tuples in switch expressions
  • 7057 - [C#] Fix S2583/S2589 FP: When tuple deconstruction is used
  • 8489 - [VB.NET] Fix S1172 FP: VB names should not be case sensitive
Improvements
  • 8466 - [C#, VB.NET] Deprecate rule S4792

v9.15.0.81779: 9.15

Compare Source

Hello everyone,

This release focuses on performance improvement.
We made several changes to how we register our rules for analysis.
Based on our measurement, we improve the build time by 5% to 15%, depending on project size and complexity! 🔥 🚀

Fixes
  • 8424 - Razor: SymbolReference locations for @typeparam are misplaced
Improvements
  • 8314 - [C#, VB.NET] Add timeouts to all regular expressions
  • 8402 - Update RSPEC before 9.15 release
False Positive
  • 8371 - [C#, VB.NET] Fix S1172 FP: Unused parameter cannot be removed
Performance
  • 8183 - [C#, VB.NET] Improve S5443 performance: Reuse compiled Regex
  • 8185 - [C#, VB.NET] Improve S2068 performance: Reuse compiled Regex
  • 8399 - [C#, VB.NET] Reduce time spend in HasMatchingScope for SyntaxNode registration
  • 8406 - [C#, VB.NET] Cache RegisterNodeAction checks result per SyntaxTree
  • 7858 - [C#, VB.NET] FileMetadataAnalyzer and UtilityAnalyzerBase should use IsGenerated from SyntaxTreeExtensions
  • 6558 - [C#, VB.NET] Performance: UtilityAnalyzerBase calls GetSemanticModel for each SyntaxTree
  • 7368 - [C#, VB.NET] UtilityAnalyzer: Use RegisterCompilationStartAction
  • 7411 - [C#, VB.NET] UtilityAnalyzer: Reduce lock contention in ShouldGenerateMetrics

v9.14.0.81108: 9.14

Compare Source

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 https://github.com/SonarSource/sonar-dotnet/pull/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

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot changed the title chore(deps): update dependency sonaranalyzer.csharp to v9.14.0.81108 chore(deps): update dependency sonaranalyzer.csharp to v9.15.0.81779 Dec 6, 2023
@renovate renovate bot force-pushed the renovate/sonaranalyzer.csharp-9.x branch from 3f613c7 to 4733770 Compare December 6, 2023 20:08
@renovate renovate bot changed the title chore(deps): update dependency sonaranalyzer.csharp to v9.15.0.81779 chore(deps): update dependency sonaranalyzer.csharp to v9.16.0.82469 Dec 21, 2023
@renovate renovate bot force-pushed the renovate/sonaranalyzer.csharp-9.x branch from 4733770 to e984803 Compare December 21, 2023 12:52
Copy link

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@meenzen meenzen merged commit 1850acd into main Dec 23, 2023
2 of 4 checks passed
@renovate renovate bot deleted the renovate/sonaranalyzer.csharp-9.x branch December 23, 2023 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant