Skip to content
This repository was archived by the owner on Dec 3, 2024. It is now read-only.

build(deps): Bump SonarAnalyzer.CSharp from 9.23.1.88495 to 9.25.1.91650#25

Merged
dependabot[bot] merged 1 commit intomainfrom
dependabot/nuget/SonarAnalyzer.CSharp-9.25.1.91650
May 23, 2024
Merged

build(deps): Bump SonarAnalyzer.CSharp from 9.23.1.88495 to 9.25.1.91650#25
dependabot[bot] merged 1 commit intomainfrom
dependabot/nuget/SonarAnalyzer.CSharp-9.25.1.91650

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 23, 2024

Bumps SonarAnalyzer.CSharp from 9.23.1.88495 to 9.25.1.91650.

Release notes

Sourced from SonarAnalyzer.CSharp's releases.

9.25.1

The latest Roslyn compiler version changes the way Razor files are compiled, and this hotfix release takes care of these changes. For more information check this issue.

Bug Fixes

  • 9288 - [C#] Metrics analyzer for Razor: Lines of code are outside the range of the file

9.25

Hello everyone,

This release comes with seven new rules for ASP.NET core alongside some improvements. Enjoy!

New Rules

  • 9096 - [C#] New Rule S6966: Awaitable method should be used
  • 9095 - [C#] New Rule S6967: ModelState.IsValid should be called in controller actions
  • 9094 - [C#] New Rule S6964: The value type properties of a model class should be nullable or marked as "Required" to avoid under-posting.
  • 9093 - [C#] New rule S6968: Actions that return a value should be annotated with ProducesResponseTypeAttribute containing the return type
  • 9092 - [C#] New rule S6965: You should use HttpAttribute in API controller actions
  • 9091 - [C#] New rule S6962: You should pool HTTP connections with HttpClientFactory
  • 9089 - [C#] New rule S6960: Controllers should not have too many responsibilities

Bug Fixes

  • 9193 - Fix AD0001: Named Attribute Arguments in S6930

False Positive

  • 9219 - [C#] Fix S1144 FP: Getters/Setters of property with attribute are being flagged

Improvements

  • 9187 - Update RSPEC before 9.25 release
  • 9186 - [C#] Rule S6961: Implement CodeFix

Rule deprecations and deletions

  • 9175 - [VB.NET] Delete S2353: Remove deprecated rule
  • 9189 - [C#] Deprecate S6803

9.24

Hey everyone, This release contains one new ASP.NET Rule (S6961) and several general improvements and fixes. Enjoy!

Improvements

  • 9090 - [C#] New rule S6961 for C#: API Controllers should derive from ControllerBase instead of Controller
  • 8696 - Fix coverage aggregation from multiple reports
  • 9048 - Create SonarAnalyzer.CSharp.Styling project
  • 7774 - [C#, VB.NET] Fix S1144: Nested type constructor accessibility is wrong in the rule message
  • 8980 - Update RSPEC before 9.24 release

Bug Fixes

  • 9113 - [C#, VB.NET] AD0001: ArgumentNullException in SymbolicExecutionRunner
  • 8977 - [C#] CfgAllPathValidator AreAllSuccessorsValid Stack Overflow on Windows and error MSB6006 in Linux Codespaces

False Positive

... (truncated)

Commits
  • bb8738a Update Azure DevOps CI triggers (#9314)
  • c1b8fd7 Metrics analyzer for Razor: Lines of code are outside the range of the file (...
  • 2d5c052 Razor mappings: Ensure we check if the mapped span is valid (#9305)
  • 2e96863 Create reproducer for #9288 (#9297)
  • dda339e Remove outdated comment
  • 0d5fc8b Fix comment with expectation
  • 811f7d2 Update the lines order
  • 524f1f6 Remove "wrong location" mentioning
  • 053a756 Update UTs to reflect the latest changes from dotnet 8.0.5
  • 3d24a9b Force the use of the latest dotnet SDK
  • 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 will merge this PR once CI passes on it, as requested by @samtrion.


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

---
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 requested a review from a team as a code owner May 23, 2024 14:27
@dependabot dependabot bot requested review from samtrion and removed request for a team May 23, 2024 14:27
Copy link
Contributor

@samtrion samtrion left a comment

Choose a reason for hiding this comment

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

@dependabot squash and merge

@codecov
Copy link

codecov bot commented May 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (04f7476) to head (3a2b48d).
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #25   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            1         1           
  Lines           17        17           
  Branches         3         3           
=========================================
  Hits            17        17           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@dependabot dependabot bot merged commit 8830e06 into main May 23, 2024
@dependabot dependabot bot deleted the dependabot/nuget/SonarAnalyzer.CSharp-9.25.1.91650 branch May 23, 2024 14:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant