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

Bump SonarAnalyzer.CSharp from 9.12.0.78982 to 9.15.0.81779 #33

Merged

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps SonarAnalyzer.CSharp from 9.12.0.78982 to 9.15.0.81779.

Release notes

Sourced from SonarAnalyzer.CSharp's releases.

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 🚀 🥳

Special thanks to our contributor (and former colleague) @​sagi1623 for fixing SonarSource/sonar-dotnet#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

... (truncated)

Commits

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.12.0.78982 to 9.15.0.81779.
- [Release notes](https://github.com/SonarSource/sonar-dotnet/releases)
- [Commits](SonarSource/sonar-dotnet@9.12.0.78982...9.15.0.81779)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Dec 11, 2023
@VladislavAntonyuk VladislavAntonyuk merged commit 288d26a into main Dec 14, 2023
3 checks passed
@dependabot dependabot bot deleted the dependabot/nuget/SonarAnalyzer.CSharp-9.15.0.81779 branch December 14, 2023 08:30
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.

1 participant