mason-org / mason-registry

Core registry for mason.nvim.
https://mason-registry.dev/registry/list
Apache License 2.0
160 stars 364 forks source link

bump(csharpier): update to 0.30.1 #7958

Closed renovate[bot] closed 1 week ago

renovate[bot] commented 1 week ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
csharpier 0.29.2 -> 0.30.1 age adoption passing confidence

[!WARNING] Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

belav/csharpier (csharpier) ### [`v0.30.1`](https://redirect.github.com/belav/csharpier/compare/0.30.0...0.30.1) [Compare Source](https://redirect.github.com/belav/csharpier/compare/0.30.0...0.30.1) ### [`v0.30.0`](https://redirect.github.com/belav/csharpier/releases/tag/0.30.0) [Compare Source](https://redirect.github.com/belav/csharpier/compare/0.29.2...0.30.0) #### Breaking Changes The CSharpier dotnet tool no longer supports net6 & net7. #### What's Changed ##### Support C# 13 & dotnet 9. [#​1318](https://redirect.github.com/belav/csharpier/issues/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](https://redirect.github.com/belav/csharpier/issues/1364) Implicit and explicit object initialization with constructors was not formatted consistently ```c# // 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](https://redirect.github.com/belav/csharpier/issues/1358) When an interpolated verbatim string contained line breaks, the code within the interpolations would contain extra spaces. ```c# // input & expected output var someStringWithLineBreakAndLongValue = $@​" {someValue.GetValue().Name} someLongText________________________________________________________________"; // 0.29.2 var someStringWithLineBreakAndLongValue = $@​" {someValue .GetValue() .Name} someLongText________________________________________________________________"; ``` ##### Inserting trailing comma with trailing comment causes problems. [#​1354](https://redirect.github.com/belav/csharpier/issues/1354) CSharpier would insert a trailing comma after a trailing comment and format the end result poorly. ```c# // 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](https://redirect.github.com/belav/csharpier/issues/1351) CSharpier was inserting an extra line break on a long field name followed by a collection expression to initialize it. ```c# // input & expected output class ClassName { public SomeType[] LongName____________________________________________________________________________ = [ someLongValue___________________________________________________, someLongValue___________________________________________________, ]; } // 0.29.2 class ClassName { public SomeType[] LongName____________________________________________________________________________ = [ someLongValue___________________________________________________, someLongValue___________________________________________________, ]; } ``` **Full Changelog**: https://github.com/belav/csharpier/compare/0.29.2...0.30.0

Configuration

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

🚦 Automerge: Enabled.

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

🔕 Ignore: Close this PR and you won't be reminded about this update again.



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