v3.5.0
Features
- FormatOps: handle
if
as if noelse
whenkeep
(#3176) @kitbellew - Router: improve source=fold format of for-yield (#3170) @kitbellew
- Scalameta: upgrade to v4.5.1 (#3164) @kitbellew
- this changes handling of infix types for scala3
- Router: check formatInfix using the infix tree (#3163) @kitbellew
- Indents: implement matchSite (#3126) @kitbellew
AvoidInfix improvements
- AvoidInfix: implement allowInfixInPlaceholderArg (#3152) @kitbellew
- AvoidInfix: don't match if LHS can't be wrapped (#3151) @kitbellew
- AvoidInfix: don't wrap LHS if already wrapped (#3149) @kitbellew
- AvoidInfix: don't match if RHS has placeholder (#3148) @kitbellew
- AvoidInfix: refactor, use
::
match (#3147) @kitbellew - AvoidInfix: extract isWrapped, checkMatchingInfix (#3146) @kitbellew
- AvoidInfix: consolidate placeholder tests, extend (#3145) @kitbellew
- Rewrite: use scalameta PlaceholderChecks (#3131) @kitbellew
Bug fixes
- Router: use PenalizeNewlines to avoidInResultType (#3157) @kitbellew
- Config: in dynamic, allow stable or actual version (#3155) @kitbellew
- FormatWriter: allow code without leading space (#3150) @kitbellew
- Router: properly align block interpolations, too (#3127) @kitbellew
Other changes
- BestFirstSearch: cosmetic, extract enqueue method (#3172) @kitbellew
- Router: put isInfixApp and match into one unapply (#3171) @kitbellew
- Configuration: mention parameters for visit limits (#3144) @kitbellew
- Issue template: force using latest version, CLI (#3143) @kitbellew
Dependency updates
- Scalameta: upgrade to v4.5.2 (#3179) @kitbellew
- Bump actions/checkout from 2 to 3 (#3177) @dependabot
- Bump actions/download-artifact from 2.1.0 to 3 (#3178) @dependabot
- Update sbt-scalajs-crossproject to 1.2.0 (#3167) @scala-steward
- Update sbt-native-packager to 1.9.9 (#3166) @scala-steward
- Update sbt-assembly to 1.2.0 (#3165) @scala-steward
- Update mdoc, sbt-mdoc to 2.3.1 (#3168) @scala-steward
- Update sbt-buildinfo to 0.11.0 (#3133) @scala-steward
- Update scalafmt-core to 3.4.3 (#3139) @scala-steward
- Update mdoc, sbt-mdoc to 2.3.0 (#3138) @scala-steward
- Update sbt-scalajs to 1.9.0 (#3136) @scala-steward
- Update typesafe:config to 1.4.2 (#3135) @scala-steward
- Update sbt-native-packager to 1.9.8 (#3134) @scala-steward
- Update sbt-assembly to 1.1.1 (#3132) @scala-steward
- Update sbt to 1.6.2 (#3137) @scala-steward
- Scalameta: upgrade to 4.5.0 (#3130) @kitbellew