Skip to content

Bump CSharpier from 1.2.6 to 1.3.0#259

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/nuget/dot-config/all-dependencies-4547146d4f
Open

Bump CSharpier from 1.2.6 to 1.3.0#259
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/nuget/dot-config/all-dependencies-4547146d4f

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 9, 2026

Copy link
Copy Markdown
Contributor

Updated CSharpier from 1.2.6 to 1.3.0.

Release notes

Sourced from CSharpier's releases.

1.3.0

1.3.0

Breaking Changes

Change xml formatting to return error when it runs into syntax error so it is consistent with c# #​1854

Previously CSharpier treated an invalid xml file as a warning instead of an error. This was inconsistent with how it treated c# files.
Invalid c# or xml files are not treated as errors.
The --compilation-errors-as-warnings argument has been renamed to --syntax-errors-as-warnings and can be used to return warnings instead of errors when encountering invalid files.

What's Changed

Feature: Configurable whitespace handling for xml #​1790

CSharpier now supports two types of xml whitespace formatting strict or ignore.
By default all xml except xaml or axaml is treated as strict whitespace. See details

Feature: Move closing bracket for xml elements to the same line. #​1598

With strict xml whitespace handling, csharpier now keeps the closing bracket for an element on the same line instead of breaking it to a new line.

<!-- input & expected output -->
<ElementWithAttribute Attribute="AttributeValue__________________"
  >TextValue</ElementWithAttribute>

<!-- 1.2.6 -->
<ElementWithAttribute Attribute="AttributeValue__________________"
  >TextValue</ElementWithAttribute
>

Feature: Support for csharpier-ignore with XML formatter #​1788

CSharpier now supports csharpier-ignore in xml files. See details

Feature: Add MSBuild transitive and multi-target support #​1833

CSharpier.MSBuild can now work as a transitive dependency.

Feature: allow checking formatting with cache #​1830

The csharpier check command now supports a --use-cache option.

Feature: remove dependency on Microsoft.AspNetCore.App #​1508

Previously CSharpier required that Microsoft.AspNetCore.App be installed. CSharpier has been modified to use an HttpListener when it is run using server to remove the need for this dependency.

Fix: csharpier-ignore comment removes linespaces before block #​1867

CSharpier was removing blank lines before csharpier-ignore comments in some cases

// input and expected output
var x = 1;
    
// csharpier-ignore
var y=1;

/// 1.2.6
var x = 1;
// csharpier-ignore
var y=1;
 ... (truncated)

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

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> **Low Risk**
> Single dependency version bump in dotnet-tools with no application logic changes; possible CI/format drift if 1.3.0 reformats C# differently, but scope is limited to the formatter tool.
> 
> **Overview**
> **Bumps the repo-local CSharpier tool** from `1.2.6` to `1.3.0` in `.config/dotnet-tools.json`, so `dotnet tool restore` and CI (`csharpier check` / `format` via `dotnet tool run csharpier`) use the new release.
> 
> The diff also reformats the `commands` array in that manifest; behavior is unchanged aside from the version pin.
> 
> **1.3.0** mainly affects **XML** formatting (stricter syntax errors, new whitespace rules, closing-bracket layout, `csharpier-ignore` in XML) and small **C#** fixes (e.g. blank lines before `csharpier-ignore`). This repo’s workflows target `**/*.cs`, so day-to-day impact is likely limited unless you format XML with CSharpier or rely on the old `--compilation-errors-as-warnings` flag (renamed to `--syntax-errors-as-warnings`).
> 
> **Note:** `.devcontainer/Dockerfile` still installs global CSharpier `1.2.6`; that file is **not** updated in this PR, so devcontainer global CLI may stay on the older version until aligned separately.
> 
> <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit c0b49780888bc951eecd9f3b335cbdf4d6b3bdb1. Bugbot is set up for automated code reviews on this repo. Configure [here](https://www.cursor.com/dashboard/bugbot).</sup>
<!-- /CURSOR_SUMMARY -->

@dependabot dependabot Bot added .NET Pull requests that update .NET code dependencies Pull requests that update a dependency file labels Jun 9, 2026
---
updated-dependencies:
- dependency-name: CSharpier
  dependency-version: 1.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot changed the title Bump the all-dependencies group with 1 update Bump CSharpier from 1.2.6 to 1.3.0 Jun 30, 2026
@dependabot dependabot Bot force-pushed the dependabot/nuget/dot-config/all-dependencies-4547146d4f branch from a9c14ec to c0b4978 Compare June 30, 2026 04:43
Copilot AI review requested due to automatic review settings June 30, 2026 04:43

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot can't review bot-authored pull requests automatically. A user with Copilot access can request a review manually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file .NET Pull requests that update .NET code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants