Releases: tonyarnold/swift-dependency-audit
v2.0.5
- The macOS binary tool is now code signed and notarized.
Binary Target Usage (Swift Package Manager Plugin)
Add this to your Package.swift for build tool plugin usage:
.binaryTarget(
name: "SwiftDependencyAuditBinary",
url: "https://github.com/tonyarnold/swift-dependency-audit/releases/download/v2.0.5/swift-dependency-audit.artifactbundle.zip",
checksum: "9d90d5b96a082536e0e873ecfa0eb77ac1d4628c5138de7b63172a0b59739a83"
)
Manual Installation
Download the appropriate binary for your system:
- Universal macOS (recommended):
swift-dependency-audit-v2.0.5-macos-universal.tar.gz
- Linux x86_64:
swift-dependency-audit-v2.0.5-linux-x86_64.tar.gz
- Linux ARM64:
swift-dependency-audit-v2.0.5-linux-aarch64.tar.gz
Quick Install (macOS)
curl -L https://github.com/tonyarnold/swift-dependency-audit/releases/download/v2.0.5/swift-dependency-audit-v2.0.5-macos-universal.tar.gz | tar -xzf -
sudo mv swift-dependency-audit-v2.0.5-macos-universal/swift-dependency-audit /usr/local/bin/
Quick Install (Linux)
curl -L https://github.com/tonyarnold/swift-dependency-audit/releases/download/v2.0.5/swift-dependency-audit-v2.0.5-linux-x86_64.tar.gz | tar -xzf -
sudo mv swift-dependency-audit-v2.0.5-linux-x86_64/swift-dependency-audit /usr/local/bin/
Supported Platforms
- macOS (Universal: ARM64 + x86_64)
- Linux x86_64 (static binary, no Swift runtime required)
- Linux ARM64 (static binary, no Swift runtime required)
Plugin Usage
The binary target can be used with the SwiftDependencyAudit build tool plugin for automatic dependency validation during builds.
Checksums
All binaries are signed with SHA256 checksums available in checksums.txt
.
v2.0.4
- The macOS binary tool is now code signed and notarized.
Binary Target Usage (Swift Package Manager Plugin)
Add this to your Package.swift for build tool plugin usage:
.binaryTarget(
name: "SwiftDependencyAuditBinary",
url: "https://github.com/tonyarnold/swift-dependency-audit/releases/download/v2.0.4/swift-dependency-audit.artifactbundle.zip",
checksum: "2c963ed599d766f348bd186243f584e2f39c3ce37f1a5d94a637509fb6af3b58"
)
Manual Installation
Download the appropriate binary for your system:
- Universal macOS (recommended):
swift-dependency-audit-v2.0.4-macos-universal.tar.gz
- Linux x86_64:
swift-dependency-audit-v2.0.4-linux-x86_64.tar.gz
- Linux ARM64:
swift-dependency-audit-v2.0.4-linux-aarch64.tar.gz
Quick Install (macOS)
curl -L https://github.com/tonyarnold/swift-dependency-audit/releases/download/v2.0.4/swift-dependency-audit-v2.0.4-macos-universal.tar.gz | tar -xzf -
sudo mv swift-dependency-audit-v2.0.4-macos-universal/swift-dependency-audit /usr/local/bin/
Quick Install (Linux)
curl -L https://github.com/tonyarnold/swift-dependency-audit/releases/download/v2.0.4/swift-dependency-audit-v2.0.4-linux-x86_64.tar.gz | tar -xzf -
sudo mv swift-dependency-audit-v2.0.4-linux-x86_64/swift-dependency-audit /usr/local/bin/
Supported Platforms
- macOS (Universal: ARM64 + x86_64)
- Linux x86_64 (static binary, no Swift runtime required)
- Linux ARM64 (static binary, no Swift runtime required)
Plugin Usage
The binary target can be used with the SwiftDependencyAudit build tool plugin for automatic dependency validation during builds.
Checksums
All binaries are signed with SHA256 checksums available in checksums.txt
.
v2.0.3
- The macOS binary tool is now code signed and notarized.
Binary Target Usage (Swift Package Manager Plugin)
Add this to your Package.swift for build tool plugin usage:
.binaryTarget(
name: "SwiftDependencyAuditBinary",
url: "https://github.com/tonyarnold/swift-dependency-audit/releases/download/v2.0.3/swift-dependency-audit.artifactbundle.zip",
checksum: "9b170a153a5de6ecad8dbf2657c9a64fb0a0c433f908f961e2028b0ab13e3a86"
)
Manual Installation
Download the appropriate binary for your system:
- Universal macOS (recommended):
swift-dependency-audit-v2.0.3-macos-universal.tar.gz
- Linux x86_64:
swift-dependency-audit-v2.0.3-linux-x86_64.tar.gz
- Linux ARM64:
swift-dependency-audit-v2.0.3-linux-aarch64.tar.gz
Quick Install (macOS)
curl -L https://github.com/tonyarnold/swift-dependency-audit/releases/download/v2.0.3/swift-dependency-audit-v2.0.3-macos-universal.tar.gz | tar -xzf -
sudo mv swift-dependency-audit-v2.0.3-macos-universal/swift-dependency-audit /usr/local/bin/
Quick Install (Linux)
curl -L https://github.com/tonyarnold/swift-dependency-audit/releases/download/v2.0.3/swift-dependency-audit-v2.0.3-linux-x86_64.tar.gz | tar -xzf -
sudo mv swift-dependency-audit-v2.0.3-linux-x86_64/swift-dependency-audit /usr/local/bin/
Supported Platforms
- macOS (Universal: ARM64 + x86_64)
- Linux x86_64 (static binary, no Swift runtime required)
- Linux ARM64 (static binary, no Swift runtime required)
Plugin Usage
The binary target can be used with the SwiftDependencyAudit build tool plugin for automatic dependency validation during builds.
Checksums
All binaries are signed with SHA256 checksums available in checksums.txt
.
v2.0.2
- The macOS binary tool is now code signed and notarized.
Binary Target Usage (Swift Package Manager Plugin)
Add this to your Package.swift for build tool plugin usage:
.binaryTarget(
name: "SwiftDependencyAuditBinary",
url: "https://github.com/tonyarnold/swift-dependency-audit/releases/download/v2.0.2/swift-dependency-audit.artifactbundle.zip",
checksum: "8fd09a3d6d3b090316dd197fd5bfa43e6a2d28d3abf8c29ab8e0363e32a68fae"
)
Manual Installation
Download the appropriate binary for your system:
- Universal macOS (recommended):
swift-dependency-audit-v2.0.2-macos-universal.tar.gz
- Linux x86_64:
swift-dependency-audit-v2.0.2-linux-x86_64.tar.gz
- Linux ARM64:
swift-dependency-audit-v2.0.2-linux-aarch64.tar.gz
Quick Install (macOS)
curl -L https://github.com/tonyarnold/swift-dependency-audit/releases/download/v2.0.2/swift-dependency-audit-v2.0.2-macos-universal.tar.gz | tar -xzf -
sudo mv swift-dependency-audit-v2.0.2-macos-universal/swift-dependency-audit /usr/local/bin/
Quick Install (Linux)
curl -L https://github.com/tonyarnold/swift-dependency-audit/releases/download/v2.0.2/swift-dependency-audit-v2.0.2-linux-x86_64.tar.gz | tar -xzf -
sudo mv swift-dependency-audit-v2.0.2-linux-x86_64/swift-dependency-audit /usr/local/bin/
Supported Platforms
- macOS (Universal: ARM64 + x86_64)
- Linux x86_64 (static binary, no Swift runtime required)
- Linux ARM64 (static binary, no Swift runtime required)
Plugin Usage
The binary target can be used with the SwiftDependencyAudit build tool plugin for automatic dependency validation during builds.
Checksums
All binaries are signed with SHA256 checksums available in checksums.txt
.
v2.0.1
- The macOS binary tool is now code signed and notarized.
Binary Target Usage (Swift Package Manager Plugin)
Add this to your Package.swift for build tool plugin usage:
.binaryTarget(
name: "SwiftDependencyAuditBinary",
url: "https://github.com/tonyarnold/swift-dependency-audit/releases/download/v2.0.1/swift-dependency-audit.artifactbundle.zip",
checksum: "3ed01893ce6d136bbbf9a752ca7acc3743f08f62f7252f87848e94c15554b2c5"
)
Manual Installation
Download the appropriate binary for your system:
- Universal macOS (recommended):
swift-dependency-audit-v2.0.1-macos-universal.tar.gz
- Linux x86_64:
swift-dependency-audit-v2.0.1-linux-x86_64.tar.gz
- Linux ARM64:
swift-dependency-audit-v2.0.1-linux-aarch64.tar.gz
Quick Install (macOS)
curl -L https://github.com/tonyarnold/swift-dependency-audit/releases/download/v2.0.1/swift-dependency-audit-v2.0.1-macos-universal.tar.gz | tar -xzf -
sudo mv swift-dependency-audit-v2.0.1-macos-universal/swift-dependency-audit /usr/local/bin/
Quick Install (Linux)
curl -L https://github.com/tonyarnold/swift-dependency-audit/releases/download/v2.0.1/swift-dependency-audit-v2.0.1-linux-x86_64.tar.gz | tar -xzf -
sudo mv swift-dependency-audit-v2.0.1-linux-x86_64/swift-dependency-audit /usr/local/bin/
Supported Platforms
- macOS (Universal: ARM64 + x86_64)
- Linux x86_64 (static binary, no Swift runtime required)
- Linux ARM64 (static binary, no Swift runtime required)
Plugin Usage
The binary target can be used with the SwiftDependencyAudit build tool plugin for automatic dependency validation during builds.
Checksums
All binaries are signed with SHA256 checksums available in checksums.txt
.
v2.0.0
Added
-
Constant-Based Dependency Declarations
- Support for dependency constants like
private let TCA = Target.Dependency.product(name: "ComposableArchitecture", package: "swift-composable-architecture")
- Resolves constant references in dependency arrays (e.g.,
dependencies: [TCA]
) - Works with all Swift access levels (
private
,fileprivate
,internal
,public
,open
) - Maintains full backward compatibility with existing dependency declaration methods
- Support for dependency constants like
-
New SwiftSyntax-based Parser
- Added AST-based Package.swift parsing using SwiftSyntax for improved accuracy
- Configurable parser backend:
--parser swiftsyntax|regex|auto
(default: auto) - Auto mode attempts SwiftSyntax first with regex fallback for compatibility
- SwiftSyntax parser fixes conditional dependency parsing limitations of regex parser
Fixed
-
Missing Access Modifier Support
- Added support for
open
access modifier in dependency constants - Fixed parsing of dependency constants without explicit access modifiers (defaults to
internal
)
- Added support for
-
Conditional Product Dependency Parsing
- Fixed bug where products declared after conditional dependencies with platform-specific conditions were ignored during parsing
- Enhanced bracket counting algorithm to properly handle nested brackets within parentheses (e.g.,
condition: .when(platforms: [.tvOS])
) - Section extraction now correctly ignores square brackets inside parentheses to prevent premature parsing termination
- Resolves issue where dependencies like
RxSwift
were missed when following conditional products likeMyModuleTV
with platform conditions
Binary Target Usage (Swift Package Manager Plugin)
Add this to your Package.swift for build tool plugin usage:
.binaryTarget(
name: "SwiftDependencyAuditBinary",
url: "https://github.com/tonyarnold/swift-dependency-audit/releases/download/v2.0.0/swift-dependency-audit.artifactbundle.zip",
checksum: "410d3d60f34fae79d0cc6fc62b4c67131e23e5687df67899d13a583378e6bb39"
)
Manual Installation
Download the appropriate binary for your system:
- Universal macOS (recommended):
swift-dependency-audit-v2.0.0-macos-universal.tar.gz
- Linux x86_64:
swift-dependency-audit-v2.0.0-linux-x86_64.tar.gz
- Linux ARM64:
swift-dependency-audit-v2.0.0-linux-aarch64.tar.gz
Quick Install (macOS)
curl -L https://github.com/tonyarnold/swift-dependency-audit/releases/download/v2.0.0/swift-dependency-audit-v2.0.0-macos-universal.tar.gz | tar -xz
sudo mv swift-dependency-audit-v2.0.0-macos-universal/swift-dependency-audit /usr/local/bin/
Quick Install (Linux)
curl -L https://github.com/tonyarnold/swift-dependency-audit/releases/download/v2.0.0/swift-dependency-audit-v2.0.0-linux-x86_64.tar.gz | tar -xz
sudo mv swift-dependency-audit-v2.0.0-linux-x86_64/swift-dependency-audit /usr/local/bin/
Supported Platforms
- macOS (Universal: ARM64 + x86_64)
- Linux x86_64 (static binary, no Swift runtime required)
- Linux ARM64 (static binary, no Swift runtime required)
Plugin Usage
The binary target can be used with the SwiftDependencyAudit build tool plugin for automatic dependency validation during builds.
Checksums
All binaries are signed with SHA256 checksums available in checksums.txt
.
v1.4.8
What's Changed
- Properly inject version information into the tool from the environment by @tonyarnold in #10
- Setup Swift Format by @tonyarnold in #11
Full Changelog: v1.4.7...v1.4.8
v1.4.7
What's Changed
- Rename the default output format to “terminal”, and remove the discrete JSON output format flag by @tonyarnold in #9
Full Changelog: v1.4.6...v1.4.7
v1.4.6
What's Changed
- Add missing whitelist entries for other Apple SDKs by @tonyarnold in #8
Full Changelog: v1.4.5...v1.4.6
v1.4.5
Add Objective-C to the default whitelist.
Full Changelog: v1.4.4...v1.4.5