[PR #1010] [CLOSED] Bump csharpier from 1.1.2 to 1.2.0 #1429

Open
opened 2026-01-29 22:20:32 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/adamhathcock/sharpcompress/pull/1010
Author: @dependabot[bot]
Created: 11/10/2025
Status: Closed

Base: masterHead: dependabot/nuget/dot-config/csharpier-1.2.0


📝 Commits (1)

  • c8125c3 Bump csharpier from 1.1.2 to 1.2.0

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 .config/dotnet-tools.json (+1 -1)

📄 Description

Updated csharpier from 1.1.2 to 1.2.0.

Release notes

Sourced from csharpier's releases.

1.2.0

What's Changed

Custom XML Parser #​1679

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.

<!-- input -->
<Root>

  <Element />


  <Element />

</Root>

<!-- expected output -->
<Root>
  <Element />

  <Element />
</Root>

<!-- 1.1.2 -->
<Root>
  <Element />
  <Element />
</Root>

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.

<!-- input & expected output -->
<Target Name="Transform" BeforeTargets="Build">
  <Message Importance="high" Text="@(MyItems->'MyItems has %(Identity)', ', ')" />
</Target>

<!-- 1.1.2 -->
<Target Name="Transform" BeforeTargets="Build">
  <Message Importance="high" Text="@(MyItems-&gt;'MyItems has %(Identity)', ', ')" />
</Target>

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.

// input
using System.Net;
using
 ... (truncated)

Commits viewable in [compare view](https://github.com/belav/csharpier/compare/1.1.2...1.2.0).
</details>

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=csharpier&package-manager=nuget&previous-version=1.1.2&new-version=1.2.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as 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 this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any 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 this PR if it is closed
- `@dependabot close` will close this PR and 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 this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)


</details>

---

<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
## 📋 Pull Request Information **Original PR:** https://github.com/adamhathcock/sharpcompress/pull/1010 **Author:** [@dependabot[bot]](https://github.com/apps/dependabot) **Created:** 11/10/2025 **Status:** ❌ Closed **Base:** `master` ← **Head:** `dependabot/nuget/dot-config/csharpier-1.2.0` --- ### 📝 Commits (1) - [`c8125c3`](https://github.com/adamhathcock/sharpcompress/commit/c8125c39e78ce590a369c39c3b715389c964e14c) Bump csharpier from 1.1.2 to 1.2.0 ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `.config/dotnet-tools.json` (+1 -1) </details> ### 📄 Description Updated [csharpier](https://github.com/belav/csharpier) from 1.1.2 to 1.2.0. <details> <summary>Release notes</summary> _Sourced from [csharpier's releases](https://github.com/belav/csharpier/releases)._ ## 1.2.0 ## What's Changed ### Custom XML Parser [#​1679](https://github.com/belav/csharpier/pull/1679) 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](https://github.com/belav/csharpier/issues/1599) CSharpier now supports keeping a single empty line between elements in xml files. It will remove any initial or trailing empty lines. ```xml <!-- input --> <Root> <Element /> <Element /> </Root> <!-- expected output --> <Root> <Element /> <Element /> </Root> <!-- 1.1.2 --> <Root> <Element /> <Element /> </Root> ``` ### Xml - don't automatically encode attribute values [#​1610](https://github.com/belav/csharpier/issues/1610) CSharpier will no longer encode attribute values. It will leave them encoded if they are supplied that way. ```xml <!-- input & expected output --> <Target Name="Transform" BeforeTargets="Build"> <Message Importance="high" Text="@(MyItems->'MyItems has %(Identity)', ', ')" /> </Target> <!-- 1.1.2 --> <Target Name="Transform" BeforeTargets="Build"> <Message Importance="high" Text="@(MyItems-&gt;'MyItems has %(Identity)', ', ')" /> </Target> ``` ### Add option to all integrations to report incorrect formatting as a warning instead of error [#​1687](https://github.com/belav/csharpier/issues/1687) ### Formatting "using" import split on multiple lines requires formatting it twice to get the expected result [#​1698](https://github.com/belav/csharpier/issues/1698) When a using contained a newline before the namespace it was not being sorted properly. ```c# // input using System.Net; using ... (truncated) Commits viewable in [compare view](https://github.com/belav/csharpier/compare/1.1.2...1.2.0). </details> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=csharpier&package-manager=nuget&previous-version=1.1.2&new-version=1.2.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as 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 this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any 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 this PR if it is closed - `@dependabot close` will close this PR and 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 this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 22:20:32 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/sharpcompress#1429