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 the all group with 9 updates #84

Merged
merged 1 commit into from
Mar 1, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 1, 2024

Bumps the all group with 9 updates:

Package From To
Meziantou.Analyzer 2.0.136 2.0.145
Roslynator.Analyzers 4.9.0 4.11.0
SonarAnalyzer.CSharp 9.16.0.82469 9.20.0.85982
System.Text.Json 8.0.1 8.0.2
Microsoft.NET.Test.Sdk 17.8.0 17.9.0
xunit 2.6.6 2.7.0
xunit.runner.visualstudio 2.5.6 2.5.7
coverlet.collector 6.0.0 6.0.1
csharpier 0.27.2 0.27.3

Updates Meziantou.Analyzer from 2.0.136 to 2.0.145

Release notes

Sourced from Meziantou.Analyzer's releases.

2.0.145

NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/2.0.145

What's Changed

Full Changelog: meziantou/Meziantou.Analyzer@2.0.144...2.0.145

2.0.144

NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/2.0.144

What's Changed

New Contributors

Full Changelog: meziantou/Meziantou.Analyzer@2.0.143...2.0.144

2.0.143

NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/2.0.143

What's Changed

Full Changelog: meziantou/Meziantou.Analyzer@2.0.142...2.0.143

2.0.142

NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/2.0.142

What's Changed

Full Changelog: meziantou/Meziantou.Analyzer@2.0.141...2.0.142

2.0.141

NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/2.0.141

What's Changed

Full Changelog: meziantou/Meziantou.Analyzer@2.0.140...2.0.141

2.0.140

NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/2.0.140

... (truncated)

Commits
  • c0972b2 Add code fixer for MA0154
  • 78170a9 Improve performance of some rules
  • d947560 New rule MA0154: Use langword in XML comment
  • 34a70d7 Grammatical correction of some comments
  • fbabed5 MA0124: Improve configuration to support deny list
  • 97c11a9 Update all dependencies
  • 1fd56e8 Update all dependencies
  • a063cca Update renovate.json
  • 1708857 Disable MA0134 in Expression<T>
  • 8e82029 Disable MA0141/MA0142/MA0148/MA0149 in System.Linq.Expression
  • Additional commits viewable in compare view

Updates Roslynator.Analyzers from 4.9.0 to 4.11.0

Release notes

Sourced from Roslynator.Analyzers's releases.

v4.11.0

Added

  • Add analyzer "Use raw string literal" RCS1266 (PR)
  • Add analyzer "Convert 'string.Concat' to interpolated string" RCS1267 (PR)
  • Simplify LINQ query RCS1077 (PR)
    • items.Select(selector).Average() => items.Average(selector)
    • items.Select(selector).Sum() => items.Sum(selector)

Fixed

v4.10.0

Added

Changed

  • Update analyzer RCS1197 (PR)
    • Do not report interpolated string and string concatenation

Fixed

Changelog

Sourced from Roslynator.Analyzers's changelog.

[4.11.0] - 2024-02-19

Added

  • Add analyzer "Use raw string literal" RCS1266 (PR)
  • Add analyzer "Convert 'string.Concat' to interpolated string" RCS1267 (PR)
  • Simplify LINQ query RCS1077 (PR)
    • items.Select(selector).Average() => items.Average(selector)
    • items.Select(selector).Sum() => items.Sum(selector)
  • Add analyzer "Simplify numeric comparison" RCS1268 (PR by @​jakubreznak)

Fixed

[4.10.0] - 2024-01-24

Added

Changed

  • Update analyzer RCS1197 (PR)
    • Do not report interpolated string and string concatenation

Fixed

Commits

Updates SonarAnalyzer.CSharp from 9.16.0.82469 to 9.20.0.85982

Release notes

Sourced from SonarAnalyzer.CSharp's releases.

9.20

Hey everyone!

This release brings a vast number of improvements. The main focus lies on improving the capabilities of our Symbolic Execution engine, which results in much more accurate findings. The biggest visible impact is a significant reduction in false positives around loops for the rules S2583 and S2589.

And a big thank you to @​rcatley for their external contribution!

Bug Fixes

  • 8642 - [C#] Exception in SonarAnalyzer.Rules.CSharp.SymbolicExecutionRunner

False Positive

  • 8678 - [C#, VB.NET] Fix S2583 FP: Variable Updated in Catch Block
  • 8028 - [C#, VB.NET] Fix S2583 FP: Loop with manually incremented counter
  • 8449 - [C#, VB.NET] Fix S2589 FP: Change this condition so that it does not always evaluate to 'True'
  • 8495 - [C#, VB.NET] Fix S2583/S2589 FP: Return inside lock and using causes FP after the block
  • 8428 - [C#, VB.NET] Fix S2583/S2589 FP: For loop with Array.Length
  • 8483 - [C#, VB.NET] Fix S4158 FP: Should not report on HashSet.UnionWith for readonly fields.
  • 8739 - [C#] Fix S4049 FP: Do not raise on methods with generic parameters
  • 8638 - [C#] Fix S2386 & S3887 FP: should not be raised for FrozenDictionary and FrozenSet
  • 8611 - [C#] Fix S2372 FP: Add support for method invocations (@​rcatley)
  • 8567 - [C#] Fix S2325 FP: Primary Constructor Support

False Negative

  • 8486 - [C#] Fix S2589 FN: Tuple binary operations (comparison)

Improvements

  • 8010 - [C#, VB.NET] S2589: Improve message in the case of null propagating operator
  • 7866 - [C#, VB.NET] SE: Allow collection tracking even when S4158 is not active
  • 8499 - [C#] SE: Learn number constraints from relational pattern
  • 8651 - Update RSPEC before 9.20 release

9.19

Hello,

small release to enhance the deprecation warning before SonarQube v.10.4, explicitly notifying users analyzing with MSBuild 14 that it's no longer supported while maintaining the deprecation status for MSBuild 15. Furthermore, we've also introduced three improvements to our rules:

Improvements

  • 8609 - AnalysisWarningAnalyzerBase: targeted warnings for MSBuild14/15
  • 8559 - [C#, VB.NET] Fix S2178 Rule message: Mention extracting right operand if applicable
  • 6139 - [C#, VB.NET] Detect symbol references for @ keyword identifiers
  • 3753 - [C#, VB.NET] S1186: also inspect empty set and init and empty local functions

9.18

Hi everyone!

This release focuses on fixing false positives and on general improvements that will be included in the upcoming SonarQube 10.4.

False Positive

  • 7792 - [C#, VB.NET] Fix S1125 FP: Type check with System.Object
  • 7904 - [C#] Fix S1144 FP: Record method PrintMembers
  • 6326 - [C#] Fix S2437 FP: None of the operands is 0

... (truncated)

Commits
  • afd7543 Fix S2583/2589 FP: Return inside lock, using and finally causes FP after the ...
  • 4644b28 SE: Learn number constraints from relational pattern (#8773)
  • 3ad4377 Fix S2583/S2589 FP: try-finally in loop (#8755)
  • e3ef756 Update RSPEC before 9.20 release (#8775)
  • 9161bc0 Fix S2583/S2589 FP: try-catch in loop (#8753)
  • 5d6b781 SE Loops: Addition for same sign operands (#8760)
  • 32f2bdb Coding style: Remove compiler directives (#8757)
  • 4f18a86 Support Tuple Binary Operations in Symbolic Execution (#8718)
  • 6069617 S2589: Add FP Repro for #8570 (#8759)
  • ecf5aea SE: Move CollectionConstraint from S4158 to the engine (part 6) (#8733)
  • Additional commits viewable in compare view

Updates System.Text.Json from 8.0.1 to 8.0.2

Release notes

Sourced from System.Text.Json's releases.

.NET 8.0.2

Release

Commits
  • 1381d5e Merge in 'release/8.0' changes
  • c987e4f [release/8.0] Fix Options Source Gen RangeAttribute Thread Safety (#97110)
  • 441c91d Merge in 'release/8.0' changes
  • c93800e Merge pull request #97065 from carlossanlop/release/8.0-staging
  • c2d2bb3 Merge branch 'release/8.0' into release/8.0-staging
  • 6d35e39 [release/8.0-staging] UInt64.CreateSaturating<Int128> truncates instead of sa...
  • 96b0a55 [release/8.0-staging] macOS: Set certificate as a dependency of private key h...
  • 85c2772 [release/8.0] Fix server-side OCSP stapling on Linux (#96838)
  • 683da71 [release/8.0-staging] Gen0 segment should always be reported as Gen0 for DacH...
  • f9d0a7b [release/8.0-staging] Fix Crossgen2 PDB generation (again) (#96566)
  • Additional commits viewable in compare view

Updates Microsoft.NET.Test.Sdk from 17.8.0 to 17.9.0

Release notes

Sourced from Microsoft.NET.Test.Sdk's releases.

v17.9.0

What's Changed

New Contributors

Full Changelog: microsoft/vstest@v17.8.0...v17.9.0

v17.9.0-release-23619-01

What's Changed

Full Changelog: microsoft/vstest@v17.9.0-preview-23577-04...v17.9.0-release-23619-01

v17.9.0-preview-23577-04

What's Changed

Full Changelog: microsoft/vstest@v17.9.0-preview-23531-01...v17.9.0-preview-23577-04

v17.9.0-preview-23531-01

What's Changed

Full Changelog: microsoft/vstest@v17.9.0-preview-23503-02...v17.9.0-preview-23531-01

v17.9.0-preview-23503-02

What's Changed

Full Changelog: microsoft/vstest@v17.8.0-release-23468-02...v17.9.0-preview-23503-02

Commits

Updates xunit from 2.6.6 to 2.7.0

Commits
  • d806fa1 v2.7.0
  • 13bb60b #2872: Expand special handling for sets in Assert.Contains/DoesNotContain (v2)
  • 203b4d9 Update to use the common build system (#2883)
  • a4f585b Remove UTF-8 byte order marks
  • 8b2c7b2 Add v3 build submodule
  • 2413c57 Throw when user tries to run a non-async test with a timeout
  • 9ebc10c #2573: Opting out of AsyncTestSyncContext (v2)
  • b060404 xunit/xunit#2880: Update XML documentation for string-based Assert.Equal (v2)
  • 6bbf922 Add conditions to EquivalenceAssertsTests for XUNIT_IMMUTABLE_COLLECTIONS
  • cab6a3e #2871: Inner exception stack trace is missing from Assert.Collection failure ...
  • Additional commits viewable in compare view

Updates xunit.runner.visualstudio from 2.5.6 to 2.5.7

Commits

Updates coverlet.collector from 6.0.0 to 6.0.1

Release notes

Sourced from coverlet.collector's releases.

v6.0.1

Fixed

  • Uncovered lines in .NET 8 for inheriting records #1555
  • Fix record constructors not covered when SkipAutoProps is true #1561
  • Fix .NET 7 Method Group branch coverage issue #1447
  • Fix ExcludeFromCodeCoverage does not exclude method in a partial class #1548
  • Fix ExcludeFromCodeCoverage does not exclude F# task #1547
  • Fix issues where ExcludeFromCodeCoverage ignored #1431
  • Fix issues with ExcludeFromCodeCoverage attribute #1484
  • Fix broken links in documentation #1514
  • Fix problem with coverage for .net5 WPF application #1221 by https://github.com/lg2de
  • Fix unable to instrument module for Microsoft.AspNetCore.Mvc.Razor #1459 by https://github.com/lg2de

Improvements

Diff between 6.0.0 and 6.0.1

Commits

Updates csharpier from 0.27.2 to 0.27.3

Release notes

Sourced from csharpier's releases.

0.27.3

What's Changed

Add more options to CodeFormatterOptions #1172

The API for CSharpier was only exposing CodeFormatterOptions.PrintWidth. It is now in sync with the CLI and exposes all of the available options

public class CodeFormatterOptions
{
    public int Width { get; init; } = 100;
    public IndentStyle IndentStyle { get; init; } = IndentStyle.Spaces;
    public int IndentSize { get; init; } = 4;
    public EndOfLine EndOfLine { get; init; } = EndOfLine.Auto;
}

Thanks go to @​Phault for the contribution

Extra indent when call method on RawStringLiteral #1169

When a raw string literal was the first argument to a method call, it was getting an extra indent.

// input & expected output
CallMethod(
    """
    SomeRawString
    """.CallMethod()
);
// 0.27.2
CallMethod(
"""
SomeRawString
""".CallMethod()
);

Thanks go to @​Rudomitori for reporting the bug.

Using aliases sorting is not always the same depending on the input order #1168

Using aliases were not sorting properly, resulting differing outputs and unstable formatting.

Inputs of

using A = string;
using B = string;
using C = string;
using D = string;

And

using D = string;
</tr></table> 

... (truncated)

Changelog

Sourced from csharpier's changelog.

0.27.2+b456544aad8957d0e2026afe1a37544bb74552ba


CSharpier no longer includes the commit hash
```bash
> dotnet csharpier --version
0.27.3

Full Changelog: belav/csharpier@0.27.2...0.27.3

0.27.2

What's Changed

Orphan variable since 0.27.1 #1153

0.27.1 introduced the following formatting regression, resulting in short variables being orphaned on a line

// 0.27.1
o
    .Property.CallMethod(
        someParameter_____________________________,
        someParameter_____________________________
    )
    .CallMethod()
    .CallMethod();
// 0.27.2
o.Property.CallMethod(
someParameter_____________________________,
someParameter_____________________________
)
.CallMethod()
.CallMethod();

Thanks go to @​aurnoi1 for reporting the bug

Better support for CSharp Script #1141

Version 0.27.1 parsed .csx files as if they were C#, so it could only format simple ones. It now parses them as CSharpScript files so it can format them properly.

Thanks go to @​Eptagone for reporting the bug.

Full Changelog: belav/csharpier@0.27.1...0.27.2

0.27.1

What's Changed

Support for CSharp Script #1141

Previously CSharpier would only format files matching *.cs which prevented it from formatting C# script files. It now formats *.{cs,csx}

Thanks go to @​Eptagone for the suggestion

Weird formatting of invocation chain #1130

Invocation chains that started with an identifier <= 4 characters were causing a strange break in the first method call. There were other edge cases cleaned up while working on the fix.

... (truncated)

Commits

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 <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the all group with 9 updates:

| Package | From | To |
| --- | --- | --- |
| [Meziantou.Analyzer](https://github.com/meziantou/Meziantou.Analyzer) | `2.0.136` | `2.0.145` |
| [Roslynator.Analyzers](https://github.com/dotnet/roslynator) | `4.9.0` | `4.11.0` |
| [SonarAnalyzer.CSharp](https://github.com/SonarSource/sonar-dotnet) | `9.16.0.82469` | `9.20.0.85982` |
| [System.Text.Json](https://github.com/dotnet/runtime) | `8.0.1` | `8.0.2` |
| [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) | `17.8.0` | `17.9.0` |
| [xunit](https://github.com/xunit/xunit) | `2.6.6` | `2.7.0` |
| [xunit.runner.visualstudio](https://github.com/xunit/visualstudio.xunit) | `2.5.6` | `2.5.7` |
| [coverlet.collector](https://github.com/coverlet-coverage/coverlet) | `6.0.0` | `6.0.1` |
| [csharpier](https://github.com/belav/csharpier) | `0.27.2` | `0.27.3` |


Updates `Meziantou.Analyzer` from 2.0.136 to 2.0.145
- [Release notes](https://github.com/meziantou/Meziantou.Analyzer/releases)
- [Commits](meziantou/Meziantou.Analyzer@2.0.136...2.0.145)

Updates `Roslynator.Analyzers` from 4.9.0 to 4.11.0
- [Release notes](https://github.com/dotnet/roslynator/releases)
- [Changelog](https://github.com/dotnet/roslynator/blob/main/ChangeLog.md)
- [Commits](dotnet/roslynator@v4.9.0...v4.11.0)

Updates `SonarAnalyzer.CSharp` from 9.16.0.82469 to 9.20.0.85982
- [Release notes](https://github.com/SonarSource/sonar-dotnet/releases)
- [Commits](SonarSource/sonar-dotnet@9.16.0.82469...9.20.0.85982)

Updates `System.Text.Json` from 8.0.1 to 8.0.2
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](dotnet/runtime@v8.0.1...v8.0.2)

Updates `Microsoft.NET.Test.Sdk` from 17.8.0 to 17.9.0
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Changelog](https://github.com/microsoft/vstest/blob/main/docs/releases.md)
- [Commits](microsoft/vstest@v17.8.0...v17.9.0)

Updates `xunit` from 2.6.6 to 2.7.0
- [Commits](xunit/xunit@2.6.6...2.7.0)

Updates `xunit.runner.visualstudio` from 2.5.6 to 2.5.7
- [Release notes](https://github.com/xunit/visualstudio.xunit/releases)
- [Commits](xunit/visualstudio.xunit@2.5.6...2.5.7)

Updates `coverlet.collector` from 6.0.0 to 6.0.1
- [Release notes](https://github.com/coverlet-coverage/coverlet/releases)
- [Commits](coverlet-coverage/coverlet@v6.0.0...v6.0.1)

Updates `csharpier` from 0.27.2 to 0.27.3
- [Release notes](https://github.com/belav/csharpier/releases)
- [Changelog](https://github.com/belav/csharpier/blob/main/CHANGELOG.md)
- [Commits](belav/csharpier@0.27.2...0.27.3)

---
updated-dependencies:
- dependency-name: Meziantou.Analyzer
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all
- dependency-name: Roslynator.Analyzers
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: SonarAnalyzer.CSharp
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: System.Text.Json
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all
- dependency-name: Microsoft.NET.Test.Sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: xunit
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: xunit.runner.visualstudio
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all
- dependency-name: coverlet.collector
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all
- dependency-name: csharpier
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot requested a review from bmazzarol as a code owner March 1, 2024 11:46
@dependabot dependabot bot added .NET Pull requests that update .net code dependencies Pull requests that update a dependency file labels Mar 1, 2024
@bmazzarol bmazzarol merged commit e268420 into main Mar 1, 2024
5 checks passed
@bmazzarol bmazzarol deleted the dependabot/nuget/all-d278b87382 branch March 1, 2024 23:39
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.

None yet

1 participant