chore(deps): update dependency csharpier to v1.2.6#106
Open
renovate[bot] wants to merge 1 commit intomainfrom
Open
chore(deps): update dependency csharpier to v1.2.6#106renovate[bot] wants to merge 1 commit intomainfrom
renovate[bot] wants to merge 1 commit intomainfrom
Conversation
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the Comment |
90fad58 to
e531148
Compare
|
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.0.2→1.2.6Release Notes
belav/csharpier (csharpier)
v1.2.6Compare Source
What's Changed
[Bug]: XML with DOCTYPE results in "invalid xml" warning #1809
CSharpier was not formatting xml that included a doctype and instead reporting that it was invalid xml.
[Bug]: Initializing a span using
stackallocleads to different formatting compared tonew#1808When initializing a spacn using stackalloc, it was not being formatting consistently with other code
[Bug]: Comments in otherwise empty object pattern disappear when formatting #1804
CSharpier was removing comments if they were the only content of an object pattern.
Full Changelog: belav/csharpier@1.2.5...1.2.6
v1.2.5Compare Source
What's Changed
Performance issue when running CLI in project with pnpm on Windows #1781
1.2.4 did not properly address this
The code to determine if there is a version of CSharpier.MsBuild referenced that does not match the version of CSharpier being run has been optimized to not look in node_modules or .git. This significantly speeds things up in some setups.
Full Changelog: belav/csharpier@1.2.4...1.2.5
v1.2.4Compare Source
What's Changed
Weird enter in closing when formatting XAML TextBlock #1785
CSharpier was breaking an end element to a new line when it did not need to.
Order Modifiers (IDE0036) not formatting when code is preceded by a comment. #1784
When incorrectly ordered modifiers were preceded by a comment they were not being reordered. Thanks go to @TimothyMakkison for the contribution
Performance issue when running CLI in project with pnpm on Windows #1781
The code to determine if there is a version of CSharpier.MsBuild referenced that does not match the version of CSharpier being run has been optimized to not look in node_modules or .git. This significantly speeds things up in some setups.
Full Changelog: belav/csharpier@1.2.3...1.2.4
v1.2.3Compare Source
What's Changed
Large directories ignored in .gitignore significantly impact performance. #1776
CSharpier was enumerating all files within all subdirectories and then determining if they should be formatted or not. That logic was optimized to only enumerate files in directories that are not ignored.
Full Changelog: belav/csharpier@1.2.2...1.2.3
v1.2.2Compare Source
What's Changed
The null coalescing operator is grouped in an unexpected place #1769
Null coalescing is now consistently broken thanks to a contribution from @ogaken-1
Xml formatter should not add a second line #1760
When formatting an xml file with a declaration and extra blank line was being added.
Git ignore patterns do not work the same as git #1759
The handling of ignore patterns did not properly match how git handles them. The logic has been reworked and now has tests that compare it directly to git.
Fix server crash when launched without console #1774
If a plugin launched
csharpier serverwithout a console it would crash. This has been resolved thanks to @rcdaileyFull Changelog: belav/csharpier@1.2.1...1.2.2
v1.2.1Compare 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.
Full Changelog: belav/csharpier@1.2.0...1.2.1
v1.2.0Compare Source
What's Changed
Custom XML Parser #1679
CSharpier now has a custom xml parser.
XmlDocumentandXDocumentdo 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.
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.
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.
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
Indent .ThenInclude() for clearer navigation hierarchy in EF Core queries #1602
CSharpier now treats
.ThenIncludeas a special case to improve formatting of EF queriesInconsistent indentation between
isand other operators #1601Pattern operators were being indented inconsistently with other operators. The formatting is now more consistent
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
v1.1.2Compare Source
What's Changed
Inconsistencies with null-coalescing wrapping on method chains #1573
On longer method chains, depending on the exact chain a null coalescing expression wouldn't always be preceded by a new line.
Full Changelog: belav/csharpier@1.1.1...1.1.2
v1.1.1Compare Source
What's Changed
Unhandled exception: System.ArgumentOutOfRangeException: startIndex cannot be larger than length of string. (Parameter 'startIndex') #1673
CSharpier was throwing an exception when formating a directory contained a file without an extension.
Full Changelog: belav/csharpier@1.1.1...1.1.1
v1.1.0Compare Source
What's Changed
.gitignore from parent folders impacts formatting of children #1627
CSharpier will no longer consider
.gitignorefiles located above the root of the current git repository.Changes to stdin formatting #288 #1657
There is a new option
--stdin-filepaththat is used to specify the filepath CSharpier should use for resolving options and ignore files.When no path is specified via
stdin-path<in which case it is assumed to be xml.Support for C# 14 and .NET 10 #1654 #1646
Changes were required to support the following
Support --ignore-path CLI option #1585
It is now possible to specify the path to an ignore file
dotnet csharpier format . --ignore-path .config/.csharpierignoreFormat xaml and slnx by default #1628 #1604
CSharpier now formats
xamlandslnxby default without the need for configuration changes.XML formatting is not taking into account EOL configuration on multiline comments #1660
When formatting the following XML, CSharpier would always use the system system default for ending lines within the comment instead of the respecting the configured EOL setting.
Error when no read access to intermediate containing folder #1656
In the case that CSharpier had access to a sub directory but not the parent of that sub directory, it was failing with an exception. That has been resolved.
Misleading message after "csharpier check" #1645
Previously the
formatandcheckcommands both used the same output message. Thecheckcommand now correctly reports that it checked files and did not format them.Multiline collection expressions should not be indented #1635
CSharpier now formats collection expressions consistently when they are in a property
.editorconfig is not considered, when its part of the .gitignore #1582
Previously if an
.editorconfigwas in the.gitignoreit would not be considered when determining the configuration options for formatting a given file. That behavior has been changed so it will be considered.Full Changelog: belav/csharpier@1.0.3...1.1.0
v1.0.3Compare Source
dotnet csharpier check .
Formatted 13226 files in 21986ms.
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 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.