Releases: peripheryapp/periphery
Releases Β· peripheryapp/periphery
2.12.0
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
2.10.3
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
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(_:)
andbuildLimitedAvailability(_:)
result builder methods.
2.10.1
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
2.9.0
2.8.6
2.8.5
2.8.4
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"
.