You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
<!-- input & expected output -->
<Root>
<!-- This is the first line comment--><!-- This is the second line of my comment-->
</Root>
<!-- 1.2.0 -->
<Root>
<!-- This is the first line comment--><!-- This is the second line of my comment-->
</Root>
CSharpier now has a custom xml parser. XmlDocument and XDocument do 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.
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.
// inputusingSystem.Net;using
...(truncated)Commits viewable in[compareview](https://github.com/belav/csharpier/compare/1.1.2...1.2.1).</details>Updated[husky](https://github.com/alirezanet/husky.net) from 0.7.2 to 0.8.0.<details><summary>Release notes</summary>_Sourcedfrom[husky's releases](https://github.com/alirezanet/husky.net/releases)._
## 0.8.0
## What's Changed
* Add net10 support by @xanth in https://github.com/alirezanet/Husky.Net/pull/138* Bugfix: Set a default value for FilteringRule when it’s not specified in the configuration.
## New Contributors
* @xanth made their first contributioninhttps://github.com/alirezanet/Husky.Net/pull/138**Full Changelog**:https://github.com/alirezanet/Husky.Net/compare/v0.7.2...v0.8.0Commits viewable in[compare view](https://github.com/alirezanet/husky.net/compare/v0.7.2...v0.8.0).</details>
Dependabot will resolve any conflicts withthis PR aslongas you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.[//]: # (dependabot-automerge-start)[//]: # (dependabot-automerge-end)---<details><summary>Dependabot commands and options</summary><br />You can trigger Dependabot actions by commenting on thisPR:- `@dependabot rebase` will rebase thisPR- `@dependabot recreate` will recreate thisPR,overwritingany edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen thisPRif it is closed
- `@dependabot close` will close thisPRand stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close thisgroupupdate PR and stop Dependabot creating any more for the specific dependency's major version (unlessyou unignore thisspecificdependency's major version or upgrade to it yourself)- `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)- `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)- `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore <dependency name><ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions
</details>
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
dependenciesPull requests that update a dependency file.NETPull requests that update .NET code
0 participants
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.
Updated csharpier from 1.1.2 to 1.2.1.
Release notes
Sourced from csharpier's releases.
1.2.1
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
1.2.0
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.