Scalafix v0.5.10
v0.5.10
Previous release note: v0.5.8 / v0.5.9
This is a big release for scalafix: (7 Dec 2017 - 26 Jan 2018)
- two new contributors: @LeonardMeyer and @marcelocenerine, welcome!
- 34 merged PR & closed issues: https://github.com/scalacenter/scalafix/milestone/9?closed=1
- @vovapolu's work is sponsored by https://salt.bountysource.com/teams/scalafix/supporters
Users
Rules
- #548 New Rule: MissingFinal @vovapolu
- #553 New Rule: LeakingImplicitClassVal @LeonardMeyer
- #515 #563 #546 New Rule: DisableUnless @vovapolu
- #494 #561 #533 #548 #546 Add Rule configuration: DisableSyntax @vovapolu @MasseGuillaume
Docs
- Overview of all rules is easier to read now https://scalacenter.github.io/scalafix/docs/users/rules
- Configuration options for all rules are now documented with a description, default values and example values. See https://scalacenter.github.io/scalafix/docs/rules/ExplicitResultTypes
Honorable mention
Did not make it due to blocking issues:
- #513 #522 #556 New Rule: DottyAutoTuplingFunctionArgs @marcelocenerine @olafurpg
- #554 New Rule: DiscardedValues @vovapolu
Features
- #538 #540 We now publish SNAPSHOT artifacts on merge. @olafurpg
Read: https://scalacenter.github.io/scalafix/docs/users/installation#snapshot - #520 New scalafixCli sbt task with tab completion. @MasseGuillaume
- #511 Add --diff for rewrites. It's now possible to do rewrite on a git diff. @MasseGuillaume
- #503 Add escape mechanism (// scalafix:ok) for rules with rewrites (Patch) @MasseGuillaume
Bugfixes
- #562 Fix bug in ExplicitResultTypes. @olafurpg
- #497 Fix bug in DisableSyntax position. @olafurpg
- #544 Use lenient dialect in scalafix-reflect. @olafurpg
- #537 Remove trailing comma in Multi-line imports. @olafurpg
- #490 Use unmanagedSources instead of unmanagedSourceDirectories. @olafurpg
Rule Authors
- #474 #539 Add TokenList.{leadingSpaces, trailingSpaces} @marcelocenerine @olafurpg
- #534 Make 'from' parameter in TokenList.slice/find inclusive @marcelocenerine
- #500 Add CustomMessage to the public api @MasseGuillaume
Scalafix Developers
- #514 We enabled scalafix in scalafix! Run the scalafix task to make the CI happy! @olafurpg
- #565 Upgrade to metaconfig v0.6 @olafurpg
- #565 Upgrade to metaconfig v0.6.Enabling automatic derivation for configuration decoders and documentation generation. (Example: https://scalacenter.github.io/scalafix/docs/rules/ExplicitResultTypes) Read: https://olafurpg.github.io/metaconfig/#genericderivedecoder for more details. @olafurpg