Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check version incompatibility #738

Merged
merged 1 commit into from
Jan 9, 2025
Merged

Check version incompatibility #738

merged 1 commit into from
Jan 9, 2025

Conversation

ashwinb
Copy link
Contributor

@ashwinb ashwinb commented Jan 9, 2025

When we bump up major.minor we want to make sure clients can immediately detect a version change and appropriately error out. It is not reasonable to keep checking for API-level backwards compatibility across such version bumps. Over time, we will make the check based only on the major version perhaps.

Test Plan

Manually updated __version__ in the client SDK to be "0.1.0" which is incompatible with server's current version "0.0.63", got the following error:

image

Without this update, the CLI worked correctly.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Meta Open Source bot. label Jan 9, 2025
@sixianyi0721 sixianyi0721 merged commit 4938f2f into main Jan 9, 2025
2 checks passed
@sixianyi0721 sixianyi0721 deleted the check_versions branch January 9, 2025 22:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Meta Open Source bot.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants