Skip to content

Conversation

@sinejoe
Copy link
Contributor

@sinejoe sinejoe commented Oct 7, 2021

Be less rigid with API versions. Having to manually update this repo every three months is getting cumbersome it seems and we are lagging behind by weeks in getting the new versions supported as they are released by Shopify. This repo doesn't need to strictly enforce the deprecations and new releases. Developers can still make a request to the 2019-04 api version successfully so there isn't a major need IMO to block deprecated API versions if a developer chooses to use. Further, each new release and the next release candidate should be usable/testable here without having to override.

WHY are these changes introduced?

Addresses original issue #339 for which a fix was attempted in #441 but caused more problems than solved.

WHAT is this pull request doing?

Replacing a fixed, hard-coded list of supported/valid API versions with an allowable range of all API versions plus new ones automatically going forward including next release candidate.

Checklist

  • I have updated the CHANGELOG (if applicable)
  • I have followed the Shopify Python guide

I did not update these items awaiting acceptance or review/discussion of this PR.

…w/ongoing quarterly releases and release candidates
@ghost ghost added the cla-needed label Oct 7, 2021
@ghost ghost removed the cla-needed label Oct 11, 2021
Copy link
Contributor

@mllemango mllemango left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like this a lot
Would you mind adding unit tests?

@mllemango
Copy link
Contributor

Hey @sinejoe, we're currently looking into alternative ways of automating these releases that would apply to all our libraries and it seems like we're leaning towards a more rigid control of api versions rather than what's being suggested here.

Thanks for putting forth this change, it sparked a lot of conversation about how we want to proceed with these updates!

With all that said, I'm going to close this PR, feel free to open it again if anything else comes up.

@mllemango mllemango closed this Jan 6, 2022
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.

2 participants