v3.7.0
Scalameta 4.7.x changes
- FormatOps: use ArgClause to find folded open paren (#3425) @kitbellew
- TreeOps: replace SplitCallIntoParts with new Tree interfaces (#3424) @kitbellew
- TreeOps: replace SplitAssignIntoParts with new Tree interfaces (#3421) @kitbellew
- Use Member.Infix instead of InfixApp wrapper (#3419) @kitbellew
- Use Member.SyntaxValuesClause (#3420) @kitbellew
Bug fixes
- FormatWriter: change ParamClause alignment owner (#3432) @kitbellew
- FormatWriter: simplify AlignContainer.WithBody (#3434) @kitbellew
- AlignToken: skip ParamClauseGroup when matching (#3433) @kitbellew
- FormatOps: use milder expire token for if-else (#3423) @kitbellew
- StyleMap: recognize infix literal argument lists (#3414) @kitbellew
- Router: fix finding previous select when enclosed (#3415) @kitbellew
- Router: improve handling of parens in functions (#3413) @kitbellew
- Router: don't format lambda in classes/objects (#3412) @kitbellew
- Router: bugfix, detect end of annotation better (#3411) @kitbellew
- Router: indent imports spanning multiple lines (#3408) @kitbellew
- Router: enforce space in infix only before RHS (#3407) @kitbellew
- Router: handle tuple in unsafeDefnSite case (#3380) @kitbellew
- TreeOps: improve findEnclosedBetweenParens (#3376) @kitbellew
- Router: simplify finding first init (#3378) @kitbellew
- State: relativeToLhsLastLine on same-line comment (#3359) @kitbellew
Build fixes
- YML: use setup-java instead of setup-scala (#3404) @kitbellew
- Native: use 22.3.0, switch to setup-graalvm (#3405) @kitbellew
- Set permissions for GitHub actions (#3183) @neilnaveen
Other changes
- GitOpsTest: use an explicit default branch (#3436) @kitbellew
- Documentation: remove comment suggesting changes (#3435) @kitbellew
- Documentation: Remove stray closing brace (#3428) @drozd-A
- TreeOps: remove last internal.Impl.unapply use (#3427) @kitbellew
- Don't use deprecated scalameta methods (#3426) @kitbellew
- Add more scalameta 4.7.0 tests, part 3 (#3422) @kitbellew
- FormatOps: use Delay to PenalizeNewlineByNesting (#3416) @kitbellew
- FormatTokens: fix isEnclosedInMatching to use tree (#3410) @kitbellew
- Add more tests before scalameta 4.7.0 upgrade (#3409) @kitbellew
- TreeOps: fix ownership of enclosed trees (#3406) @kitbellew
- TreeOps: fix incomplete earlier consistency change (#3402) @kitbellew
- Add tests helpful in scalameta 4.7.0 upgrade (#3403) @kitbellew
- TreeOps: consistency for apply/infix lookalikes (#3398) @kitbellew
- RedundantParens: a few extra enclosed test cases (#3397) @kitbellew
- Defn.Def: add Decl.Def and Defn.Macro as needed (#3396) @kitbellew
- FormatOps: enclosing parens owned by enclosed tree (#3395) @kitbellew
- FormatTokens: use getHead/Last, not tree tokens (#3389) @kitbellew
- FormatOps: compute owners in one pass over tokens (#3390) @kitbellew
- Router: use StartsStatementRight matcher (#3393) @kitbellew
- TreeOps: use Mod.Variant directly (#3392) @kitbellew
- TreeOps: use pattern matching for single elem (#3391) @kitbellew
- FormatAssertions: improve parseException2Message (#3387) @kitbellew
- Add a few tests before scalameta upgrade to 4.7.0 (#3386) @kitbellew
- InfixApp: define singleArg, nestedInfixApps (#3373) @kitbellew
- FormatWriter: generalize alignment of infix exprs (#3375) @kitbellew
- FormatOps: clean up defnSiteLastToken (#3374) @kitbellew
- Indent: don't switch between identical indents (#3377) @kitbellew
- TreeOps: rename isExplicitImplicit to opposite (#3372) @kitbellew
- FormatOps: refactor findEnclosingInfix (#3379) @kitbellew
- Cosmetic: minor refactor ahead of new scalameta (#3371) @kitbellew
- LoggerOps: replace methods with default params (#3370) @kitbellew
- Import meta package as a wildcard (#3363) @kitbellew
- DynamicSuite: adjust for top-level statements (#3360) @kitbellew
Dependency updates
- Scalameta: update to v4.7.2 (#3437) @kitbellew
- Update sbt to 1.8.2 (#3431) @scalameta-bot
- Update sbt-assembly to 2.1.0 (#3430) @scalameta-bot
- Scalameta: update to v4.7.1 (#3418) @kitbellew
- Update sbt-scalafmt to 2.5.0 (#3401) @scalameta-bot
- Update sbt to 1.8.0 (#3400) @scalameta-bot
- Update sbt-scalajs to 1.12.0 (#3399) @scalameta-bot
- Update scalafmt-core to 3.6.1 (#3367) @scalameta-bot
- Update sbt to 1.7.3 (#3366) @scalameta-bot
- Update sbt-ci-release to 1.5.11 (#3365) @scalameta-bot
- Update sbt-assembly to 2.0.0 (#3364) @scalameta-bot