·
4 commits
to refs/heads/main
since this release
Significant changes since v0.14.6
For users
- Several performance and functional improvements in
OrganizeImports, most notably a new configuration flaggroupSeparatelycontrolling which imports should be seggregated for correctness in an order-preserving, final group- by-type
givens - Scala 3, enabled by default, new - explicit
implicits - Scala 2, disabled by default, previously controlled via the deprecated flaggroupExplicitlyImportedImplicitsSeparately
- by-type
For rule authors
Abstract*RuleSuitenow mixes-inAnyFunSuite, forcing that testing style for subclasses (see #2432)- Scalameta is now 4.17.0 (was 4.15.2)
- scalafix-testkit is now cross-built against 3.3.8 (was 3.3.7) & 3.8.4 (was 3.8.2)
Pull Requests
Rules
- OrganizeImports: optionally move
givenimports to end (#2449) @kitbellew- OrganizeImports: merge or explode catch-all group (#2456) @kitbellew
- OrganizeImportsConfig: use Conf{Codec,Decoder}Ex (#2454) @kitbellew
- OrganizeImports: expand relative, dedup first (#2453) @kitbellew
- OrganizeImports: refactor partitionImplicits (#2451) @kitbellew
- OrganizeImports: expand relative implicits as well (#2450) @kitbellew
- OrganizeImports: preserve comments, too (#2428) @kitbellew
- OrganizeImports: use scalameta to pretty-reprint (#2427) @kitbellew
- Revert "OrganizeImports: copy importers also with comments" (#2421) @kitbellew
- OrganizeImports: copy importers also with comments (#2420) @kitbellew
- OrganizeImports: refactor sorting importers (#2419) @kitbellew
- SemanticRuleSuite: optionally strip config comment (#2405) @kitbellew
- OrganizeImports: extract
.syntaxinto method (#2415) @kitbellew - OrganizeImports: fix warning with
_lambda (#2417) @kitbellew
- OrganizeImports: simplify match group logic (#2422) @kitbellew
- OrganizeImports: don't combine then split lines (#2416) @kitbellew
- OrganizeImports: use wildcard scala.meta imports (#2414) @kitbellew
- fix-2399: OrganizeImports collapses multi-line imports (#2400) @mlachkar
- fix 2 regressions in replaceSymbols (#2386) @bjaglin
Framework
- SBT: refactor dependencies, versions, exclusions (#2439) @kitbellew
- SBT: add -Werror and -deprecation, with exceptions (#2438) @kitbellew
- Patching: use Tokens own traversal methods (#2430) @kitbellew
- TestRegistration: deprecated, AnyFunSuite instead (#2432) @kitbellew
- CompilerTypePrinter: rewrite writing Defn.Def (#2433) @kitbellew
- Rewrite imports collection, avoid deprecated code (#2435) @kitbellew
- Mask a few additional warnings, including tests (#2437) @kitbellew
- Don't use deprecated scalameta tree methods (#2436) @kitbellew
- Fix various deprecated usage (#2434) @kitbellew
- metaconfig: use non-deprecated methods (#2431) @kitbellew
- Fix various warnings (unused, implicits, match) (#2429) @kitbellew
- LegacyCodePrinter: more semantic trees in match (#2413) @kitbellew
- Fix
TreeExtractors.Mods.unapply(#2388) @xuwei-k - exclude .bak zinc directories from auto-classpath discovery (#2385) @bjaglin
- Use
-Werrorinstead of-Xfatal-warnings(#2383) @xuwei-k
Docs
- OrganizeImports doc: provide scalafmt rule link (#2457) @kitbellew
- Update Maven Central badge link in installation.md (#2455) @marcelocenerine
Updates
- build and test against scala 3.3.8 (#2442) @bjaglin
- build and test against scala 3.8.4 (#2398) @bjaglin
- Update munit to 1.3.1 (#2452) @scala-center-steward[bot]
- Update sbt, scripted-plugin to 1.12.11 (#2446) @scala-center-steward[bot]
- Bump VirtusLab/scala-cli-setup from 1.13 to 1.14 (#2448) @dependabot[bot]
- Update scalafmt-core to 3.11.1 (#2447) @scala-center-steward[bot]
- Dependencies: scalameta 4.17.0, metaconfig 0.18.6 (#2443) @kitbellew
- Update sbt, scripted-plugin to 1.12.10 (#2441) @scala-center-steward[bot]
- Update scalameta to 4.16.1, mdoc to 2.9.0 (#2424) @kitbellew
- PositionSyntax: use scalameta
lineContent(#2425) @kitbellew - Docs: fix warnings in scalafix-docs (#2426) @kitbellew
- ScalametaInternals: remove workarounds (#2412) @kitbellew
- Don't use accidentally public Tokens fields (#2403) @kitbellew
- TokenListSuite: use parse before tokens (#2404) @kitbellew
- PositionSyntax: use scalameta
- Update scalafmt-core to 3.11.0 (#2410) @scala-center-steward[bot]
- Update metaconfig-typesafe-config to 0.18.5 (#2408) @scala-center-steward[bot]
- Update munit to 1.3.0 (#2409) @scala-center-steward[bot]
- Bump VirtusLab/scala-cli-setup from 1.12 to 1.13 (#2418) @dependabot[bot]
- Update sbt, scripted-plugin to 1.12.9 (#2406) @scala-center-steward[bot]
- build and test against scala 3.8.3 (#2392) @bjaglin
- Bump coursier/setup-action from 2 to 3 (#2393) @dependabot[bot]
- Update sbt, scripted-plugin to 1.12.8 (#2395) @scala-center-steward[bot]
- Update metaconfig-typesafe-config to 0.18.4 (#2396) @scala-center-steward[bot]
- Update scalatest to 3.2.20 (#2397) @scala-center-steward[bot]
- Bump release-drafter/release-drafter from 6 to 7 (#2391) @dependabot[bot]
- Update munit to 1.2.4 (#2390) @scala-center-steward[bot]
- Update sbt, scripted-plugin to 1.12.5 (#2389) @scala-center-steward[bot]
- Update sbt, scripted-plugin to 1.12.4 (#2381) @scala-center-steward[bot]
- Update munit to 1.2.3 (#2382) @scala-center-steward[bot]
- post 0.14.6 release (#2379) @bjaglin