From 0d320054c533698c732b12dcf524b8545369d67d Mon Sep 17 00:00:00 2001 From: Florian Verdonck Date: Wed, 9 Sep 2020 23:40:22 +0200 Subject: [PATCH] Add release notes for 4.1. (#1127) --- RELEASE_NOTES.md | 29 ++++++------------- .../Fantomas.CoreGlobalTool.Tests.fsproj | 2 +- .../Fantomas.CoreGlobalTool.fsproj | 2 +- src/Fantomas.Extras/Fantomas.Extras.fsproj | 2 +- src/Fantomas.Tests/Fantomas.Tests.fsproj | 2 +- src/Fantomas/Fantomas.fsproj | 2 +- 6 files changed, 14 insertions(+), 25 deletions(-) diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 6f9f33efa4..05a849e5e1 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -1,37 +1,26 @@ -### 4.1.0-beta-004 09/2020 +### 4.1.0 - 09/2020 -* Fixed some regression introduced by [#992](https://github.com/fsprojects/fantomas/pull/992). +* Ignore files by `.fantomasignore` file. [#420](https://github.com/fsprojects/fantomas/issues/420) +* Limit trivia by AST MainNode name. [#992](https://github.com/fsprojects/fantomas/pull/992) +* Lead by example. [#666](https://github.com/fsprojects/fantomas/issues/666) +* Verify all unit test whether the formatted code is valid. [#842](https://github.com/fsprojects/fantomas/issues/842) +* Fix Comments get dropped from the end of multi-line records. [#1124](https://github.com/fsprojects/fantomas/issues/1124) +* Fix Functions in nested modules which follow a type consisting of only one member of a DU are un-nested from that module. [#1123](https://github.com/fsprojects/fantomas/issues/1123) +* Fix After discriminated union in module wrongly indented. [#1122](https://github.com/fsprojects/fantomas/issues/1122) +* Fix Extra whitespace with a type which has an attribute. [#1116](https://github.com/fsprojects/fantomas/issues/1116) * Fix Adds newline between comments and (all but the first) attribute. [#1108](https://github.com/fsprojects/fantomas/issues/1108) * Fix Extra whitespace lines added in fsi files at the end of a nested module declaration. [#1105](https://github.com/fsprojects/fantomas/issues/1105) - -### 4.1.0-beta-003 09/2020 - -* Lead by example. [#666](https://github.com/fsprojects/fantomas/issues/666) * Fix Extra new line is added before attributes. [#1097](https://github.com/fsprojects/fantomas/issues/1097) * Fix Comments after closing brace are lost. [#1096](https://github.com/fsprojects/fantomas/issues/1096) * Fix Comment after Or operator lost. [#1095](https://github.com/fsprojects/fantomas/issues/1095) * Fix Trivia before bar is being repeated. [#1083](https://github.com/fsprojects/fantomas/issues/1083) * Fix Comment after arrow is being duplicated. [#1082](https://github.com/fsprojects/fantomas/issues/1082) - -### 4.1.0-beta-002 - 09/2020 - -* Fixed some regression introduced by [#992](https://github.com/fsprojects/fantomas/pull/992). -* Fix Comment after arrow is being duplicated. [#1082](https://github.com/fsprojects/fantomas/issues/1082) - -### 4.1.0-beta-001 - 09/2020 - * Fix Allow line break after return to avoid excessive indenting/aligning. [#1062](https://github.com/fsprojects/fantomas/issues/1062) * Fix Name of static members are removed/empty. [#1059](https://github.com/fsprojects/fantomas/issues/1059) * Fix When using parenthesis in type definition, it will sometimes keep adding additional () for each time fantomas i run. [#1057](https://github.com/fsprojects/fantomas/issues/1057) * Fix Multiline string in use expression. [#1055](https://github.com/fsprojects/fantomas/issues/1055) * Fix Issue #246 has returned in v4.0.0. [#1051](https://github.com/fsprojects/fantomas/issues/1051) * Fix Indentation after multiple hash directives is off. [#1026](https://github.com/fsprojects/fantomas/issues/1026) - -### 4.1.0-alpha-001 - 09/2020 - -* Blacklist files or code blocks by `.fantomasignore` file. [#420](https://github.com/fsprojects/fantomas/issues/420) -* Verify all unit test whether the formatted code is valid. [#842](https://github.com/fsprojects/fantomas/issues/842) -* Limit trivia by AST MainNode name. [#992](https://github.com/fsprojects/fantomas/pull/992) * Fix if/then/else indented too far. [#1054](https://github.com/fsprojects/fantomas/issues/1054) * Fix Single AST node should contain trivia. [#1031](https://github.com/fsprojects/fantomas/issues/1031) * Fix Formatter adds extra newlines between type and any subsequent val in .fsi files. [#1029](https://github.com/fsprojects/fantomas/issues/1029) diff --git a/src/Fantomas.CoreGlobalTool.Tests/Fantomas.CoreGlobalTool.Tests.fsproj b/src/Fantomas.CoreGlobalTool.Tests/Fantomas.CoreGlobalTool.Tests.fsproj index e94763c3c9..7b3489427e 100644 --- a/src/Fantomas.CoreGlobalTool.Tests/Fantomas.CoreGlobalTool.Tests.fsproj +++ b/src/Fantomas.CoreGlobalTool.Tests/Fantomas.CoreGlobalTool.Tests.fsproj @@ -4,7 +4,7 @@ netcoreapp3.1 false false - 4.1.0-beta-004 + 4.1.0 FS0988 FS0025 diff --git a/src/Fantomas.CoreGlobalTool/Fantomas.CoreGlobalTool.fsproj b/src/Fantomas.CoreGlobalTool/Fantomas.CoreGlobalTool.fsproj index 760b970f0c..10b27b5149 100644 --- a/src/Fantomas.CoreGlobalTool/Fantomas.CoreGlobalTool.fsproj +++ b/src/Fantomas.CoreGlobalTool/Fantomas.CoreGlobalTool.fsproj @@ -4,7 +4,7 @@ netcoreapp3.1 fantomas True - 4.1.0-beta-004 + 4.1.0 fantomas-tool FS0025 diff --git a/src/Fantomas.Extras/Fantomas.Extras.fsproj b/src/Fantomas.Extras/Fantomas.Extras.fsproj index 1d44951a30..147a0fe4fd 100644 --- a/src/Fantomas.Extras/Fantomas.Extras.fsproj +++ b/src/Fantomas.Extras/Fantomas.Extras.fsproj @@ -2,7 +2,7 @@ netstandard2.0 - 4.1.0-beta-004 + 4.1.0 Utility package for Fantomas FS0025 diff --git a/src/Fantomas.Tests/Fantomas.Tests.fsproj b/src/Fantomas.Tests/Fantomas.Tests.fsproj index d576ca8ad5..a3178a6e97 100644 --- a/src/Fantomas.Tests/Fantomas.Tests.fsproj +++ b/src/Fantomas.Tests/Fantomas.Tests.fsproj @@ -1,6 +1,6 @@ - 4.1.0-beta-004 + 4.1.0 FS0988 netcoreapp3.1 FS0025 diff --git a/src/Fantomas/Fantomas.fsproj b/src/Fantomas/Fantomas.fsproj index 5c83d013d3..b05e492678 100644 --- a/src/Fantomas/Fantomas.fsproj +++ b/src/Fantomas/Fantomas.fsproj @@ -2,7 +2,7 @@ netstandard2.0 - 4.1.0-beta-004 + 4.1.0 Source code formatter for F# FS0025