v2.8.0
JuliaFormatter v2.8.0
Fixed a bug causing lack of idempotence in typed comprehension expressions (i.e., things like T[expr for x in y]). (#1105, #1106)
Fixed a bug causing lack of idempotence when using surround_whereop_typeparameters=true (when the { and } were inserted, line breaks were not initially being allowed next to them, but would be allowed on the second parse). (#1107, #1106)
Fixed a bug causing lack of idempotence when in / = / ∈ were being converted inside a for-expression (the change in character length was not being accounted for in nesting decisions). (#1108, #1106)
Added a new formatting option, v2_stable_multiline_strings, which aims to guarantee formatting idempotence with multiline strings.
By default this option is not enabled as it will lead to some changes in the formatting of expressions containing multiline strings: you must opt into it.
Please see the documentation for more information. (#1109, #1110)
Merged pull requests:
- Fix idempotence bugs (#1106) (@penelopeysm)
- Fix multiline string idempotence bug (#1110) (@penelopeysm)
Closed issues: