Skip to content

Releases: scalacenter/scalafix

v0.10.0-RC1

03 Apr 15:24
5d7e72c
Compare
Choose a tag to compare
v0.10.0-RC1 Pre-release
Pre-release

Significant changes since v0.9.34

For users

When loading external rules, Scalafix now verifies whether conditions are held to guarantee compatibility. It will therefore prevent rules built with a future version of Scalafix to be loaded, and issue a warning when rules built with an older, potentially non-compatible version of Scalafix are loaded.

The latter means that you will see a warning when loading any external rule available as of today, 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

v0.9.34

11 Jan 18:57
0a202ab
Compare
Choose a tag to compare

Pull Requests

v0.9.33

26 Nov 14:44
9f8f881
Compare
Choose a tag to compare

Pull Requests

v0.9.32

12 Nov 20:11
91b3fda
Compare
Choose a tag to compare

Pull Requests

v0.9.31

16 Sep 21:35
56f8c77
Compare
Choose a tag to compare

Pull Requests

v0.9.30

16 Aug 08:55
5992e3f
Compare
Choose a tag to compare

Release highlights

  • New feature added to RemoveUnused rule that allows removing unused function parameters (#1444, #1448)
  • The support for sbt 0.13 is now dropped, which means that starting this version, the plugin is only available for sbt 1.x. It's still possible to use the latest scalafix version with an older scalafix plugin by overriding the scalafix-interfaces dependency as described in the documentation.
  • Some rules rely on the warning messages to apply some fixes. Since 2.12.13 and 2.13.x, the number of warnings stored by scalameta depended on a compiler option -Xmaxwarns, which limits the number of fixes applied during each run, and the user had to configure this scalacOption to catch more warnings. Starting this release, this configuration is not necessary anymore. The rule will fix all the warnings, even if there are not printed by the compiler.

Pull Requests

v0.9.29

30 May 22:31
Compare
Choose a tag to compare

Pull Requests

v0.9.28

21 May 07:01
22626c7
Compare
Choose a tag to compare

Pull Requests

v0.9.27

29 Mar 16:19
Compare
Choose a tag to compare

Pull Requests

v0.9.26

27 Feb 19:24
6d43269
Compare
Choose a tag to compare

Pull Requests