Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 2, 2024

Bumps SonarAnalyzer.CSharp from 9.32.0.97167 to 10.3.0.106239.

Release notes

Sourced from SonarAnalyzer.CSharp's releases.

10.3



False Positive

  • NET-675 - Fix S1144 FP: support struct constructor calls
  • NET-499 Telemetry: Report Language version and target framework

Other

10.2



New Rules

  • NET-635 - [C#] New rule S6418 for C#: Hard-coded secrets are security-sensitive

Improvement

  • NET-567 - Remove S6605 from SonarWay profile and update the RSPEC to mention that the rule makes sense only for .NET versions <9
  • NET-566 - Remove S6603 from SonarWay profile and update the RSPEC to mention that the rule makes sense only for .NET versions <9
  • NET-407 - S2551: Improve RSpec recommendation
  • NET-226 - S3878: Improve RSPEC to include collection expressions
  • NET-528 - MetricAnalyzer: Line numbers does not respect ExcludeFromCodeCoverage for partial properties
  • NET-527 - MetricAnalyzer: Function count should not count partial property declaration parts

False Positive

  • NET-553 - Fix S4260 FP: Do not raise twice for partial properties
  • NET-543 - Fix S4059 FP: Do not raise twice for partial properties
  • NET-534 - Fix S3353 FP: Support ref locals
  • NET-456 - Fix S2292 FP: Do not raise on partial properties
  • NET-389 - Fix S2386 FP: support 'ReadOnlySet'
  • NET-388 - Fix S3887 FP: support 'ReadOnlySet'
  • NET-356 - Fix S3878 FP: support 'param' with implicit custom methods
  • NET-568 - Remove S6602 from SonarWay profile and update the RSPEC to mention that the rule makes sense only for .NET versions <9
  • NET-601 - Fix S4275 FP: Support &= assignment

False Negative

  • NET-550 - SymbolReferenceAnalyzer: References to partial declarations are not detected
  • NET-416 - Fix S2201 FN: Add support for FrozenSet
  • NET-368 - Fix S4015 FN: Does not trigger on indexers
  • NET-359 - Fix S4545 FN: Escape chars and new lines breaks DebuggerDisplay

10.1

False Negative

  • NET-228 - S5856: Support Regex.EnumerateSplits and Regex.EnumerateMatches

... (truncated)

Commits
  • b785ab0 NET-767 Add test importer for MSTest format
  • ae1b97f NET-776 Public pipeline: Remove .NET ITs
  • 2249e84 NET-781 Move sensor test files into subfolder
  • d904f76 NET-775 Public pipeline: Remove signing
  • 165775c NET-629 Update public SLN
  • 703f08d NET-779 Cleanup after ITs.JsonParser move
  • a3169e6 NET-782 Config: Move rules to the correct namespace
  • 90fcbe4 NET-710 Fix S2325 FP: WPF event handlers should be ignored
  • de9a681 NET-772 Move ITs.JsonParser
  • 71b9a00 NET-465 Move filters to dedicated package
  • 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)

@dependabot dependabot bot added .NET Pull requests that update .net code dependencies Pull requests that update a dependency file labels Dec 2, 2024
Bumps [SonarAnalyzer.CSharp](https://github.com/SonarSource/sonar-dotnet) from 9.32.0.97167 to 10.3.0.106239.
- [Release notes](https://github.com/SonarSource/sonar-dotnet/releases)
- [Commits](SonarSource/sonar-dotnet@9.32.0.97167...10.3.0.106239)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/nuget/SonarAnalyzer.CSharp-10.3.0.106239 branch from 2c7fe60 to 99e090b Compare December 9, 2024 14:57
Copy link
Member

@teo-tsirpanis teo-tsirpanis left a comment

Choose a reason for hiding this comment

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

Version 10 of SonarAnalyzer.CSharp was relicensed to be source-available, while still granting a broad permission to use it as long as we don't compete (we obviously don't). Also note that this dependency is development-only and is not referenced by consumers of the C# API.

Will merge in 24 hours unless there is an objection. c.c. @ihnorton

@teo-tsirpanis teo-tsirpanis merged commit bdedd7b into main Dec 10, 2024
4 checks passed
@dependabot dependabot bot deleted the dependabot/nuget/SonarAnalyzer.CSharp-10.3.0.106239 branch December 10, 2024 20:09
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.

1 participant