Skip to content

Releases: fsprojects/fantomas

April 3rd Release

03 Apr 15:11
4071780

Choose a tag to compare

April 3rd Release Pre-release
Pre-release

8.0.0-alpha-009

Fixed

  • Comment without code after it in the current scope should retain their "parent" indentation. #2286
  • Code comment after expression is assigned to parenthesis. #1864
  • Misaligned comment in MultiLineBlockBracket. #1716
  • Comment unindented after DU cases. #2606
  • Comment on last match case has wrong indentation. #2653
  • Commented line inside of record should be indented at the same level as the fields #2482
  • Unindentation of comment before end of computation expression. #2476
  • Comments lost the indented after formatting. #2362
  • Comments can be lost or shifted when at the end of expressions. #932
  • Should not move the starting point of a single-line comment. #1233

Special thanks to @Copilot and @nojaf!

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

March 25th Release

25 Mar 16:01
a9774ea

Choose a tag to compare

March 25th Release Pre-release
Pre-release

8.0.0-alpha-008

Added

  • Support for #elif preprocessor directive. #3268

Fixed

  • Multiline val body in signature files was not indented correctly. #3269
  • /// doc comment without associated declaration (e.g. at end of file) was duplicated when formatting. #2499
  • NamedIndexedPropertySet with two SynLongIdent removed space. #3273
  • %% (double-percent) infix operator moved to new line, producing invalid F#. #2107
  • Indentation warning when formatting match with long anonymous record discriminant. #1903
  • Index-without-dot with variable key followed by unit arguments added spurious spaces, e.g. dict[key] () () became dict [ key ] () (). #2519
  • Open-ended expressions (lambda, if-then-else, match, ...) in non-last positions of infix, tuple, list/array, and record expressions now stay multiline to preserve semantics. #3279
  • Lambda in tuple in list on single line changes code meaning. #3278
  • Custom operator applied to lambda collapses to single line changing semantics. #3274

Special thanks to @Copilot and @nojaf!

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

March 10th Release

10 Mar 16:55
e91b4bc

Choose a tag to compare

March 10th Release Pre-release
Pre-release

8.0.0-alpha-007

Changed

  • Update FCS to 'Treat warn directives as trivia', commit ab1f6ceaaec997d2854ac1c07a6c0f107675d95c #3263

Fixed

  • #nowarn in arbitrary places produces a parsing failure. #3263

Special thanks to @Copilot and @nojaf!

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

March 9th Release

09 Mar 19:05
7568e3b

Choose a tag to compare

March 9th Release Pre-release
Pre-release

8.0.0-alpha-006

Fixed

  • Space between uppercase function name and uppercase parameter was dropped. #3264

Special thanks to @nojaf!

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

March 9th Release

09 Mar 14:26
3b78c64

Choose a tag to compare

March 9th Release Pre-release
Pre-release

8.0.0-alpha-005

Fixed

  • Closing > in nested multiline generic type applications violates offside rule. #3243
  • Index-without-dot syntax followed by application arguments was inconsistently formatted. #3259

Special thanks to @Copilot and @nojaf!

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

March 7th Release

07 Mar 18:02
92cbaa8

Choose a tag to compare

March 7th Release Pre-release
Pre-release

8.0.0-alpha-004

Changed

  • Improved error message when conditional compilation directives produce invalid syntax for some define combinations. #563

Fixed

  • Lambda in non-last record field is now parenthesized when record is collapsed to single line to avoid producing invalid code. #3246

Special thanks to @Copilot, @claude, @nojaf and @randrag!

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

March 3rd Release

03 Mar 12:31
2b5e4ba

Choose a tag to compare

March 3rd Release Pre-release
Pre-release

8.0.0-alpha-003

Fixed

  • End of line comments after infix operators are preserved correctly. #2287
  • Lambda closing parenthesis in chained method calls is no longer placed on its own line when MultiLineLambdaClosingNewline is enabled. #2553
  • Long & (AND) patterns now break across multiple lines to respect max line length. #1780
  • Empty array with trivia inside now has correct indentation in Stroustrup style. #3098
  • Multiline function type inside parentheses gets extra indentation to avoid compiler error. #3043
  • Trivia around paren lambda with conditional compilation no longer causes merge error. #2844
  • Type app closing angle bracket padded by previous expression length. #3179
  • Dynamic operator on result of qualified function call causes formatting error. #3135
  • Long delegate type with generic args no longer breaks around arrow. #2468
  • Idempotency problem when formatting NUnit Assert.That with lambda argument. #1740
  • Comment between lines of no-break infix expression no longer loses indentation. #2944
  • Hash directives around access modifier in module declaration no longer lose indentation. #3188

Special thanks to @, @Copilot, @dsyme and @nojaf!

https://www.nuget.org/packages/fantomas/8.0.0-alpha-003

December 15th Release

15 Dec 08:29
5ade168

Choose a tag to compare

December 15th Release Pre-release
Pre-release

8.0.0-alpha-002

Changed

  • Breaking: change default of MultilineBracketStyle from Cramped to Aligned. #3200

Special thanks to @nojaf!

https://www.nuget.org/packages/fantomas/8.0.0-alpha-002

December 12th Release

12 Dec 15:11
59b060d

Choose a tag to compare

December 12th Release Pre-release
Pre-release

8.0.0-alpha-001

Changed

  • Update FCS to 'Remove LetOrUseKeyword from SynExprLetOrUseTrivia', commit 43932b4c7984d6562e91e5f1484868cd4f5befcf #3167

Special thanks to @Martin521, @Numpsy, @Thorium, @dawedawe, @karanveersp, @mattgallagher92, @nojaf and @tboby!

https://www.nuget.org/packages/fantomas/8.0.0-alpha-001

July 4th Release

04 Jul 12:10
fab1bd8

Choose a tag to compare

7.0.3

Fixed

  • Application in indexed set should not be multiline. #1999

Special thanks to @Numpsy and @nojaf!

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