v3.7.3
Bug fixes
- Router: don't add extra indent for fewer braces (#3518) @kitbellew
- Router: indent trailing fewer braces, too (#3514) @kitbellew
- FormatOps: handle
.match
as select + apply (#3500) @kitbellew - FormatTokensRewrite: allow a rule to claim tokens (#3513) @kitbellew
- FormatOps: fix
verticalMultiline.arityThreshold
(#3511) @kitbellew - Router:
extension
is probably also a keyword (#3507) @kitbellew - Router: fix
beforeOpenParenDefnSite = unfold
(#3506) @kitbellew - FormatOps: force break on multi-stat try blocks (#3501) @kitbellew
Other changes
- RedundantBraces: move
{
for func body blocks (#3512) @kitbellew - FormatTokensRewrite: turn Replacement into class (#3504) @kitbellew
- FormatTokensRewrite: refactor applying rules (#3505) @kitbellew
- Fix tests following interaction of #3506 and #3507 (#3510) @kitbellew
- Router: use FormatToken fields extracted in match (#3508) @kitbellew
- FormatTokensRewrite: import mutable namespace only (#3503) @kitbellew
- Add tests with/without select after
.match
(#3498) @kitbellew - Router: minor refactor in
.select
handling rule (#3495) @kitbellew - Add tests with no select after fewer braces apply (#3494) @kitbellew
- Configuration:
fileOverride
is an absolute match (#3486) @kitbellew
Dependency updates
- Scalameta: upgrade to v4.7.6 (#3515) @kitbellew
- Update sbt-native-packager to 1.9.16 (#3487) @scalameta-bot
- Update scalafmt-core to 3.7.2 (#3488) @scalameta-bot