Skip to content

Releases: fsprojects/fantomas

v5.2.0-alpha-003

06 Dec 00:57

Choose a tag to compare

v5.2.0-alpha-003 Pre-release
Pre-release

5.2.0-alpha-003

Hi all,

In recent weeks we have finished the development of what we call "Project Dallas".
Project Dallas is a significant internal refactor aimed to make the code flow easier for newcomers.
The significant change is that we have constructed our own custom syntax tree (called an Oak for now).
We can insert trivia into this new tree, allowing us to be way more flexible when printing the code.
You can read the contributor's documentation in the v5.2 branch.

We have ported a larger portion of the codebase and thus it was inevitable to stay fully compatible.
Overall almost nothing was deliberately changed. With the exception of some minor things here and there due to the code restructuring.
Some changes to be expected are:

  • Update records ({ x with ... }) should respect the max record width setting.
  • Implicit constructors of type definitions were slightly altered when they are multiline.
  • Infix operators and/or chained expressions.

Please try this version out on your code base! Now is the time to report any regressions that may have slipped in.
If you wait until we call it stable, we'll be looking forward to your pull requests 😏.
So please, try this out and talk to us if you see anything that is out of the ordinary.
Hit us on our Discord server or open an issue here on GitHub.

Many thanks in advance,

The Fantomas team

Fixed

  • Attribute on ExplicitCtor is lost. #2638
  • Comment above single parameter in brackets breaks code due to the wrong indentation. #2594

Special thanks to @dawedawe!

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

November 30th Release

30 Nov 16:25
ec5e33b

Choose a tag to compare

5.1.4

Fixed

  • Indenting problem with match workaround for single-line stroustrup expressions #2586

Special thanks to @Linschlager

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

November 14th Release

14 Nov 09:46
2ad671f

Choose a tag to compare

5.1.3

Fixed

  • Idempotency problem with anonymous types in discriminated unions. #2621

Special thanks to @ly29!

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

November 10th Release

10 Nov 08:06
573d273

Choose a tag to compare

5.1.2

Changed

  • Update to newer Fantomas.Client. #2617

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

November 7th Release

07 Nov 20:39
214c88e

Choose a tag to compare

5.1.1

Fixed

  • Comment is removed when using array index access syntax, without a leading dot. #2611
  • Interface in object expression is not printed. #2604

Special thanks to @nojaf

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

November release

04 Nov 12:13
e8c11d5

Choose a tag to compare

5.1.0 Kaisarion - 11/2022

Dear all,

This release marks v5.1 as the next stable version of Fantomas.
The most notable changes are:

The full changelog can be found here.

Special thanks to @dawedawe and @stefan-schweiger.

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

October 13th Release

13 Oct 07:58
9f378a3

Choose a tag to compare

5.0.6

Fixed

  • Overly aggressive de-indentation. #2110
  • Broken comma in match expression in parameter invocation. #1869

Special thanks to @dawedawe!

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

October 7th Release

07 Oct 07:28
4f7ee19

Choose a tag to compare

5.0.5

Fixed

  • Function lambda with type annotation breaks code. #2295
  • Incorrect scope chosen for trivia, hence comments lost. #2535

Special thanks to @dawedawe!

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

October 4th Release

04 Oct 06:43
6d08844

Choose a tag to compare

5.0.4

Fixed

  • Additional space before equals sign. #2548
  • Idempotency problem when DotSet / App / Paren. #2549

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

September 29th Release

29 Sep 12:35
f1ec008

Choose a tag to compare

5.0.3

Fixed

  • Comments in anonymous record deleted after formatting. #2538

Special thanks to @edgarfgp!

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