Skip to content

v2.8.0

Choose a tag to compare

@github-actions github-actions released this 14 Jun 22:06
3199b2e

JuliaFormatter v2.8.0

Diff since v2.7.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:

Closed issues:

  • JuliaLang/julia@v1.12.6 Idempotence 1 (#1105)
  • julia@v1.12.6 idempotence bug 2 (#1107)
  • julia@v1.12.6 idempotence 3 (#1108)
  • julia@1.12.6 idempotence 4 (#1109)