Skip to content

feat: add stellar-split-sdk-migrate cli tool for breaking change dete… - #944

Merged
Kingsman-99 merged 2 commits into
Stellar-split:mainfrom
kingsrichie79-cmyk:feature/cli-breaking-change-detector
Sep 28, 2026
Merged

Kingsman-99 merged 2 commits into
Stellar-split:mainfrom
kingsrichie79-cmyk:feature/cli-breaking-change-detector

Conversation

@kingsrichie79-cmyk

Copy link
Copy Markdown
Contributor

Closes #887

Overview
Adds a CLI tool in the SDK repo that compares two SDK versions, detects breaking changes, and generates a human-readable migration guide.

Changes

  • Implemented npx stellar-split-sdk-migrate using commander and ts-morph.
  • CLI detects: removed exports, changed method signatures, renamed types, and added required parameters.
  • Automatically generates a docs/MIGRATION.md file containing before/after code snippets for every breaking change detected.
  • Tool returns an exit code of 1 if breaking changes are found (useful for CI enforcement).
  • Included a test suite mocking API surface changes to assert change detection correctness.

@drips-wave

drips-wave Bot commented Sep 26, 2026

Copy link
Copy Markdown

@kingsrichie79-cmyk Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Kingsman-99
Kingsman-99 merged commit 9453bf9 into Stellar-split:main Sep 28, 2026
1 check passed
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.

Implement SDK changelog and migration guide generator

2 participants