Skip to content

Releases: peripheryapp/periphery

2.2.0

21 Nov 12:53
Compare
Choose a tag to compare
Breaking
  • None.
Enhancements
  • Add support for SwiftPM & Xcode mixed projects.
Bug Fixes
  • None.

2.1.1

18 Nov 10:35
Compare
Choose a tag to compare
Breaking
  • None.
Enhancements
  • None.
Bug Fixes
  • IBOutlets and IBActions that reside in a base class that are referenced only via a subclass are now retained.

2.1.0

14 Nov 13:14
Compare
Choose a tag to compare
Breaking
  • None.
Enhancements
  • Added a Checkstyle output formatter.
Bug Fixes
  • Fix Swift 5.2 support.
  • Updated Yams dependency to fix building with Swift for Tensorflow.
  • Fix possible concurrent mutation crash.
  • Classes & structs that conform to SwiftUI's LibraryContentProvider are now retained.

2.0.1

10 Nov 12:14
Compare
Choose a tag to compare

Breaking

  • None.

Enhancements

  • None.

Bug Fixes

  • Fix version number.

2.0.0

10 Nov 12:02
Compare
Choose a tag to compare
Breaking
  • SourceKit based indexing has been removed, the IndexStore indexer is now the sole indexer. Therefore, the following scan options have been removed: --use-index-store, --use-build-log, --save-build-log.
  • The scan-syntax command has been removed.
Enhancements
  • Support for code comments to ignore unused declarations.
  • Support for analyzing Swift Package Manager projects.
  • Linux support for Swift Package Manager projects.
  • Assign-only property detection is back and enabled by default. Disable it with --retain-assign-only-properties.
  • Added --skip-build option to skip the build phase.
Bug Fixes
  • UISceneDelegateClassName & UISceneClassName referenced in Info.plist are now retained.
  • Ignore parameters from functions annotated with @IBAction.
  • Classes & structs that conform to SwiftUI's PreviewProvider are now retained.
  • Support @main entry points.
  • Fix unused recursive function detection when using the index store.
  • Properties named in struct implicit constructors are now retained.
  • Implicit declarations such as struct constructors are now retained.
  • A typealias that defines an associatedtype in an external protocol is now retained.
  • All custom appendInterpolation methods are now retained, as they cannot be identified as unused due to https://bugs.swift.org/browse/SR-13792.
  • Fixed path resolution for nested projects in Xcode workspaces.
  • wrappedValue and projectedValue properties in property wrappers are now retained.
  • XCTestManifests.swift is now treated as an entry point file like LinuxMain.swift.
  • Updated XcodeProj dependency to resolve some Xcode project parsing issues.

1.8.0

03 Oct 09:04
Compare
Choose a tag to compare

Breaking

  • Aggressive Mode has been removed as it provided little value.
  • Removed undocumented diagnosis console feature.

Enhancements

  • Add Xcode 12 support.

Bug Fixes

  • Fixed an issue where implicit declarations inserted by SourceKit could cause incorrect results.

1.7.1

18 Apr 11:51
Compare
Choose a tag to compare
Breaking
  • None.
Enhancements
  • None.
Bug Fixes
  • Fix --exclude option for scan-syntax.
  • Bundle lib_InternalSwiftSyntaxParser.dylib in the release archive.

1.7.0

17 Apr 13:05
Compare
Choose a tag to compare
Breaking
  • None.
Enhancements
  • Support for Xcode 11.4, Swift 5.2.
  • Experimental IndexStore based indexer.
Bug Fixes
  • Fix shell escaping issues.

1.6.0

28 Mar 11:57
Compare
Choose a tag to compare

Breaking

  • None.

Enhancements

  • Add support for Xcode 11.3.

Bug Fixes

  • None.

1.5.1

06 Jul 12:21
Compare
Choose a tag to compare

Breaking

  • None.

Enhancements

  • None.

Bug Fixes

  • Fix CocoaPod.