Skip to content

Releases: fsprojects/fantomas

v5.0.0-alpha-009

21 Jun 07:57
84b416a
Compare
Choose a tag to compare
v5.0.0-alpha-009 Pre-release
Pre-release

5.0.0-alpha-009

Fixed

  • Explicit interface with SpaceBeforeClassConstructor. #2226
  • Spaces around binary operators in units of measure. #2207
  • Trivia not restored after long identifier in SynField. #2290
  • Content after hash directive is lost. #2293
  • Idempotency problem with computation expression with generic parameter. #2285

Special thanks to @dawedawe and @edgarfgp!

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

v5.0.0-alpha-008

28 May 16:45
929b3f0
Compare
Choose a tag to compare
v5.0.0-alpha-008 Pre-release
Pre-release

5.0.0-alpha-008

Hello,

This alpha has some stylistic changes, driven by the F# style guide.
Every change to the style guide is being discussed over at fsharp/fslang-design, please participate if this is of interest to you.
Fantomas.Extras was removed and we swapped the .fantomasignore rule parser.
Please let us know on Discord if something is not working out as expected.

Cheers,

The Fantomas team

Fixed

  • Superfluous space between negate and RationalConst. #2265
  • Idempotency problem with ParsedHashDirective in signature file. #2258
  • Keyword 'override' gets changed to 'member'. #2221

Changed

  • Formatting of multi-constrained SRTP functions needs improvement. #2230
  • Try/With with a single clause. #1881
  • Long type argument with constraints is not respecting max_line_length. #2266
  • Long function argument with constraints is not respecting max_line_length. #2267

Removed

  • Remove Fantomas.Extras. #2269

Special thanks to @dawedawe!

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

v5.0.0-alpha-007

16 May 07:04
6f2d87e
Compare
Choose a tag to compare
v5.0.0-alpha-007 Pre-release
Pre-release

5.0.0-alpha-007

Changed

  • Update FCS to 'Add SynExpr.Dynamic to SyntaxTree.', commit b822e2793bd6387c40cfd5b25d604e002a253257
  • Restore the validation API. #2236
  • Renamed fsharp_experimental_stroupstrup_style to fsharp_experimental_stroustrup_style. #2257

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

v5.0.0-alpha-006

13 May 12:57
eec411b
Compare
Choose a tag to compare
v5.0.0-alpha-006 Pre-release
Pre-release

v5.0.0-alpha-006

Hello,

This alpha will probably be the bleakest as we have removed some settings.
If you are using Elmish / Feliz you are impacted.
An alternative would be to use:

fsharp_multiline_block_brackets_on_same_column=true
fsharp_experimental_stroupstrup_style=true

Please participate in #1408.

Thank you for trying out this alpha. You can always find us on Discord.

Cheers,

The Fantomas team

Added

  • Format function application that end with a list in the Stroustrup bracket style. #2244
  • Option to reduce multiple blank lines from source code. #2198

Removed

  • Remove Elmish settings: fsharp_max_elmish_width, fsharp_single_argument_web_mode & fsharp_disable_elmish_syntax. #2180
  • Remove fsharp_semicolon_at_end_of_line. #2247
  • Remove fsharp_keep_if_then_in_same_line. #2248
  • Remove fsharp_indent_on_try_with. #2249

Changed

  • Update FCS to 'More cleanup', commit e063dd2a7005faf953619ab4f232d1e3606c7ed2
  • Rename fsharp_ragnarok to fsharp_experimental_stroupstrup_style and fsharp_keep_indent_in_branch to fsharp_experimental_keep_indent_in_branch. #2251
  • Consider wider default format for record declarations if any XML doc comments are present on fields. #1879

Fixed

  • A space was added before paren lambda argument. #2041
  • Linq method call breaks because of space before paren lambda was added. #2231

Special thanks to @dawedawe and @jindraivanek!

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

v5.0.0-alpha-005

07 May 14:40
9089b6e
Compare
Choose a tag to compare
v5.0.0-alpha-005 Pre-release
Pre-release

v5.0.0-alpha-005

Hello,

In the last couple of days, we were able to merge a significant refactoring to Fantomas.
Mainly #2218 and the rename of fantomas-tool to fantomas. (See #2225)
There will be more details in the weeks to come about v5.
The real game-changer is that Fantomas should be at least twice as fast.
We highly recommend trying this release out and please report any regressions using our online tool.
There are some other changes already present in v5, check out our CHANGELOG to get all the details.

Thank you for trying out this alpha. You can always find us on Discord.

Cheers,

The Fantomas team

Fixed

  • Fantomas v4.6.4 and onwards removes backticks. #2164
  • include is reserved keyword. #2167
  • base keyword given backticks when overriding with argument. #2212
  • Fantomas removes backticks around constraint. #2116
  • Keep backticks in identifiers. #2034
  • Parens stripped from custom definitions of op_Range and op_RangeStep operators. #1842
  • XML docs for commented code automatically removed. #2186

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

May 2nd Release

02 May 07:40
cbaa31c
Compare
Choose a tag to compare

4.7.9

Changed

  • Add fable_modules to the directories which are always excluded. Fable 3.4

Fixed

  • Let binding after match lambda is moved outside of nested module. #2214

Special thanks to @dawedawe!

https://www.nuget.org/packages/fantomas-tool/4.7.9

April 25th Release

25 Apr 16:11
2d32fac
Compare
Choose a tag to compare

4.7.8

Fixed

  • Breaks float range with step-size when trailing 0 is omitted. #2171
  • Fantomas inserts a space between array variable and indexer. #2106

Special thanks to @dawedawe!

https://www.nuget.org/packages/fantomas-tool/4.7.8

April 20th Release

20 Apr 07:31
21e17ab
Compare
Choose a tag to compare

4.7.7

Fixed

  • Multiline parentheses objectExpression in indexer expression. #2176
  • Blank line over SynEnumCase is restored incorrectly. #2155
  • XML Doc comments on DU cases seem to get shuffled. #2188
  • Comment after bar is lost in single case DU. #2182
  • Piped lambda with if-then-else can break code. #2196

Special thanks to @janus and @jindraivanek!

https://www.nuget.org/packages/fantomas-tool/4.7.7

April 4th Release

04 Apr 14:20
e784cd6
Compare
Choose a tag to compare

4.7.6

Fixed

  • SRTP or condition disappear when non-generic type is used. #2168
  • Multiline AbstractSlot without constraints introduces newline #2175

Special thanks to @jindraivanek and @dawedawe!

https://www.nuget.org/packages/fantomas-tool/4.7.6

March 27th Release

27 Mar 13:35
fbd4b7f
Compare
Choose a tag to compare

4.7.5

Fixed

  • Only load the .fantomasignore file once, except for the daemon. #2097

Special thanks to @Smaug123!

https://www.nuget.org/packages/fantomas-tool/4.7.5