Releases: peripheryapp/periphery
Releases Β· peripheryapp/periphery
2.15.1
2.15.0
2.15.0
Breaking
- Swift 5.7 and macOS 12 are no longer supported.
Enhancements
- Reduced indexing and analysis runtime by ~60%.
Bug Fixes
- Fix indexing multi-platform projects such as those containing watchOS extensions.
- Subclasses of CLKComplicationPrincipalClass referenced from an Info.plist are now retained.
2.14.1
2.14.0
2.13.0
Breaking
- None.
Enhancements
- Improve indexing performance when multiple index stores are provided.
- Added
--external-test-case-classes
option to allow external types to be treated as XCTestCase subclasses. - Comment commands now support trailing comments, e.g
// periphery:ignore - explanation of why this is necessary
Bug Fixes
- Fix handling of relative paths in
--file-targets-path
. - Fix redundant public accessibility false positives when
--retain-objc-accessible
is enabled.
2.12.3
2.12.2
Breaking
- None.
Enhancements
- Significantly improve the performance of index and report filtering.
- Moderate improvements to indexing and analysis performance.
Bug Fixes
COMPILER_INDEX_STORE_ENABLE
is now forcefully enabled as it's required for indexing.- Fix false positive where a
typealias
is extended but otherwise unused. - Fix redundant accessibility analysis for function metatype arguments.
- Fix redundant accessibility analysis for property types inferred from a function call initializer.
2.12.1
Breaking
- None.
Enhancements
- None.
Bug Fixes
- Fix JSON deserialization crash caused by unrelated warnings in the output from
xcodebuild -list -json
. - Retain all
@MainActor
annotated types and their constructors to workaround a bug in Swift 5.7. - Retain all constructors on types instantiated via
Self(...)
to workaround false positives caused by a bug in Swift. Set<AnyCancellable>
andNSKeyValueObservation
are now included in the default values for--retain-assign-only-property-types
.- Improve accuracy of guard-let shorthand workaround.
- Fix unused parameter false positive result for parameter used within a nested computed variable.
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.