September release
4.1.0 "If You Have Ghosts" September release
- Ignore files by
.fantomasignore
file. #420 - Limit trivia by AST MainNode name. #992
- Lead by example. #666
- Verify all unit test whether the formatted code is valid. #842
- Fix Comments get dropped from the end of multi-line records. #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
- Fix After discriminated union in module wrongly indented. #1122
- Fix Extra whitespace with a type which has an attribute. #1116
- Fix Adds newline between comments and (all but the first) attribute. #1108
- Fix Extra whitespace lines added in fsi files at the end of a nested module declaration. #1105
- Fix Extra new line is added before attributes. #1097
- Fix Comments after closing brace are lost. #1096
- Fix Comment after Or operator lost. #1095
- Fix Trivia before bar is being repeated. #1083
- Fix Comment after arrow is being duplicated. #1082
- Fix Allow line break after return to avoid excessive indenting/aligning. #1062
- Fix Name of static members are removed/empty. #1059
- Fix When using parenthesis in type definition, it will sometimes keep adding additional () for each time fantomas i run. #1057
- Fix Multiline string in use expression. #1055
- Fix Issue #246 has returned in v4.0.0. #1051
- Fix Indentation after multiple hash directives is off. #1026
- Fix if/then/else indented too far. #1054
- Fix Single AST node should contain trivia. #1031
- Fix Formatter adds extra newlines between type and any subsequent val in .fsi files. #1029
- Fix Comments in if/then/else statements are sometimes deleted. #1019
- Fix Moves type name around when writing constrained type definitions. #1018
- Fix Line break before bracket on long method call followed by member access causes semantic change. #994
- Fix Long union case should be split over multiple lines. #972
- Fix FSI formatting does the wrong thing with comments on single-case DU. #965
- Fix Invalid unit test
should break lines on multiline if conditions
. #863 - Fix Abstract member declarations don't follow page width. #435
Special thanks to @gihyeonsung and @knocte.