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): update all non-major dependencies #307

Merged
merged 5 commits into from
Oct 11, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 27, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence Type Update
MSTest.TestAdapter 2.2.3 -> 2.2.10 age adoption passing confidence nuget patch
MSTest.TestFramework 2.2.3 -> 2.2.10 age adoption passing confidence nuget patch
Microsoft.NET.Test.Sdk 16.9.4 -> 16.11.0 age adoption passing confidence nuget minor
Mono.Cecil 0.11.5 -> 0.11.6 age adoption passing confidence nuget patch
Verify.xunit 26.1.6 -> 26.6.0 age adoption passing confidence nuget minor
actions/checkout v4.1.7 -> v4.2.0 age adoption passing confidence action minor
codecov/codecov-action v4.5.0 -> v4.6.0 age adoption passing confidence action minor
csharpier 0.28.2 -> 0.29.2 age adoption passing confidence nuget minor
dotnet-reportgenerator-globaltool 5.3.8 -> 5.3.10 age adoption passing confidence nuget patch
github/codeql-action v3.26.0 -> v3.26.11 age adoption passing confidence action patch
xunit 2.4.1 -> 2.9.2 age adoption passing confidence nuget minor
xunit 2.9.0 -> 2.9.2 age adoption passing confidence nuget patch
xunit.runner.visualstudio 2.4.3 -> 2.8.2 age adoption passing confidence nuget minor

Release Notes

microsoft/testfx (MSTest.TestAdapter)

v2.2.10

See release notes here.

v2.2.9

Parallel output

🙇 Shout out to @​SimonCropp, for bringing this functionality to XUnit in his https://github.com/SimonCropp/XunitContext project. And being an inspiration for implementing this.

MSTest 2.2.9 captures all Console output and attaches it to the correct test, even if you are running tests in parallel. This output is captured from your test code as well as from the tested code. And it requires no special setup.

Before

In 2.2.8, test output is scattered among tests, in our example, one unlucky test gets all the output of other tests just mixed together:

image

After

With 2.2.9, each output is correctly attached to the test that produced it:

image
image

Also notice that we are also capturing debug, trace and error. And we are not awaiting the FastChild method, and the output is still assigned correctly. Souce code.

Limitations

Due to the way that class and assembly initialize, and cleanup are invoked, their output will end up in the first test that run (or last for cleanup). This is unfortunately not easily fixable.

See release notes here.

v2.2.8

See release notes here.

v2.2.7

See release notes here.

v2.2.6

See release notes here.

v2.2.5

See release notes here.

v2.2.4

See release notes here.

microsoft/vstest (Microsoft.NET.Test.Sdk)

v16.11.0

See the release notes here.

v16.10.0

See the release notes here.

jbevain/cecil (Mono.Cecil)

v0.11.6

Compare Source

VerifyTests/Verify (Verify.xunit)

v26.6.0

Compare Source

v26.5.0

Compare Source

v26.4.5

Compare Source

v26.4.4

Compare Source

v26.4.3

Compare Source

v26.4.2

Compare Source

v26.4.1

Compare Source

v26.4.0

Compare Source

v26.3.1

Compare Source

v26.3.0

Compare Source

v26.2.0

Compare Source

actions/checkout (actions/checkout)

v4.2.0

Compare Source

codecov/codecov-action (codecov/codecov-action)

v4.6.0

Compare Source

What's Changed

New Contributors

Full Changelog: codecov/codecov-action@v4.5.0...v4.6.0

belav/csharpier (csharpier)

v0.29.2

Compare Source

What's Changed

Comments don't follow tabs indent style #​1343

Prior to 0.29.2 CSharpier was converting any tabs within the block of a multiline comment to spaces.

public void SomeFunction()
{
	/*
	The following line is an example with an indent:
		This line is indented by one tab. (prior to 0.29.2 this would end up as a tab followed by 4 spaces)
	*/
	/*
	The following line is an example with an indent:
		This line is indented by 4 spaces but will be converted to 1 tab (prior to 0.29.2 this would end up as a tab followed by 4 spaces)
	*/
	/*
	The following line is an example with an indent:
	   This line is indented by 3 spaces but will be left as 3 spaces
	*/
}
csharpier-ignore-start now supported in object initializers #​1342
// input & expected output
return new SomeClass
{
    // csharpier-ignore-start
    SomeProperty =     someValue,
    SomeProperty2 =     someValue
    // csharpier-ignore-end
};

// 0.29.1
return new SomeClass
{
    // csharpier-ignore-start
    SomeProperty = someValue,
    SomeProperty2 = someValue
    // csharpier-ignore-end
};
Fixed extra new line between cast and collection expression. #​1334
// input & expected output
CallMethod(
    (string[])
        [
            longerValue_____________________________________________,
            longerValue_____________________________________________,
        ]
);

// 0.29.1
CallMethod(
    (string[])

        [
            longerValue_____________________________________________,
            longerValue_____________________________________________,
        ]
);
Support custom extensions in .editorconfig #​1273

As of 0.29.0 CSharpier could format non-standard file extensions, but only if configured in the csharpierrc file. This is now supported with an .editorconfig

[*.cst]
csharpier_formatter = csharp
indent_style = space
indent_size = 2
max_line_length = 80

Full Changelog: belav/csharpier@0.29.1...0.29.2

v0.29.1

Compare Source

What's Changed

Sorting of usings with underscore differs from Visual Studio #​1327

CSharpier now sorts _ to the bottom of usings.

using SomeCompany.MWord;
using SomeCompany.ZWord;
using SomeCompany._Word;
Process cannot access the file "....net8.0\any\server.log" while running multiple extensions. #​1324

CSharpier Server now uses a log file name based on the port that it is starting on to avoid concurrency issues trying to access the same log file

Full Changelog: belav/csharpier@0.29.0...0.29.1

v0.29.0

Compare Source

Breaking Changes

The formatting command will now exit with an error code of 1 if one of the target files cannot be compiled #​1131

Prior to 0.29.0 if csharpier encountered a file that could not be compiled it would treat it as a warning and exit with a code of 0.
As of 0.29.0 a file that cannot be compiled is now treated as an error and csharpier will exit with code 1

What's Changed

Enforce trailing commas in object and collection initializer #​668

CSharpier will now add trailing commas automatically where appropriate. It will collapse to a single line and remove the trailing comma in cases where everything fits on one line.

// input
public enum SomeEnum
{
    Value1,
    Value2
}

string[] someArray = new string[]
{
    someLongValue_____________________________________________,
    someLongValue_____________________________________________
};

string[] someArray = new string[]
{
    someValue,
    someValue,
};

// 0.29.0
public enum SomeEnum
{
    Value1,
    Value2,
}

string[] someArray = new string[]
{
    someLongValue_____________________________________________,
    someLongValue_____________________________________________,
}

string[] someArray = new string[] { someValue, someValue };

Many thanks go to @​dawust for the contribution.

Support for formatting custom file extensions #​1220

Prior to 0.29.0 csharpier would only format files with an extension of .cs or .csx. It is now possible to configure csharpier to format other files extensions, and to specify configuration options per file extension.
See https://csharpier.com/docs/Configuration#configuration-overrides for more details.

Invalid blank line being added with lambda returning collection expression #​1306
// input & expected output
CallMethod(_ =>
    [
        LongValue________________________________________________,
        LongValue________________________________________________,
    ]
);

// 0.28.2
CallMethod(_ =>

    [
        LongValue________________________________________________,
        LongValue________________________________________________,
    ]
);
Switch expressions do not break consistently with other lambdas #​1282

Prior to 0.29.0 csharpier would break before the => in switch expression arms. It now breaks after them to be consistent with other lambda expressions.

// 0.28.2
return someEnum switch
{
    Value1 => someOtherValue,
    Value2
    or Value3
        => someValue________________________________________________________________________,
    Value4
        => someValue_____________________________________________________________________________,
};

// 0.29.0
return someEnum switch
{
    Value1 => someOtherValue,
    Value2 or Value3 =>
        someValue________________________________________________________________________,
    Value4 =>
        someValue_____________________________________________________________________________,
};
Formatting of empty collection initializer for huge type #​1268

Empty collection expression initializers formatting was including a break plus indentation resulting in poor formatting.

// 0.28.2
var someObject = new List<(
    int Field1__________________________________,
    int Field2__________________________________
)>
{
    };

// 0.29.0
var someObject = new List<(
    int Field1__________________________________,
    int Field2__________________________________
)>
{ };

Thanks go to @​Rudomitori for the contribution

Switch expression single line broken when preceded by comment #​1262

Improved formatting for short expression arms that have a leading comment.

// 0.28.2
return someValue switch
{
    // comment
    Some.One
        => 1,
    Some.Two => 2,
};

return someValue switch
{
    Some.One => 1,
    // comment
    Some.Two
        => 2,
};

// 0.29.0
return someValue switch
{
    // comment
    Some.One => 1,
    Some.Two => 2,
};

return someValue switch
{
    Some.One => 1,
    // comment
    Some.Two => 2,
};
Incorrect formatting of ternary expression with a comment after an interpolated string #​1258

Fixed bug with comments on a ternary expression that resulted in invalid code.

// input & expected output
public string TrailingComment = someCondition
    ? $"empty" // trailing comment
    : someString;

// 0.28.2
public string TrailingComment = someCondition ? $"empty" // trailing comment : someString;
Formatting for indexer parameters should mostly be the same as for method parameters. #​1255

Improved formatting of indexed properties that contained attributes.

// input & expected output
public class ClassName
{
    public string this[
        [SomeAttribute] int a________________________________,
        [SomeAttribute] int b________________________________
    ] => someValue;
}

// 0.28.2
public class ClassName
{
    public string this[[SomeAttribute] int a________________________________, [SomeAttribute]
        int b________________________________] => someValue;
}
Do not overwrite CSharpier_Check when already set. #​1314

Fixed a bug with csharpier.msbuild where it would overwrite the CSharpier_Check value in some cases.

Thanks go to @​PetSerAl for the contribution

The CLI has contradictory message about directoryOrFile being required #​1296

The help text for the cli has been improved to better indicate when directoryOrFile is required.

Thanks go to @​marcinjahn for the contribution

Fullwidth unicode characters should be accounted for in print width #​260

CSharpier now considers full width unicode characters such as to be 2 spaces wide when determining how to format code.

Full Changelog: belav/csharpier@0.28.2...0.29.0

danielpalme/ReportGenerator (dotnet-reportgenerator-globaltool)

v5.3.10: ReportGenerator_5.3.10

Changes:
  • #​695 HTML reports: Performance and memory improvements (contributed by @​afscrome)
  • #​690 Fixed handling of history files for classes with not unique names

This release requires .NET Framework 4.7 or .NET 6.0/7.0/8.0

v5.3.9: ReportGenerator_5.3.9

Changes:

  • #​685 Extended "raw mode" for dotCover format (settings:rawMode=true) to disable that coverage data of nested or compiler generated classes is included in the parent class.
  • #​691 Cobertura parser: Performance and memory improvements (contributed by @​afscrome)

This release requires .NET Framework 4.7 or .NET 6.0/7.0/8.0

github/codeql-action (github/codeql-action)

v3.26.11

Compare Source

v3.26.10

Compare Source

v3.26.9

Compare Source

v3.26.8

Compare Source

v3.26.7

Compare Source

v3.26.6

Compare Source

v3.26.5

Compare Source

v3.26.4

Compare Source

v3.26.3

Compare Source

v3.26.2

Compare Source

v3.26.1

Compare Source

xunit/xunit (xunit)

v2.9.0

Compare Source

v2.8.1

Compare Source

v2.8.0

Compare Source

v2.7.1

Compare Source

v2.7.0

Compare Source

v2.6.6

Compare Source

v2.6.5

Compare Source

v2.6.4

Compare Source

v2.6.3

Compare Source

v2.6.2

Compare Source

v2.6.1

Compare Source

v2.6.0

Compare Source

v2.5.3

Compare Source

v2.5.2

Compare Source

v2.5.1

Compare Source

v2.5.0

Compare Source

v2.4.2

Compare Source

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

v2.8.2

Compare Source

v2.8.1

Compare Source

v2.8.0

Compare Source

v2.5.8

Compare Source

v2.5.7

Compare Source

v2.5.6

Compare Source

v2.5.5

Compare Source

v2.5.4

Compare Source

v2.5.3

Compare Source

v2.5.1

Compare Source

v2.5.0

Compare Source

v2.4.5

Compare Source

Changes:
  • #​308: Downgrade xunit.runner.vs to net462

This list of changes was auto generated.

v2.4.4

Compare Source

Changes:

Bugs:
  • #​292: Fixing a hang in test discovery
Others:
  • #​304: Update xunit version to 2.4.2-pre.12
  • #​297: Bump NSubstitute from 4.2.2 to 4.3.0
  • #​294: Bump Microsoft.NET.Test.Sdk from 16.10.0 to 17.0.0
  • #​293: Bump Nerdbank.GitVersioning from 3.4.231 to 3.4.255
  • #​296: Bump Microsoft.NETCore.UniversalWindowsPlatform from 6.2.12 to 6.2.13
  • #​299: Bump MSBuild.Sdk.Extras from 3.0.23 to 3.0.44
  • #​270: Upgrade to GitHub-native Dependabot
See More
  • #​281: Bump Nerdbank.GitVersioning from 3.4.228 to 3.4.231
  • #​280: Bump Nerdbank.GitVersioning from 3.4.220 to 3.4.228
  • #​277: Bump Nerdbank.GitVersioning from 3.4.216 to 3.4.220
  • #​275: Bump Nerdbank.GitVersioning from 3.4.205 to 3.4.216
  • #​274: Bump Nerdbank.GitVersioning from 3.4.203 to 3.4.205
  • #​273: Bump Microsoft.NET.Test.Sdk from 16.9.4 to 16.10.0
  • #​272: Bump Microsoft.TestPlatform.ObjectModel from 16.9.4 to 16.10.0
  • #​271: Bump Nerdbank.GitVersioning from 3.4.194 to 3.4.203
  • #​268: Bump Nerdbank.GitVersioning from 3.4.190 to 3.4.194
  • #​267: Bump Nerdbank.GitVersioning from 3.3.37 to 3.4.190
  • #​265: Bump Microsoft.NET.Test.Sdk from 16.9.1 to 16.9.4
  • #​264: Bump Microsoft.TestPlatform.ObjectModel from 16.9.1 to 16.9.4
  • #​260: Bump Microsoft.TestPlatform.ObjectModel from 16.8.3 to 16.9.1
  • #​261: Bump Microsoft.NET.Test.Sdk from 16.8.3 to 16.9.1
  • #​258: Bump Microsoft.NETCore.UniversalWindowsPlatform from 6.2.11 to 6.2.12
  • #​256: Bump MSBuild.Sdk.Extras from 3.0.22 to 3.0.23
  • #​255: Bump MSBuild.Sdk.Extras from 2.1.2 to 3.0.22
  • #​254: Bump Microsoft.TestPlatform.ObjectModel from 16.8.0 to 16.8.3
  • #​253: Bump Microsoft.NET.Test.Sdk from 16.8.0 to 16.8.3
  • #​250: Bump Microsoft.NETCore.UniversalWindowsPlatform from 6.2.10 to 6.2.11
  • #​246: Bump Microsoft.TestPlatform.ObjectModel from 16.7.0 to 16.8.0
  • #​245: Bump Microsoft.NET.Test.Sdk from 16.6.1 to 16.8.0
  • #​240: Bump Nerdbank.GitVersioning from 3.2.31 to 3.3.37
  • #​231: Bump Microsoft.TestPlatform.ObjectModel from 16.6.1 to 16.7.0

This list of changes was auto generated.


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

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

Rebasing: Whenever PR is behind base branch, 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.

@codecov-commenter
Copy link

codecov-commenter commented Sep 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 65.43%. Comparing base (8bb0c63) to head (3a833d4).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #307      +/-   ##
==========================================
- Coverage   65.43%   65.43%   -0.01%     
==========================================
  Files         256      256              
  Lines       22947    22946       -1     
  Branches     1949     1949              
==========================================
- Hits        15016    15015       -1     
  Misses       7378     7378              
  Partials      553      553              

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

@renovate renovate bot force-pushed the renovate/all-minor-patch branch 4 times, most recently from 598c2f4 to 6a79053 Compare October 2, 2024 17:07
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 6a79053 to 047777d Compare October 3, 2024 22:36
Copy link
Contributor Author

renovate bot commented Oct 5, 2024

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

alexanderlinne
alexanderlinne previously approved these changes Oct 10, 2024
Signed-off-by: Alexander Linne <[email protected]>
@alexanderlinne alexanderlinne merged commit e831454 into main Oct 11, 2024
9 checks passed
@alexanderlinne alexanderlinne deleted the renovate/all-minor-patch branch October 11, 2024 13:11
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.

3 participants