Releases: fsprojects/fantomas
v5.0.0-alpha-009
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
v5.0.0-alpha-008
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!
v5.0.0-alpha-007
v5.0.0-alpha-006
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
tofsharp_experimental_stroupstrup_style
andfsharp_keep_indent_in_branch
tofsharp_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!
v5.0.0-alpha-005
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
May 2nd Release
April 25th Release
April 20th Release
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!
April 4th Release
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!