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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): bump SonarAnalyzer.CSharp from 8.40.0.48530 to 9.16.0.82469 #209

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 21, 2023

Bumps SonarAnalyzer.CSharp from 8.40.0.48530 to 9.16.0.82469.

Release notes

Sourced from SonarAnalyzer.CSharp's releases.

9.16

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

9.15

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

9.14

Hello everyone!

We are happy to announce that we now have 5 dedicated Blazor rules 馃殌 馃コ

... (truncated)

Commits
  • a314cfc Fix S2583 FP: nested try catch blocks (#8484)
  • 98ea39c Fix S1172 FP: VB names should not be case sensitive (#8490)
  • a6ab794 Fix S2259 FP: Raising issue in unreachable code when using declaration patter...
  • 6dda358 Fix S2589 FP: Discard pattern in switch statement (#8485)
  • da53571 Fix S2583 FP: Should not raise on double condition (#8475)
  • 8fcf7fa Update RSPEC before 9.16 release (#8487)
  • cfee18a Fix S2583/S2589 FP: Tuple deconstruction assignment (#8461)
  • 30fc307 BUILD-3696 fix mend scan (#8482)
  • 022a8b5 BUILD-3696 Use Agent Pool on AWS (#8479)
  • 4541c82 Fix S2583 FP: Delegate unsubscription (#8457)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [SonarAnalyzer.CSharp](https://github.com/SonarSource/sonar-dotnet) from 8.40.0.48530 to 9.16.0.82469.
- [Release notes](https://github.com/SonarSource/sonar-dotnet/releases)
- [Commits](SonarSource/sonar-dotnet@8.40.0.48530...9.16.0.82469)

---
updated-dependencies:
- dependency-name: SonarAnalyzer.CSharp
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Dec 21, 2023
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dependabot merge

Copy link
Contributor Author

dependabot bot commented on behalf of github Dec 21, 2023

Sorry, only users with push access can use that command.

Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 17, 2024

Superseded by #212.

@dependabot dependabot bot closed this Jan 17, 2024
@dependabot dependabot bot deleted the dependabot/nuget/SonarAnalyzer.CSharp-9.16.0.82469 branch January 17, 2024 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants