Skip to content

Releases: fsprojects/fantomas

The Chet Release

24 Nov 18:46
9eb1365

Choose a tag to compare

4.5.9 - 11/2021

  • Fix Operator application to some literals doesn't preserve spacing. #1979

Special thanks to @baronfel

https://www.nuget.org/packages/fantomas-tool/4.5.9

The November 19th Release

19 Nov 20:23
720227d

Choose a tag to compare

4.5.8 - 11/2021

  • Fix Fantomas is unable to format valid F# (.net 6.0) program. #1969
  • Fix Attributes on static members of recursive types formats incorrectly. #1962
  • Fix val mutable in signature loses 'mutable'. #1954
  • Fix Literals in signatures lose values. #1953
  • Fix Attribute on member of mutually dependent types fails to validate. #1918
  • Fix Wrong code is generated for member attribute in recursive type. #1898
  • Fix Attribute on type function incorrectly placed for 'and' types. #1874

Special thanks to @dawedawe and @KarolBajkowski

https://www.nuget.org/packages/fantomas-tool/4.5.8

The Colin Release

07 Nov 14:40
a4d21fe

Choose a tag to compare

4.5.7 - 11/2021

  • Fix Formatting power operator in code quotation pattern match fails. #1945

Special thanks to @cgravill

https://www.nuget.org/packages/fantomas-tool/4.5.7

Early November Release

03 Nov 17:39
10f599c

Choose a tag to compare

4.5.6 - 11/2021

  • Fix Offside code created when base constructor wraps across lines. #1942
  • Fix Extra space in val and member bindings in signature files. #1934

Special thanks to @dsyme and @simon-reynolds

https://www.nuget.org/packages/fantomas-tool/4.5.6

Late October Release

27 Oct 20:22
95833f5

Choose a tag to compare

4.5.5 - 10/2021

  • Improve: Provide more information when string merge failed. #1904
  • Fix Comment gets duplicated. #1912
  • Fix Vanity alignment used when splitting line in match block. #1901
  • Fix Unexpected loss of newline in closing bracket. #1835
  • Fix Relative patterns in .fantomasignore don't match any files. #1713

Special thanks to @dawedawe, @knocte and @su8898.

https://www.nuget.org/packages/fantomas-tool/4.5.5

Release October

05 Oct 16:26
835872c

Choose a tag to compare

4.5.4 - 10/2021

  • Fix Documentation contains reference to infix multiline formatter even though it's removed. #1884
  • Fix Newline was introduced in Sequential with LetBang. #1882
  • Fix Vanity alignment used when calling base constructor. #1442

Special thanks to @panmau and @su8898.

https://www.nuget.org/packages/fantomas-tool/4.5.4

Release September

07 Sep 16:09
7d861f4

Choose a tag to compare

4.5.3 - 09/2021

  • Fix indented #if directive inside another non-indented #if directive drops significant whitespace. #1866

Special thanks to @kentcb

https://www.nuget.org/packages/fantomas-tool/4.5.3

August Release

11 Aug 17:15
383b729

Choose a tag to compare

4.5.2 - 08/2021

  • Fix Dropped comment with function with type parameter. #1861
  • Fix Comment dropped in a multi-option match. #1855
  • Fix StackoverflowException when formatted long triple-quoted strings. #1837
  • Fix Comment removed in match. #1677

Special thanks to @kentcb, @pbiggar, @texastoland and @OkkeHendriks.

https://www.nuget.org/packages/fantomas-tool/4.5.2

Late July Release

24 Jul 08:01
5fe2005

Choose a tag to compare

4.5.1 - 07/2021

  • Fix StackOverflow exceptions when collecting ColMultilineItem list. #1839
  • Honor .fantomasignore file when processing a folder. #1834
  • Fix Overly indented members on a record type with accessibility modifier. #1824
  • Fix MultiLineLambdaClosingNewline not respected with function keyword. #1823
  • Fix Comment is lost at the end of a match. #1822

Special thanks to @kentcb and @Smaug123.

https://www.nuget.org/packages/fantomas-tool/4.5.1

July Release

07 Jul 07:57
6f0df78

Choose a tag to compare

4.5.0 "Miasma" - 07/2021

  • Feature Always place bar in front of discriminated union. #1750
  • Feature Support multiple files/dirs as command-line arguments. #1696
  • Feature Disable empty line between mutually recursive type. #1658
  • Feature BlankLinesAroundNestedMultilineExpressions. #1587
  • Initial support of KeepIndentInBranch. #1361
  • Improve: Collect empty define block as single trivia. #1528
  • Improve: Refactor ASTTransformer. #1497
  • Improve: replace genTypeByLookup with Trivia. #594
  • Update to FCS 39 #1479
  • Fix Space between identifier and then is lost. #1816
  • Fix KeepIndentInBranch causing offside error in if condition. #1812
  • Fix Indentation warnings for multiline match expression. #1774
  • Fix Extra indentation on match-case block. #1234
  • Fix Fantomas introduces meaningless match block. #1806
  • Fix Lazy causes indentation to produce invalid F#. #1805
  • Fix Nested Fluent API produces wrong code: misses indentation. #1804
  • Fix Tuple should be consider short branch in KeepIndentInBranch setting. #1800
  • Fix Fantomas adds "of" to a union case when it is seemingly too long. #1796
  • Fix Function application in if expression should remain on single line. #1795
  • Fix Conditional code is not printed. #1794
  • Fix Records in list in a pattern match always have a semicolon. #1793
  • Fix parenthesis expression in then should further indent inner expression. #1777
  • Fix Wild cards in lambda. #1789
  • Fix Soundness regression in 4.5.0-beta-001. Nested lambdas are stripped. #1782
  • Fix KeepIndentInBranch not respected when returning short function application. #1779
  • Fix Hash directive not printed above recursive binding. #1776
  • Fix Fantomas adds space before colon when SpaceBeforeColon is false. #1773
  • Fix Long return expression not formatted multiline. #1771
  • Fix Add support for LibraryOnlyStaticOptimization. #1769
  • Fix fsharp_keep_indent_in_branch not respected for multiline infix expression. #1768
  • Fix Inline lambda in argument list causes problems for argument chopping and lambda alignment. #1028
  • Fix Difference in behavior between signature and implementation files for single case DU. #973
  • Fix Concatenation of multi-line """ strings mis-indented. #639
  • Fix Comment after arrow lost with KeepIndentInBranch. #1759
  • Fix Multiline if/then/else in infix expression. #1757
  • Fix Newline and comment trivia are mixed up. #1468
  • Fix Inline lambda in argument list causes problems for argument chopping and lambda alignment. #1028
  • Fix Difference in behavior between signature and implementation files for single case DU. #973
  • Fix Concatenation of multi-line """ strings mis-indented. #639
  • Fix Trivia before SynPat.Paren. #1753
  • Fix Idempotency problem when trailing comment is present. #1538
  • Fix Offside error after formatting with MultiLineLambdaClosingNewline. #1741
  • Fix Pipe character missing in single-case try/with. #1571
  • Fix Multiline if condition in KeepIndentInBranch leads to warnings. #1729
  • Fix KeepIndentInBranch not respected for values. #1728
  • Fix KeepIndentInBranch not respected. #1717
  • Fix Bad interaction between KeepIndentInBranch and MultiLambdaClosingNewLine. #1715
  • Fix KeepIndentInBranch not being respected. #1714
  • Fix Breaking method chain in the middle of an if statement causes offside error. #1712
  • Fix Offside error when a comment appears before a match statement in pipeline. #1711
  • Fix Line comment after short pattern match clause causes additional parenthesis. #1721
  • Fix Appending two lists with @ fails. #1719
  • Fix Leading block comment makes type multiline. #1718
  • Fix List concat chain using operators fails to format. #1188
  • Fix Unexpected newline after inner let binding. #1709
  • Fix Currying a pair gets spread over multiple lines. #1700
  • Fix Additional parentheses are introduced when match is piped. #1698
  • Fix \t in string replaced by ASCII 9. #1695
  • Fix Idempotency problem with nested else if. #1648
  • Fix Idempotency problem with ifdef in a function. #1646
  • Fix string interpolation part crossing max line length introduces new line and lots of whitespace. #1511
  • Fix Splitting generic type parameters over multiple lines sometimes puts the break in an invalid place. #1687
  • Fix Idempotency problem related to comments in with. #1686
  • Fix Upcast requires a line break but is not given one. #1685
  • Fix Idempotency problem when trying to format a type with method chaining in it. #1681
  • Fix Line comments after null value used as argument in function call are removed. #1676
  • Fix Idempotency problem when trying to format a type with method chaining in it. #1681
  • Fix Comment after constant got moved to the next line. #1671
  • Fix Idempotency problem when ending with a comment. #1649
  • Fix end_of_line not respecting when file has ifdef. #1673
  • Fix Attributes in a recursive type get misplaced. #1668
  • Fix alternative_long_member_definitions docs. #1666
  • Fix Stack overflow on macOS for long pipelines. #1453
  • Fix Comment inside empty Elmish children is lost. #1179
  • Fix Long .Setup line in Moq code results in broken indentation. #1662
  • Fix Don't introduce parenthesis around SynPat.IsInst. #1660
  • Fix Offside error splitting long line. #1651
  • Fix Offside errors after formatting. #1650
  • Fix Idempotency problem with with block. #1647
  • Fix Formatting code makes Interpolated verbatim strings to non-verbatim strings, which breaks the code. #1645
  • Fix Comment stripped in a record with semi-colons. #1643
  • Fix Another shape which isn't respecting KeepIndentInBranch. [#1638](https://github.com/fsproje...
Read more