Repository navigation
chore(deps): update dependency csharpier.msbuild to 1.4.0 - #885
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.3.0→1.4.0Release Notes
belav/csharpier (CSharpier.MSBuild)
v1.4.0Compare Source
Breaking Changes
Drop support for net8.0 and net9.0 #1888
CSharpier and CSharpier.MsBuild now target
net10.0andnet11.0. CSharpier.Core targetsnet10.0,net11.0andnetstandard2.0.What's Changed
Feature: Support for .NET 11 and C# 15 #1888
CSharpier now supports the new syntax in C# 15.
Feature: Avoid chopping single trailing lambda #1865
When the last argument is a lambda with a block body, and the arguments up to and including the
=>fit on one line, CSharpier now keeps them on the same line as the method name.Feature: Keep the left side of a null-coalescing operator on the same line as the variable #1913
When an assignment or return containing
??is too long, CSharpier now keeps the left value on the same line as the variable instead of breaking after the=.Feature: Support csharpier-ignore ranges in using directives #1856
Using directives within a
csharpier-ignore-startandcsharpier-ignore-endrange are no longer sorted or formatted.Feature: Improve performance of CLI when passing in files/folders #1893
CSharpier now resolves ignore files and configuration files once per run instead of once for each path passed to it. This speeds up tools such as pre-commit hooks that pass a list of staged files.
Fix: False formatting validation failure with inconsistent whitespace in using directives #1929
CSharpier reported
Failed formatting validationwhen a using directive contained extra whitespace.Fix: Blank lines removed from csharpier-ignore methods that have attributes #1925
CSharpier was removing blank lines within a method that had an attribute and a
csharpier-ignorecomment.Fix: Leading comment causes short invocation chain to break #1921
Fix: Leading comment causes
withexpression to break #1882Fix: XmlFormatter fails under Native AOT #1920
XmlFormatteralways serialized the AST, which uses reflection based JSON serialization. This threw anInvalidOperationExceptionwhen CSharpier.Core was used in a Native AOT application. The AST is now only serialized whenIncludeASTis set, the same asCSharpFormatter.Fix: XAML formatting inserts a line break between adjacent inline elements #1912
CSharpier no longer inserts a new line between adjacent elements unless there is already whitespace between them. Inserting whitespace changes the rendered text for elements such as a xaml
TextBlock.CSharpier also respects
xml:space="preserve"when usingignorewhitespace handling. See detailsFix: Blank line after #endif is removed and then added back on the next run #1908
CSharpier was removing the blank line after an
#endifthat ended with an active member, and adding it back on the next format.Fix: Xml formatter inserts a blank line before a closing tag when the last children are a comment and text #1905
Fix: Error when .gitignore contains the macOS
Icon[\r]pattern #1887The pattern used to ignore the
Icon\rfiles that macOS creates in folders could not be parsed and caused CSharpier to fail. CSharpier now skips that line when reading a.gitignore.Fix:
dotnet csharpierfails when CSharpier is installed globally #1883The documentation has been updated to explain that a global install is run with
csharpierinstead ofdotnet csharpier. This is a limitation of how dotnet runs global tools, see dotnet/sdk#14626.Full Changelog: belav/csharpier@1.3.0...1.4.0
Configuration
📅 Schedule: (UTC)
🚦 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.