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 #156

Merged
merged 2 commits into from
Jan 26, 2025
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 1, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence Type Update
BenchmarkDotNet 0.13.12 -> 0.14.0 age adoption passing confidence nuget minor
csharpier 0.28.2 -> 0.30.6 age adoption passing confidence nuget minor
docker.io/bitnami/kubectl (source) 1.30.3 -> 1.32.1 age adoption passing confidence final minor
docker.io/jaegertracing/all-in-one 1.59.0 -> 1.65.0 age adoption passing confidence minor
docker.io/library/postgres 17.0 -> 17.2 age adoption passing confidence minor
mcr.microsoft.com/dotnet/aspnet 9.0.0-noble-chiseled -> 9.0.1-noble-chiseled age adoption passing confidence stage patch
mcr.microsoft.com/dotnet/sdk 9.0.100-noble -> 9.0.102-noble age adoption passing confidence stage patch

Release Notes

dotnet/BenchmarkDotNet (BenchmarkDotNet)

v0.14.0: 0.14.0

Full changelog: https://benchmarkdotnet.org/changelog/v0.14.0.html

Highlights

  • Introduce BenchmarkDotNet.Diagnostics.dotMemory #​2549: memory allocation profile of your benchmarks using dotMemory, see @​BenchmarkDotNet.Samples.IntroDotMemoryDiagnoser
  • Introduce BenchmarkDotNet.Exporters.Plotting #​2560: plotting via ScottPlot (initial version)
  • Multiple bugfixes
  • The default build toolchains have been updated to pass IntermediateOutputPath, OutputPath, and OutDir properties to the dotnet build command. This change forces all build outputs to be placed in a new directory generated by BenchmarkDotNet, and fixes many issues that have been reported with builds. You can also access these paths in your own .csproj and .props from those properties if you need to copy custom files to the output.

Bug fixes

  • Fixed multiple build-related bugs including passing MsBuildArguments and .Net 8's UseArtifactsOutput.

Breaking Changes

  • DotNetCliBuilder removed retryFailedBuildWithNoDeps constructor option.
  • DotNetCliCommand removed RetryFailedBuildWithNoDeps property and BuildNoRestoreNoDependencies() and PublishNoBuildAndNoRestore() methods (replaced with PublishNoRestore()).
belav/csharpier (csharpier)

v0.30.6

Compare Source

What's Changed

Trailing comma is placed on new line if last enum value is followed by a comment #​1429
// input
enum MyEnum
{
    First,
    Second // the second value
}

// 0.30.5
enum MyEnum
{
    First,
    Second // the second value
    ,
}

// 0.30.6
enum MyEnum
{
    First,
    Second, // the second value
}

Full Changelog: belav/csharpier@0.30.5...0.30.6

v0.30.5

Compare Source

What's Changed

Extra blank line added to file each time csharpier runs on this file #​1426

When a file ended in a comment and that comment had multiple blank lines before it, a new blank line was being added each time it was formatted.
// input

// input
namespace MyCompany.MyNamespace;

// Comment block

// 0.30.4
namespace MyCompany.MyNamespace;

// Comment block

// 0.30.5
namespace MyCompany.MyNamespace;

// Comment block

**Full Changelog**: https://github.com/belav/csharpier/compare/0.30.4...0.30.5

v0.30.4

Compare Source

0.30.4

What's Changed

Formatting deletes unsafe modifier #​1416

Formatting a using directive with an unsafe modifier resulted in the lose of the unsafe keyword

// input & expected output
using unsafe NvapiQueryInterface = delegate* unmanaged[Cdecl]<uint, nint>;

// 0.30.3
using NvapiQueryInterface = delegate* unmanaged[Cdecl]<uint, nint>;
CSharpier keeps adding a newline every time a file is formatted #​1408

In some cases if a file ended with a comment, CSharpier would add a new extra blank line above the comment each time it formatted the file

// input & expected outpet
using System;

namespace MyCompany.MyNamespace;

// Comment block

// 0.30.3
using System;

namespace MyCompany.MyNamespace;

// Comment block

Full Changelog: belav/csharpier@0.30.3...0.30.4

v0.30.3

Compare Source

What's Changed

CSharpier.MsBuild doesn't fail the github action anymore #​1357

The changes for 1311 caused CSharpier.MsBuild to not report unformatted files as errors on linux.

Thanks go to @​PetSerAl for the fix

v0.30.2

Compare Source

What's Changed

CSharpier.MsBuild now uses DOTNET_HOST_PATH instead of just dotnet #​1387

Use current dotnet binary from DOTNET_HOST_PATH instead of just dotnet.

Collection expression inside a dictionary adds unexpected new line #​1390
// input & expected output
Dictionary<string, string[]> dictionary = new()
{
    {
        "Key",
        [
            "SomeValue__________________________________________",
            "SomeValue__________________________________________",
        ]
    },
};

// 0.30.1
Dictionary<string, string[]> dictionary = new()
{
    {
        "Key",

        [
            "SomeValue__________________________________________",
            "SomeValue__________________________________________",
        ]
    },
};
Failed syntax tree validation reported when trailing comma added before a trailing comment #​1388

With the following code, CSharpier will add a trailing comma before the trailing comment.
CSharpier's syntax tree validation was incorrectly reporting this as a failure.

// input
var someObject = new SomeObject()
{
    Property1 = 1,
    Property2 = 2 // Trailing Comment
};

// output
var someObject = new SomeObject()
{
    Property1 = 1,
    Property2 = 2, // Trailing Comment
};

Full Changelog: belav/csharpier@0.30.1...0.30.2

v0.30.1

Compare Source

What's Changed

Revert tool command back to dotnet-csharpier, it was supposed to be changed to csharpier for 1.0.0

v0.30.0

Compare Source

Breaking Changes

The CSharpier dotnet tool no longer supports net6 & net7.

What's Changed

Support C# 13 & dotnet 9. #​1318

CSharpier now supports dotnet 9 along with formatting all C# 13 language features.

Inconsistent Formatting for new() Operator Compared to Explicit Object Constructors #​1364

Implicit and explicit object initialization with constructors was not formatted consistently

// input & expected output
SomeObject someObject = new(
    someLongParameter___________________,
    someLongParameter___________________
)
{
    Property = longValue_______________________________________________________________________,
};

SomeObject someObject = new SomeObject(
    someLongParameter___________________,
    someLongParameter___________________
)
{
    Property = longValue_______________________________________________________________________,
};

// 0.29.2
SomeObject someObject =
    new(someLongParameter___________________, someLongParameter___________________)
    {
        Property = longValue_______________________________________________________________________,
    };

SomeObject someObject = new SomeObject(
    someLongParameter___________________,
    someLongParameter___________________
)
{
    Property = longValue_______________________________________________________________________,
};
Adds additional space before each member access in verbatim interpolated multiline string #​1358

When an interpolated verbatim string contained line breaks, the code within the interpolations would contain extra spaces.

// input & expected output
var someStringWithLineBreakAndLongValue =
    $@&#8203;"
{someValue.GetValue().Name} someLongText________________________________________________________________";

// 0.29.2
var someStringWithLineBreakAndLongValue =
    $@&#8203;"
        {someValue .GetValue() .Name} someLongText________________________________________________________________";
Inserting trailing comma with trailing comment causes problems. #​1354

CSharpier would insert a trailing comma after a trailing comment and format the end result poorly.

// input
var someObject = new SomeObject()
{
    Property1 = 1,
    Property2 = 2 // Trailing Comment
};

// 0.29.2
var someObject = new SomeObject()
{
    Property1 = 1,
    Property2 =
        2 // Trailing Comment
    ,
};

// 0.30.0
var someObject = new SomeObject()
{
    Property1 = 1,
    Property2 = 2, // Trailing Comment
};
Double line break before collection expression in field #​1351

CSharpier was inserting an extra line break on a long field name followed by a collection expression to initialize it.

// input & expected output
class ClassName
{
    public SomeType[] LongName____________________________________________________________________________ =
    [
        someLongValue___________________________________________________,
        someLongValue___________________________________________________,
    ];
}

// 0.29.2
class ClassName
{
    public SomeType[] LongName____________________________________________________________________________ =

        [
            someLongValue___________________________________________________,
            someLongValue___________________________________________________,
        ];
}

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

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

dotnet/aspnetcore (mcr.microsoft.com/dotnet/aspnet)

v9.0.1: .NET 9.0.1

Compare Source

Release

What's Changed

Full Changelog: dotnet/aspnetcore@v9.0.0...v9.0.1

dotnet/sdk (mcr.microsoft.com/dotnet/sdk)

v9.0.102

v9.0.101


Configuration

📅 Schedule: Branch creation - "* 0-3 1 * *" (UTC), 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.

Copy link

github-actions bot commented Sep 1, 2024

🦙 MegaLinter status: ⚠️ WARNING

Descriptor Linter Files Fixed Errors Elapsed time
✅ ACTION actionlint 9 0 0.13s
⚠️ CSHARP csharpier 45 1 3.97s
⚠️ CSHARP roslynator 5 5 35.4s
✅ DOCKERFILE hadolint 1 0 0.11s
✅ EDITORCONFIG editorconfig-checker 107 0 0.23s
✅ JSON jsonlint 11 0 0.15s
✅ JSON prettier 11 0 2.09s
✅ MARKDOWN markdownlint 3 0 0.52s
⚠️ MARKDOWN markdown-table-formatter 3 1 0.4s
✅ PROTOBUF protolint 5 0 3.13s
✅ REPOSITORY checkov yes no 24.67s
✅ REPOSITORY dustilock yes no 0.01s
✅ REPOSITORY gitleaks yes no 0.21s
✅ REPOSITORY git_diff yes no 0.02s
✅ REPOSITORY grype yes no 18.49s
✅ REPOSITORY kics yes no 19.68s
✅ REPOSITORY secretlint yes no 0.76s
✅ REPOSITORY syft yes no 1.86s
✅ REPOSITORY trivy yes no 11.38s
✅ REPOSITORY trivy-sbom yes no 0.17s
✅ REPOSITORY trufflehog yes no 4.64s
✅ XML xmllint 1 0 0.02s
✅ YAML prettier 24 0 1.15s
✅ YAML yamllint 24 0 0.76s

See detailed report in MegaLinter reports

You could have same capabilities but better runtime performances if you request a new MegaLinter flavor.

MegaLinter is graciously provided by OX Security

@renovate renovate bot force-pushed the renovate/all-minor-patch branch 11 times, most recently from 9065772 to f1cb00e Compare September 8, 2024 12:16
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 9 times, most recently from 1022c0d to 0167a8f Compare September 15, 2024 18:26
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 6 times, most recently from 348dc74 to ef1dad7 Compare September 24, 2024 18:22
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 3 times, most recently from 201605d to 46b993f Compare September 27, 2024 12:58
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 2 times, most recently from 594710f to 2b5fc37 Compare December 17, 2024 20:56
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 5 times, most recently from 3e02e88 to ad34236 Compare December 31, 2024 01:33
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 5 times, most recently from e0428e1 to 4b4a6ad Compare January 10, 2025 18:12
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 7 times, most recently from f0f4d9c to b7f25a6 Compare January 20, 2025 00:47
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 3 times, most recently from 4e75f4d to 2f4cf91 Compare January 24, 2025 16:25
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 2f4cf91 to 14981be Compare January 26, 2025 14:50
Copy link
Contributor Author

renovate bot commented Jan 26, 2025

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.

Copy link

Trivy image scan report

ghcr.io/miracum/vfps:pr-156 (ubuntu 24.04)

No Vulnerabilities found

No Misconfigurations found

opt/vfps/Vfps.deps.json

No Vulnerabilities found

No Misconfigurations found

usr/share/dotnet/shared/Microsoft.AspNetCore.App/9.0.1/Microsoft.AspNetCore.App.deps.json

No Vulnerabilities found

No Misconfigurations found

usr/share/dotnet/shared/Microsoft.NETCore.App/9.0.1/Microsoft.NETCore.App.deps.json

No Vulnerabilities found

No Misconfigurations found

Copy link

github-actions bot commented Jan 26, 2025

Code Coverage

Package Line Rate Branch Rate Health
Vfps.Tests 99% 100%
Vfps 94% 60%
Summary 95% (431 / 452) 66% (33 / 50)

Minimum allowed line rate is 50%


ghz run statistics

Summary:
  Count:	5000
  Total:	9.44 s
  Slowest:	468.09 ms
  Fastest:	8.14 ms
  Average:	90.92 ms
  Requests/sec:	529.65

Response time histogram:
  8.140   [1]    |
  54.136  [341]  |∎∎∎∎
  100.131 [3450] |∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎
  146.126 [1018] |∎∎∎∎∎∎∎∎∎∎∎∎
  192.121 [140]  |∎∎
  238.117 [0]    |
  284.112 [0]    |
  330.107 [0]    |
  376.103 [1]    |
  422.098 [0]    |
  468.093 [49]   |∎

Latency distribution:
  10 % in 59.25 ms 
  25 % in 75.07 ms 
  50 % in 82.82 ms 
  75 % in 99.70 ms 
  90 % in 127.09 ms 
  95 % in 136.24 ms 
  99 % in 189.08 ms 

Status code distribution:
  [OK]   5000 responses   

iter8 report

Experiment summary:
*******************

  Experiment completed: true
  No task failures: true
  Total number of tasks: 6
  Number of completed tasks: 6
  Number of completed loops: 1

Whether or not service level objectives (SLOs) are satisfied:
*************************************************************

  SLO Conditions                  | Satisfied
  --------------                  | ---------
  grpc/error-rate <= 0            | true
  grpc/latency/mean (msec) <= 200 | true
  grpc/latency/p99 (msec) <= 500  | true
  

Latest observed values for metrics:
***********************************

  Metric                   | value
  -------                  | -----
  grpc/error-count         | 0.00
  grpc/error-rate          | 0.00
  grpc/latency/mean (msec) | 127.04
  grpc/latency/p99 (msec)  | 396.00
  grpc/request-count       | 50000.00
  

iter8 report

Experiment summary:
*******************

  Experiment completed: true
  No task failures: true
  Total number of tasks: 6
  Number of completed tasks: 6
  Number of completed loops: 1

Whether or not service level objectives (SLOs) are satisfied:
*************************************************************

  SLO Conditions                  | Satisfied
  --------------                  | ---------
  grpc/error-rate <= 0            | true
  grpc/latency/mean (msec) <= 200 | true
  grpc/latency/p99 (msec) <= 500  | true
  

Latest observed values for metrics:
***********************************

  Metric                   | value
  -------                  | -----
  grpc/error-count         | 0.00
  grpc/error-rate          | 0.00
  grpc/latency/mean (msec) | 132.85
  grpc/latency/p99 (msec)  | 398.00
  grpc/request-count       | 50000.00
  

@chgl chgl merged commit 9fdd0fa into master Jan 26, 2025
18 checks passed
@chgl chgl deleted the renovate/all-minor-patch branch January 26, 2025 14:59
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.

1 participant