Skip to content

Releases: fsprojects/fantomas

v6.0.0-alpha-008

27 Mar 19:31
e6465ca
Compare
Choose a tag to compare
v6.0.0-alpha-008 Pre-release
Pre-release

v6.0.0-alpha-008

Fixed

  • Nested multiline record with indent_size = 2. #2801
  • Idempotency problem when comment after opening brace in inherit record. #2803

Special thanks to @dawedawe!

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

v6.0.0-alpha-007

27 Mar 09:33
Compare
Choose a tag to compare
v6.0.0-alpha-007 Pre-release
Pre-release

Hello,

We are excited to announce that the development of v6 has wrapped up.
Please try out this release while we still can accept any feedback. We will soon go into the beta phase and no longer accept any breaking changes.

Check out our upgrade guide to see how to migrate to v6.

Many thanks,

the Fantomas team

Changed

  • CodeFormatter.FormatASTAsync returns a string. #2799
  • Cursor with defines. #2774

Removed

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

March 17th Release

17 Mar 08:44
4adc8c1
Compare
Choose a tag to compare

5.2.4

Fixed

  • Idempotency problem with module abbreviation in signature file. #2792

Changed

  • Update FCS to 'Fix range for ModuleAbbrev...', commit 62dfce601573f44779b9c890e8944826f5ccfef0

Special thanks to @nojaf

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

March 6th Release

06 Mar 08:48
9cbd9bb
Compare
Choose a tag to compare

5.2.3

Fixed

  • Duplicate newline in else if. #2752
  • Try-with expression with long when guard - when breaking line, add a double indent when the indent_size is lower than the default 4 spaces. #2784

Special thanks to @majocha @theimowski

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

February 21st Release

21 Feb 17:20
a7ed99f
Compare
Choose a tag to compare

5.2.2

Fixed

  • Fixes comma breaking with lambda in tuple. #2771

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

Special thanks to @TheAngryByrd!

February 4th Release

04 Feb 13:58
9f769d8
Compare
Choose a tag to compare

5.2.1

Fixed

  • Conditional defines around selfIdentifier in implicit type constructor. #2733
  • Insert extra spaces around index between method calling and member variable accessing. #2760
  • Exception caused by long line over 80 characters including method calling and member indexing. #2761

Changed

  • Update FCS to 'Add SynMemberDefnImplicitCtorTrivia', commit 924a64e8e40c840f05fbe7113796f267dd603282

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

January release

19 Jan 10:39
8e7ded9
Compare
Choose a tag to compare

5.2.0 Darkness At The Heart Of My Love - 01/2023

Dear all,

After some regression testing, we have determined that v5.2 is stable and we want to move forward with it.
v5.2 brought us "Project Dallas", a signification rewrite in our codebase where we construct our own syntax tree.
Project Dallas was the groundwork for v6.0 and was introduced to streamline the experience for newcomers.
You can read more about "Project Dallas" in this blog post.

Notable end-user changes:

  • Update config to accept a single option for fsharp_multiline_bracket_style. #2425.
    Please update your .editorconfig as we will deprecate the existing settings in v6 (See #2710)
  • Support for fluent chains. (See fsharp/fslang-design#688)
  • Various Stroustrup improvements. (Special thanks to josh-degraw for all his work!)
  • Numerous bug fixes.

Special thanks to @dawedawe and @josh-degraw!

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

v5.2.0-alpha-012

14 Jan 10:16
5336c50
Compare
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
Compare
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
Compare
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