API Backwards Compatibility #4656
Illyism
started this conversation in
Core Development
Replies: 1 comment 3 replies
-
Hello @Illyism 👋 I'm François, software engineer at Polar and the main culprit for this issue 😊 We deployed a big change yesterday to our system, that indeed changed a lot of endpoints and schema. I tried to make it backward compatible (e.g there or there), but I didn't foresee Zod schema would be so picky. That's why I thought a notice + major semver upgrade wouldn't be necessary in this case. I'm really sorry about that. So here is the plan to fix the situation:
Once this done, you'll have two solutions:
I'll keep you updated about the progress of all this. We'll make sure this doesn't happen again in the future 😊 |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
I finished part of the MagicSpace Programmatic SEO Course login using the Polar API. But once deployed yesterday I noticed that
polar.users.licenseKeys.validate
stopped working and was throwing a zod error.This is because, once I updated to
"@polar-sh/sdk": "^0.18.1",
I noticed that the users SDK was deleted and moved to customerPortal.I think there are two issues here:
It's hard for me to know when / if you decide to change around the API. And I can't trust that it won't break for my customers. This is very important.
Beta Was this translation helpful? Give feedback.
All reactions