Skip to content

Releases: peripheryapp/periphery

2.12.0

13 Jan 22:13
Compare
Choose a tag to compare
Breaking
  • None.
Enhancements
  • Add CodeClimate output formatter available via the --format codeclimate option.
  • Add support for third-party build systems, such as Bazel.
Bug Fixes
  • Enums that conform to SwiftUI special Provider protocols are now retained, as was already the case for structs and classes.

2.11.0

08 Jan 23:09
Compare
Choose a tag to compare
Breaking
  • None.
Enhancements
  • Add clear-cache command.
  • Add support for analyzing local SwiftPM packages in Xcode projects.
Bug Fixes
  • AnyCancellable properties are now excluded from assign-only property analysis.

2.10.3

02 Jan 17:08
Compare
Choose a tag to compare
Breaking
  • None.
Enhancements
  • None.
Bug Fixes
  • Fix retaining CodingKeys enum in a struct whose Codable conformance is declared in an extension.
  • Used tagged dependencies to prevent "unsafe build flags" error from SwiftPM.
  • Fix old index store use by including Xcode version hash in DerivedData directory name.

2.10.2

27 Nov 18:49
Compare
Choose a tag to compare
Breaking
  • None.
Enhancements
  • None.
Bug Fixes
  • Fix guard-let shorthand syntax.
  • Fix accuracy of unused parameter analysis for overridden and protocol conforming functions.
  • Fix retaining buildFinalResult(_:) and buildLimitedAvailability(_:) result builder methods.

2.10.1

20 Nov 18:12
Compare
Choose a tag to compare
Breaking
  • None.
Enhancements
  • None.
Bug Fixes
  • Fix error building with SwiftPM and Swift 5.7: the target 'PeripheryKit' in product 'periphery' contains unsafe build flags
  • Fix unused parameter analysis for shorthand if-let syntax.
  • Workaround Swift shorthand if-let syntax bug (swiftlang/swift#61509). Global properties are not handled by this workaround.
  • Fix retaining inferred associated types.
  • Fix redundant public accessibility analysis for types used in closure signatures.
  • Conflicting index store units are now detected and result in an error.

2.10.0

10 Oct 08:42
Compare
Choose a tag to compare
Breaking
  • Swift 5.6 or later is now required.
Enhancements
  • Add --report-include option to filter reported violations with an allowlist.
  • Support for reading Xcode 14 generated index stores.
Bug Fixes
  • None.

2.9.0

08 May 19:19
Compare
Choose a tag to compare
Breaking
  • Swift 5.5 or later is now required.
Enhancements
  • Add support for Swift 5.6.
  • Output is now line buffered when writing to a fifo/pipe.
Bug Fixes
  • IBSegueAction annotated functions are now retained.

2.8.6

06 Jan 13:22
Compare
Choose a tag to compare
Breaking
  • None.
Enhancements
  • None.
Bug Fixes
  • Fix another crash while indexing.

2.8.5

03 Jan 17:44
Compare
Choose a tag to compare
Breaking
  • None.
Enhancements
  • None.
Bug Fixes
  • Fix a crash while indexing.

2.8.4

30 Dec 23:37
Compare
Choose a tag to compare
Breaking
  • None.
Enhancements
  • None.
Bug Fixes
  • Fix false positive when protocols requirements are satisfied in another file from the one that declares the conformance.
  • Fix redundant public accessibility analysis of enum associated value types.
  • Fix redundant public accessibility analysis of aliased types.
  • Comment commands can now retain redundant protocols.
  • Fix excluding paths that contain relative components, e.g --report-exclude "../file.swift".