Skip to content

Commit

Permalink
Release 0.26.6 (#1071)
Browse files Browse the repository at this point in the history
  • Loading branch information
belav authored Dec 14, 2023
1 parent 510a10b commit 3b738ad
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
13 changes: 12 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
# 0.26.5
# 0.26.6
## What's Changed
### CSharpier incorrectly reports problems with differing line endings as "The file did not end with a single newline"[#1067](https://github.com/belav/csharpier/issues/1067)
If CSharpier was validating that a file was formatted, and that file contained only `\n` but CSharpier was configured to use `\r\n`, then it would report the problem as `The file did not end with a single newline`

CSharpier added support for reading line ending configuration from an `.editorconfig` which could contain `end_of_line = crlf` so some users were unknowingly configuring CSharpier to use `\r\n`

CSharpier now correctly reports the problem as `The file contained different line endings than formatting it would result in.`

**Full Changelog**: https://github.com/belav/csharpier/compare/0.26.5...0.26.6
# 0.26.5
## What's Changed
### 0.26.4 sorts `NSubstitute` before `Newtonsoft.Json` [#1061](https://github.com/belav/csharpier/issues/1061)
The using sorting in `0.26.4` was taking into account case.
Expand Down Expand Up @@ -1712,3 +1722,4 @@ Thanks go to @pingzing
2 changes: 1 addition & 1 deletion Nuget/Build.props
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project>
<PropertyGroup>
<Version>0.26.5</Version>
<Version>0.26.6</Version>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<RepositoryUrl>https://github.com/belav/csharpier</RepositoryUrl>
<RepositoryType>git</RepositoryType>
Expand Down
1 change: 1 addition & 0 deletions Src/Website/docs/IntegratingWithLinters.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ dotnet_diagnostic.SA1009.severity = none
dotnet_diagnostic.SA1111.severity = none
dotnet_diagnostic.SA1118.severity = none
dotnet_diagnostic.SA1137.severity = none
dotnet_diagnostic.SA1413.severity = none
dotnet_diagnostic.SA1500.severity = none
dotnet_diagnostic.SA1501.severity = none
dotnet_diagnostic.SA1502.severity = none
Expand Down

0 comments on commit 3b738ad

Please sign in to comment.