Skip to content

diagnose-api-breaking-changes to be configurable if package API changes should be considered as breaking #10010

@kukushechkin

Description

@kukushechkin

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions