v0.11.0
github-actions
released this
03 Jun 15:04
·
564 commits
to refs/heads/main
since this release
Significant changes since v0.10.4
For users
- Breaking: dropped support for running Scalafix against Scala 2.11 sources (#1635)
- If you run Scalafix against projects containing Scala 2.11 sources, keep using Scalafix 0.10.4
- New:
OrganizeImports
is now a built-in rule (https://github.com/liancheng/scalafix-organize-imports/discussions/215)com.github.liancheng::organize-imports:0.6.0+37-596459af
has been merged as-is into Scalafix, soOrganizeImports
will keep running without any modification to.scalafix.conf
- To get rid of the "Ignoring requested classpath dependency
com.github.liancheng::organize-imports:0.6.0
" warning, simply remove the entry from thescalafixDependencies
setting key (or similar if you are not using sbt)
- New: added support for the latest Scala versions (3.3.0, 2.13.11, 2.12.18)
- Despite the support for the
-Wunused:*
flags added in Scala 3.3.0,RemoveUnused
is not yet supported on Scala 3 (see #1728 (comment))
- Despite the support for the
For rule authors
- Breaking: dropped support for ScalaTest 3.0 in scalafix-testkit (#1662)
- Scalameta 4.7.8 (was 4.6.0)
- Breaking: source positions of trees captured by the Scalameta parser have evolved in Scalameta 4.7.x; particularly, parentheses are no longer captured by expressions (see
BasicPositionSuite
changes for a comprehensive view of the changes) - Deprecations: as Scalameta tree fields evolve, versioned extractors should now be favored over historical constructor-like ones (https://scalameta.org/docs/trees/guide.html#with-versioned-constructor-like-matchers)
- Breaking: source positions of trees captured by the Scalameta parser have evolved in Scalameta 4.7.x; particularly, parentheses are no longer captured by expressions (see
Pull Requests
Rules
- Merge OrganizeImports 0.6.0+37-596459af into Scalafix as a built-in rule (#1480) @liancheng
- RedundantSyntax: honor suppression (#1703) @bjaglin
- ExplicitResultTypes: honor skipSimpleDefinitions on implicits (#1698) @rvacaru
Framework
- testkit: build against ScalaTest 3.2 (#1750) @bjaglin
- build JARs against Java 8 for max compatibility (#1773) @bjaglin
- Refactor test execution (#1756) @bjaglin
- Add textEdits method to ScalafixPatch (#1737) @LaurenceWarne
- fail hard when running against 2.11 sources (#1733) @bjaglin
- stop publishing for Scala 2.11 (#1729) @bjaglin
- scalafix-cli_3 & test dependencies (GSoC 2022) (#1650) @rvacaru
Docs
- Fix sonatype stats cron (#1762) @bjaglin
- Add Sonatype statistics (#1751) @julienrf
- docs: add note about final 2.11 version (#1730) @bjaglin
- Update tutorial for rule suppression examples (#1715) @wsargent
- reflect history rewrite in git repo for tutorial (#1716) @bjaglin
- Add echopraxia-scalafix to community rules (#1702) @wsargent
- Update RedundantSyntax.md (#1697) @kimnilsson
Updates
- Scala 2.12.18 & 2.13.11 (#1772) @bjaglin
- Scala 3.3.1-RC1 (#1771) @bjaglin
- Update scala3-compiler to 3.3.0 (#1768) @scala-center-steward
- Bump VirtusLab/scala-cli-setup from 0.2.1 to 1.0.0 (#1764) @dependabot
- Update coursier to 2.1.4 (#1767) @scala-center-steward
- Update scalafmt-core to 3.7.4 (#1769) @scala-center-steward
- Update scalameta, semanticdb-scalac-core, ... to 4.7.8 (#1765) @scala-center-steward
- Update interface to 1.0.16 (#1760) @scala-center-steward
- Update sbt to 1.8.3 (#1761) @scala-center-steward
- Update coursier to 2.1.3 (#1759) @scala-center-steward
- Update sbt-ghpages to 0.8.0 (#1758) @scala-center-steward
- Update sbt-ci-release to 1.5.12 (#1757) @scala-center-steward
- Update scala-collection-compat to 2.10.0 (#1755) @scala-center-steward
- Update coursier to 2.1.2 (#1754) @scala-center-steward
- Bump VirtusLab/scala-cli-setup from 0.2.0 to 0.2.1 (#1753) @dependabot
- Update scalameta, semanticdb-scalac-core, ... to 4.7.7 (#1752) @scala-center-steward
- Update scala-java8-compat to 1.0.2 (#1719) @scala-center-steward
- Update interface to 1.0.15 (#1749) @scala-center-steward
- Update coursier to 2.1.1 (#1748) @scala-center-steward
- Update scalafmt-core to 3.7.3 (#1745) @scala-center-steward
- Update mdoc, sbt-mdoc to 2.3.7 (#1731) @scala-center-steward
- Update scala3-compiler, scala3-library to 3.2.2 (#1734) @scala-center-steward
- Update scalameta, semanticdb-scalac-core, ... to 4.7.6 (#1743) @scala-center-steward
- Update coursier to 2.1.0 (#1741) @scala-center-steward
- Update sbt-scoverage to 2.0.7 (#1742) @scala-center-steward
- Bump olafurpg/setup-scala from 13 to 14 (#1736) @dependabot
- Update scalafmt-core to 3.7.2 (#1739) @scala-center-steward
- bump coursier (#1732) @bjaglin
- Update scalafmt-core to 3.7.1 (#1727) @scala-center-steward
- Update scalafmt-core to 3.7.0 (#1723) @scala-center-steward
- Update sbt to 1.8.2 (#1722) @scala-center-steward
- Update sbt to 1.8.0 (#1720) @scala-center-steward
- Update scala3-compiler, scala3-library to 3.2.1 (#1707) @scala-center-steward
- Update sbt-ci-release to 1.5.11 & sbt-ghpages to 0.7.0 (#1705) @scala-center-steward
- Update sbt-scoverage to 2.0.6 (#1711) @scala-center-steward
- Update sbt to 1.7.3 (#1710) @scala-center-steward
- Update scala-java8-compat to 0.9.1 (#1709) @scala-center-steward
- Update sbt-version-policy to 2.1.0 (#1704) @scala-center-steward
- Update scala-collection-compat to 2.9.0 (#1708) @scala-center-steward
- Update scalafmt-core to 3.6.1 (#1701) @scala-steward
- Update scala3-library to 3.2.0 (#1691) @scala-steward
- Update metaconfig-docs, ... to 0.11.1 (#1688) @scala-steward
- Update scalafmt-core to 3.6.0 (#1696) @scala-steward
- Update sbt-scoverage to 2.0.5 (#1694) @scala-steward
- Update commons-text to 1.10.0 (#1690) @scala-steward
- Update sbt to 1.7.2 (#1693) @scala-steward
- Update scala-collection-compat to 2.8.1 (#1692) @scala-steward
- Update interface to 1.0.9 (#1689) @scala-steward
- Update sbt-scalafix to 0.10.4 (#1687) @scala-steward
- post 0.10.4 release (#1686) @bjaglin