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): Bump SonarAnalyzer.CSharp from 9.0.0.68202 to 9.10.0.77988 #280

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 17, 2023

Bumps SonarAnalyzer.CSharp from 9.0.0.68202 to 9.10.0.77988.

Release notes

Sourced from SonarAnalyzer.CSharp's releases.

9.10

Hello everyone,

We are happy to announce that this version enables the analysis of Razor files (.cshtml and .razor) 🚀.

The feature will be enabled by default and can be configured in the Languages settings, in the next versions of SonarQube / SonarCloud:

Currently, Razor files are not supported in Visual Studio (when using NuGet packages or SonarLint) due to some limitations in the IDE. See dotnet/razor#9108.

Improvements

  • 7942 - [C#, VB.NET] Delete S4818 (Deprecated)
  • 7939 - [C#, VB.NET] Delete S4787 (Deprecated)
  • 7985 - [C#, VB.NET] Fix S6563: Typo in issue message
  • 7954 - Update RSPEC before 9.10 release

False Positive

  • 8005 - [C#] Fix S4004 FP: The rule should not raise on the properties decorated with the Parameter attribute

9.9

Hello everyone!

This release is focused on improving the symbolic execution engine to increase the issue accuracy. We also deleted rule S2255 as its deprecation period came to an end.

Deleted Rules:

  • 7853 - Delete S2255 (Deprecated).

False Positives

  • 7859 - [C#, VB.NET] Fix S2589/S4158: Do not consider a collection not to be empty if a remove method was called.
  • 6158 - [C#, VB.NET] Fix S2259 FP: Recognize NotNull results of String methods

False Negatives

  • 7910 - [C#] Fix S112 FN: When using null-coalesce operator.
  • 7861 - [C#, VB.NET] Fix S4158 FN: If a collection is cleared, mark the collection as empty.
  • 7780 - [C#, VB.NET] Fix S2589 FN: Track numerical constant patterns.
  • 7704 - [C#, VB.NET] Fix FN S2583/S2589 when Equals is invoked with bool or number parameters.

Other improvements

  • Modify rule S3776 - Change the remediation cost from constant to analogous to the excess over the complexity threshold.
  • 7825 - Update RSPEC before the 9.9 release.

9.8

This release completes our effort to migrate all our symbolic execution rules from our old to our new engine: S2583 and S2589 are now migrated and see significant improvements. Also, they are now available for VB.NET. This being the last analyzer to migrate means that the engines don't run in parallel anymore, which significantly reduces analysis time.

On top of that, our TokenTypeAnalyzer got a rework, which also improves performance in terms of analysis time and memory usage.

This new release supports a new taxonomy for issues and hotspots that better reflects the characteristics of Clean Code.

... (truncated)

Commits
  • 6c52c54 Update rspec before release (#8018)
  • 6196eda S2589: Add repros (#8014)
  • 1b1bbc4 Fix S3900 FP: should not consider .razor generated file parameters (#8013)
  • 62e9669 S3427: Implement location fix for issues in razor files (#8015)
  • 9900363 Fix rules that rely on DiagnosticReportHelper.GetLineNumberToReport for raz...
  • 5960e45 Fix S4004 FP: The rule should not raise for properties with Parameter attribu...
  • 13f21c1 Document false negative for symbol reporting (#8002)
  • 51ee788 Document metric issues found during validation (#8000)
  • 3f067c7 Fix the coverage import for .razor files (#7996)
  • cb0afe6 UTs: Delete HashSet with deleted rule IDs (#7948)
  • 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 9.0.0.68202 to 9.10.0.77988.
- [Release notes](https://github.com/SonarSource/sonar-dotnet/releases)
- [Commits](SonarSource/sonar-dotnet@9.0.0.68202...9.10.0.77988)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added .NET Pull requests that update .net code dependencies Pull requests that update a dependency file labels Sep 17, 2023
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 2, 2023

Superseded by #285.

@dependabot dependabot bot closed this Oct 2, 2023
@dependabot dependabot bot deleted the dependabot/nuget/SonarAnalyzer.CSharp-9.10.0.77988 branch October 2, 2023 04:02
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 .NET Pull requests that update .net code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants