Skip to content

Releases

November 19th Release

Choose a tag to compare

@github-actions github-actions released this 19 Nov 08:23
0749cfc

8.1.3

Fixed

  • doctor reports a file whose only change is the newline at its end as a line endings change. It now reports the final newline and the line endings each on its own, against insert_final_newline and end_of_line, and --json carries them as finalNewline and lineEndings in place of the line-endings status. A file that is empty or holds only whitespace gets a warning of its own, since Fantomas leaves it empty whatever insert_final_newline asks, and --json carries that as whitespaceOnly on the file key. #3524

Special thanks to @Primeteumm, @claude and @nojaf!

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

November 18th Release

Choose a tag to compare

@github-actions github-actions released this 18 Nov 12:45
708f821

8.1.2

Fixed

  • Settings with a word starting with i in their editorconfig name, such as fsharp_keep_indent_in_branch, are ignored on a system with a Turkish culture. #3581
  • With fsharp_multi_line_lambda_closing_newline = true, a comment between a lambda argument and its closing ) gets one more blank line above the ) on every format. #3577

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

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

November 3rd Release

Choose a tag to compare

@github-actions github-actions released this 03 Nov 14:28
2136021

8.1.1

Fixed

  • Comment between the type name and the primary constructor is removed. #3569

Special thanks to @claude, @nojaf and @xperiandri!

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

October 21 Release

October 21 Release Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 21 Oct 20:02

9.0.0-alpha-002

Changed

  • Everything that changed in 8.1.0, the layout changes and fixes listed under that release below. v8.1.0

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

October 21st Release

Choose a tag to compare

@github-actions github-actions released this 21 Oct 19:44
9b5cde1

8.1.0 Umbra - 21-10-2026

Changed

  • Multiline tuple type after a cast or type annotation operator goes one level in. #3561
  • Line comment lined up with the first element of its container stays with the elements. #3561

Fixed

  • Parenthesized function type gets an extra indent level where no outer function type needs it. #3554
  • Multiline tuple in the middle of a function type gives invalid code. #3556
  • Parenthesized function type after an arrow gives invalid code with indent_size 2. #3557
  • Long type test with :? gives invalid code. #3558
  • Line comment after the opening parenthesis of a type moves and breaks the type. #3559
  • Comment between a match pattern and its when guard gives invalid code. #3560
  • Regression: Stroustrup bracket style in anonymous record type parameter is not respected. #3069
  • Space inserted before final > in type parameter. #2860

Special thanks to @mmabdpr and @nojaf!

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

October 15 Release

October 15 Release Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 15 Oct 17:44

9.0.0-alpha-001

Changed

  • Fantomas checks that its output keeps every // and (* *) comment of the file. A format run searches its result for each of them, and does not write a result that is missing one, even when it is valid F#. The daemon that editors use refuses such output too, and output that is not valid F#, where it used to send both to the editor. fantomas doctor has a Comments step that checks, more thoroughly than a format run can afford, that the result keeps every comment and directive of the file under every define combination, a Parse step that lists the define combinations the file is parsed under, and ends on a Verdict: what a format run would do with the file. CodeFormatter.FormatDocumentWithValidationsAsync takes the checks to run as Validations, and FormatResult has a new field, Issues, with what they found, so code that constructs a FormatResult has to set it. DefineParseException.Combinations holds the defines of each combination that failed, rather than their names. #1353
  • On Linux x64, the fantomas tool is an executable compiled with Native AOT. It starts in milliseconds rather than first starting the .NET runtime. The fantomas package only names the packages per platform: fantomas.linux-x64 and, for Alpine, fantomas.linux-musl-x64 hold the executable, and every other platform installs fantomas.any, the tool as it shipped before. #3171

Special thanks to @nojaf!

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

October 14th Release

Choose a tag to compare

@github-actions github-actions released this 14 Oct 19:33
1af520b

October 14th Release

Choose a tag to compare

@github-actions github-actions released this 14 Oct 19:14
7adf879

8.0.9

Fixed

  • Comment before a let in the right-hand side of an infix operator is lost. #3522

Special thanks to @nojaf!

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

October 9th Release

Choose a tag to compare

@github-actions github-actions released this 09 Oct 15:34
42c0616

8.0.8

Changed

  • Update FCS to 'Add range of the when keyword to SynMatchClauseTrivia', commit 409c7a62ea193ec060e87ccad78636feeb0883f1 #3531

Fixed

  • Comment after 'when' on its own line is lost. The syntax tree had no range for the when keyword of a match clause, so a comment after it had no node on its line to attach to. The parser now records that range, and the comment stays after the keyword. #3521

Special thanks to @nojaf!

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

October 5th Release

Choose a tag to compare

@github-actions github-actions released this 05 Oct 12:06
13099e4

8.0.7

Fixed

  • Exception abbreviation loses its right-hand side. #3511
  • Static optimization when ^T struct loses struct. #3514
  • Static optimization loses the and between its conditions, and reverses its conditions and when clauses. #3516
  • static extern inside a type loses static. #3515

Special thanks to @nojaf!

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