Skip to content

v0.10.0

Compare
Choose a tag to compare
@github-actions github-actions released this 07 Apr 20:09
· 1243 commits to refs/heads/main since this release
e7d4a20

Significant changes since v0.9.34

For users

Scalafix will now issue a warning when loading external rules built with a potentially non-compatible version of Scalafix. Until new versions of these external rules are published, it is therefore expected that you get that warning, for example with OrganizeImports v0.6.0:

[info] Loading external rule(s) built against an old version of Scalafix (0.9.31).
[info] This might not be a problem, but in case you run into unexpected behavior, you
[info] should try a more recent version of the rules(s) if available. If that does
[info] not help, request the rule(s) maintainer to build against Scalafix 0.10.0-RC1
[info] or later, and downgrade Scalafix to 0.9.x (x>=31) for the time being.

Note that most community rules (including OrganizeImports) will work just fine despite this warning as the breaking changes in 0.10.x are very limited.

For rule authors

Pull Requests

Rules

Framework

  • only warn when loading rules built with newer core (#1588) @bjaglin
  • Tweak bincompat doc/logs ahead of 0.10.0-RC1 release (#1577) @bjaglin
  • define & apply binary compatibility strategy (#1565) @bjaglin
  • better error for external rules ran with old scalafix-cli version (#1562) @bjaglin
  • force usage of shaded TPrint (#1546) @bjaglin

Docs

Updates