Skip to content

v5.2.0-alpha-011

Pre-release
Pre-release
Compare
Choose a tag to compare
@nojaf nojaf released this 12 Jan 21:01
· 350 commits to main since this release
b6f7ecf

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