Skip to content
This repository has been archived by the owner on Jul 14, 2023. It is now read-only.

OrganizeImports v0.4.0

Compare
Choose a tag to compare
@liancheng liancheng released this 18 Jul 20:36
· 165 commits to master since this release

Improvements:

  • Remove unneeded curly-braces in imports with only a single name imported (#97, #96)
  • Remove duplicate importees (#82, #81)
  • Allow -Xlint in OrganizeImports.removeUnused (#80)
  • Cross-build to 2.13 (#69)
  • Skip package object parent symbols when expanding relative imports (#58, #55)
  • Do not rewrite already organized imports formatted by Scalafmt (#46, #44, #43)

Bug fixes:

  • Imports may be sorted in wrong order when some of them are not rewritten (#85, #84)
  • Invalid code generated due to inheritance (#78, #65)
  • Infinite loop caused by missing symbol information (#90, #75, #64)
  • Do not remove _root_ while expanding relative imports (#63, #62)
  • Handling edge cases caused by explicitly imported implicit names (#30, #61, #59, #40)
  • Remove unused local imports (#49, #46)
  • Fix test Codecov test coverage report (#70, #54)

Huge thanks to the following contributors for this release!

Please refer to the v0.4.0 milestone for a complete list of features and fixes.