Releases: peripheryapp/periphery
Releases Β· peripheryapp/periphery
2.17.0
2.17.0
Breaking
- None.
Enhancements
- Added the
--relative-results
option to output result paths relative to the current directory. --quiet
now silences warnings too.
Bug Fixes
- Fix redundant public accessibility analysis for protocol members declared in extensions that are referenced cross-module where the protocol itself is not.
- Remove checks causing errors when scanning multi-platform projects.
- Additional arguments passed through to xcodebuild/swift are now quoted automatically as needed.
2.16.0
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.