Skip to content

Conversation

AliSoftware
Copy link
Contributor

@AliSoftware AliSoftware commented May 30, 2025

This is a POC to play with swift api-digester / swift package diagnose-api-breaking-changes commands that I learned about today.

My hope was to experiment if we could use those commands to e.g. detecting breaking changes in the API between versions, in order to help us decide on major version bump during new releases, or generating automated API changelogs, etc.

As I explored the commands I figured maybe it could be useful, so I created this Draft PR not particularly with the intent of it being merged, but rather just to be able to save my script and experiment somewhere instead of keeping it on my Mac.

References

Example output

Running ./compare-api.sh 3.2.0-rc.1 from this branch:

image

Running /.compare-api.sh 2.1.1 3.0.0:

image

@dangermattic
Copy link
Collaborator

1 Error
🚫 You need to add at least one label to this PR

Generated by 🚫 Danger

@AliSoftware AliSoftware force-pushed the ohalligon/poc-compare-api branch from 21ac043 to d3081e6 Compare May 30, 2025 11:49
@AliSoftware
Copy link
Contributor Author

AliSoftware commented May 30, 2025

@andrewdmontgomery I figured you might be curious about this 🙂
Also shared some info about the idea in internal post paaHJt-8vX-p2

@wpmobilebot
Copy link

App Icon📲 You can test the changes from this Pull Request in Gravatar Prototype Build by scanning the QR code below to install the corresponding build.
App NameGravatar Prototype Build
Build Number2406
VersionPR #773
Bundle IDcom.automattic.gravatar-sdk-demo-uikit.prototype-build
Commitd3081e6
Installation URL4qurbi1b6sq3g
Automatticians: You can use our internal self-serve MC tool to give yourself access to those builds if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants