SonarSource/sonar-dotnet (SonarAnalyzer.CSharp)
### [`v9.25.0.90414`](https://togithub.com/SonarSource/sonar-dotnet/releases/tag/9.25.0.90414): 9.25
[Compare Source](https://togithub.com/SonarSource/sonar-dotnet/compare/9.24.0.89429...9.25.0.90414)
Hello everyone,
This release comes with seven new rules for ASP.NET core alongside some improvements.
Enjoy!
##### New Rules
- [9096](https://togithub.com/SonarSource/sonar-dotnet/issues/9096) - \[C#] New Rule S6966: Awaitable method should be used
- [9095](https://togithub.com/SonarSource/sonar-dotnet/issues/9095) - \[C#] New Rule S6967: ModelState.IsValid should be called in controller actions
- [9094](https://togithub.com/SonarSource/sonar-dotnet/issues/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](https://togithub.com/SonarSource/sonar-dotnet/issues/9093) - \[C#] New rule S6968: Actions that return a value should be annotated with ProducesResponseTypeAttribute containing the return type
- [9092](https://togithub.com/SonarSource/sonar-dotnet/issues/9092) - \[C#] New rule S6965: You should use HttpAttribute in API controller actions
- [9091](https://togithub.com/SonarSource/sonar-dotnet/issues/9091) - \[C#] New rule S6962: You should pool HTTP connections with HttpClientFactory
- [9089](https://togithub.com/SonarSource/sonar-dotnet/issues/9089) - \[C#] New rule S6960: Controllers should not have too many responsibilities
##### Bug Fixes
- [9193](https://togithub.com/SonarSource/sonar-dotnet/issues/9193) - Fix AD0001: Named Attribute Arguments in S6930
##### False Positive
- [9219](https://togithub.com/SonarSource/sonar-dotnet/issues/9219) - \[C#] Fix S1144 FP: Getters/Setters of property with attribute are being flagged
##### Improvements
- [9187](https://togithub.com/SonarSource/sonar-dotnet/issues/9187) - Update RSPEC before 9.25 release
- [9186](https://togithub.com/SonarSource/sonar-dotnet/issues/9186) - \[C#] Rule S6961: Implement CodeFix
##### Rule deprecations and deletions
- [9175](https://togithub.com/SonarSource/sonar-dotnet/issues/9175) - \[VB.NET] Delete S2353: Remove deprecated rule
- [9189](https://togithub.com/SonarSource/sonar-dotnet/pull/9189) - \[C#] Deprecate S6803
Configuration
π Schedule: Branch creation - "before 10pm on Sunday" in timezone America/Chicago, Automerge - At any time (no schedule defined).
π¦ Automerge: Enabled.
β» Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
9.24.0.89429
->9.25.0.90414
Release Notes
SonarSource/sonar-dotnet (SonarAnalyzer.CSharp)
### [`v9.25.0.90414`](https://togithub.com/SonarSource/sonar-dotnet/releases/tag/9.25.0.90414): 9.25 [Compare Source](https://togithub.com/SonarSource/sonar-dotnet/compare/9.24.0.89429...9.25.0.90414) Hello everyone, This release comes with seven new rules for ASP.NET core alongside some improvements. Enjoy! ##### New Rules - [9096](https://togithub.com/SonarSource/sonar-dotnet/issues/9096) - \[C#] New Rule S6966: Awaitable method should be used - [9095](https://togithub.com/SonarSource/sonar-dotnet/issues/9095) - \[C#] New Rule S6967: ModelState.IsValid should be called in controller actions - [9094](https://togithub.com/SonarSource/sonar-dotnet/issues/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](https://togithub.com/SonarSource/sonar-dotnet/issues/9093) - \[C#] New rule S6968: Actions that return a value should be annotated with ProducesResponseTypeAttribute containing the return type - [9092](https://togithub.com/SonarSource/sonar-dotnet/issues/9092) - \[C#] New rule S6965: You should use HttpAttribute in API controller actions - [9091](https://togithub.com/SonarSource/sonar-dotnet/issues/9091) - \[C#] New rule S6962: You should pool HTTP connections with HttpClientFactory - [9089](https://togithub.com/SonarSource/sonar-dotnet/issues/9089) - \[C#] New rule S6960: Controllers should not have too many responsibilities ##### Bug Fixes - [9193](https://togithub.com/SonarSource/sonar-dotnet/issues/9193) - Fix AD0001: Named Attribute Arguments in S6930 ##### False Positive - [9219](https://togithub.com/SonarSource/sonar-dotnet/issues/9219) - \[C#] Fix S1144 FP: Getters/Setters of property with attribute are being flagged ##### Improvements - [9187](https://togithub.com/SonarSource/sonar-dotnet/issues/9187) - Update RSPEC before 9.25 release - [9186](https://togithub.com/SonarSource/sonar-dotnet/issues/9186) - \[C#] Rule S6961: Implement CodeFix ##### Rule deprecations and deletions - [9175](https://togithub.com/SonarSource/sonar-dotnet/issues/9175) - \[VB.NET] Delete S2353: Remove deprecated rule - [9189](https://togithub.com/SonarSource/sonar-dotnet/pull/9189) - \[C#] Deprecate S6803Configuration
π Schedule: Branch creation - "before 10pm on Sunday" in timezone America/Chicago, Automerge - At any time (no schedule defined).
π¦ Automerge: Enabled.
β» Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.