Releases: scalameta/scalafmt
Releases Β· scalameta/scalafmt
v3.7.12
Bug fixes
- Scalameta: upgrade to v4.8.7 (#3604) @kitbellew
- Fixed typo in configuration.md (#3595) @ThinkDumbIndustries
Miscellaneous
- Router: handle self-type whether it ends in
=>
(#3602) @kitbellew - FormatTokens: use Either.merge (#3596) @kitbellew
Dependency updates
- Update sbt-scalajs-crossproject to 1.3.2 (#3599) @scalameta-bot
- Update scalafmt-core to 3.7.11 (#3601) @scalameta-bot
- Update sbt to 1.9.3 (#3600) @scalameta-bot
- Update sbt-mima-plugin to 1.1.3 (#3598) @scalameta-bot
v3.7.11
Bug fixes
- Scalameta: upgrade to v4.8.6 (#3594) @kitbellew
- Indents: ignore fewerBraces if indentation is 1 (#3592) @kitbellew
Miscellaneous
- Remove use of deprecated PlatformTokenizerCache (#3593) @kitbellew
v3.7.10
Bug fixes
- Scalameta: upgrade to v4.8.5 (#3588) @kitbellew
v3.7.9
Bug fixes
- Scalameta: upgrade to v4.8.4 (#3587) @kitbellew
- StyleMap: show comment with rewrite rules at odds (#3586) @kitbellew
- FormatAssertions: fail when parsing errors out (#3585) @kitbellew
v3.7.8
Bug fixes
- Scalameta: upgrade to v4.8.3 (#3583) @kitbellew
- TreeOps: skip empty types in defDefReturnType (#3584) @kitbellew
- Router: use template to break before
extends
(#3581) @kitbellew - FormatOps: handle if with rewritten braces around (#3578) @kitbellew
- RemoveScala3OptionalBraces: handle infix on rbrace (#3576) @kitbellew
- FormatOps: refactor getting
else
chain (#3579) @kitbellew
Miscellaneous
- Router: extract template to handle
extends
(#3582) @kitbellew - FormatOps: use getLastTokenOpt, add getHeadToken (#3577) @kitbellew
- Move match as infix lhs test to all OptionalBraces (#3575) @kitbellew
v3.7.7
Bug fixes
- Scalameta: update to v4.8.2 (#3574) @kitbellew
- RemoveScala3OptionalBraces: not match if infix lhs (#3573) @kitbellew
v3.7.6
Bug fixes
- Scalameta: update to v4.8.1 (#3571) @kitbellew
Miscellaneous
- Use explicit type annotation in implicit defs (#3567) @kitbellew
Version updates
- Update sbt-jmh to 0.4.5 (#3566) @scalameta-bot
- Update scala-library, scala-reflect to 2.13.11 (#3563) @scalameta-bot
- Update scalafmt-core to 3.7.5 (#3565) @scalameta-bot
- Update sbt to 1.9.1 (#3564) @scalameta-bot
- Update scala-library, scala-reflect to 2.12.18 (#3562) @scalameta-bot
- Update sbt-scalajs to 1.13.2 (#3561) @scalameta-bot
v3.7.5
Features
- Router: handle parameter
indent.fewerBraces
(#3557) @kitbellew
Bug fixes
- Router: make sure to indent comments after lambda (#3556) @kitbellew
- Fix proposed version syntax (#3555) @JD557
Version updates
- Scalameta: update to v4.8.0 (#3560) @kitbellew
v3.7.4
Bug fixes
- #3546: SortModifiers: do not sort
using
(#3547) @kitbellew - #3540: RedundantBraces: don't remove parens in Init args (#3545) @kitbellew
- #3537: Router: apply fewer braces to new anonymous, too (#3538) @kitbellew
- #3527: Router: undo entire indent for fewerBraces (#3528) @kitbellew
Miscellaneous
- CLI: add instructions when version is missing (#3544) @kitbellew
- Fix docs/configuration.md indentOperator section (#3525) @ShapelessCat
- TreeOps: get the whole implicit clause, not values (#3521) @kitbellew
- Docs: clarify implicitParamListModifierForce (#3523) @kitbellew
- PolicyOps: pass rank to SingleLineBlock (#3522) @kitbellew
- Use Resolver.sonatypeOssRepos instead of Resolver.sonatypeRepo (#3519) @kitbellew
Dependency updates
- Scalameta: update to v4.7.8 (#3551) @kitbellew
- Update sbt-native-image to 0.3.4 (#3550) @scalameta-bot
- Update sbt to 1.8.3 (#3549) @scalameta-bot
- Update sbt-ci-release to 1.5.12 (#3548) @scalameta-bot
- Update sbt-scalajs to 1.13.1 (#3533) @scalameta-bot
- Update sbt-scalajs-crossproject to 1.3.1 (#3532) @scalameta-bot
- Update scalafmt-core to 3.7.3 (#3534) @scalameta-bot
- Update scalameta, testkit to 4.7.7 (#3535) @scalameta-bot
- Update sbt-mima-plugin to 1.1.2 (#3531) @scalameta-bot
- Bump coursier version to 2.1.2. (#3530) @lallea
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