Closed renovate[bot] closed 4 months ago
This PR contains the following updates:
2.7.5
3.8.1
[!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 has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
2.7.5
->3.8.1
Release Notes
scalameta/scalafmt (scalafmt)
### [`v3.8.1`](https://togithub.com/scalameta/scalafmt/releases/tag/v3.8.1) [Compare Source](https://togithub.com/scalameta/scalafmt/compare/v3.8.0...v3.8.1) #### New features - ScalafmtOptimizer: rename forceConfigStyleOnOffset ([#3874](https://togithub.com/scalameta/scalafmt/issues/3874)) [@kitbellew](https://togithub.com/kitbellew) - RemoveScala3OptionalBraces: handle fewer braces ([#3815](https://togithub.com/scalameta/scalafmt/issues/3815)) [@kitbellew](https://togithub.com/kitbellew) - FormatTokensRewrite: check rewritten tokens sorted ([#3871](https://togithub.com/scalameta/scalafmt/issues/3871)) [@kitbellew](https://togithub.com/kitbellew) - FormatTokensRewrite: simplify claiming on right ([#3870](https://togithub.com/scalameta/scalafmt/issues/3870)) [@kitbellew](https://togithub.com/kitbellew) - FormatTokensRewrite: track source index explicitly ([#3869](https://togithub.com/scalameta/scalafmt/issues/3869)) [@kitbellew](https://togithub.com/kitbellew) - RedundantBraces: remove parens and trailing comma ([#3868](https://togithub.com/scalameta/scalafmt/issues/3868)) [@kitbellew](https://togithub.com/kitbellew) - Router: break on `(lambda` to keep trailing comma ([#3855](https://togithub.com/scalameta/scalafmt/issues/3855)) [@kitbellew](https://togithub.com/kitbellew) - FormatOps: fix leading infix before fewer braces ([#3859](https://togithub.com/scalameta/scalafmt/issues/3859)) [@kitbellew](https://togithub.com/kitbellew) - FormatWriter: trailing comma with a removed paren ([#3858](https://togithub.com/scalameta/scalafmt/issues/3858)) [@kitbellew](https://togithub.com/kitbellew) - FormatWriter: keep braces if trailingCommas=Always ([#3856](https://togithub.com/scalameta/scalafmt/issues/3856)) [@kitbellew](https://togithub.com/kitbellew) - RedundantBraces: claim left brace inside parens ([#3867](https://togithub.com/scalameta/scalafmt/issues/3867)) [@kitbellew](https://togithub.com/kitbellew) - FormatTokensRewrite: return index, vs rule applied ([#3866](https://togithub.com/scalameta/scalafmt/issues/3866)) [@kitbellew](https://togithub.com/kitbellew) - FormatTokensRewrite: onRight proxy in Replacement ([#3865](https://togithub.com/scalameta/scalafmt/issues/3865)) [@kitbellew](https://togithub.com/kitbellew) - FormatTokensRewrite: pass FormatToken to resurrect ([#3864](https://togithub.com/scalameta/scalafmt/issues/3864)) [@kitbellew](https://togithub.com/kitbellew) - FormatTokensRewrite: `claim` implicit FormatToken ([#3863](https://togithub.com/scalameta/scalafmt/issues/3863)) [@kitbellew](https://togithub.com/kitbellew) - FormatTokensRewrite: reuse index claimed earlier ([#3860](https://togithub.com/scalameta/scalafmt/issues/3860)) [@kitbellew](https://togithub.com/kitbellew) - FormatTokensRewrite: obtain rule from Replacement ([#3862](https://togithub.com/scalameta/scalafmt/issues/3862)) [@kitbellew](https://togithub.com/kitbellew) - FormatTokensRewrite: token index in Replacement ([#3861](https://togithub.com/scalameta/scalafmt/issues/3861)) [@kitbellew](https://togithub.com/kitbellew) - FormatTokensRewrite: token map expects left token ([#3857](https://togithub.com/scalameta/scalafmt/issues/3857)) [@kitbellew](https://togithub.com/kitbellew) - Test preserving non-folding trailing comma ([#3849](https://togithub.com/scalameta/scalafmt/issues/3849)) [@kitbellew](https://togithub.com/kitbellew) - RewriteTrailingCommas: take over check, refactor ([#3854](https://togithub.com/scalameta/scalafmt/issues/3854)) [@kitbellew](https://togithub.com/kitbellew) - TreeOps: rename, improve `endsWithFewerBraces` ([#3853](https://togithub.com/scalameta/scalafmt/issues/3853)) [@kitbellew](https://togithub.com/kitbellew) - FormatTokensRewrite: define `Replacement.isRemove` ([#3851](https://togithub.com/scalameta/scalafmt/issues/3851)) [@kitbellew](https://togithub.com/kitbellew) - FormatTokensRewrite: add getClaimed method ([#3848](https://togithub.com/scalameta/scalafmt/issues/3848)) [@kitbellew](https://togithub.com/kitbellew) - Rewrite rules: pass FormatTokens as implicit ([#3847](https://togithub.com/scalameta/scalafmt/issues/3847)) [@kitbellew](https://togithub.com/kitbellew) - FormatTokensRewrite: find only enabled rules ([#3846](https://togithub.com/scalameta/scalafmt/issues/3846)) [@kitbellew](https://togithub.com/kitbellew) - RemoveScala3OptionalBraces: allow leading infix op ([#3840](https://togithub.com/scalameta/scalafmt/issues/3840)) [@kitbellew](https://togithub.com/kitbellew) - RedundantBraces: fix "moving" braces around func ([#3834](https://togithub.com/scalameta/scalafmt/issues/3834)) [@kitbellew](https://togithub.com/kitbellew) - FormatTokensRewrite: ScalafmtConfig in Replacement ([#3838](https://togithub.com/scalameta/scalafmt/issues/3838)) [@kitbellew](https://togithub.com/kitbellew) - FormatTokensRewrite: update claims in `onRight` ([#3835](https://togithub.com/scalameta/scalafmt/issues/3835)) [@kitbellew](https://togithub.com/kitbellew) - FormatTokensRewrite: "claim" index in `tokens` ([#3830](https://togithub.com/scalameta/scalafmt/issues/3830)) [@kitbellew](https://togithub.com/kitbellew) - FormatTokensRewrite: move Rule into Replacement ([#3828](https://togithub.com/scalameta/scalafmt/issues/3828)) [@kitbellew](https://togithub.com/kitbellew) - FormatTokensRewrite: keep each token's replacement ([#3827](https://togithub.com/scalameta/scalafmt/issues/3827)) [@kitbellew](https://togithub.com/kitbellew) - FormatTokensRewrite: sort rule factories ([#3826](https://togithub.com/scalameta/scalafmt/issues/3826)) [@kitbellew](https://togithub.com/kitbellew) - FormatWriter: mind rewritten tokens for {} -> () ([#3822](https://togithub.com/scalameta/scalafmt/issues/3822)) [@kitbellew](https://togithub.com/kitbellew) - FormatTokensRewrite: include all rules in Session ([#3816](https://togithub.com/scalameta/scalafmt/issues/3816)) [@kitbellew](https://togithub.com/kitbellew) - RemoveScala3OptionalBraces: move next token check ([#3814](https://togithub.com/scalameta/scalafmt/issues/3814)) [@kitbellew](https://togithub.com/kitbellew) - RewriteScala3Settings: expand RemoveOptionalBraces ([#3813](https://togithub.com/scalameta/scalafmt/issues/3813)) [@kitbellew](https://togithub.com/kitbellew) - FormatTokensRewrite: add `createIfRequested()` ([#3808](https://togithub.com/scalameta/scalafmt/issues/3808)) [@kitbellew](https://togithub.com/kitbellew) - SortSettings: implement the `styleGuide` preset ([#3797](https://togithub.com/scalameta/scalafmt/issues/3797)) [@kitbellew](https://togithub.com/kitbellew) - SortSettings: add `erased` ([#3796](https://togithub.com/scalameta/scalafmt/issues/3796)) [@kitbellew](https://togithub.com/kitbellew) #### Bug fixes - Scalameta: upgrade to v4.9.3 ([#3875](https://togithub.com/scalameta/scalafmt/issues/3875)) [@kitbellew](https://togithub.com/kitbellew) - Scalameta: upgrade to v4.9.2 ([#3839](https://togithub.com/scalameta/scalafmt/issues/3839)) [@kitbellew](https://togithub.com/kitbellew) #### Miscellaneous - Docs: use parens, not brackets for `since vX.Y.Z` ([#3873](https://togithub.com/scalameta/scalafmt/issues/3873)) [@kitbellew](https://togithub.com/kitbellew) - Docs: mention version for `fewerBracesMin/MaxSpan` ([#3872](https://togithub.com/scalameta/scalafmt/issues/3872)) [@kitbellew](https://togithub.com/kitbellew) - Replace scalafiddle reference with scastie ([#3843](https://togithub.com/scalameta/scalafmt/issues/3843)) [@sake92](https://togithub.com/sake92) - LoggerOps: use Token.structure for logging ([#3850](https://togithub.com/scalameta/scalafmt/issues/3850)) [@kitbellew](https://togithub.com/kitbellew) - FormatOps: simplify `functionExpire` ([#3841](https://togithub.com/scalameta/scalafmt/issues/3841)) [@kitbellew](https://togithub.com/kitbellew) - FormatTokens: modify getHead/getLast ([#3837](https://togithub.com/scalameta/scalafmt/issues/3837)) [@kitbellew](https://togithub.com/kitbellew) - TreeOps: extract both braces in SingleArgInBraces ([#3836](https://togithub.com/scalameta/scalafmt/issues/3836)) [@kitbellew](https://togithub.com/kitbellew) - FormatTokens: add nextNonCommentAfter ([#3833](https://togithub.com/scalameta/scalafmt/issues/3833)) [@kitbellew](https://togithub.com/kitbellew) - FormatTokens: import TokenOps.\_ ([#3832](https://togithub.com/scalameta/scalafmt/issues/3832)) [@kitbellew](https://togithub.com/kitbellew) - FormatTokens: getDelimsIfEnclosed ([#3831](https://togithub.com/scalameta/scalafmt/issues/3831)) [@kitbellew](https://togithub.com/kitbellew) - DynamicSuite: test newer versions without problems ([#3823](https://togithub.com/scalameta/scalafmt/issues/3823)) [@kitbellew](https://togithub.com/kitbellew) - `:` could be from the single term in ArgClause ([#3805](https://togithub.com/scalameta/scalafmt/issues/3805)) [@kitbellew](https://togithub.com/kitbellew) - TreeOps: in SingleArgInBraces, check rewrites ([#3809](https://togithub.com/scalameta/scalafmt/issues/3809)) [@kitbellew](https://togithub.com/kitbellew) - FormatOps: pass FormatTokens as implicit ([#3807](https://togithub.com/scalameta/scalafmt/issues/3807)) [@kitbellew](https://togithub.com/kitbellew) - TreeOps: add `isEmptyTree` and function body ([#3806](https://togithub.com/scalameta/scalafmt/issues/3806)) [@kitbellew](https://togithub.com/kitbellew) - `}` could be from a block arg or splice ([#3804](https://togithub.com/scalameta/scalafmt/issues/3804)) [@kitbellew](https://togithub.com/kitbellew) - FormatWriter: fix top-level identification logic ([#3802](https://togithub.com/scalameta/scalafmt/issues/3802)) [@kitbellew](https://togithub.com/kitbellew) - ScalafmtConfig: use Sbt dialect for .sbt files ([#3795](https://togithub.com/scalameta/scalafmt/issues/3795)) [@kitbellew](https://togithub.com/kitbellew) - Documentation: add min version for `styleGuide` ([#3798](https://togithub.com/scalameta/scalafmt/issues/3798)) [@kitbellew](https://togithub.com/kitbellew) - Scalafmt: use .forSbt for .sbt files only ([#3792](https://togithub.com/scalameta/scalafmt/issues/3792)) [@kitbellew](https://togithub.com/kitbellew) - Scalafmt: remove unused methods ([#3791](https://togithub.com/scalameta/scalafmt/issues/3791)) [@kitbellew](https://togithub.com/kitbellew) - SortSettings: create a variable for each modifier ([#3793](https://togithub.com/scalameta/scalafmt/issues/3793)) [@kitbellew](https://togithub.com/kitbellew) - Documentation: expand section on `SortModifiers` ([#3794](https://togithub.com/scalameta/scalafmt/issues/3794)) [@kitbellew](https://togithub.com/kitbellew) #### Dependency updates - Update scala-library, scala-reflect to 2.13.13 ([#3818](https://togithub.com/scalameta/scalafmt/issues/3818)) [@scalameta-bot](https://togithub.com/scalameta-bot) - Update scalafmt-core to 3.8.0 ([#3820](https://togithub.com/scalameta/scalafmt/issues/3820)) [@scalameta-bot](https://togithub.com/scalameta-bot) - Update scalameta, testkit to 4.9.1 ([#3821](https://togithub.com/scalameta/scalafmt/issues/3821)) [@scalameta-bot](https://togithub.com/scalameta-bot) - Update sbt to 1.9.9 ([#3819](https://togithub.com/scalameta/scalafmt/issues/3819)) [@scalameta-bot](https://togithub.com/scalameta-bot) - Update scala-library, scala-reflect to 2.12.19 ([#3817](https://togithub.com/scalameta/scalafmt/issues/3817)) [@scalameta-bot](https://togithub.com/scalameta-bot) - Bump release-drafter/release-drafter from 5 to 6 ([#3803](https://togithub.com/scalameta/scalafmt/issues/3803)) [@dependabot](https://togithub.com/dependabot) ### [`v3.8.0`](https://togithub.com/scalameta/scalafmt/releases/tag/v3.8.0) [Compare Source](https://togithub.com/scalameta/scalafmt/compare/v3.7.17...v3.8.0) #### Features - ConvertToNewScala3Syntax: use the new granular parameter ([#3735](https://togithub.com/scalameta/scalafmt/issues/3735)) [@kitbellew](https://togithub.com/kitbellew) - [#3712](https://togithub.com/scalameta/scalafmt/issues/3712) - AvoidInfixSettings: use scalatest ops in test only ([#3739](https://togithub.com/scalameta/scalafmt/issues/3739)) [@kitbellew](https://togithub.com/kitbellew) - AvoidInfixSettings: relax `forSbtOpt` append rule ([#3737](https://togithub.com/scalameta/scalafmt/issues/3737)) [@kitbellew](https://togithub.com/kitbellew) - ProjectFiles: detect if source is test in Layout ([#3738](https://togithub.com/scalameta/scalafmt/issues/3738)) [@kitbellew](https://togithub.com/kitbellew) - RewriteSettings: rename `forSbt` to `forSbtOpt` ([#3719](https://togithub.com/scalameta/scalafmt/issues/3719)) [@kitbellew](https://togithub.com/kitbellew) - AvoidInfixSettings: refactor defaults ([#3718](https://togithub.com/scalameta/scalafmt/issues/3718)) [@kitbellew](https://togithub.com/kitbellew) - AvoidInfixSettings: add `behavior.of` to default ([#3711](https://togithub.com/scalameta/scalafmt/issues/3711)) [@kitbellew](https://togithub.com/kitbellew) - AvoidInfixSettings: consolidate AvoidInfix params ([#3717](https://togithub.com/scalameta/scalafmt/issues/3717)) [@kitbellew](https://togithub.com/kitbellew) - StandardProjectLayoutTest: rename to fix typo ([#3716](https://togithub.com/scalameta/scalafmt/issues/3716)) [@kitbellew](https://togithub.com/kitbellew) - ProjectFiles: shorten len in recursive getLang ([#3715](https://togithub.com/scalameta/scalafmt/issues/3715)) [@kitbellew](https://togithub.com/kitbellew) - ProjectFiles: implement Layout.withLang ([#3714](https://togithub.com/scalameta/scalafmt/issues/3714)) [@kitbellew](https://togithub.com/kitbellew) - ProjectFiles: refactor getting parent dirs ([#3713](https://togithub.com/scalameta/scalafmt/issues/3713)) [@kitbellew](https://togithub.com/kitbellew) - NeverInfixPattern: allow to match lhs as well ([#3705](https://togithub.com/scalameta/scalafmt/issues/3705)) [@kitbellew](https://togithub.com/kitbellew) - StandardProjectLayoutTest: add tests ([#3706](https://togithub.com/scalameta/scalafmt/issues/3706)) [@kitbellew](https://togithub.com/kitbellew) - AbsoluteFile: add `apply(String*)` ([#3708](https://togithub.com/scalameta/scalafmt/issues/3708)) [@kitbellew](https://togithub.com/kitbellew) - NeverInfixPattern: implement own matching method ([#3704](https://togithub.com/scalameta/scalafmt/issues/3704)) [@kitbellew](https://togithub.com/kitbellew) - AvoidInfix: add tests for `of` ([#3703](https://togithub.com/scalameta/scalafmt/issues/3703)) [@kitbellew](https://togithub.com/kitbellew) - NeverInfixPattern: rename from ambiguous `Pattern` ([#3702](https://togithub.com/scalameta/scalafmt/issues/3702)) [@kitbellew](https://togithub.com/kitbellew) - Regex: use pattern.matcher.find, not findFirstIn ([#3701](https://togithub.com/scalameta/scalafmt/issues/3701)) [@kitbellew](https://togithub.com/kitbellew) #### Bug fixes - FormatOps: fix fewer-braces lambda argument ([#3782](https://togithub.com/scalameta/scalafmt/issues/3782)) [@kitbellew](https://togithub.com/kitbellew) - Scalameta: update to 4.9.0 ([#3781](https://togithub.com/scalameta/scalafmt/issues/3781)) [@kitbellew](https://togithub.com/kitbellew) - Contains a number of parsing and interface fixes - TreeOps: define `SingleArgInBraces` tree matcher ([#3776](https://togithub.com/scalameta/scalafmt/issues/3776)) [@kitbellew](https://togithub.com/kitbellew) - RedundantBraces: remove inner braces, not outer ([#3780](https://togithub.com/scalameta/scalafmt/issues/3780)) [@kitbellew](https://togithub.com/kitbellew) - FormatOps: fix `functionExpire` when rewritten ([#3773](https://togithub.com/scalameta/scalafmt/issues/3773)) [@kitbellew](https://togithub.com/kitbellew) - Use Term.FunctionTerm where Term.Function was used ([#3771](https://togithub.com/scalameta/scalafmt/issues/3771)) [@kitbellew](https://togithub.com/kitbellew) - Use an sbt-scalafmt badge that shows the actual latest version ([#3769](https://togithub.com/scalameta/scalafmt/issues/3769)) [@taig](https://togithub.com/taig) - FormatOps: force NL for non-single-expr in finally ([#3761](https://togithub.com/scalameta/scalafmt/issues/3761)) [@kitbellew](https://togithub.com/kitbellew) - RedundantParens: exclude case of trailing commas ([#3750](https://togithub.com/scalameta/scalafmt/issues/3750)) [@kitbellew](https://togithub.com/kitbellew) - RewriteTrailingCommas/RedundantParens: collaborate ([#3760](https://togithub.com/scalameta/scalafmt/issues/3760)) [@kitbellew](https://togithub.com/kitbellew) - TreeOps: relax when trailing comma paren possible ([#3755](https://togithub.com/scalameta/scalafmt/issues/3755)) [@kitbellew](https://togithub.com/kitbellew) - FormatOps: set indent correctly for enclosed body ([#3754](https://togithub.com/scalameta/scalafmt/issues/3754)) [@kitbellew](https://togithub.com/kitbellew) - Add tests with trailing commas in tuple ([#3759](https://togithub.com/scalameta/scalafmt/issues/3759)) [@kitbellew](https://togithub.com/kitbellew) - FormatOps: in getArgs, optionally return Nil ([#3756](https://togithub.com/scalameta/scalafmt/issues/3756)) [@kitbellew](https://togithub.com/kitbellew) - FormatTokensRewrite: claim current token as well ([#3753](https://togithub.com/scalameta/scalafmt/issues/3753)) [@kitbellew](https://togithub.com/kitbellew) - FormatTokensRewrite: create Session, pass around ([#3752](https://togithub.com/scalameta/scalafmt/issues/3752)) [@kitbellew](https://togithub.com/kitbellew) - FormatOps: outindent after fewer braces in infix ([#3740](https://togithub.com/scalameta/scalafmt/issues/3740)) [@kitbellew](https://togithub.com/kitbellew) - Scalameta: update to v4.8.15 ([#3741](https://togithub.com/scalameta/scalafmt/issues/3741)) [@kitbellew](https://togithub.com/kitbellew) - bugfix: Show exception from path matcher correctly ([#3729](https://togithub.com/scalameta/scalafmt/issues/3729)) [@tgodzik](https://togithub.com/tgodzik) - FormatWriter: fix end marker handling ([#3734](https://togithub.com/scalameta/scalafmt/issues/3734)) [@kitbellew](https://togithub.com/kitbellew) #### Miscellaneous - FormatOps: inline `opensConfigStyle{,Classic}` ([#3784](https://togithub.com/scalameta/scalafmt/issues/3784)) [@kitbellew](https://togithub.com/kitbellew) - FormatOps: getMustDangleForTrailingCommas(Token) ([#3783](https://togithub.com/scalameta/scalafmt/issues/3783)) [@kitbellew](https://togithub.com/kitbellew) - RedundantBraces: processBlock never called on `}` ([#3779](https://togithub.com/scalameta/scalafmt/issues/3779)) [@kitbellew](https://togithub.com/kitbellew) - RedundantBraces: add `canRewriteXyzWithParens` ([#3778](https://togithub.com/scalameta/scalafmt/issues/3778)) [@kitbellew](https://togithub.com/kitbellew) - RedundantBraces: extract method checking line span ([#3777](https://togithub.com/scalameta/scalafmt/issues/3777)) [@kitbellew](https://togithub.com/kitbellew) - FormatWriter: check stats in top-level handling ([#3775](https://togithub.com/scalameta/scalafmt/issues/3775)) [@kitbellew](https://togithub.com/kitbellew) - TreeOps: use DRY in checking function in braces ([#3774](https://togithub.com/scalameta/scalafmt/issues/3774)) [@kitbellew](https://togithub.com/kitbellew) - TreeOps: add method `isParentAnApply` ([#3772](https://togithub.com/scalameta/scalafmt/issues/3772)) [@kitbellew](https://togithub.com/kitbellew) - FormatTests: improve idempotency and other errors ([#3770](https://togithub.com/scalameta/scalafmt/issues/3770)) [@kitbellew](https://togithub.com/kitbellew) - FormatTests: check AST only if result is parsable ([#3758](https://togithub.com/scalameta/scalafmt/issues/3758)) [@kitbellew](https://togithub.com/kitbellew) - FormatTests: ease check when test fails to parse ([#3757](https://togithub.com/scalameta/scalafmt/issues/3757)) [@kitbellew](https://togithub.com/kitbellew) - FormatTokens: add prevNonCommentSameLineBefore ([#3751](https://togithub.com/scalameta/scalafmt/issues/3751)) [@kitbellew](https://togithub.com/kitbellew) - FormatTests: improve asserting idempotency failure ([#3736](https://togithub.com/scalameta/scalafmt/issues/3736)) [@kitbellew](https://togithub.com/kitbellew) - Docs: increase `maxColumn` to showcase alignment ([#3733](https://togithub.com/scalameta/scalafmt/issues/3733)) [@kitbellew](https://togithub.com/kitbellew) - improvement: Warn users not to use an example config without discussion ([#3710](https://togithub.com/scalameta/scalafmt/issues/3710)) [@tgodzik](https://togithub.com/tgodzik) #### Depedency updates - Update mdoc, mdoc-parser, sbt-mdoc to 2.5.2 ([#3768](https://togithub.com/scalameta/scalafmt/issues/3768)) [@scalameta-bot](https://togithub.com/scalameta-bot) - Update sbt-jmh to 0.4.7 ([#3749](https://togithub.com/scalameta/scalafmt/issues/3749)) [@scalameta-bot](https://togithub.com/scalameta-bot) - Update sbt to 1.9.8 ([#3748](https://togithub.com/scalameta/scalafmt/issues/3748)) [@scalameta-bot](https://togithub.com/scalameta-bot) - Update sbt-scalajs to 1.15.0 ([#3747](https://togithub.com/scalameta/scalafmt/issues/3747)) [@scalameta-bot](https://togithub.com/scalameta-bot) - Bump actions/download-artifact from 3 to 4 ([#3742](https://togithub.com/scalameta/scalafmt/issues/3742)) [@dependabot](https://togithub.com/dependabot) - Update scalafmt-core to 3.7.17 ([#3726](https://togithub.com/scalameta/scalafmt/issues/3726)) [@scalameta-bot](https://togithub.com/scalameta-bot) - Update mdoc-parser to 2.5.1 ([#3725](https://togithub.com/scalameta/scalafmt/issues/3725)) [@scalameta-bot](https://togithub.com/scalameta-bot) - Update mdoc, sbt-mdoc to 2.5.1 ([#3724](https://togithub.com/scalameta/scalafmt/issues/3724)) [@scalameta-bot](https://togithub.com/scalameta-bot) - Update sbt-assembly to 2.1.5 ([#3723](https://togithub.com/scalameta/scalafmt/issues/3723)) [@scalameta-bot](https://togithub.com/scalameta-bot) - Bump actions/setup-java from 3 to 4 ([#3721](https://togithub.com/scalameta/scalafmt/issues/3721)) [@dependabot](https://togithub.com/dependabot) ### [`v3.7.17`](https://togithub.com/scalameta/scalafmt/releases/tag/v3.7.17) [Compare Source](https://togithub.com/scalameta/scalafmt/compare/v3.7.16...v3.7.17) #### Bug fixes - Cli: version is necessary, may not be sufficient ([#3696](https://togithub.com/scalameta/scalafmt/issues/3696)) [@kitbellew](https://togithub.com/kitbellew) - Scalameta: update to v4.8.14 ([#3695](https://togithub.com/scalameta/scalafmt/issues/3695)) [@kitbellew](https://togithub.com/kitbellew) - ScalafmtReflect: lazily load obsolete class ([#3690](https://togithub.com/scalameta/scalafmt/issues/3690)) [@kitbellew](https://togithub.com/kitbellew) - DynamicSuite: test nightly version via local build ([#3691](https://togithub.com/scalameta/scalafmt/issues/3691)) [@kitbellew](https://togithub.com/kitbellew) ### [`v3.7.16`](https://togithub.com/scalameta/scalafmt/releases/tag/v3.7.16) [Compare Source](https://togithub.com/scalameta/scalafmt/compare/v3.7.15...v3.7.16) #### Features - YML: Add java21 to the build ([#3687](https://togithub.com/scalameta/scalafmt/issues/3687)) [@kitbellew](https://togithub.com/kitbellew) #### Bug fixes - Scalameta: update to v4.8.13 ([#3686](https://togithub.com/scalameta/scalafmt/issues/3686)) [@kitbellew](https://togithub.com/kitbellew) - MarkdownParser: add formatter using mdoc parser ([#3684](https://togithub.com/scalameta/scalafmt/issues/3684)) [@kitbellew](https://togithub.com/kitbellew) - InputMethod: check for empty diff ([#3683](https://togithub.com/scalameta/scalafmt/issues/3683)) [@kitbellew](https://togithub.com/kitbellew) - ConfParsed: don't mask parsing/retrieval errors ([#3681](https://togithub.com/scalameta/scalafmt/issues/3681)) [@kitbellew](https://togithub.com/kitbellew) #### Miscellaneous - YML: Make java11 primary, remove java8 ([#3685](https://togithub.com/scalameta/scalafmt/issues/3685)) [@kitbellew](https://togithub.com/kitbellew) - Error: include doc url in SearchStateExploded msg ([#3682](https://togithub.com/scalameta/scalafmt/issues/3682)) [@kitbellew](https://togithub.com/kitbellew) - Config: move all methods into ScalafmtConfig ([#3680](https://togithub.com/scalameta/scalafmt/issues/3680)) [@kitbellew](https://togithub.com/kitbellew) #### Dependency updates - Update typesafe:config to 1.4.3 ([#3677](https://togithub.com/scalameta/scalafmt/issues/3677)) [@scalameta-bot](https://togithub.com/scalameta-bot) - Update scalafmt-core to 3.7.15 ([#3679](https://togithub.com/scalameta/scalafmt/issues/3679)) [@scalameta-bot](https://togithub.com/scalameta-bot) - Update sbt to 1.9.7 ([#3678](https://togithub.com/scalameta/scalafmt/issues/3678)) [@scalameta-bot](https://togithub.com/scalameta-bot) - Update sbt-assembly to 2.1.4 ([#3676](https://togithub.com/scalameta/scalafmt/issues/3676)) [@scalameta-bot](https://togithub.com/scalameta-bot) ### [`v3.7.15`](https://togithub.com/scalameta/scalafmt/releases/tag/v3.7.15) [Compare Source](https://togithub.com/scalameta/scalafmt/compare/v3.7.14...v3.7.15) #### Bug fixes - RewriteTrailingCommas: allow tuples as well ([#3665](https://togithub.com/scalameta/scalafmt/issues/3665)) [@kitbellew](https://togithub.com/kitbellew) - FormatOps: fix Defn as optional braces block ([#3658](https://togithub.com/scalameta/scalafmt/issues/3658)) [@kitbellew](https://togithub.com/kitbellew) - Scalafmt: don't parse shebang line as scala ([#3657](https://togithub.com/scalameta/scalafmt/issues/3657)) [@kitbellew](https://togithub.com/kitbellew) - ScalafmtConfig: fix withoutRewrites ([#3654](https://togithub.com/scalameta/scalafmt/issues/3654)) [@kitbellew](https://togithub.com/kitbellew) #### Miscellaneous - TokenClasses: don't use classifiers ([#3667](https://togithub.com/scalameta/scalafmt/issues/3667)) [@kitbellew](https://togithub.com/kitbellew) - Scalafmt: handle empty code differently ([#3656](https://togithub.com/scalameta/scalafmt/issues/3656)) [@kitbellew](https://togithub.com/kitbellew) - HasTests: locations could be null ([#3655](https://togithub.com/scalameta/scalafmt/issues/3655)) [@kitbellew](https://togithub.com/kitbellew) - Add a full structure test for intermittent failure ([#3635](https://togithub.com/scalameta/scalafmt/issues/3635)) [@kitbellew](https://togithub.com/kitbellew) - CliArgParser: clarify `--stdin` description ([#3633](https://togithub.com/scalameta/scalafmt/issues/3633)) [@kitbellew](https://togithub.com/kitbellew) #### Dependency updates - Scalameta: update to v4.8.12 ([#3666](https://togithub.com/scalameta/scalafmt/issues/3666)) [@kitbellew](https://togithub.com/kitbellew) - Update: metaconfig to v0.12.0, mdoc to v2.4.0 ([#3668](https://togithub.com/scalameta/scalafmt/issues/3668)) [@kitbellew](https://togithub.com/kitbellew) - Update sbt-scalajs to 1.14.0 ([#3648](https://togithub.com/scalameta/scalafmt/issues/3648)) [@scalameta-bot](https://togithub.com/scalameta-bot) - Update sbt-assembly to 2.1.3 ([#3647](https://togithub.com/scalameta/scalafmt/issues/3647)) [@scalameta-bot](https://togithub.com/scalameta-bot) - Update sbt to 1.9.6 ([#3650](https://togithub.com/scalameta/scalafmt/issues/3650)) [@scalameta-bot](https://togithub.com/scalameta-bot) - Update scalafmt-core to 3.7.14 ([#3651](https://togithub.com/scalameta/scalafmt/issues/3651)) [@scalameta-bot](https://togithub.com/scalameta-bot) - Update sbt-jmh to 0.4.6 ([#3652](https://togithub.com/scalameta/scalafmt/issues/3652)) [@scalameta-bot](https://togithub.com/scalameta-bot) - Bump docker/metadata-action from 4 to 5 ([#3646](https://togithub.com/scalameta/scalafmt/issues/3646)) [@dependabot](https://togithub.com/dependabot) - Bump docker/login-action from 2 to 3 ([#3645](https://togithub.com/scalameta/scalafmt/issues/3645)) [@dependabot](https://togithub.com/dependabot) - Bump docker/build-push-action from 4 to 5 ([#3644](https://togithub.com/scalameta/scalafmt/issues/3644)) [@dependabot](https://togithub.com/dependabot) - Bump actions/checkout from 3 to 4 ([#3643](https://togithub.com/scalameta/scalafmt/issues/3643)) [@dependabot](https://togithub.com/dependabot) - Scalameta: update to v4.8.11 ([#3640](https://togithub.com/scalameta/scalafmt/issues/3640)) [@kitbellew](https://togithub.com/kitbellew) ### [`v3.7.14`](https://togithub.com/scalameta/scalafmt/releases/tag/v3.7.14) [Compare Source](https://togithub.com/scalameta/scalafmt/compare/v3.7.13...v3.7.14) #### Bug fixes - FormatOps: fewer-braces func not just in apply ([#3624](https://togithub.com/scalameta/scalafmt/issues/3624)) [@kitbellew](https://togithub.com/kitbellew) - Update scalameta, testkit to 4.8.10 ([#3628](https://togithub.com/scalameta/scalafmt/issues/3628)) [@scalameta-bot](https://togithub.com/scalameta-bot) #### Dependency updates - Update scalafmt-core to 3.7.13 ([#3627](https://togithub.com/scalameta/scalafmt/issues/3627)) [@scalameta-bot](https://togithub.com/scalameta-bot) - Update sbt-scalafmt to 2.5.2 ([#3626](https://togithub.com/scalameta/scalafmt/issues/3626)) [@scalameta-bot](https://togithub.com/scalameta-bot) - Update sbt to 1.9.4 ([#3625](https://togithub.com/scalameta/scalafmt/issues/3625)) [@scalameta-bot](https://togithub.com/scalameta-bot) ### [`v3.7.13`](https://togithub.com/scalameta/scalafmt/releases/tag/v3.7.13) [Compare Source](https://togithub.com/scalameta/scalafmt/compare/v3.7.12...v3.7.13) #### Features - Interfaces: add credentials to public interface ([#3620](https://togithub.com/scalameta/scalafmt/issues/3620)) [@kitbellew](https://togithub.com/kitbellew) - PolicyOps: use `newlines.ignoreInSyntax` ([#3613](https://togithub.com/scalameta/scalafmt/issues/3613)) [@kitbellew](https://togithub.com/kitbellew) - Router: implement `spaces.beforeXxxArgInParens` ([#3612](https://togithub.com/scalameta/scalafmt/issues/3612)) [@kitbellew](https://togithub.com/kitbellew) - FormatWriter: implement `align.delayUntilSpace` ([#3616](https://togithub.com/scalameta/scalafmt/issues/3616)) [@kitbellew](https://togithub.com/kitbellew) #### Bug fixes - FormatWriter: accumulate align shift correctly ([#3615](https://togithub.com/scalameta/scalafmt/issues/3615)) [@kitbellew](https://togithub.com/kitbellew) #### Miscellaneous - Installation: document COURSIER_REPOSITORIES ([#3621](https://togithub.com/scalameta/scalafmt/issues/3621)) [@kitbellew](https://togithub.com/kitbellew) - Update installation.md: avoid obsolete sbt shell syntax ([#3619](https://togithub.com/scalameta/scalafmt/issues/3619)) [@SethTisue](https://togithub.com/SethTisue) - TreeOps: remove isDefDef, use Member.ParamClause ([#3611](https://togithub.com/scalameta/scalafmt/issues/3611)) [@kitbellew](https://togithub.com/kitbellew) - Router: refactor modification before `(` ([#3610](https://togithub.com/scalameta/scalafmt/issues/3610)) [@kitbellew](https://togithub.com/kitbellew) - ScalafmtConfig: display validation errors clearer ([#3609](https://togithub.com/scalameta/scalafmt/issues/3609)) [@kitbellew](https://togithub.com/kitbellew) - FormatWriter: FormatLocations.iterate to foreach ([#3606](https://togithub.com/scalameta/scalafmt/issues/3606)) [@kitbellew](https://togithub.com/kitbellew) - FormatWriter: append to empty align block ([#3605](https://togithub.com/scalameta/scalafmt/issues/3605)) [@kitbellew](https://togithub.com/kitbellew) #### Dependency updates - Scalameta: upgrade to v4.8.9 ([#3622](https://togithub.com/scalameta/scalafmt/issues/3622)) [@kitbellew](https://togithub.com/kitbellew) - Scalameta: upgrade to v4.8.8 ([#3617](https://togithub.com/scalameta/scalafmt/issues/3617)) [@kitbellew](https://togithub.com/kitbellew) ### [`v3.7.12`](https://togithub.com/scalameta/scalafmt/releases/tag/v3.7.12) [Compare Source](https://togithub.com/scalameta/scalafmt/compare/v3.7.11...v3.7.12) #### Bug fixes - Scalameta: upgrade to [v4.8.7](https://togithub.com/scalameta/scalameta/releases/tag/v4.8.7) ([#3604](https://togithub.com/scalameta/scalafmt/issues/3604)) [@kitbellew](https://togithub.com/kitbellew) - Fixed typo in configuration.md ([#3595](https://togithub.com/scalameta/scalafmt/issues/3595)) [@ThinkDumbIndustries](https://togithub.com/ThinkDumbIndustries) #### Miscellaneous - Router: handle self-type whether it ends in `=>` ([#3602](https://togithub.com/scalameta/scalafmt/issues/3602)) [@kitbellew](https://togithub.com/kitbellew) - FormatTokens: use Either.merge ([#3596](https://togithub.com/scalameta/scalafmt/issues/3596)) [@kitbellew](https://togithub.com/kitbellew) #### Dependency updates - Update sbt-scalajs-crossproject to 1.3.2 ([#3599](https://togithub.com/scalameta/scalafmt/issues/3599)) [@scalameta-bot](https://togithub.com/scalameta-bot) - Update scalafmt-core to 3.7.11 ([#3601](https://togithub.com/scalameta/scalafmt/issues/3601)) [@scalameta-bot](https://togithub.com/scalameta-bot) - Update sbt to 1.9.3 ([#3600](https://togithub.com/scalameta/scalafmt/issues/3600)) [@scalameta-bot](https://togithub.com/scalameta-bot) - Update sbt-mima-plugin to 1.1.3 ([#3598](https://togithub.com/scalameta/scalafmt/issues/3598)) [@scalameta-bot](https://togithub.com/scalameta-bot) ### [`v3.7.11`](https://togithub.com/scalameta/scalafmt/releases/tag/v3.7.11) [Compare Source](https://togithub.com/scalameta/scalafmt/compare/v3.7.10...v3.7.11) #### Bug fixes - Scalameta: upgrade to v4.8.6 ([#3594](https://togithub.com/scalameta/scalafmt/issues/3594)) [@kitbellew](https://togithub.com/kitbellew) - Indents: ignore fewerBraces if indentation is 1 ([#3592](https://togithub.com/scalameta/scalafmt/issues/3592)) [@kitbellew](https://togithub.com/kitbellew) #### Miscellaneous - Remove use of deprecated PlatformTokenizerCache ([#3593](https://togithub.com/scalameta/scalafmt/issues/3593)) [@kitbellew](https://togithub.com/kitbellew) ### [`v3.7.10`](https://togithub.com/scalameta/scalafmt/releases/tag/v3.7.10) [Compare Source](https://togithub.com/scalameta/scalafmt/compare/v3.7.9...v3.7.10) #### Bug fixes - Scalameta: upgrade to v4.8.5 ([#3588](https://togithub.com/scalameta/scalafmt/issues/3588)) [@kitbellew](https://togithub.com/kitbellew) ### [`v3.7.9`](https://togithub.com/scalameta/scalafmt/releases/tag/v3.7.9) [Compare Source](https://togithub.com/scalameta/scalafmt/compare/v3.7.8...v3.7.9) #### Bug fixes - Scalameta: upgrade to v4.8.4 ([#3587](https://togithub.com/scalameta/scalafmt/issues/3587)) [@kitbellew](https://togithub.com/kitbellew) - StyleMap: show comment with rewrite rules at odds ([#3586](https://togithub.com/scalameta/scalafmt/issues/3586)) [@kitbellew](https://togithub.com/kitbellew) - FormatAssertions: fail when parsing errors out ([#3585](https://togithub.com/scalameta/scalafmt/issues/3585)) [@kitbellew](https://togithub.com/kitbellew) ### [`v3.7.8`](https://togithub.com/scalameta/scalafmt/releases/tag/v3.7.8) [Compare Source](https://togithub.com/scalameta/scalafmt/compare/v3.7.7...v3.7.8) #### Bug fixes - Scalameta: upgrade to v4.8.3 ([#3583](https://togithub.com/scalameta/scalafmt/issues/3583)) [@kitbellew](https://togithub.com/kitbellew) - TreeOps: skip empty types in defDefReturnType ([#3584](https://togithub.com/scalameta/scalafmt/issues/3584)) [@kitbellew](https://togithub.com/kitbellew) - Router: use template to break before `extends` ([#3581](https://togithub.com/scalameta/scalafmt/issues/3581)) [@kitbellew](https://togithub.com/kitbellew) - FormatOps: handle if with rewritten braces around ([#3578](https://togithub.com/scalameta/scalafmt/issues/3578)) [@kitbellew](https://togithub.com/kitbellew) - RemoveScala3OptionalBraces: handle infix on rbrace ([#3576](https://togithub.com/scalameta/scalafmt/issues/3576)) [@kitbellew](https://togithub.com/kitbellew) - FormatOps: refactor getting `else` chain ([#3579](https://togithub.com/scalameta/scalafmt/issues/3579)) [@kitbellew](https://togithub.com/kitbellew) #### Miscellaneous - Router: extract template to handle `extends` ([#3582](https://togithub.com/scalameta/scalafmt/issues/3582)) [@kitbellew](https://togithub.com/kitbellew) - FormatOps: use getLastTokenOpt, add getHeadToken ([#3577](https://togithub.com/scalameta/scalafmt/issues/3577)) [@kitbellew](https://togithub.com/kitbellew) - Move match as infix lhs test to all OptionalBraces ([#3575](https://togithub.com/scalameta/scalafmt/issues/3575)) [@kitbellew](https://togithub.com/kitbellew) ### [`v3.7.7`](https://togithub.com/scalameta/scalafmt/releases/tag/v3.7.7) [Compare Source](https://togithub.com/scalameta/scalafmt/compare/v3.7.6...v3.7.7) #### Bug fixes - Scalameta: update to v4.8.2 ([#3574](https://togithub.com/scalameta/scalafmt/issues/3574)) [@kitbellew](https://togithub.com/kitbellew) - RemoveScala3OptionalBraces: not match if infix lhs ([#3573](https://togithub.com/scalameta/scalafmt/issues/3573)) [@kitbellew](https://togithub.com/kitbellew) ### [`v3.7.6`](https://togithub.com/scalameta/scalafmt/releases/tag/v3.7.6) [Compare Source](https://togithub.com/scalameta/scalafmt/compare/v3.7.5...v3.7.6) #### Bug fixes - Scalameta: update to v4.8.1 ([#3571](https://togithub.com/scalameta/scalafmt/issues/3571)) [@kitbellew](https://togithub.com/kitbellew) #### Miscellaneous - Use explicit type annotation in implicit defs ([#3567](https://togithub.com/scalameta/scalafmt/issues/3567)) [@kitbellew](https://togithub.com/kitbellew) #### Version updates - Update sbt-jmh to 0.4.5 ([#3566](https://togithub.com/scalameta/scalafmt/issues/3566)) [@scalameta-bot](https://togithub.com/scalameta-bot) - Update scala-library, scala-reflect to 2.13.11 ([#3563](https://togithub.com/scalameta/scalafmt/issues/3563)) [@scalameta-bot](https://togithub.com/scalameta-bot) - Update scalafmt-core to 3.7.5 ([#3565](https://togithub.com/scalameta/scalafmt/issues/3565)) [@scalameta-bot](https://togithub.com/scalameta-bot) - Update sbt to 1.9.1 ([#3564](https://togithub.com/scalameta/scalafmt/issues/3564)) [@scalameta-bot](https://togithub.com/scalameta-bot) - Update scala-library, scala-reflect to 2.12.18 ([#3562](https://togithub.com/scalameta/scalafmt/issues/3562)) [@scalameta-bot](https://togithub.com/scalameta-bot) - Update sbt-scalajs to 1.13.2 ([#3561](https://togithub.com/scalameta/scalafmt/issues/3561)) [@scalameta-bot](https://togithub.com/scalameta-bot) ### [`v3.7.5`](https://togithub.com/scalameta/scalafmt/releases/tag/v3.7.5) [Compare Source](https://togithub.com/scalameta/scalafmt/compare/v3.7.4...v3.7.5) #### Features - Router: handle parameter `indent.fewerBraces` ([#3557](https://togithub.com/scalameta/scalafmt/issues/3557)) [@kitbellew](https://togithub.com/kitbellew) #### Bug fixes - Router: make sure to indent comments after lambda ([#3556](https://togithub.com/scalameta/scalafmt/issues/3556)) [@kitbellew](https://togithub.com/kitbellew) - Fix proposed version syntax ([#3555](https://togithub.com/scalameta/scalafmt/issues/3555)) [@JD557](https://togithub.com/JD557) #### Version updates - Scalameta: update to [v4.8.0](https://togithub.com/scalameta/scalameta/releases/tag/v4.8.0) ([#3560](https://togithub.com/scalameta/scalafmt/issues/3560)) [@kitbellew](https://togithub.com/kitbellew) ### [`v3.7.4`](https://togithub.com/scalameta/scalafmt/releases/tag/v3.7.4) [Compare Source](https://togithub.com/scalameta/scalafmt/compare/v3.7.3...v3.7.4) #### Bug fixes - [#3546](https://togithub.com/scalameta/scalafmt/issues/3546): SortModifiers: do not sort `using` ([#3547](https://togithub.com/scalameta/scalafmt/issues/3547)) [@kitbellew](https://togithub.com/kitbellew) - [#3540](https://togithub.com/scalameta/scalafmt/issues/3540): RedundantBraces: don't remove parens in Init args ([#3545](https://togithub.com/scalameta/scalafmt/issues/3545)) [@kitbellew](https://togithub.com/kitbellew) - [#3537](https://togithub.com/scalameta/scalafmt/issues/3537): Router: apply fewer braces to new anonymous, too ([#3538](https://togithub.com/scalameta/scalafmt/issues/3538)) [@kitbellew](https://togithub.com/kitbellew) - [#3527](https://togithub.com/scalameta/scalafmt/issues/3527): Router: undo entire indent for fewerBraces ([#3528](https://togithub.com/scalameta/scalafmt/issues/3528)) [@kitbellew](https://togithub.com/kitbellew) #### Miscellaneous - CLI: add instructions when version is missing ([#3544](https://togithub.com/scalameta/scalafmt/issues/3544)) [@kitbellew](https://togithub.com/kitbellew) - Fix docs/configuration.md indentOperator section ([#3525](https://togithub.com/scalameta/scalafmt/issues/3525)) [@ShapelessCat](https://togithub.com/ShapelessCat) - TreeOps: get the whole implicit clause, not values ([#3521](https://togithub.com/scalameta/scalafmt/issues/3521)) [@kitbellew](https://togithub.com/kitbellew) - Docs: clarify implicitParamListModifierForce ([#3523](https://togithub.com/scalameta/scalafmt/issues/3523)) [@kitbellew](https://togithub.com/kitbellew) - PolicyOps: pass rank to SingleLineBlock ([#3522](https://togithub.com/scalameta/scalafmt/issues/3522)) [@kitbellew](https://togithub.com/kitbellew) - Use Resolver.sonatypeOssRepos instead of Resolver.sonatypeRepo ([#3519](https://togithub.com/scalameta/scalafmt/issues/3519)) [@kitbellew](https://togithub.com/kitbellew) #### Dependency updates - Scalameta: update to v4.7.8 ([#3551](https://togithub.com/scalameta/scalafmt/issues/3551)) [@kitbellew](https://togithub.com/kitbellew) - Update sbt-native-image to 0.3.4 ([#3550](https://togithub.com/scalameta/scalafmt/issues/3550)) [@scalameta-bot](https://togithub.com/scalameta-bot) - Update sbt to 1.8.3 ([#3549](https://togithub.com/scalameta/scalafmt/issues/3549)) [@scalameta-bot](https://togithub.com/scalameta-bot) - Update sbt-ci-release to 1.5.12 ([#3548](https://togithub.com/scalameta/scalafmt/issues/3548)) [@scalameta-bot](https://togithub.com/scalameta-bot) - Update sbt-scalajs to 1.13.1 ([#3533](https://togithub.com/scalameta/scalafmt/issues/3533)) [@scalameta-bot](https://togithub.com/scalameta-bot) - Update sbt-scalajs-crossproject to 1.3.1 ([#3532](https://togithub.com/scalameta/scalafmt/issues/3532)) [@scalameta-bot](https://togithub.com/scalameta-bot) - Update scalafmt-core to 3.7.3 ([#3534](https://togithub.com/scalameta/scalafmt/issues/3534)) [@scalameta-bot](https://togithub.com/scalameta-bot) - Update scalameta, testkit to 4.7.7 ([#3535](https://togithub.com/scalameta/scalafmt/issues/3535)) [@scalameta-bot](https://togithub.com/scalameta-bot) - Update sbt-mima-plugin to 1.1.2 ([#3531](https://togithub.com/scalameta/scalafmt/issues/3531)) [@scalameta-bot](https://togithub.com/scalameta-bot) - Bump coursier version to 2.1.2. ([#3530](https://togithub.com/scalameta/scalafmt/issues/3530)) [@lallea](https://togithub.com/lallea) ### [`v3.7.3`](https://togithub.com/scalameta/scalafmt/releases/tag/v3.7.3) [Compare Source](https://togithub.com/scalameta/scalafmt/compare/v3.7.2...v3.7.3) #### Bug fixes - Router: don't add extra indent for fewer braces ([#3518](https://togithub.com/scalameta/scalafmt/issues/3518)) [@kitbellew](https://togithub.com/kitbellew) - Router: indent trailing fewer braces, too ([#3514](https://togithub.com/scalameta/scalafmt/issues/3514)) [@kitbellew](https://togithub.com/kitbellew) - FormatOps: handle `.match` as select + apply ([#3500](https://togithub.com/scalameta/scalafmt/issues/3500)) [@kitbellew](https://togithub.com/kitbellew) - FormatTokensRewrite: allow a rule to claim tokens ([#3513](https://togithub.com/scalameta/scalafmt/issues/3513)) [@kitbellew](https://togithub.com/kitbellew) - FormatOps: fix `verticalMultiline.arityThreshold` ([#3511](https://togithub.com/scalameta/scalafmt/issues/3511)) [@kitbellew](https://togithub.com/kitbellew) - Router: `extension` is probably also a keyword ([#3507](https://togithub.com/scalameta/scalafmt/issues/3507)) [@kitbellew](https://togithub.com/kitbellew) - Router: fix `beforeOpenParenDefnSite = unfold` ([#3506](https://togithub.com/scalameta/scalafmt/issues/3506)) [@kitbellew](https://togithub.com/kitbellew) - FormatOps: force break on multi-stat try blocks ([#3501](https://togithub.com/scalameta/scalafmt/issues/3501)) [@kitbellew](https://togithub.com/kitbellew) #### Other changes - RedundantBraces: move `{` for func body blocks ([#3512](https://togithub.com/scalameta/scalafmt/issues/3512)) [@kitbellew](https://togithub.com/kitbellew) - FormatTokensRewrite: turn Replacement into class ([#3504](https://togithub.com/scalameta/scalafmt/issues/3504)) [@kitbellew](https://togithub.com/kitbellew) - FormatTokensRewrite: refactor applying rules ([#3505](https://togithub.com/scalameta/scalafmt/issues/3505)) [@kitbellew](https://togithub.com/kitbellew) - Fix tests following interaction of [#3506](https://togithub.com/scalameta/scalafmt/issues/3506) and [#3507](https://togithub.com/scalameta/scalafmt/issues/3507) ([#3510](https://togithub.com/scalameta/scalafmt/issues/3510)) [@kitbellew](https://togithub.com/kitbellew) - Router: use FormatToken fields extracted in match ([#3508](https://togithub.com/scalameta/scalafmt/issues/3508)) [@kitbellew](https://togithub.com/kitbellew) - FormatTokensRewrite: import mutable namespace only ([#3503](https://togithub.com/scalameta/scalafmt/issues/3503)) [@kitbellew](https://togithub.com/kitbellew) - Add tests with/without select after `.match` ([#3498](https://togithub.com/scalameta/scalafmt/issues/3498)) [@kitbellew](https://togithub.com/kitbellew) - Router: minor refactor in `.select` handling rule ([#3495](https://togithub.com/scalameta/scalafmt/issues/3495)) [@kitbellew](https://togithub.com/kitbellew) - Add tests with no select after fewer braces apply ([#3494](https://togithub.com/scalameta/scalafmt/issues/3494)) [@kitbellew](https://togithub.com/kitbellew) - Configuration: `fileOverride` is an absolute match ([#3486](https://togithub.com/scalameta/scalafmt/issues/3486)) [@kitbellew](https://togithub.com/kitbellew) #### Dependency updates - Scalameta: upgrade to v4.7.6 ([#3515](https://togithub.com/scalameta/scalafmt/issues/3515)) [@kitbellew](https://togithub.com/kitbellew) - Update sbt-native-packager to 1.9.16 ([#3487](https://togithub.com/scalameta/scalafmt/issues/3487)) [@scalameta-bot](https://togithub.com/scalameta-bot) - Update scalafmt-core to 3.7.2 ([#3488](https://togithub.com/scalameta/scalafmt/issues/3488)) [@scalameta-bot](https://togithub.com/scalameta-bot) ### [`v3.7.2`](https://togithub.com/scalameta/scalafmt/releases/tag/v3.7.2) [Compare Source](https://togithub.com/scalameta/scalafmt/compare/v3.7.1...v3.7.2) #### Features - Support interleaved parameter clauses (mainly vertical multiline) - see [SIP-47](https://togithub.com/scala/improvement-proposals/pull/47) - [Scalameta v4.7.4 Release Notes](https://togithub.com/scalameta/scalameta/releases/tag/v4.7.4) - FormatOps vertical multiline: fix interleaved defs ([#3479](https://togithub.com/scalameta/scalafmt/issues/3479)) [@kitbellew](https://togithub.com/kitbellew) - FormatOps vertical multiline: explicit implicits ([#3478](https://togithub.com/scalameta/scalafmt/issues/3478)) [@kitbellew](https://togithub.com/kitbellew) - TreeOps: fix handling implicit group keyword ([#3474](https://togithub.com/scalameta/scalafmt/issues/3474)) [@kitbellew](https://togithub.com/kitbellew) - FormatOps vertical multiline: one-param implicits ([#3475](https://togithub.com/scalameta/scalafmt/issues/3475)) [@kitbellew](https://togithub.com/kitbellew) - Test non-vert-mult, interleaved, with implicits ([#3477](https://togithub.com/scalameta/scalafmt/issues/3477)) [@kitbellew](https://togithub.com/kitbellew) - Test class definitions with explicit implicits ([#3472](https://togithub.com/scalameta/scalafmt/issues/3472)) [@kitbellew](https://togithub.com/kitbellew) - FormatOps vertical multiline: fix implicit prefer ([#3471](https://togithub.com/scalameta/scalafmt/issues/3471)) [@kitbellew](https://togithub.com/kitbellew) - FormatOps vertical multiline: fix implicit force ([#3469](https://togithub.com/scalameta/scalafmt/issues/3469)) [@kitbellew](https://togithub.com/kitbellew) - FormatOps vertical multiline: improve relay policy ([#3468](https://togithub.com/scalameta/scalafmt/issues/3468)) [@kitbellew](https://togithub.com/kitbellew) - Add tests for interleaved definitions ([#3467](https://togithub.com/scalameta/scalafmt/issues/3467)) [@kitbellew](https://togithub.com/kitbellew) #### Bug fixes - FormatOps: don't support invalid param modifiers ([#3482](https://togithub.com/scalameta/scalafmt/issues/3482)) [@kitbellew](https://togithub.com/kitbellew) - [Scalameta v4.7.5 Release Notes](https://togithub.com/scalameta/scalameta/releases/tag/v4.7.5) - FormatOps: force config style for brackets, too ([#3459](https://togithub.com/scalameta/scalafmt/issues/3459)) [@kitbellew](https://togithub.com/kitbellew) - FormatWriter: rewrite only if format is completed ([#3458](https://togithub.com/scalameta/scalafmt/issues/3458)) [@kitbellew](https://togithub.com/kitbellew) - FormatOps: add extra indent to fewer-braces apply ([#3451](https://togithub.com/scalameta/scalafmt/issues/3451)) [@kitbellew](https://togithub.com/kitbellew) #### Other changes - FormatWriter: remove container from AlignStop ([#3481](https://togithub.com/scalameta/scalafmt/issues/3481)) [@kitbellew](https://togithub.com/kitbellew) - FormatWriter: preallocate the new align columns ([#3480](https://togithub.com/scalameta/scalafmt/issues/3480)) [@kitbellew](https://togithub.com/kitbellew) - TreeOps: use Position.isEmpty ([#3476](https://togithub.com/scalameta/scalafmt/issues/3476)) [@kitbellew](https://togithub.com/kitbellew) - FormatOps: move opensImplicitParamList to TreeOps ([#3473](https://togithub.com/scalameta/scalafmt/issues/3473)) [@kitbellew](https://togithub.com/kitbellew) - Scalameta: don't use deprecated methods (v4.7.4) ([#3461](https://togithub.com/scalameta/scalafmt/issues/3461)) [@kitbellew](https://togithub.com/kitbellew) #### Dependency updates - Scalameta: upgrade to v4.7.5 ([#3484](https://togithub.com/scalameta/scalafmt/issues/3484)) [@kitbellew](https://togithub.com/kitbellew) - Update sbt-native-packager to 1.9.15 ([#3470](https://togithub.com/scalameta/scalafmt/issues/3470)) [@scalameta-bot](https://togithub.com/scalameta-bot) - Update sbt-assembly to 2.1.1 ([#3463](https://togithub.com/scalameta/scalafmt/issues/3463)) [@scalameta-bot](https://togithub.com/scalameta-bot) - Scalameta: upgrade to v4.7.4 ([#3460](https://togithub.com/scalameta/scalafmt/issues/3460)) [@kitbellew](https://togithub.com/kitbellew) - Update sbt-jmh to 0.4.4 ([#3456](https://togithub.com/scalameta/scalafmt/issues/3456)) [@scalameta-bot](https://togithub.com/scalameta-bot) - Update sbt-native-packager to 1.9.14 ([#3452](https://togithub.com/scalameta/scalafmt/issues/3452)) [@scalameta-bot](https://togithub.com/scalameta-bot) - Update sbt-scalajs to 1.13.0 ([#3453](https://togithub.com/scalameta/scalafmt/issues/3453)) [@scalameta-bot](https://togithub.com/scalameta-bot) - Update mdoc, sbt-mdoc to 2.3.7 ([#3454](https://togithub.com/scalameta/scalafmt/issues/3454)) [@scalameta-bot](https://togithub.com/scalameta-bot) - Update scalafmt-core to 3.7.1 ([#3455](https://togithub.com/scalameta/scalafmt/issues/3455)) [@scalameta-bot](https://togithub.com/scalameta-bot) ### [`v3.7.1`](https://togithub.com/scalameta/scalafmt/releases/tag/v3.7.1) [Compare Source](https://togithub.com/scalameta/scalafmt/compare/v3.7.0...v3.7.1) #### Bug fixes - FormatOps: handle fewer braces and refined types ([#3446](https://togithub.com/scalameta/scalafmt/issues/3446)) [@kitbellew](https://togithub.com/kitbellew) - Scalameta: upgrade to 4.7.3 ([#3445](https://togithub.com/scalameta/scalafmt/issues/3445)) [@kitbellew](https://togithub.com/kitbellew) - contains several [parsing bug fixes ](https://togithub.com/scalameta/scalameta/releases/tag/v4.7.3) - RedundantParens: exclude ArgClause under Init ([#3440](https://togithub.com/scalameta/scalafmt/issues/3440)) [@kitbellew](https://togithub.com/kitbellew) #### Other changes - chore: Release scalafmt on JDK 8 ([#3444](https://togithub.com/scalameta/scalafmt/issues/3444)) [@tgodzik](https://togithub.com/tgodzik) ### [`v3.7.0`](https://togithub.com/scalameta/scalafmt/releases/tag/v3.7.0) [Compare Source](https://togithub.com/scalameta/scalafmt/compare/v3.6.1...v3.7.0) #### Scalameta 4.7.x changes - FormatOps: use ArgClause to find folded open paren ([#3425](https://togithub.com/scalameta/scalafmt/issues/3425)) [@kitbellew](https://togithub.com/kitbellew) - TreeOps: replace SplitCallIntoParts with new Tree interfaces ([#3424](https://togithub.com/scalameta/scalafmt/issues/3424)) [@kitbellew](https://togithub.com/kitbellew) - TreeOps: replace SplitAssignIntoParts with new Tree interfaces ([#3421](https://togithub.com/scalameta/scalafmt/issues/3421)) [@kitbellew](https://togithub.com/kitbellew) - Use Member.Infix instead of InfixApp wrapper ([#3419](https://togithub.com/scalameta/scalafmt/issues/3419)) [@kitbellew](https://togithub.com/kitbellew) - Use Member.SyntaxValuesClause ([#3420](https://togithub.com/scalameta/scalafmt/issues/3420)) [@kitbellew](https://togithub.com/kitbellew) #### Bug fixes - FormatWriter: change ParamClause alignment owner ([#3432](https://togithub.com/scalameta/scalafmt/issues/3432)) [@kitbellew](https://togithub.com/kitbellew) - FormatWriter: simplify AlignContainer.WithBody ([#3434](https://togithub.com/scalameta/scalafmt/issues/3434)) [@kitbellew](https://togithub.com/kitbellew) - AlignToken: skip ParamClauseGroup when matching ([#3433](https://togithub.com/scalameta/scalafmt/issues/3433)) [@kitbellew](https://togithub.com/kitbellew) - FormatOps: use milder expire token for if-else ([#3423](https://togithub.com/scalameta/scalafmt/issues/3423)) [@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 has been generated by Mend Renovate. View repository job log here.