Closed renovate[bot] closed 7 months ago
This PR contains the following updates:
3.7.17
3.8.0
[!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: Enabled.
â™» 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:
3.7.17
->3.8.0
Release Notes
scalameta/scalafmt (org.scalameta:scalafmt-core_2.13)
### [`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)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
â™» 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.