Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 28, 2025

Updated AwesomeAssertions from 8.1.0 to 9.1.0.

Release notes

Sourced from AwesomeAssertions's releases.

9.1.0

What's Changed

What's new

Fixes

Others

Full Changelog: AwesomeAssertions/AwesomeAssertions@9.0.0...9.1.0

9.0.0

What's Changed

Others

Full Changelog: AwesomeAssertions/AwesomeAssertions@8.2.0...9.0.0

9.0.0-rc.1

What's Changed

Others

Full Changelog: AwesomeAssertions/AwesomeAssertions@8.2.0...9.0.0-rc.1

8.2.0

What's Changed

Others

Full Changelog: AwesomeAssertions/AwesomeAssertions@8.1.0...8.2.0

What's Changed

Improvements

Others

Commits viewable in compare view.

Updated csharpier from 0.30.6 to 1.0.3.

Release notes

Sourced from csharpier's releases.

1.0.3

What's Changed

Switch block case with conditionals adding newlines #​1630

Switch blocks were breaking on conditions within patterns.

// input and expected output
switch ("")
{
    case "" or "":
        break;
}

// 1.0.2
switch ("")
{
    case ""
    or "":
        break;
}

switch expression formatting adds odd newlines #​1620

CSharpier was breaking after a discard with a when, resulting in extra new lines

// input and expected output
_ = someValue switch
{
    _ when KeepWhenWithDiscard() => "",
    _ when KeepWhenWithDiscard_________________(
            SomeObject_______________________________________________
        ) => "",
    _ when KeepWhenWithDiscard_________________(
            SomeObject_______________________________________________
        ) => "LongString_____________________________________________________________________",
};

// 1.0.2
_ = someValue switch
{
    _ when KeepWhenWithDiscard() => "",
    _
        when KeepWhenWithDiscard_________________(
            SomeObject_______________________________________________
        ) => "",
    _
        when KeepWhenWithDiscard_________________(
            SomeObject_______________________________________________
        ) => "LongString_____________________________________________________________________",
};

multi-line raw string in linq query causes a subsequent linq query to be printed on one line #​1617

... (truncated)

1.0.2

What's Changed

Performance issues when supporting .gitignore. #​1588

CSharpier was using a naive algorithm for parsing and evaluating gitignore rules that caused significant perfomance issues. @​kevinboss reworked the implementation to drastically increate performance.

Exclude bin/ and obj/ directory content from xml formatting #​1600

CSharpier now excludes all files in bin/ and obj/ by default.

Error on syntactically valid conditional with is #​1612

The following c# is valid and compiles with 9.0.300+. CSharpier was updated to properly parse it.

var x = y is y ? [] : z ?? [];

Xml formatting with comments in text element inserts extra new lines #​1607

CSharpier has some issues with formatting text that contained xml comments. That has been improved.

Input & expected output

<NoWarn>
  CA1031; <!-- Since this is not a library project, catching general exceptions is OK -->
  IDE0005; <!-- Allow unused usings -->
</NoWarn>

1.0.1

<NoWarn
    >
      CA1031;
    <!-- Since this is not a library project, catching general exceptions is OK -->

    
      IDE0005;
    <!-- Allow unused usings -->
</NoWarn>

Inconsistent formatting of single-line lambda expressions #​1594

CSharpier 1.0.0 introduced a regression that caused the following formatting. This is now working as expected.

// input & expected output
        CallMethod(() => CallAnotherMethod______________________________________________________());
        CallMethod(() =>
            CallAnotherMethod______________________________________________________1()
        );
        CallMethod(() =>
            CallAnotherMethod______________________________________________________12()
        );
        CallMethod(() =>
            CallAnotherMethod______________________________________________________123()
        );

// 1.0.0
 ... (truncated)

## 1.0.1

## What's Changed
### CSharpier's support for .gitignore is causing performance issues [#​1584](https://github.com/belav/csharpier/issues/1584)
The support for `.gitignore` has some major performance problems when there are a large number of `.gitignore` files and/or ignore rules. The feature has been disabled for now until it can be fixed.
### CSharpier.MsBuild issues [#​1586](https://github.com/belav/csharpier/issues/1586)
CSharpier.MsBuild was not properly logging errors when performing a formatting check. This would result in the build passing when files were not formatted.
Setting `CSharpier_LogLevel` was passing an invalid parameter of `--loglevel` to CSharpier, resulting in a build failure


**Full Changelog**: https://github.com/belav/csharpier/compare/1.0.0...1.0.1

## 1.0.0

## Major Changes
### Support for formatting XML [#​819](https://github.com/belav/csharpier/issues/819)
CSharpier now formats xml files by default. It will try to format ".csproj", ".props", ".targets", ".xml", ".config" as if they were xml. \
If a file is not valid xml it will be treated as a warning. \
The default indent size is `2` instead of `4`

### Performance Improvements
@​TimothyMakkison put a lot of effort into improving the performance of CSharpier. These benchmark numbers show drastic improvement for both speed and memory usage.

Baseline
Method Mean Error StdDev Median Gen0 Gen1 Gen2 Allocated
Default_CodeFormatter_Tests 233.3 ms 4.63 ms 8.23 ms 229.7 ms 11000.0000 4000.0000 1000.0000 101.41 MB
Default_CodeFormatter_Complex 433.7 ms 8.53 ms 7.56 ms 433.4 ms 20000.0000 5000.0000 1000.0000 182.44 MB

After Improvements
Method Mean Error StdDev Gen0 Gen1 Allocated
Default_CodeFormatter_Tests 64.72 ms 0.548 ms 0.512 ms 1666.6667 1000.0000 18.33 MB
Default_CodeFormatter_Complex 137.83 ms 2.730 ms 4.708 ms 3000.0000 1000.0000 30.78 MB
## Breaking Changes
### ConfigurationFile - rename TabWidth to IndentSize [#​1377](https://github.com/belav/csharpier/issues/1377)
In order to get consistency between an `.editorconfig` and `.csharpierconfig` the option `TabWidth` has been renamed to `IndentSize`. This is also a more accurate name considering by default indentation is done with spaces and not tabs.
### Rework the CLI to use commands and arguments. [#​1321](https://github.com/belav/csharpier/issues/1321)
The CLI has been reworked to use commands. This helps make it clear which arguments apply to which commands. The two common commands are below, see https://csharpier.com/docs/CLI for more details.

dotnet csharpier format .
dotnet csharpier check .

### Changing the tool command to csharpier. Changing the assembly/exe to CSharpier [#​1418](https://github.com/belav/csharpier/pull/1418)
Prior to `1.0.0` the tool command was `dotnet-csharpier` and assembly/exe were named `dotnet_csharpier`. 
The tool command name was changed to just `csharpier`
- Running a local tool remains the same `dotnet csharpier --version`
- Running a global tool is changed to `csharpier --version`

The assembly/exe names have changed to just `CSharpier`

### Support for ignoring files via a .gitignore [#​631](https://github.com/belav/csharpier/issues/631)
CSharpier now works as follows when determining if a file should be ignored.

- .gitignore files are considered when determining if a file will be ignored. A .gitignore file at the same level as a given file will take priority over a .gitignore file above it in the directory tree.
- If a .csharpierignore file is present at the same level or anywhere above the given file in the tree and it contains a pattern for a given file, that will take priority.
- The patterns within .csharpierignore work the same as a .gitignore, with patterns lower in the file taking priority over patterns above
- CSharpier does not currently look further up the directory tree for additional .csharpierignore files if it finds one. But it does look for .gitignore files. If there is demand this could be added later.
## What's Changed
 ... (truncated)

Commits viewable in [compare view](https://github.com/belav/csharpier/compare/0.30.6...1.0.3).
</details>

Updated [JsonDiffPatch.Net](https://github.com/wbish/jsondiffpatch.net) from 2.4.0 to 2.5.0.

<details>
<summary>Release notes</summary>

_Sourced from [JsonDiffPatch.Net's releases](https://github.com/wbish/jsondiffpatch.net/releases)._

No release notes found for this version range.

Commits viewable in [compare view](https://github.com/wbish/jsondiffpatch.net/commits).
</details>

Updated [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 17.13.0 to 17.14.1.

<details>
<summary>Release notes</summary>

_Sourced from [Microsoft.NET.Test.Sdk's releases](https://github.com/microsoft/vstest/releases)._

## 17.14.1

## What's Changed
* Error on unsupported target frameworks to prevent silently not running tests by @​nohwnd in https://github.com/microsoft/vstest/pull/15072 and https://github.com/microsoft/vstest/pull/15078
* Revert writing additional properties to TRX by @​nohwnd  in https://github.com/microsoft/vstest/commit/47eb51b15ad8ca4a84ad7be5881fcd1713a0f68a

**Full Changelog**: https://github.com/microsoft/vstest/compare/v17.14.0...v17.14.1

## 17.14.0

## What's Changed

### .NET versions updated

This version of VS Test upgraded .NET to net8 and net9. All projects targeting net6.0 (or other end-of-life .NET target frameworks) should pin their version of Microsoft.NET.Test.SDK to 17.13.0, or update the projects to net8 or newer. We remain backwards compatible with previous versions of Microsoft.NET.Test.SDK. This change does **NOT** prevent you from:

- Updating to the latest VS, and running tests from net6.0 test projects.
- Updating to the latest .NET SDK, and running tests from net6.0 test projects.

It also has no impact on .NET Framework projects, where we continue targeting .NET Framework 4.6.2.

* Drop unsupported frameworks by @​nohwnd in https://github.com/microsoft/vstest/pull/10565

### Changes

* Adding Process Query Flag For UWP .NET 9 Support by @​adstep in https://github.com/microsoft/vstest/pull/15003
* Fix builds on WinUI and UWP .NET 9 projects by @​Sergio0694 in https://github.com/microsoft/vstest/pull/15004
* don't report communication error on discovery abort by @​nohwnd in https://github.com/microsoft/vstest/pull/14992
* Add dump minitool to vsix by @​nohwnd in https://github.com/microsoft/vstest/pull/14707
* Make test runners long-path aware (#​5179) by @​peetw in https://github.com/microsoft/vstest/pull/15014
* Fix trace in DataCollectionRequestSender.cs by @​stan-sz in https://github.com/microsoft/vstest/pull/15025
* Fix/readme grammar parallelism by @​dellch in https://github.com/microsoft/vstest/pull/15030
* Add binding redirects by @​nohwnd in https://github.com/microsoft/vstest/pull/15041
* Write props of tests into trx by @​nohwnd in https://github.com/microsoft/vstest/pull/14905

### Internal version updates and fixes

* Update io.redist by @​nohwnd in https://github.com/microsoft/vstest/pull/13872
* Use preview image for public build by @​nohwnd in https://github.com/microsoft/vstest/pull/13888
* Remove xcopy-msbuild by @​nohwnd in https://github.com/microsoft/vstest/pull/14138
* Move to macos14 by @​nohwnd in https://github.com/microsoft/vstest/pull/14137
* Update diagnose.md by @​nohwnd in https://github.com/microsoft/vstest/pull/14776
* hash with sha2 for mutex lock by @​nohwnd in https://github.com/microsoft/vstest/pull/14777
* Update test projects for vmr by @​nohwnd in https://github.com/microsoft/vstest/pull/14894
* 17.14 branding by @​nohwnd in https://github.com/microsoft/vstest/pull/14903
* Update filter.md for NUnit by @​OsirisTerje in https://github.com/microsoft/vstest/pull/14987
* Flag netstandard1.x dependencies in source-build by @​ViktorHofer in https://github.com/microsoft/vstest/pull/14986
* Use VS dependencies versions from release VS to have archived symbols by @​nohwnd in https://github.com/microsoft/vstest/pull/14991
* Remove extra ; by @​nohwnd in https://github.com/microsoft/vstest/pull/14995
* Use dependencymodel 6.0.2 by @​nohwnd in https://github.com/microsoft/vstest/pull/14996
* Make Testhost packable only on Windows by @​mmitche in https://github.com/microsoft/vstest/pull/15001
* Add system text json to vsix by @​nohwnd in https://github.com/microsoft/vstest/pull/15034
* Add more files to vsix by @​nohwnd in https://github.com/microsoft/vstest/pull/15038
* Remove unnecessary CA2022 suppressions by @​Winniexu01 in https://github.com/microsoft/vstest/pull/15035
* Update package project url by @​mmitche in https://github.com/microsoft/vstest/pull/15040
 
## New Contributors

* @​OsirisTerje made their first contribution in https://github.com/microsoft/vstest/pull/14987
* @​adstep made their first contribution in https://github.com/microsoft/vstest/pull/15003
 ... (truncated)

## 17.14.0-preview-25107-01

## What's Changed

### .NET versions updated

This version of VS Test upgraded .NET to net8 and net9. All projects targeting net6.0 (or other end-of-life .NET target frameworks) should pin their version of Microsoft.NET.Test.SDK to 17.13.0, or update the projects to net8 or newer. We remain backwards compatible with previous versions of Microsoft.NET.Test.SDK. This change does **NOT** prevent you from:

- Updating to the latest VS, and running tests from net6.0 test projects.
- Updating to the latest .NET SDK, and running tests from net6.0 test projects.

It also has no impact on .NET Framework projects, where we continue targeting .NET Framework 4.6.2.

* Drop unsupported frameworks by @​nohwnd in https://github.com/microsoft/vstest/pull/10565


### Changes

* Adding Process Query Flag For UWP .NET 9 Support by @​adstep in https://github.com/microsoft/vstest/pull/15003
* Fix builds on WinUI and UWP .NET 9 projects by @​Sergio0694 in https://github.com/microsoft/vstest/pull/15004
* don't report communication error on discovery abort by @​nohwnd in https://github.com/microsoft/vstest/pull/14992
* Add dump minitool to vsix by @​nohwnd in https://github.com/microsoft/vstest/pull/14707

### Internal version updates and fixes

* Update io.redist by @​nohwnd in https://github.com/microsoft/vstest/pull/13872
* Use preview image for public build by @​nohwnd in https://github.com/microsoft/vstest/pull/13888
* Remove xcopy-msbuild by @​nohwnd in https://github.com/microsoft/vstest/pull/14138
* Move to macos14 by @​nohwnd in https://github.com/microsoft/vstest/pull/14137
* Update diagnose.md by @​nohwnd in https://github.com/microsoft/vstest/pull/14776
* hash with sha2 for mutex lock by @​nohwnd in https://github.com/microsoft/vstest/pull/14777
* Update test projects for vmr by @​nohwnd in https://github.com/microsoft/vstest/pull/14894
* 17.14 branding by @​nohwnd in https://github.com/microsoft/vstest/pull/14903
* Update filter.md for NUnit by @​OsirisTerje in https://github.com/microsoft/vstest/pull/14987
* Flag netstandard1.x dependencies in source-build by @​ViktorHofer in https://github.com/microsoft/vstest/pull/14986
* Use VS dependencies versions from release VS to have archived symbols by @​nohwnd in https://github.com/microsoft/vstest/pull/14991
* Remove extra ; by @​nohwnd in https://github.com/microsoft/vstest/pull/14995
* Use dependencymodel 6.0.2 by @​nohwnd in https://github.com/microsoft/vstest/pull/14996
* Make Testhost packable only on Windows by @​mmitche in https://github.com/microsoft/vstest/pull/15001


### Will probably revert before release:

* Write props of tests into trx by @​nohwnd in https://github.com/microsoft/vstest/pull/14905
 
## New Contributors

* @​OsirisTerje made their first contribution in https://github.com/microsoft/vstest/pull/14987
* @​adstep made their first contribution in https://github.com/microsoft/vstest/pull/15003
* @​Sergio0694 made their first contribution in https://github.com/microsoft/vstest/pull/15004

**Full Changelog**: https://github.com/microsoft/vstest/compare/v17.13.0...v17.14.0-preview-25107-01

Commits viewable in [compare view](https://github.com/microsoft/vstest/compare/v17.13.0...v17.14.1).
</details>

Updated [xunit.runner.visualstudio](https://github.com/xunit/visualstudio.xunit) from 3.0.2 to 3.1.3.

<details>
<summary>Release notes</summary>

_Sourced from [xunit.runner.visualstudio's releases](https://github.com/xunit/visualstudio.xunit/releases)._

No release notes found for this version range.

Commits viewable in [compare view](https://github.com/xunit/visualstudio.xunit/commits).
</details>

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-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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)


</details>

Bumps AwesomeAssertions from 8.1.0 to 9.1.0
Bumps csharpier from 0.30.6 to 1.0.3
Bumps JsonDiffPatch.Net from 2.4.0 to 2.5.0
Bumps Microsoft.NET.Test.Sdk from 17.13.0 to 17.14.1
Bumps xunit.runner.visualstudio from 3.0.2 to 3.1.3

---
updated-dependencies:
- dependency-name: AwesomeAssertions
  dependency-version: 9.1.0
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: csharpier
  dependency-version: 1.0.3
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: JsonDiffPatch.Net
  dependency-version: 2.5.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: Microsoft.NET.Test.Sdk
  dependency-version: 17.14.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: xunit.runner.visualstudio
  dependency-version: 3.1.3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jul 28, 2025

The reviewers field in the dependabot.yml file will be removed soon. Please use the code owners file to specify reviewers for Dependabot PRs. For more information, see this blog post.

@dependabot dependabot bot requested a review from a team July 28, 2025 15:22
@dependabot dependabot bot added .NET Pull requests that update .net code dependencies Pull requests that update a dependency file labels Jul 28, 2025
@github-actions github-actions bot enabled auto-merge (squash) July 28, 2025 15:22
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Aug 4, 2025

Superseded by #124.

@dependabot dependabot bot closed this Aug 4, 2025
auto-merge was automatically disabled August 4, 2025 13:57

Pull request was closed

@dependabot dependabot bot deleted the dependabot/nuget/ChronoJsonDiffPatch/dot-config/multi-ed6f6dad52 branch August 4, 2025 13:57
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.

0 participants