[POC] Script to compare API of 2 versions of the SDK#773
Draft
AliSoftware wants to merge 1 commit intotrunkfrom
Draft
[POC] Script to compare API of 2 versions of the SDK#773AliSoftware wants to merge 1 commit intotrunkfrom
AliSoftware wants to merge 1 commit intotrunkfrom
Conversation
Collaborator
Generated by 🚫 Danger |
21ac043 to
d3081e6
Compare
Contributor
Author
|
@andrewdmontgomery I figured you might be curious about this 🙂 |
|
| App Name | Gravatar Prototype Build | |
| Build Number | 2406 | |
| Version | PR #773 | |
| Bundle ID | com.automattic.gravatar-sdk-demo-uikit.prototype-build | |
| Commit | d3081e6 | |
| Installation URL | 4qurbi1b6sq3g |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

This is a POC to play with
swift api-digester/swift package diagnose-api-breaking-changescommands 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
diagnose-api-breaking-changesin the first place that led me to this rabbit holeExample output
Running
./compare-api.sh 3.2.0-rc.1from this branch:Running
/.compare-api.sh 2.1.1 3.0.0: