Skip to content

Releases: peripheryapp/periphery

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".

2.8.3

29 Nov 09:25
Compare
Choose a tag to compare
Breaking
  • None.
Enhancements
  • None.
Bug Fixes
  • Fix false positive when a class inherits a class with the same name from another module.
  • Retain parameters on protocol function members implemented by an external type.
  • Unused function parameters on unimplemented protocol function members are now retained, as the function may still be referenced from an existential type.
  • Fix incorrect redundant public accessibility on a public superclass when a subclass is used in another module.
  • Result Builder static methods are now retained.
  • Assign-only properties that are assigned multiple times in the same method are now correctly identified as assign-only.
  • Fix issue where properties with identical names at different scopes could cause inconsistent results from assign-only property analysis.

2.8.2

06 Nov 12:53
Compare
Choose a tag to compare
Breaking
  • None.
Enhancements
  • None.
Bug Fixes
  • The DEVELOPER_DIR environment variable is now respected.
  • Updated XcodeProj dependency resolves building with Xcode 13.