Skip to content

Releases: fsprojects/fantomas

v5.2.0-alpha-012

14 Jan 10:16
5336c50

Choose a tag to compare

v5.2.0-alpha-012 Pre-release
Pre-release

v5.2.0-alpha-012

Fixed

  • Trivia before open statement is not preserved. #2704
  • Type app identifier is considered as an expression. #2705
  • Subsequent identifier links in chain should be on the same line. #2712
  • Delegate with many parameters result in a compilation error. #1514
  • MultiLineLambdaClosingNewline + ExperimentalStroustrupStyle is not displaying very well for some use cases. #2378

Special thanks to @dawedawe & @josh-degraw!

https://www.nuget.org/packages/fantomas/5.2.0-alpha-012

v5.2.0-alpha-011

12 Jan 21:01
b6f7ecf

Choose a tag to compare

v5.2.0-alpha-011 Pre-release
Pre-release

v5.2.0-alpha-011

Hi all,

Due to recently discovered bugs, we have decided to revert 5.2.0 back to the alpha stage.
The primary reason to do this was to solve #2685.
This bug was very hard to solve without making any stylistic changes (as we try to ensure in the beta stage).
In order to solve #2685 we had to revisit the chained expressions altogether.
More details about this can be found at fsharp/fslang-design#688 and #2696.

v5.2.0-beta-001 is unlisted on NuGet and the GitHub release page was deleted. Note that the tag still remains.
Apologies for any inconvenience. We wish to wrap up v5.2 in the near future, so please test out this release.

Fixed

  • Stroustrup: Two lists given directly as parameters, break code #2681
  • fsharp_experimental_stroustrup_style=true breaks on types with nested anonymous records. #2413
  • Stroustrup style breaks on nested records. #2587
  • Unit is lost inside dot get chain. #2683
  • Piped multiline application is indented too far. #2682
  • Comment not assigned to first parameter in constructor. #2692
  • Stroustrup: Type alias for anonymous record type. #2179
  • Space before lambda should not occur in chain. #2685
  • Trivia inside chained lambda is not restored correctly. #2686
  • SpaceBeforeUppercaseInvocation not respected in TypeApp DotGet. #2700

Special thanks to @dawedawe & @josh-degraw!

https://www.nuget.org/packages/fantomas/5.2.0-alpha-011

v5.2.0-alpha-010

30 Dec 09:21

Choose a tag to compare

v5.2.0-alpha-010 Pre-release
Pre-release

5.2.0-alpha-010

Fixed

  • Conditional compilation of a declaration is lost. #640
  • Block comment is not assigned to trivia node. #2490

https://www.nuget.org/packages/fantomas/5.2.0-alpha-010

v5.2.0-alpha-009

29 Dec 07:40

Choose a tag to compare

v5.2.0-alpha-009 Pre-release
Pre-release

5.2.0-alpha-009

Fixed

  • ifdef removed when used on inline keyword in function. #2017

Changed

  • Update FCS to 'Include inline in trivia', commit e30d14cb46f290050ac8e2bbea5e9b804b97bdde

https://www.nuget.org/packages/fantomas/5.2.0-alpha-009

v5.2.0-alpha-008

28 Dec 09:22

Choose a tag to compare

v5.2.0-alpha-008 Pre-release
Pre-release

5.2.0-alpha-008

Fixed

  • else followed by //comment and then if has incorrect indention. #2449
  • Multiple List concat operators are not seen as the same operator. #2472
  • Multiline string inside lambda expression fails to format. #1299
  • Can't format fragment of source code with #if element, and keyword, and triple-slash comment. #2360
  • Wrong formatting applied to fragment of code with #if clause. #2361
  • Comment in middle of pattern fail formatting. #1939

https://www.nuget.org/packages/fantomas/5.2.0-alpha-008

v5.2.0-alpha-007

26 Dec 08:48

Choose a tag to compare

v5.2.0-alpha-007 Pre-release
Pre-release

5.2.0-alpha-007

Hi all,

In this release, a configuration change was added for multiline brackets.

# Old
## default:
fsharp_multiline_block_brackets_on_same_column = false

## align brackets
fsharp_multiline_block_brackets_on_same_column = true

## experimental stroustrup
fsharp_multiline_block_brackets_on_same_column = true
fsharp_experimental_stroustrup_style = true

# New
## default:
fsharp_multiline_bracket_style = cramped

## align brackets
fsharp_multiline_bracket_style = aligned

## experimental stroustrup
fsharp_multiline_bracket_style = experimental_stroustrup

Both the old and new configurations will be supported in 5.2.x.
In 6.x we will likely sunset the old configuration.

Fixed

  • Comment dropped in constructor parameter list. #1872
  • Block comment before unit is missing. #2660

Changed

  • Update config to accept a single option for multiline_bracket_style. #2425

Special thanks to @josh-degraw!

https://www.nuget.org/packages/fantomas/5.2.0-alpha-007

v5.2.0-alpha-006

22 Dec 09:21

Choose a tag to compare

v5.2.0-alpha-006 Pre-release
Pre-release

5.2.0-alpha-006

Fixed

  • Conditional directives around internal keyword. #628

https://www.nuget.org/packages/fantomas/5.2.0-alpha-006

December 22nd Release

22 Dec 09:08
1394b87

Choose a tag to compare

5.1.5

Fixed

  • Call ignoreFile.IsIgnored with absolute path. #2656

https://www.nuget.org/packages/fantomas/5.1.5

v5.2.0-alpha-005

16 Dec 13:33

Choose a tag to compare

v5.2.0-alpha-005 Pre-release
Pre-release

5.2.0-alpha-005

Fixed

  • MultiLineLambdaClosingNewline didn't trigger correctly on line which was one character too long. #2642

Changed

  • Enable ServerGarbageCollection. #2655

https://www.nuget.org/packages/fantomas/5.2.0-alpha-005

v5.2.0-alpha-004

08 Dec 03:38

Choose a tag to compare

v5.2.0-alpha-004 Pre-release
Pre-release

5.2.0-alpha-004

Fixed

  • genNode for patterns case by case. #2644
  • Mutable and private keywords are swapped. #2646
  • Stroustrup results in heavily indented second argument. #2648
  • Comment on first chained function call gets lost. #2649
  • Double indents in piped function call. #2650

https://www.nuget.org/packages/fantomas/5.2.0-alpha-004