Description
diagnose-api-breaking-changes treats package API changes as breaking. This is not always correct, as this is not the package public API. There should be a way to configure if package API breaking changes should be treated as breaking during the check.
Expected behavior
package API changes are not treated as breaking in diagnose-api-breaking-changes.
Actual behavior
package API changes are treated as breaking in diagnose-api-breaking-changes.
Steps to reproduce
No response
Swift Package Manager version/commit hash
Swift Package Manager - Swift 6.3.1
Swift & OS version (output of swift --version && uname -a)
Apple Swift version 6.3.1 (swift-6.3.1-RELEASE)
Target: arm64-apple-macosx26.0
Darwin MacBook-Pro.local 25.4.0 Darwin Kernel Version 25.4.0: Thu Mar 19 19:33:25 PDT 2026; root:xnu-12377.101.15~1/RELEASE_ARM64_T6041 arm64
Description
diagnose-api-breaking-changestreatspackageAPI changes as breaking. This is not always correct, as this is not the package public API. There should be a way to configure ifpackageAPI breaking changes should be treated as breaking during the check.Expected behavior
packageAPI changes are not treated as breaking indiagnose-api-breaking-changes.Actual behavior
packageAPI changes are treated as breaking indiagnose-api-breaking-changes.Steps to reproduce
No response
Swift Package Manager version/commit hash
Swift Package Manager - Swift 6.3.1
Swift & OS version (output of
swift --version && uname -a)Apple Swift version 6.3.1 (swift-6.3.1-RELEASE)
Target: arm64-apple-macosx26.0
Darwin MacBook-Pro.local 25.4.0 Darwin Kernel Version 25.4.0: Thu Mar 19 19:33:25 PDT 2026; root:xnu-12377.101.15~1/RELEASE_ARM64_T6041 arm64