Scalafix Versions Save

Refactoring and linting tool for Scala

v0.10.3

1 week ago

Pull Requests

Updates

  • sbt 1.7 resolver deprecations (#1678) @bjaglin
  • scala 2.13.9 (#1676) @bjaglin
  • Post 0.10.2 (#1672) @bjaglin

v0.10.2

2 weeks ago

Pull Requests

Rules

  • support Scala 3 style wildcard import in RemoveUnused (#1664) @xuwei-k
  • Add an option to only add explicit result types to implicit definitions (#1623) @OlegYch
  • Fix RedundantSyntax raw interpolator handling (#1618) @gontard

Framework

  • don't publish scala 3 artifacts for now (#1670) @bjaglin
  • remove unused class (#1667) @bjaglin
  • skip src and doc packaging when publishing locally (#1665) @bjaglin
  • build (java) interfaces module once for all scala versions (#1645) @bjaglin
  • cli should support configurable rules built against older core (#1644) @bjaglin
  • Scalafix-rules cross compiled in scala3 (#1643) @rvacaru
  • Scalafix-core compiled in Scala 3 (#1629) @rvacaru
  • test loading of external rule built with metaconfig hack (#1633) @bjaglin
  • Revert "better error for external rules ran with old scalafix-cli version" (#1632) @rvacaru
  • Fixed ExplicitResultTypes for implicit members when memberKind and visibility configs are present (#1627) @rvacaru
  • return custom error when no rule was requested (#1624) @bjaglin

Docs

  • Update Integration tests documentation. (#1660) @sergey-lagutin
  • remote gitter shield (#1655) @bjaglin
  • Fix small issues with the tutorial docs (#1654) @ssanj
  • Use scalameta's Discord rather than gitter for support (#1653) @bjaglin
  • xuwei-k/replace-symbol-literals is now in xuwei-k/scalafix-rules (#1634) @bjaglin

Updates

  • scala 2.12.7 (#1669) @bjaglin
  • Update unit module scalatest version to 3.2.13 (#1661) @rvacaru
  • Update scalameta, semanticdb-scalac-core, ... to 4.5.13 (#1659) @scala-steward
  • Update scalafmt-core to 3.5.9 (#1656) @scala-steward
  • Update scalameta, semanticdb-scalac-core, ... to 4.5.12 (#1651) @scala-steward
  • Update scalameta, semanticdb-scalac-core, ... to 4.5.11 (#1648) @scala-steward
  • Update mdoc, sbt-mdoc to 2.3.3 (#1647) @scala-steward
  • Update org.eclipse.jgit to 5.13.1.202206130422-r (#1637) @scala-steward
  • Update interface to 1.0.8 (#1636) @scala-steward
  • Update scala3-library to 3.1.3 (#1638) @scala-steward
  • Update scala-collection-compat to 2.8.0 (#1639) @scala-steward
  • Update sbt to 1.7.1 (#1640) @scala-steward
  • Update sbt-scoverage to 2.0.0 (#1641) @scala-steward
  • Update scalafmt-core to 3.5.8 (#1630) @scala-steward
  • post 0.10.1 release (#1617) @bjaglin

v0.10.1

3 months ago

Pull Requests

Rules

  • RedundantSyntax removes unnecessary string interpolator (#1602) @gontard
  • ExplicitResultTypes: fix issues with backquotes in several case as seen in Metals (#1600) @tgodzik

Framework

  • better test infrastructure for Scala 3 (#1528) @bjaglin
  • pprint is only required on -cli for 0.9.x compat (#1596) @bjaglin

Docs

  • I want to add my rules to community-rules.md (#1607) @Javakky-pxv
  • docs: we use MiMa indirectly now (#1595) @bjaglin
  • docs: add new rule and reorder alphabetically in sidebar (#1591) @bjaglin

Updates

  • scala 2.12.16 (#1615) @mlachkar
  • Update scalafmt-core to 3.5.6 (#1612) @scala-steward
  • Update scalameta, semanticdb-scalac-core, ... to 4.5.8 (#1611) @scala-steward
  • Update scalameta, semanticdb-scalac-core, ... to 4.5.7 (#1609) @scala-steward
  • Update scalafmt-core to 3.5.4 (#1608) @scala-steward
  • Update scalameta, semanticdb-scalac-core, ... to 4.5.6 (#1605) @scala-steward
  • Update scalameta, semanticdb-scalac-core, ... to 4.5.5 (#1604) @scala-steward
  • Update scalafmt-core to 3.5.2 (#1603) @scala-steward
  • Update scalameta, semanticdb-scalac-core, ... to 4.5.4 (#1601) @scala-steward
  • Update scala-xml to 2.1.0 (#1599) @scala-steward
  • Update scala3-library to 3.1.2 (#1598) @scala-steward
  • Update interface to 1.0.7 (#1597) @scala-steward
  • Post 0.10.0 (#1568) @bjaglin

v0.10.0

5 months ago

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 istherefore 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

  • Add rewriting rule RedundantSyntax.finalObject (#1496) @bplommer
  • ExplicitResultTypes: backquote types when needed (#1578) @danicheg
  • Small refactoring of explicitResultTypes (#1439) @mlachkar
  • RemoveUnused: support nested Pat.Bind (#1557) @bjaglin

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

  • docs: add new rule and reorder alphabetically in sidebar (#1591) @bjaglin
  • Fix typos in the CONTRIBUTING.md (#1584) @danicheg
  • sbt-scalafix doc updates (#1572) @bjaglin
  • change logo (#1580) @mlachkar
  • Add new Scalafix logo (#1575) @bishabosha
  • all scala 2.x patch releases are supported (#1576) @bjaglin
  • remove hidden page included in tutorial (#1564) @bjaglin
  • fix docs (#1554) @bjaglin
  • fix docs: reflect new param signature after #907 (#1547) @bjaglin
  • attempt at fixing versions in user-facing docs (#1544) @bjaglin
  • overhaul community rules page (#1540) @bjaglin
  • reflect organization change (#1541) @bjaglin

Updates

  • Update scalameta, semanticdb-scalac-core, ... to 4.5.3 (#1590) @scala-steward
  • Update scalafmt-core to 3.5.1 (#1589) @scala-steward
  • Update scalafmt-core to 3.5.0 (#1587) @scala-steward
  • Update scala-collection-compat to 2.7.0 (#1585) @scala-steward
  • Update scalameta, semanticdb-scalac-core, ... to 4.5.2 (#1586) @scala-steward
  • Update mdoc, sbt-mdoc to 2.3.2 (#1579) @scala-steward
  • Update scalameta, semanticdb-scalac-core, ... to 4.5.1 (#1570) @scala-steward
  • never wait to bump scalameta (#1569) @bjaglin
  • fix steward pinning (#1567) @bjaglin
  • Bump actions/checkout from 2 to 3 (#1561) @dependabot
  • Update sbt-buildinfo to 0.11.0 (#1558) @scala-steward
  • Update mdoc, sbt-mdoc to 2.3.1 (#1559) @scala-steward
  • Scalameta 4.5.0 (was 4.4.35) (#1556) @SethTisue
  • remove unused plugin (#1553) @bjaglin
  • Update scalafmt-core to 3.4.3 (#1551) @scala-steward
  • Update scalameta, semanticdb-scalac-core, ... to 4.4.35 (#1552) @scala-steward
  • Update scala3-library to 3.1.1 (#1549) @scala-steward
  • Update sbt to 1.6.2 (#1550) @scala-steward
  • Update mdoc, sbt-mdoc to 2.3.0 (#1531) @scala-steward
  • Update metaconfig-docs to 0.10.0 (#1530) @scala-steward
  • Update named-literal-rules (#1529) @mlachkar
  • Update scalameta, semanticdb-scalac-core, ... to 4.4.33 (#1533) @scala-steward
  • Update scalafmt-core to 3.3.3 (#1532) @scala-steward
  • Update scalafmt-core to 3.3.1 (#1524) @scala-steward
  • Update sbt-scoverage to 1.9.3 (#1525) @scala-steward
  • Update sbt to 1.6.1 (#1523) @scala-steward
  • post 0.9.34 release (#1527) @bjaglin

v0.10.0-RC1

5 months ago

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

  • Update scalafmt-core to 3.5.0 (#1587) @scala-steward
  • Update scala-collection-compat to 2.7.0 (#1585) @scala-steward
  • Update scalameta, semanticdb-scalac-core, ... to 4.5.2 (#1586) @scala-steward
  • Fix typos in the CONTRIBUTING.md (#1584) @danicheg
  • Tweak bincompat doc/logs ahead of 0.10.0-RC1 release (#1577) @bjaglin
  • change logo (#1580) @mlachkar
  • Add new Scalafix logo (#1575) @bishabosha
  • Update mdoc, sbt-mdoc to 2.3.2 (#1579) @scala-steward
  • all scala 2.x patch releases are supported (#1576) @bjaglin
  • remove hidden page included in tutorial (#1564) @bjaglin
  • define & apply binary compatibility strategy (#1565) @bjaglin
  • Update scalameta, semanticdb-scalac-core, ... to 4.5.1 (#1570) @scala-steward
  • never wait to bump scalameta (#1569) @bjaglin
  • fix steward pinning (#1567) @bjaglin
  • Small refactoring of explicitResultTypes (#1439) @mlachkar
  • better error for external rules ran with old scalafix-cli version (#1562) @bjaglin
  • Bump actions/checkout from 2 to 3 (#1561) @dependabot
  • Update sbt-buildinfo to 0.11.0 (#1558) @scala-steward
  • Update mdoc, sbt-mdoc to 2.3.1 (#1559) @scala-steward
  • RemoveUnused: support nested Pat.Bind (#1557) @bjaglin
  • Scalameta 4.5.0 (was 4.4.35) (#1556) @SethTisue
  • fix docs (#1554) @bjaglin
  • remove unused plugin (#1553) @bjaglin
  • fix docs: reflect new param signature after #907 (#1547) @bjaglin
  • Update scalafmt-core to 3.4.3 (#1551) @scala-steward
  • Update scalameta, semanticdb-scalac-core, ... to 4.4.35 (#1552) @scala-steward
  • Update scala3-library to 3.1.1 (#1549) @scala-steward
  • Update sbt to 1.6.2 (#1550) @scala-steward
  • Update mdoc, sbt-mdoc to 2.3.0 (#1531) @scala-steward
  • force usage of shaded TPrint (#1546) @bjaglin
  • Update metaconfig-docs to 0.10.0 (#1530) @scala-steward
  • attempt at fixing versions in user-facing docs (#1544) @bjaglin
  • overhaul community rules page (#1540) @bjaglin
  • reflect organization change (#1541) @bjaglin
  • Update named-literal-rules (#1529) @mlachkar
  • Update scalameta, semanticdb-scalac-core, ... to 4.4.33 (#1533) @scala-steward
  • Update scalafmt-core to 3.3.3 (#1532) @scala-steward
  • Update scalafmt-core to 3.3.1 (#1524) @scala-steward
  • Update sbt-scoverage to 1.9.3 (#1525) @scala-steward
  • Update sbt to 1.6.1 (#1523) @scala-steward
  • post 0.9.34 release (#1527) @bjaglin

v0.9.34

8 months ago

Pull Requests

  • support scala 2.13.8 (#1519) @bjaglin
  • don't bump JGit to keep Java 8 compatibility (#1520) @bjaglin
  • Update sbt to 1.5.8 (#1516) @scala-steward
  • Update interface to 1.0.6 (#1515) @scala-steward
  • Update scalafmt-core to 3.2.2 (#1517) @scala-steward
  • Update checkout github action (#1513) @mlachkar
  • bump coursier (#1511) @bjaglin
  • Update scalameta, semanticdb-scalac-core, ... to 4.4.31 (#1509) @scala-steward
  • Update scalafmt-core to 3.2.1 (#1508) @scala-steward
  • Update sbt to 1.5.6 (#1507) @scala-steward
  • Update sbt-scalafix to 0.9.33 (#1504) @scala-steward
  • Update scalafmt-core to 3.1.2 (#1506) @scala-steward

v0.9.33

10 months ago

Pull Requests

  • add jdk 17 ci (#1502) @mlachkar
  • Update scala-collection-compat to 2.6.0 (#1498) @scala-steward
  • Fix ExplicitResultTypes output for Tuple1 (#1495) @bplommer
  • Update sbt-scoverage to 1.9.2 (#1500) @scala-steward
  • Update scalafmt-core to 3.1.1 (#1499) @scala-steward
  • post 0.9.32 release (#1497) @bjaglin

v0.9.32

10 months ago

Pull Requests

  • support scala 2.13.7 (#1493) @bjaglin
  • bump MiMa (#1494) @bjaglin
  • Update scalafmt-core to 3.0.8 (#1491) @scala-steward
  • Update mdoc, sbt-mdoc to 2.2.24 (#1490) @scala-steward
  • Update scala3-library to 3.1.0 (#1489) @scala-steward
  • Fix unavailable overriddenSymbols in Scala2 (#1477) @tanishiking
  • Update sbt-ci-release to 1.5.10 (#1485) @scala-steward
  • Update sbt-scoverage to 1.9.1 (#1487) @scala-steward
  • Update scalafmt-core to 3.0.6 (#1486) @scala-steward
  • Update metaconfig-docs, ... to 0.9.15 (#1481) @scala-steward
  • sbt-scoverage 1.9.0 (was 1.8.2) (#1478) @SethTisue
  • post 0.9.31 release (#1479) @bjaglin

v0.9.31

1 year ago

Pull Requests

  • scala 2.12.15 & scalameta 4.4.28 (#1473) @scala-steward
  • Add accessor to overriddenSymbols to SymbolInformation (#1464) @tanishiking
  • Update org.eclipse.jgit to 5.13.0.202109080827-r (#1472) @scala-steward
  • Update sbt-assembly to 1.1.0 (#1471) @scala-steward
  • Update scala3-library to 3.0.2 (#1474) @scala-steward
  • Update scalafmt-core to 3.0.3 (#1475) @scala-steward
  • Update mdoc, sbt-mdoc to 2.2.23 (#1466) @scala-steward
  • Update sbt-scalafix to 0.9.30 (#1465) @scala-steward
  • Keep a simple description for Procedure syntax (#1461) @mlachkar
  • docs: sbt-scalafix is now only published for sbt 1.x (#1417) @bjaglin

v0.9.30

1 year ago

Release highlights

  • New feature added to RemoveUnused rule that allows removing unused function parameters (scalacenter/scalafix#1444, scalacenter/scalafix#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

  • update scalameta to 4.4.27 (#1460) @mlachkar
  • Unused function params follow-up (#1448) @bjaglin
  • Update mdoc, sbt-mdoc to 2.2.22 (#1456) @scala-steward
  • Update scalameta, semanticdb-scalac-core, ... to 4.4.25 (#1457) @scala-steward
  • Update scala-xml to 2.0.1 (#1455) @scala-steward
  • Bump olafurpg/setup-scala from 12 to 13 (#1458) @dependabot
  • Make NoAutoTupling fixes the insertion of unit (#1452) @mlachkar
  • test against scala 3.0.1 (#1453) @bjaglin
  • Update scala-collection-compat to 2.5.0 (#1449) @scala-steward
  • Update sbt to 1.5.5 (#1450) @scala-steward
  • Add the fact that removeUnusued cannot work for scala 3 (#1446) @mlachkar
  • Remove unused (#1434) @mlachkar
  • add anonymous function parameter support & enhance patvar RemoveUnused (#1444) @taisukeoe
  • Update scalameta to 4.4.24 (#1445) @mlachkar
  • Update scalameta, semanticdb-scalac-core, ... to 4.4.23 (#1442) @scala-steward
  • Reorganize tests for both explicitResultTypes and intermal rules. (#1438) @mlachkar
  • LeakingImplicitClassVal: Add tests for scala 3 (#1437) @mlachkar
  • Procedure syntax (#1433) @mlachkar
  • Update the scalacOptions for scala 3 build (#1435) @mlachkar
  • Add tests for Disable syntax for scala 3 (#1428) @mlachkar
  • Update sbt-assembly to 1.0.0 (#1429) @scala-steward
  • Update scalameta, semanticdb-scalac-core, ... to 4.4.21 (#1432) @scala-steward
  • Update org.eclipse.jgit to 5.12.0.202106070339-r (#1430) @scala-steward
  • Update sbt to 1.5.4 (#1431) @scala-steward
  • doc: clarify where scalafixScalaBinaryVersion is looked up (#1427) @bjaglin
  • Update sbt-scoverage to 1.8.2 (#1423) @scala-steward
  • docs: stop using deprecated rule name (#1424) @bjaglin
  • Bump olafurpg/setup-scala from 10 to 12 (#1426) @dependabot
  • ask dependabot to upgrade github actions (#1425) @bjaglin
  • Update sbt-scalafix to 0.9.29 (#1421) @scala-steward
  • metaconfig 0.9.14 (#1419) @bjaglin
  • post 0.9.29 release (#1420) @bjaglin