Skip to content

Releases: scalameta/scalafmt

v3.5.0

02 Apr 06:20
Compare
Choose a tag to compare

Features

AvoidInfix improvements

Bug fixes

Other changes

Dependency updates

v3.4.3

12 Feb 07:05
Compare
Choose a tag to compare

Bug fixes

Ammonite parsing

Uses the parser in scalameta instead of splitting scripts on /\n@ /. Preserves multiple consecutive @ now.

v3.4.2

06 Feb 02:28
Compare
Choose a tag to compare

Bug fixes

v3.4.1

05 Feb 11:06
Compare
Choose a tag to compare

Features

Bug fixes

Other changes

Dependency updates

v3.4.0

29 Jan 00:24
Compare
Choose a tag to compare

Features

  • FormatOps: implement indentOperator.exemptScope (#3082) @kitbellew
  • Router: implement newlines.inInterpolation logic (#3080) @kitbellew
  • Add docstrings.forceBlankLineBefore, remove parameters deprecated before v3.0.0 (#3081) @kitbellew

Parameter changes

  • added
    • indentOperator.exemptScope
      • replaces removed unindentTopLevelOperators (true -> all, false -> oldTopLevel)
      • replaces deprecated indentOperator.topLevelOnly (true -> oldTopLevel, false -> all)
    • docstrings.forceBlankLineBefore
      • replaces removed optIn.blankLineBeforeDocstring
      • replaces deprecated optIn.forceBlankLineBeforeDocstring
    • newlines.inInterpolation
  • removed
    • newlines.alwaysBeforeCurlyBraceLambdaParams
      • use newlines.beforeCurlyLambdaParams = always/never
    • verticalMultiline.newline{Before,After}ImplicitKW
      • use newlines.implicitParamListModifierForce=[{before,after}]
    • verticalMultiline.excludeDanglingParens
      • use danglingParentheses.exclude

Bug fixes

Other changes

v3.3.3

22 Jan 17:03
Compare
Choose a tag to compare

Bug fixes

Other changes

Dependency updates

v3.3.2

20 Jan 02:59
Compare
Choose a tag to compare

Features

Format scala3 while-do/if-then/for-do consistently

Scaladoc with embedded elements

  • Scalameta: upgrade to 4.4.32 (scaladoc fixes) (#3054) @kitbellew
  • FormatWriter: refactor scaladoc formatting, escape text a-la code fence (#3036) @kitbellew
  • FormatWriter: do not start "```" on top line (part 7) (#3046) @kitbellew
  • FormatWriter: pass indent parameter to scaladoc (part 6) (#3045) @kitbellew
  • FormatWriter: reuse scaladoc formatTextAfterMargin (part 5) (#3044) @kitbellew
  • FormatWriter: refactor formatting a code block (part 4) (#3043) @kitbellew
  • FormatWriter: extract logic to terminate a MLC (part 3) (#3042) @kitbellew
  • FormatWriter: remove appendWithMargin for scaladoc (part 2) (#3041) @kitbellew
  • FormatWriter: refactor, extract Scaladoc format (part 1) (#3040) @kitbellew

Bug fixes

Other changes

v3.3.1

01 Jan 21:31
Compare
Choose a tag to compare

Features

Comment handling fixes

Binpack handling fixes

Rewrite safety fixes

Overflow fixes

Other bug fixes

Other changes

v3.3.0

25 Dec 00:35
Compare
Choose a tag to compare

Pull Requests

v3.2.2

23 Dec 20:40
Compare
Choose a tag to compare

Features

Fixes

Other changes

Dependencies