From c9b62885f1bb3c432f5e1a19f0905985445aafb7 Mon Sep 17 00:00:00 2001 From: Bela VanderVoort Date: Fri, 3 Jan 2025 11:19:04 -0600 Subject: [PATCH] Releasing 0.30.5 --- CHANGELOG.md | 27 ++++++++++++++++++++++++++- Nuget/Build.props | 2 +- 2 files changed, 27 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1857d16c9..d449378c9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,29 @@ -# 0.30.4 +# 0.30.5 +## What's Changed +### Extra blank line added to file each time csharpier runs on this file [#1426](https://github.com/belav/csharpier/issues/1426) +When a file ended in a comment and that comment had multiple blank lines before it, a new blank line was being added each time it was formatted. +// input +```c# +// input +namespace MyCompany.MyNamespace; + + +// Comment block + +// 0.30.4 +namespace MyCompany.MyNamespace; + + + +// Comment block + +// 0.30.5 +namespace MyCompany.MyNamespace; + +// Comment block + +**Full Changelog**: https://github.com/belav/csharpier/compare/0.30.4...0.30.5 +# 0.30.4 ## What's Changed ### Formatting deletes `unsafe` modifier [#1416](https://github.com/belav/csharpier/issues/1416) Formatting a using directive with an unsafe modifier resulted in the lose of the unsafe keyword diff --git a/Nuget/Build.props b/Nuget/Build.props index ed5f1a8a1..752fce8ba 100644 --- a/Nuget/Build.props +++ b/Nuget/Build.props @@ -1,6 +1,6 @@ - 0.30.4 + 0.30.5 MIT https://github.com/belav/csharpier git