Open renovate[bot] opened 2 months ago
This PR contains the following updates:
3.8.1
3.8.3
[!WARNING] Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
π Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
π¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
β» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.
This PR contains the following updates:
3.8.1
->3.8.3
Release Notes
scalameta/scalafmt (scalafmt)
### [`v3.8.3`](https://togithub.com/scalameta/scalafmt/releases/tag/v3.8.3) [Compare Source](https://togithub.com/scalameta/scalafmt/compare/v3.8.2...v3.8.3) #### Features - ScalafmtConfig: set line endings with git autoCRLF ([#4114](https://togithub.com/scalameta/scalafmt/issues/4114)) [@kitbellew](https://togithub.com/kitbellew) - Scalafmt: move line ending choice to FormatWriter ([#4097](https://togithub.com/scalameta/scalafmt/issues/4097)) [@kitbellew](https://togithub.com/kitbellew) - FormatWriter: prepare for configurable line ending ([#4091](https://togithub.com/scalameta/scalafmt/issues/4091)) [@kitbellew](https://togithub.com/kitbellew) - Documentation: describe `lineEndings` ([#4090](https://togithub.com/scalameta/scalafmt/issues/4090)) [@kitbellew](https://togithub.com/kitbellew) - Spaces: add `aroundSymbolicInfixOperators` params ([#4103](https://togithub.com/scalameta/scalafmt/issues/4103)) [@kitbellew](https://togithub.com/kitbellew) - FormatWriter: check topLevelStatBlanks blank gaps ([#4083](https://togithub.com/scalameta/scalafmt/issues/4083)) [@kitbellew](https://togithub.com/kitbellew) - Router: use `spaces.afterColonInMatchPattern` ([#4070](https://togithub.com/scalameta/scalafmt/issues/4070)) [@kitbellew](https://togithub.com/kitbellew) - Router: use `indent.{binPackXxx,afterInfix}Site` ([#4057](https://togithub.com/scalameta/scalafmt/issues/4057)) [@kitbellew](https://togithub.com/kitbellew) #### Bug fixes - RedundantBraces: don't rewrite `try { (a, b) }` ([#4111](https://togithub.com/scalameta/scalafmt/issues/4111)) [@kitbellew](https://togithub.com/kitbellew) - TokenOps: backquoted tokens don't "end" in symbol ([#4107](https://togithub.com/scalameta/scalafmt/issues/4107)) [@kitbellew](https://togithub.com/kitbellew) - Router: src=keep force NL only for matching `else` ([#4105](https://togithub.com/scalameta/scalafmt/issues/4105)) [@kitbellew](https://togithub.com/kitbellew) - RedundantParens: handle parens around type as well ([#4078](https://togithub.com/scalameta/scalafmt/issues/4078)) [@kitbellew](https://togithub.com/kitbellew) - RedundantParens: allow any Ref, not just Name ([#4077](https://togithub.com/scalameta/scalafmt/issues/4077)) [@kitbellew](https://togithub.com/kitbellew) - RedundantParens: make body check more permissive ([#4076](https://togithub.com/scalameta/scalafmt/issues/4076)) [@kitbellew](https://togithub.com/kitbellew) - Add test with parens around types ([#4075](https://togithub.com/scalameta/scalafmt/issues/4075)) [@kitbellew](https://togithub.com/kitbellew) - FormatOps: in folded ctrl body, use `adjustedBody` ([#4073](https://togithub.com/scalameta/scalafmt/issues/4073)) [@kitbellew](https://togithub.com/kitbellew) - Router: increase NL penalty within interpolation ([#4068](https://togithub.com/scalameta/scalafmt/issues/4068)) [@kitbellew](https://togithub.com/kitbellew) - FormatOps: treat assignment infix as non-infix rhs ([#4065](https://togithub.com/scalameta/scalafmt/issues/4065)) [@kitbellew](https://togithub.com/kitbellew) - RewriteTrailingCommas: handle optional braces case ([#4059](https://togithub.com/scalameta/scalafmt/issues/4059)) [@kitbellew](https://togithub.com/kitbellew) - Router: end `src=fold` single-line past `yield` ([#4054](https://togithub.com/scalameta/scalafmt/issues/4054)) [@kitbellew](https://togithub.com/kitbellew) #### Miscellaneous - ScalafmtReflectConfig: add `withTarget` method ([#4113](https://togithub.com/scalameta/scalafmt/issues/4113)) [@kitbellew](https://togithub.com/kitbellew) - Scalafmt: remove special case of space-only code ([#4096](https://togithub.com/scalameta/scalafmt/issues/4096)) [@kitbellew](https://togithub.com/kitbellew) - Scalafmt: remove special case of shebang prefix ([#4095](https://togithub.com/scalameta/scalafmt/issues/4095)) [@kitbellew](https://togithub.com/kitbellew) - FormatTokens: method to report token lookup error ([#4088](https://togithub.com/scalameta/scalafmt/issues/4088)) [@kitbellew](https://togithub.com/kitbellew) - FormatTokens: define a token hash builder ([#4087](https://togithub.com/scalameta/scalafmt/issues/4087)) [@kitbellew](https://togithub.com/kitbellew) - Token.LF: replace all references with Token.AtEOL ([#4086](https://togithub.com/scalameta/scalafmt/issues/4086)) [@kitbellew](https://togithub.com/kitbellew) - FormatWriter: use `HashMap.updateWith` ([#4082](https://togithub.com/scalameta/scalafmt/issues/4082)) [@kitbellew](https://togithub.com/kitbellew) - Remove scala-2.11 specializations, no longer used ([#4081](https://togithub.com/scalameta/scalafmt/issues/4081)) [@kitbellew](https://togithub.com/kitbellew) - TreeOps: use common base in colonDeclType ([#4080](https://togithub.com/scalameta/scalafmt/issues/4080)) [@kitbellew](https://togithub.com/kitbellew) - RedundantBraces: refactor body checking ([#4079](https://togithub.com/scalameta/scalafmt/issues/4079)) [@kitbellew](https://togithub.com/kitbellew) - Modification: consistency, rename isNewline->isNL ([#4074](https://togithub.com/scalameta/scalafmt/issues/4074)) [@kitbellew](https://togithub.com/kitbellew) - Issue template: emphasize providing small example ([#4069](https://togithub.com/scalameta/scalafmt/issues/4069)) [@kitbellew](https://togithub.com/kitbellew) - TreeExtractors: use tree extns for assign/lt assoc ([#4064](https://togithub.com/scalameta/scalafmt/issues/4064)) [@kitbellew](https://togithub.com/kitbellew) - Router: support all enumerators, including `case` ([#4063](https://togithub.com/scalameta/scalafmt/issues/4063)) [@kitbellew](https://togithub.com/kitbellew) - FormatOps: use Infix.isAssignment to skip indent ([#4062](https://togithub.com/scalameta/scalafmt/issues/4062)) [@kitbellew](https://togithub.com/kitbellew) - FormatOps: move ExtractFromMeta to companion obj ([#4060](https://togithub.com/scalameta/scalafmt/issues/4060)) [@kitbellew](https://togithub.com/kitbellew) - FormatOps: add InfixSplits.isAfterOp flag ([#4061](https://togithub.com/scalameta/scalafmt/issues/4061)) [@kitbellew](https://togithub.com/kitbellew) - Add no-indent infix test for right-assoc operator ([#4056](https://togithub.com/scalameta/scalafmt/issues/4056)) [@kitbellew](https://togithub.com/kitbellew) - Documentation: fix links to `binPack.xxxSite` ([#4055](https://togithub.com/scalameta/scalafmt/issues/4055)) [@kitbellew](https://togithub.com/kitbellew) - Router: refactor single-line block logic ([#4053](https://togithub.com/scalameta/scalafmt/issues/4053)) [@kitbellew](https://togithub.com/kitbellew) - Split: allow ignoring withOptimalAt, relax check ([#4052](https://togithub.com/scalameta/scalafmt/issues/4052)) [@kitbellew](https://togithub.com/kitbellew) #### Dependency updates - Scalameta: upgrade to v4.9.9 ([#4115](https://togithub.com/scalameta/scalafmt/issues/4115)) [@kitbellew](https://togithub.com/kitbellew) - Update mdoc, mdoc-parser, sbt-mdoc to 2.5.4 ([#4110](https://togithub.com/scalameta/scalafmt/issues/4110)) [@scalameta-bot](https://togithub.com/scalameta-bot) - FilterMatcher: turn into metaconfig-parsable type ([#4102](https://togithub.com/scalameta/scalafmt/issues/4102)) [@kitbellew](https://togithub.com/kitbellew) - FormatOps: slight refactor in `insideInfixSplit` ([#4100](https://togithub.com/scalameta/scalafmt/issues/4100)) [@kitbellew](https://togithub.com/kitbellew) - Scalameta: upgrade to v4.9.8 ([#4094](https://togithub.com/scalameta/scalafmt/issues/4094)) [@kitbellew](https://togithub.com/kitbellew) - EmptyFileTest: use explicit `expected` ([#4092](https://togithub.com/scalameta/scalafmt/issues/4092)) [@kitbellew](https://togithub.com/kitbellew) - Formatted: define Try\[\_]/Throwable ctors ([#4093](https://togithub.com/scalameta/scalafmt/issues/4093)) [@kitbellew](https://togithub.com/kitbellew) - Bump docker/build-push-action from 5 to 6 ([#4085](https://togithub.com/scalameta/scalafmt/issues/4085)) [@dependabot](https://togithub.com/dependabot) - Update mdoc, mdoc-parser, sbt-mdoc to 2.5.3 ([#4071](https://togithub.com/scalameta/scalafmt/issues/4071)) [@scalameta-bot](https://togithub.com/scalameta-bot) - Update scalafmt-core to 3.8.2 ([#4072](https://togithub.com/scalameta/scalafmt/issues/4072)) [@scalameta-bot](https://togithub.com/scalameta-bot) - Scalameta: upgrade to v4.9.7 ([#4066](https://togithub.com/scalameta/scalafmt/issues/4066)) [@kitbellew](https://togithub.com/kitbellew) ### [`v3.8.2`](https://togithub.com/scalameta/scalafmt/releases/tag/v3.8.2) [Compare Source](https://togithub.com/scalameta/scalafmt/compare/v3.8.1...v3.8.2) #### Features - Change `binpack=oneline` formatting - FormatOps: raise NL cost for binpacked ctrl body ([#4048](https://togithub.com/scalameta/scalafmt/issues/4048)) [@kitbellew](https://togithub.com/kitbellew) - Router: fix binpack=oneline continuation handling ([#4047](https://togithub.com/scalameta/scalafmt/issues/4047)) [@kitbellew](https://togithub.com/kitbellew) - FormatOps: extract and improve oneline break policy ([#4046](https://togithub.com/scalameta/scalafmt/issues/4046)) [@kitbellew](https://togithub.com/kitbellew) - Router: implement `binpack=onelineSjs` conf option ([#4045](https://togithub.com/scalameta/scalafmt/issues/4045)) [@kitbellew](https://togithub.com/kitbellew) - Router: refactor handling of binpack comma args ([#4044](https://togithub.com/scalameta/scalafmt/issues/4044)) [@kitbellew](https://togithub.com/kitbellew) - Router: bp=oneline multi-line arg ends before `)` ([#4043](https://togithub.com/scalameta/scalafmt/issues/4043)) [@kitbellew](https://togithub.com/kitbellew) - FormatOps: refactor GetSelectLike ([#4042](https://togithub.com/scalameta/scalafmt/issues/4042)) [@kitbellew](https://togithub.com/kitbellew) - Documentation: add detail to `binPack.xxxSite` ([#4040](https://togithub.com/scalameta/scalafmt/issues/4040)) [@kitbellew](https://togithub.com/kitbellew) - BinPack: improve choice of correct XxxSite param ([#4034](https://togithub.com/scalameta/scalafmt/issues/4034)) [@kitbellew](https://togithub.com/kitbellew) - Router: bp: to prefer space, define nl split first ([#4031](https://togithub.com/scalameta/scalafmt/issues/4031)) [@kitbellew](https://togithub.com/kitbellew) - Router: fix bp.callsite=oneline post-comma policy ([#4012](https://togithub.com/scalameta/scalafmt/issues/4012)) [@kitbellew](https://togithub.com/kitbellew) - Router: fix bp.callsite=oneline penalty bug ([#4004](https://togithub.com/scalameta/scalafmt/issues/4004)) [@kitbellew](https://togithub.com/kitbellew) - Router: extend single line for bp.defnsite=oneline ([#4000](https://togithub.com/scalameta/scalafmt/issues/4000)) [@kitbellew](https://togithub.com/kitbellew) - Router: fix bp.defnsite=oneline inconsistency bug ([#4002](https://togithub.com/scalameta/scalafmt/issues/4002)) [@kitbellew](https://togithub.com/kitbellew) - FormatOps: use src=keep to open break for scala.js ([#4001](https://togithub.com/scalameta/scalafmt/issues/4001)) [@kitbellew](https://togithub.com/kitbellew) - Router: refactor binpack.defnsite=oneline logic ([#3996](https://togithub.com/scalameta/scalafmt/issues/3996)) [@kitbellew](https://togithub.com/kitbellew) - Router: fix handling of binpack=oneline ([#3992](https://togithub.com/scalameta/scalafmt/issues/3992)) [@kitbellew](https://togithub.com/kitbellew) - Router: binpack=oneline: add explicit state names ([#3991](https://togithub.com/scalameta/scalafmt/issues/3991)) [@kitbellew](https://togithub.com/kitbellew) - Router: inline binpack nl policies ([#3990](https://togithub.com/scalameta/scalafmt/issues/3990)) [@kitbellew](https://togithub.com/kitbellew) - Router: Align binpack.{call,defn}Site behaviour ([#3977](https://togithub.com/scalameta/scalafmt/issues/3977)) [@kitbellew](https://togithub.com/kitbellew) - BinPack: add string presets (always/never/oneline) ([#3985](https://togithub.com/scalameta/scalafmt/issues/3985)) [@kitbellew](https://togithub.com/kitbellew) - FormatOps: fix scala.js style implementation ([#3980](https://togithub.com/scalameta/scalafmt/issues/3980)) [@kitbellew](https://togithub.com/kitbellew) - Align binpack formatting for `callSite` and `defnSite` - Router: clause site: refactor dangle indicators ([#3982](https://togithub.com/scalameta/scalafmt/issues/3982)) [@kitbellew](https://togithub.com/kitbellew) - FormatOps: expand config-style source detection ([#3981](https://togithub.com/scalameta/scalafmt/issues/3981)) [@kitbellew](https://togithub.com/kitbellew) - Router: treat infix argument clause like any other ([#3978](https://togithub.com/scalameta/scalafmt/issues/3978)) [@kitbellew](https://togithub.com/kitbellew) - Router: binpack callsite: move no-split indents ([#3976](https://togithub.com/scalameta/scalafmt/issues/3976)) [@kitbellew](https://togithub.com/kitbellew) - Router: binpack defnsite: generalize slb indicator ([#3975](https://togithub.com/scalameta/scalafmt/issues/3975)) [@kitbellew](https://togithub.com/kitbellew) - Router: binpack callsite: fix literalsSingleLine ([#3974](https://togithub.com/scalameta/scalafmt/issues/3974)) [@kitbellew](https://togithub.com/kitbellew) - Router: binpack callsite: Spc for attached comment ([#3973](https://togithub.com/scalameta/scalafmt/issues/3973)) [@kitbellew](https://togithub.com/kitbellew) - Router: binpack defnsite: rename mustUseNL->nlOnly ([#3972](https://togithub.com/scalameta/scalafmt/issues/3972)) [@kitbellew](https://togithub.com/kitbellew) - Router: binpack: refactor policies, newline split ([#3971](https://togithub.com/scalameta/scalafmt/issues/3971)) [@kitbellew](https://togithub.com/kitbellew) - FormatOps: pass close-break indicator for cfgstyle ([#3970](https://togithub.com/scalameta/scalafmt/issues/3970)) [@kitbellew](https://togithub.com/kitbellew) - DanglingParentheses: add bracketSite versions ([#3969](https://togithub.com/scalameta/scalafmt/issues/3969)) [@kitbellew](https://togithub.com/kitbellew) - FormatTokens: add more methods around comments ([#3968](https://togithub.com/scalameta/scalafmt/issues/3968)) [@kitbellew](https://togithub.com/kitbellew) - Router: add hasBreak, noBreak, hasBlankLine ([#3967](https://togithub.com/scalameta/scalafmt/issues/3967)) [@kitbellew](https://togithub.com/kitbellew) - FormatOps: use token index instead of hash ([#3966](https://togithub.com/scalameta/scalafmt/issues/3966)) [@kitbellew](https://togithub.com/kitbellew) - DanglingParentheses: bundle defnSite with excludes ([#3965](https://togithub.com/scalameta/scalafmt/issues/3965)) [@kitbellew](https://togithub.com/kitbellew) - Tests: add extra without dangling, remove obsolete ([#3964](https://togithub.com/scalameta/scalafmt/issues/3964)) [@kitbellew](https://togithub.com/kitbellew) - Router: refactor, replace formatToken/tok with ft ([#3963](https://togithub.com/scalameta/scalafmt/issues/3963)) [@kitbellew](https://togithub.com/kitbellew) - Config-style: allow optimizing defn site clause ([#3962](https://togithub.com/scalameta/scalafmt/issues/3962)) [@kitbellew](https://togithub.com/kitbellew) - Config-style: control over forcing vs optimization ([#3961](https://togithub.com/scalameta/scalafmt/issues/3961)) [@kitbellew](https://togithub.com/kitbellew) - Config-style: separate control for call/defn sites ([#3960](https://togithub.com/scalameta/scalafmt/issues/3960)) [@kitbellew](https://togithub.com/kitbellew) - Config-style: refactor, prepare for more control ([#3959](https://togithub.com/scalameta/scalafmt/issues/3959)) [@kitbellew](https://togithub.com/kitbellew) - ScalafmtConfig: shorten the allowed maxColumn ([#3958](https://togithub.com/scalameta/scalafmt/issues/3958)) [@kitbellew](https://togithub.com/kitbellew) - {Format,Tree}Ops: use token index instead of hash ([#3957](https://togithub.com/scalameta/scalafmt/issues/3957)) [@kitbellew](https://togithub.com/kitbellew) - FormatOps: use FormatToken.Meta in ExtractFromMeta ([#3956](https://togithub.com/scalameta/scalafmt/issues/3956)) [@kitbellew](https://togithub.com/kitbellew) - Newlines: add more keepBreak overloads ([#3955](https://togithub.com/scalameta/scalafmt/issues/3955)) [@kitbellew](https://togithub.com/kitbellew) - Add more variants in tests for binPack.defnSite ([#3953](https://togithub.com/scalameta/scalafmt/issues/3953)) [@kitbellew](https://togithub.com/kitbellew) - Router: fix scala.js style for binPack.callSite ([#3931](https://togithub.com/scalameta/scalafmt/issues/3931)) [@kitbellew](https://togithub.com/kitbellew) - FormatOps: prefer ConfigStyle.Force over Source ([#3929](https://togithub.com/scalameta/scalafmt/issues/3929)) [@kitbellew](https://togithub.com/kitbellew) - FormatOps: add method to get flags for bp=callsite ([#3928](https://togithub.com/scalameta/scalafmt/issues/3928)) [@kitbellew](https://togithub.com/kitbellew) - Add more variants in tests for binPack.callSite ([#3927](https://togithub.com/scalameta/scalafmt/issues/3927)) [@kitbellew](https://togithub.com/kitbellew) - Documentation: describe `binPack.xxxSite` ([#3905](https://togithub.com/scalameta/scalafmt/issues/3905)) [@kitbellew](https://togithub.com/kitbellew) - FormatOps: separate config style: exists or forced ([#3904](https://togithub.com/scalameta/scalafmt/issues/3904)) [@kitbellew](https://togithub.com/kitbellew) - Router: refactor nlPolicy for binpack.callSite ([#3903](https://togithub.com/scalameta/scalafmt/issues/3903)) [@kitbellew](https://togithub.com/kitbellew) - Test binPack.xxxSite with configStyleArguments ([#3902](https://togithub.com/scalameta/scalafmt/issues/3902)) [@kitbellew](https://togithub.com/kitbellew) - BinPack: drop `unsafe` prefix in call/defn sites ([#3900](https://togithub.com/scalameta/scalafmt/issues/3900)) [@kitbellew](https://togithub.com/kitbellew) - BinPack: remove stale warning about unsafeXxxSite ([#3899](https://togithub.com/scalameta/scalafmt/issues/3899)) [@kitbellew](https://togithub.com/kitbellew) - Documentation: describe formatting algorithm ([#3951](https://togithub.com/scalameta/scalafmt/issues/3951)) [@kitbellew](https://togithub.com/kitbellew) #### Bug fixes - FormatOps: handle enclosed folded body differently ([#4039](https://togithub.com/scalameta/scalafmt/issues/4039)) [@kitbellew](https://togithub.com/kitbellew) - FormatOps: pass Tuples to `argumentStarts` as well ([#4025](https://togithub.com/scalameta/scalafmt/issues/4025)) [@kitbellew](https://togithub.com/kitbellew) - Router: add NL split in select chain for src=keep ([#4021](https://togithub.com/scalameta/scalafmt/issues/4021)) [@kitbellew](https://togithub.com/kitbellew) - PreferCurlyFors: don't rewrite if has infix ([#4018](https://togithub.com/scalameta/scalafmt/issues/4018)) [@kitbellew](https://togithub.com/kitbellew) - Split: block optimal token with non-zero cost ([#4020](https://togithub.com/scalameta/scalafmt/issues/4020)) [@kitbellew](https://togithub.com/kitbellew) - PreferCurlyFors: don't rewrite semicolon only ([#4013](https://togithub.com/scalameta/scalafmt/issues/4013)) [@kitbellew](https://togithub.com/kitbellew) - FormatOps: return for fewer braces infix lhs early ([#4015](https://togithub.com/scalameta/scalafmt/issues/4015)) [@kitbellew](https://togithub.com/kitbellew) - Router: use indentCallSiteOnce to callsite only ([#4005](https://togithub.com/scalameta/scalafmt/issues/4005)) [@kitbellew](https://togithub.com/kitbellew) - Fix [#3465](https://togithub.com/scalameta/scalafmt/issues/3465) - FormatWriter: merge columns at different depth ([#3925](https://togithub.com/scalameta/scalafmt/issues/3925)) [@kitbellew](https://togithub.com/kitbellew) - FormatWriter: match columns in tryAppendToBlock ([#3924](https://togithub.com/scalameta/scalafmt/issues/3924)) [@kitbellew](https://togithub.com/kitbellew) - FormatWriter: share shifted columns between lines ([#3923](https://togithub.com/scalameta/scalafmt/issues/3923)) [@kitbellew](https://togithub.com/kitbellew) - FormatWriter: use a "merge" in tryAppendToBlock ([#3922](https://togithub.com/scalameta/scalafmt/issues/3922)) [@kitbellew](https://togithub.com/kitbellew) - FormatWriter: minor refactor, rename variables ([#3921](https://togithub.com/scalameta/scalafmt/issues/3921)) [@kitbellew](https://togithub.com/kitbellew) - FormatWriter: add `ft` method to AlignStop ([#3920](https://togithub.com/scalameta/scalafmt/issues/3920)) [@kitbellew](https://togithub.com/kitbellew) - FormatWriter: move logic to getAlignNonSlcOwner ([#3919](https://togithub.com/scalameta/scalafmt/issues/3919)) [@kitbellew](https://togithub.com/kitbellew) - FormatWriter: add style, get overflow in AlignLine ([#3918](https://togithub.com/scalameta/scalafmt/issues/3918)) [@kitbellew](https://togithub.com/kitbellew) - FormatWriter: add non-SLC owner to AlignStop ([#3917](https://togithub.com/scalameta/scalafmt/issues/3917)) [@kitbellew](https://togithub.com/kitbellew) - FormatWriter: don't insert braces in annotation ([#3913](https://togithub.com/scalameta/scalafmt/issues/3913)) [@kitbellew](https://togithub.com/kitbellew) - FormatWriter: inline getAlignContainer(fmt loc) ([#3916](https://togithub.com/scalameta/scalafmt/issues/3916)) [@kitbellew](https://togithub.com/kitbellew) - FormatWriter: simplify, add to empty block only ([#3915](https://togithub.com/scalameta/scalafmt/issues/3915)) [@kitbellew](https://togithub.com/kitbellew) - FormatWriter: rename location to floc, consistency ([#3914](https://togithub.com/scalameta/scalafmt/issues/3914)) [@kitbellew](https://togithub.com/kitbellew) - Router: fix configStyle/binPack.callSite/src=keep ([#3906](https://togithub.com/scalameta/scalafmt/issues/3906)) [@kitbellew](https://togithub.com/kitbellew) - Router: fix fold bug after semicolon ([#3910](https://togithub.com/scalameta/scalafmt/issues/3910)) [@kitbellew](https://togithub.com/kitbellew) - RedundantBraces: ignore block under Term.Xml ([#3893](https://togithub.com/scalameta/scalafmt/issues/3893)) [@kitbellew](https://togithub.com/kitbellew) - FormatOps: can't look at breaks for fold/unfold ([#3889](https://togithub.com/scalameta/scalafmt/issues/3889)) [@kitbellew](https://togithub.com/kitbellew) #### Miscellaneous - Policy: handle booleans, add WithConv, Expire, description labels ([#4041](https://togithub.com/scalameta/scalafmt/issues/4041)) [@kitbellew](https://togithub.com/kitbellew) - BestFirstSearch: clean-up "UNABLE TO FORMAT" msg ([#4038](https://togithub.com/scalameta/scalafmt/issues/4038)) [@kitbellew](https://togithub.com/kitbellew) - TreeOps: move getArgs from FormatOps, make partial ([#4035](https://togithub.com/scalameta/scalafmt/issues/4035)) [@kitbellew](https://togithub.com/kitbellew) - PolicySummary: return only splits in `execute` ([#4037](https://togithub.com/scalameta/scalafmt/issues/4037)) [@kitbellew](https://togithub.com/kitbellew) - Router: no need to bind a new var for FormatTokens ([#4036](https://togithub.com/scalameta/scalafmt/issues/4036)) [@kitbellew](https://togithub.com/kitbellew) - ReaderUtil: refactor, expose custom value parsing ([#4033](https://togithub.com/scalameta/scalafmt/issues/4033)) [@kitbellew](https://togithub.com/kitbellew) - Error: simplify parameters of SearchStateExploded ([#4032](https://togithub.com/scalameta/scalafmt/issues/4032)) [@kitbellew](https://togithub.com/kitbellew) - PolicyOps: move penalizeNewlineByNesting ([#4026](https://togithub.com/scalameta/scalafmt/issues/4026)) [@kitbellew](https://togithub.com/kitbellew) - StyleMap: refactor checking basic/complex literals ([#4019](https://togithub.com/scalameta/scalafmt/issues/4019)) [@kitbellew](https://togithub.com/kitbellew) - Split: don't check presence in set separately ([#4016](https://togithub.com/scalameta/scalafmt/issues/4016)) [@kitbellew](https://togithub.com/kitbellew) - FormatAssertions: adjust line range before caret ([#4014](https://togithub.com/scalameta/scalafmt/issues/4014)) [@kitbellew](https://togithub.com/kitbellew) - Policy: add a Map policy, use instead of Proxy ([#4011](https://togithub.com/scalameta/scalafmt/issues/4011)) [@kitbellew](https://togithub.com/kitbellew) - Policy: add a RelayOnSplit policy ([#4010](https://togithub.com/scalameta/scalafmt/issues/4010)) [@kitbellew](https://togithub.com/kitbellew) - Policy: use new convenient binary End operators ([#4009](https://togithub.com/scalameta/scalafmt/issues/4009)) [@kitbellew](https://togithub.com/kitbellew) - Policy: add a Split parameter to `unexpired()` ([#4008](https://togithub.com/scalameta/scalafmt/issues/4008)) [@kitbellew](https://togithub.com/kitbellew) - Policy: use common logic for all methods in Or/And ([#4007](https://togithub.com/scalameta/scalafmt/issues/4007)) [@kitbellew](https://togithub.com/kitbellew) - Policy: add convenient binary operators for End ([#4006](https://togithub.com/scalameta/scalafmt/issues/4006)) [@kitbellew](https://togithub.com/kitbellew) - FormatOps: in CtrlBodySplits, add consistency ([#4003](https://togithub.com/scalameta/scalafmt/issues/4003)) [@kitbellew](https://togithub.com/kitbellew) - FormatOps: add all arguments to `argumentStarts` ([#3994](https://togithub.com/scalameta/scalafmt/issues/3994)) [@kitbellew](https://togithub.com/kitbellew) - FormatOps: return FormatToken in findFirstOnRight ([#3999](https://togithub.com/scalameta/scalafmt/issues/3999)) [@kitbellew](https://togithub.com/kitbellew) - FormatOps: process all clauses together ([#3998](https://togithub.com/scalameta/scalafmt/issues/3998)) [@kitbellew](https://togithub.com/kitbellew) - BestFirstSearch: access incremental cost directly ([#3997](https://togithub.com/scalameta/scalafmt/issues/3997)) [@kitbellew](https://togithub.com/kitbellew) - Router: get return type only on colon ([#3995](https://togithub.com/scalameta/scalafmt/issues/3995)) [@kitbellew](https://togithub.com/kitbellew) - Router: tighten range for parent-ctors policy ([#3993](https://togithub.com/scalameta/scalafmt/issues/3993)) [@kitbellew](https://togithub.com/kitbellew) - TreeOps: get last tree in followedBySelectOrApply ([#3989](https://togithub.com/scalameta/scalafmt/issues/3989)) [@kitbellew](https://togithub.com/kitbellew) - PolicyOps: add `decideNewlinesOnlyBeforeToken` ([#3988](https://togithub.com/scalameta/scalafmt/issues/3988)) [@kitbellew](https://togithub.com/kitbellew) - Router/FormatOps: import all `tokens._` symbols ([#3987](https://togithub.com/scalameta/scalafmt/issues/3987)) [@kitbellew](https://togithub.com/kitbellew) - FormatOps: look for keyword past enclosing parens ([#3984](https://togithub.com/scalameta/scalafmt/issues/3984)) [@kitbellew](https://togithub.com/kitbellew) - FormatOps: extend body indent to end of line ([#3983](https://togithub.com/scalameta/scalafmt/issues/3983)) [@kitbellew](https://togithub.com/kitbellew) - FormatOps: create auxilliary class ClauseSiteFlags ([#3979](https://togithub.com/scalameta/scalafmt/issues/3979)) [@kitbellew](https://togithub.com/kitbellew) - Docstrings: implement the fold option to Wrap ([#3952](https://togithub.com/scalameta/scalafmt/issues/3952)) [@kitbellew](https://togithub.com/kitbellew) - Docstrings: use keep/fold/unfold in BlankFirstLine ([#3947](https://togithub.com/scalameta/scalafmt/issues/3947)) [@kitbellew](https://togithub.com/kitbellew) - BestFirstSearch: minor optimization with HashMap ([#3950](https://togithub.com/scalameta/scalafmt/issues/3950)) [@kitbellew](https://togithub.com/kitbellew) - ScalafmtOptimizer: remove unused code ([#3949](https://togithub.com/scalameta/scalafmt/issues/3949)) [@kitbellew](https://togithub.com/kitbellew) - Add a bit more structure to own docstrings ([#3948](https://togithub.com/scalameta/scalafmt/issues/3948)) [@kitbellew](https://togithub.com/kitbellew) - HasTests: show line number with config error ([#3946](https://togithub.com/scalameta/scalafmt/issues/3946)) [@kitbellew](https://togithub.com/kitbellew) - BestFirstSearch: switch to Long as State key ([#3942](https://togithub.com/scalameta/scalafmt/issues/3942)) [@kitbellew](https://togithub.com/kitbellew) - BestFirstSearch: use overridden ScalafmtConfig ([#3945](https://togithub.com/scalameta/scalafmt/issues/3945)) [@kitbellew](https://togithub.com/kitbellew) - BestFirstSearch: refactor optimization zones code ([#3943](https://togithub.com/scalameta/scalafmt/issues/3943)) [@kitbellew](https://togithub.com/kitbellew) - Router: to debug, use FileLine in binpack policies ([#3930](https://togithub.com/scalameta/scalafmt/issues/3930)) [@kitbellew](https://togithub.com/kitbellew) - Newlines: add method okSpaceForSource(newlines) ([#3909](https://togithub.com/scalameta/scalafmt/issues/3909)) [@kitbellew](https://togithub.com/kitbellew) - Modification: add conditional ctor to Newline2x ([#3908](https://togithub.com/scalameta/scalafmt/issues/3908)) [@kitbellew](https://togithub.com/kitbellew) - Documentation: add more context for `source=keep` ([#3898](https://togithub.com/scalameta/scalafmt/issues/3898)) [@kitbellew](https://togithub.com/kitbellew) - Documentation: advise reading entire page first ([#3897](https://togithub.com/scalameta/scalafmt/issues/3897)) [@kitbellew](https://togithub.com/kitbellew) - Router: use built-to FormatToken.toString ([#3892](https://togithub.com/scalameta/scalafmt/issues/3892)) [@kitbellew](https://togithub.com/kitbellew) - scalafmt: enable AvoidInfix rewrite ([#3890](https://togithub.com/scalameta/scalafmt/issues/3890)) [@kitbellew](https://togithub.com/kitbellew) - scalafmt: enable `Imports` rewrite ([#3888](https://togithub.com/scalameta/scalafmt/issues/3888)) [@kitbellew](https://togithub.com/kitbellew) - scalafmt: enable trailing commas rewrite ([#3887](https://togithub.com/scalameta/scalafmt/issues/3887)) [@kitbellew](https://togithub.com/kitbellew) - scalafmt: enable RedundantBraces rewrite ([#3886](https://togithub.com/scalameta/scalafmt/issues/3886)) [@kitbellew](https://togithub.com/kitbellew) - scalafmt: align strip margins ([#3885](https://togithub.com/scalameta/scalafmt/issues/3885)) [@kitbellew](https://togithub.com/kitbellew) - scalafmt: enable newlines.source=fold formatting ([#3884](https://togithub.com/scalameta/scalafmt/issues/3884)) [@kitbellew](https://togithub.com/kitbellew) - scalafmt: don't ignore newlines in syntax ([#3883](https://togithub.com/scalameta/scalafmt/issues/3883)) [@kitbellew](https://togithub.com/kitbellew) - scalafmt: enable RedundantParens rewrite ([#3882](https://togithub.com/scalameta/scalafmt/issues/3882)) [@kitbellew](https://togithub.com/kitbellew) - scalafmt: enable SortModifiers with `styleGuide` ([#3881](https://togithub.com/scalameta/scalafmt/issues/3881)) [@kitbellew](https://togithub.com/kitbellew) - scalafmt: avoid simple overflow ([#3880](https://togithub.com/scalameta/scalafmt/issues/3880)) [@kitbellew](https://togithub.com/kitbellew) - scalafmt: group parameters ([#3879](https://togithub.com/scalameta/scalafmt/issues/3879)) [@kitbellew](https://togithub.com/kitbellew) - scalafmt: upgrade version v3.8.1 ([#3878](https://togithub.com/scalameta/scalafmt/issues/3878)) [@kitbellew](https://togithub.com/kitbellew) - DynamicSuite: start testing with v3.8.1 ([#3876](https://togithub.com/scalameta/scalafmt/issues/3876)) [@kitbellew](https://togithub.com/kitbellew) #### Dependency updates - Coursier: upgrade to v2.1.10 ([#4051](https://togithub.com/scalameta/scalafmt/issues/4051)) [@kitbellew](https://togithub.com/kitbellew) - Scalameta: upgrade to v4.9.6 ([#4050](https://togithub.com/scalameta/scalafmt/issues/4050)) [@kitbellew](https://togithub.com/kitbellew) - munit: upgrade to v1.0.0 ([#4049](https://togithub.com/scalameta/scalafmt/issues/4049)) [@kitbellew](https://togithub.com/kitbellew) - Update scalacheck to 1.18.0 ([#4024](https://togithub.com/scalameta/scalafmt/issues/4024)) [@scalameta-bot](https://togithub.com/scalameta-bot) - Scalameta: upgrade to v4.9.5 ([#4017](https://togithub.com/scalameta/scalafmt/issues/4017)) [@kitbellew](https://togithub.com/kitbellew) - Scalameta: upgrade to v4.9.4 ([#3986](https://togithub.com/scalameta/scalafmt/issues/3986)) [@kitbellew](https://togithub.com/kitbellew) - Github actions: explicitly use macOS-12 ([#3944](https://togithub.com/scalameta/scalafmt/issues/3944)) [@kitbellew](https://togithub.com/kitbellew) - Update sbt-buildinfo to 0.12.0 ([#3934](https://togithub.com/scalameta/scalafmt/issues/3934)) [@scalameta-bot](https://togithub.com/scalameta-bot) - Update scalacheck to 1.17.1 ([#3938](https://togithub.com/scalameta/scalafmt/issues/3938)) [@scalameta-bot](https://togithub.com/scalameta-bot) - Update sbt-assembly to 2.2.0 ([#3933](https://togithub.com/scalameta/scalafmt/issues/3933)) [@scalameta-bot](https://togithub.com/scalameta-bot) - Update sbt-scalajs to 1.16.0 ([#3937](https://togithub.com/scalameta/scalafmt/issues/3937)) [@scalameta-bot](https://togithub.com/scalameta-bot) - Update scalatags to 0.13.1 ([#3936](https://togithub.com/scalameta/scalafmt/issues/3936)) [@scalameta-bot](https://togithub.com/scalameta-bot) - Update sbt-native-packager to 1.10.0 ([#3935](https://togithub.com/scalameta/scalafmt/issues/3935)) [@scalameta-bot](https://togithub.com/scalameta-bot) - Add or update discord links ([#3907](https://togithub.com/scalameta/scalafmt/issues/3907)) [@kitbellew](https://togithub.com/kitbellew)Configuration
π Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
π¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
β» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.