Skip to content

Releases: MobileNativeFoundation/swift-index-store

1.6.0

06 Feb 18:31
27ef10a
Compare
Choose a tag to compare
  • Add bzlmod support
  • Update DemangleNodes.def for Swift 5.9

1.5.0

15 Sep 03:21
a606a4e
Compare
Choose a tag to compare
  • Add optional JSON output to unused-imports, thanks @wileykestner!
  • Allow passing multiple index stores to unused imports, thanks @pennig!
  • Update DemangleNodes.def for Swift 5.8
  • Fix Swift 5.9 warnings using withUnsafeMutablePointer for C calls

1.4.0

26 May 23:32
1aa0e78
Compare
Choose a tag to compare
  • Switch unused-imports to use a config file for opt out regexes
  • Add support for unused-imports to always keep specific modules (please file bugs if you need this)
  • Fix some false negatives / positives in unnecessary-testable
  • Fix sed commands with spaces in paths, thanks @wileykestner

Add unused-imports tool

05 Apr 23:17
5de4a97
Compare
Choose a tag to compare

This adds a tool for using index data to determine what imports in your files can be removed. It currently is limited to only imports in your project (ignoring system imports) and does not add missing imports, it only removes unused ones. This means you may have to add missing imports if an import was being polluted by another otherwise unused modules. There are also a few upstream bugs in Swift that affect the accuracy of this tool, you can see the details on #5. If you try this out on your project please report any issues you find!

Add bazel support

23 Mar 19:59
cbd91ca
Compare
Choose a tag to compare

This release adds support for building with bazel, thanks @maxwellE!

Initial release!

27 Oct 17:39
c8df364
Compare
Choose a tag to compare
1.0.0

Initial open source commit