Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Sep 17, 2025

This PR contains the following updates:

Package Change Age Confidence Type Update Pending
CSharpier.MsBuild 1.1.2 -> 1.2.1 age confidence nuget minor
PublicApiGenerator 11.4.6 -> 11.5.2 age confidence nuget minor 11.5.3
Verify.Xunit 30.11.0 -> 30.20.1 age confidence nuget minor
csharpier 1.1.2 -> 1.2.1 age confidence nuget minor
dotnet-sdk 8.0.413 -> 8.0.416 age confidence dotnet-sdk patch
xunit.runner.visualstudio 3.1.4 -> 3.1.5 age confidence nuget patch

Release Notes

belav/csharpier (CSharpier.MsBuild)

v1.2.1

Compare Source

What's Changed

Multiline comments are now formatted in a single line in XML format #​1747

The 1.2.0 release was combining xml comments into a single line.

<!-- input & expected output -->
<Root>
  <!-- This is the first line comment-->
  <!-- This is the second line of my comment-->
</Root>

<!-- 1.2.0 -->
<Root>
  <!-- This is the first line comment--><!-- This is the second line of my comment-->
</Root>

Full Changelog: belav/csharpier@1.2.0...1.2.1

v1.2.0

Compare Source

What's Changed

Custom XML Parser #​1679

CSharpier now has a custom xml parser. XmlDocument and XDocument do not provide the original white space or the original attribute values from the file that was parsed which blocked the ability to implement supporting keeping empty new lines and not automatically encoding attributes.

Support for keeping empty lines in xml files #​1599

CSharpier now supports keeping a single empty line between elements in xml files. It will remove any initial or trailing empty lines.

<!-- input -->
<Root>

  <Element />

  <Element />

</Root>

<!-- expected output -->
<Root>
  <Element />

  <Element />
</Root>

<!-- 1.1.2 -->
<Root>
  <Element />
  <Element />
</Root>
Xml - don't automatically encode attribute values #​1610

CSharpier will no longer encode attribute values. It will leave them encoded if they are supplied that way.

<!-- input & expected output -->
<Target Name="Transform" BeforeTargets="Build">
  <Message Importance="high" Text="@&#8203;(MyItems->'MyItems has %(Identity)', ', ')" />
</Target>

<!-- 1.1.2 -->
<Target Name="Transform" BeforeTargets="Build">
  <Message Importance="high" Text="@&#8203;(MyItems-&gt;'MyItems has %(Identity)', ', ')" />
</Target>
Add option to all integrations to report incorrect formatting as a warning instead of error #​1687
Formatting "using" import split on multiple lines requires formatting it twice to get the expected result #​1698

When a using contained a newline before the namespace it was not being sorted properly.

// input
using System.Net;
using
    SomeProject.Bar;
using Microsoft.Extensions.Logging;

// expected output
using System.Net;
using Microsoft.Extensions.Logging;
using SomeProject.Bar;

// 1.1.2
using System.Net;
using SomeProject.Bar;
using Microsoft.Extensions.Logging;
An empty line is inserted in lambda #​1694

CSharpier was inserting an extra blank line in some situations with a lambda and a collection expression

// input & expected output
CallMethod(
    (parameter1, parameter2) =>
        [
            LongValue________________________________________________,
            LongValue________________________________________________,
        ]
);

// 1.1.2
CallMethod(
    (parameter1, parameter2) =>

        [
            LongValue________________________________________________,
            LongValue________________________________________________,
        ]
);
Indent .ThenInclude() for clearer navigation hierarchy in EF Core queries #​1602

CSharpier now treats .ThenInclude as a special case to improve formatting of EF queries

// input & expected output
websiteQueryable = websiteQueryable
    .Include(o => o.Categories)
    .Include(o => o.Categories)
        .ThenInclude(c => c.Products)
    .Include(o => o.Categories)
        .ThenInclude(c => c.RuleManager)
            .ThenInclude(rm => rm.RuleClauses)
    .Include(o => o.Categories)
        .ThenInclude(c => c.RuleManager)
            .ThenInclude(rm => rm.RuleClauses)
                .ThenInclude(rc => rc.RuleTypeOption);

// 1.1.2
websiteQueryable = websiteQueryable
    .Include(o => o.Categories)
    .Include(o => o.Categories)
    .ThenInclude(c => c.Products)
    .Include(o => o.Categories)
    .ThenInclude(c => c.RuleManager)
    .ThenInclude(rm => rm.RuleClauses)
    .Include(o => o.Categories)
    .ThenInclude(c => c.RuleManager)
    .ThenInclude(rm => rm.RuleClauses)
    .ThenInclude(rc => rc.RuleTypeOption);
Inconsistent indentation between is and other operators #​1601

Pattern operators were being indented inconsistently with other operators. The formatting is now more consistent

// input & expected output
var b2 = (
    System.Environment.SpecialFolder.AdminTools
    is System.Environment.SpecialFolder.AdminTools
        or System.Environment.SpecialFolder.AdminTools
        or System.Environment.SpecialFolder.AdminTools
);

var b2 =
    System.Environment.SpecialFolder.AdminTools
    is System.Environment.SpecialFolder.AdminTools
        or System.Environment.SpecialFolder.AdminTools
        or System.Environment.SpecialFolder.AdminTools;

var b2 =
    someLongValue____________________________________________
    == someOtherLongValue______________________________
        + someOtherLongValue______________________________;

var b2 = (
    someLongValue____________________________________________
    == someOtherLongValue______________________________
        + someOtherLongValue______________________________
);

// 1.1.2
var b2 = (
    System.Environment.SpecialFolder.AdminTools
        is System.Environment.SpecialFolder.AdminTools
            or System.Environment.SpecialFolder.AdminTools
            or System.Environment.SpecialFolder.AdminTools
);

var b2 =
    System.Environment.SpecialFolder.AdminTools
        is System.Environment.SpecialFolder.AdminTools
            or System.Environment.SpecialFolder.AdminTools
            or System.Environment.SpecialFolder.AdminTools;

var b2 =
    someLongValue____________________________________________
    == someOtherLongValue______________________________
        + someOtherLongValue______________________________;

var b2 = (
    someLongValue____________________________________________
    == someOtherLongValue______________________________
        + someOtherLongValue______________________________
);
Error when formatting with an indent size <= 0 #​1741

Previously csharpier would attempt to format code when indent size was set to 0. This was not intentional and had a number of bugs. CSharpier now error out when encountering an indent size of 0

Fix condition causing FirstTargetFramework build property erasure #​1696

In some situations CSharpier.Msbuild was running into a build failure.

Full Changelog: belav/csharpier@1.1.2...1.2.0

PublicApiGenerator/PublicApiGenerator (PublicApiGenerator)

v11.5.2

Compare Source

What's Changed

New Contributors

Full Changelog: PublicApiGenerator/PublicApiGenerator@11.5.1...11.5.2

v11.5.1

Compare Source

New features

Misc

Full Changelog: PublicApiGenerator/PublicApiGenerator@11.5.0...11.5.1

v11.5.0

Compare Source

What's Changed

CI updates

Full Changelog: PublicApiGenerator/PublicApiGenerator@11.4.6...11.5.0

VerifyTests/Verify (Verify.Xunit)

v30.20.1

Compare Source

v30.20.0

Compare Source

v30.19.2

Compare Source

v30.19.1

Compare Source

v30.19.0

Compare Source

v30.18.0

Compare Source

v30.17.0

Compare Source

v30.16.0

Compare Source

v30.15.0

Compare Source

v30.14.0

Compare Source

v30.13.0

Compare Source

v30.12.0

Compare Source

dotnet/sdk (dotnet-sdk)

v8.0.416: .NET 8.0.22

Compare Source

Release

What's Changed

Full Changelog: dotnet/sdk@v8.0.415...v8.0.416

v8.0.415: .NET 8.0.21

Compare Source

Release

What's Changed

Full Changelog: dotnet/sdk@v8.0.414...v8.0.415

v8.0.414: .NET 8.0.20

Compare Source

Release

What's Changed

Full Changelog: dotnet/sdk@v8.0.413...v8.0.414

xunit/visualstudio.xunit (xunit.runner.visualstudio)

v3.1.5

Compare Source


Configuration

📅 Schedule: Branch creation - "before 07:00 on Thursday" in timezone Europe/Oslo, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/nuget-minor-patch branch 5 times, most recently from e330714 to d0be879 Compare September 28, 2025 06:08
@renovate renovate bot force-pushed the renovate/nuget-minor-patch branch 3 times, most recently from faa302f to 1e251f0 Compare October 7, 2025 06:56
@renovate renovate bot force-pushed the renovate/nuget-minor-patch branch from 1e251f0 to 86ff008 Compare October 9, 2025 11:47
@renovate renovate bot force-pushed the renovate/nuget-minor-patch branch 2 times, most recently from b552780 to 2964959 Compare October 17, 2025 03:32
@renovate renovate bot force-pushed the renovate/nuget-minor-patch branch 3 times, most recently from 9447612 to 799d4bd Compare November 18, 2025 23:39
@renovate renovate bot force-pushed the renovate/nuget-minor-patch branch from 799d4bd to afd24ba Compare November 22, 2025 18:31
@renovate renovate bot force-pushed the renovate/nuget-minor-patch branch from afd24ba to f1db824 Compare November 28, 2025 23:48
@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants