Skip to content
This repository has been archived by the owner on Apr 11, 2024. It is now read-only.

Api Versions are out of date #116

Closed
furnaceX opened this issue Mar 1, 2021 · 2 comments · Fixed by #117
Closed

Api Versions are out of date #116

furnaceX opened this issue Mar 1, 2021 · 2 comments · Fixed by #117

Comments

@furnaceX
Copy link

furnaceX commented Mar 1, 2021

Issue summary

Using import Shopify, {ApiVersion} from '@shopify/shopify-api';
When I print out the available ApiVersions, I get an old list:

ApiVersions: {
  July19: '2019-07',
  October19: '2019-10',
  January20: '2020-01',
  April20: '2020-04',
  July20: '2020-07',
  October20: '2020-10',
  Unstable: 'unstable',
  Unversioned: 'unversioned'
}

Seems that these are cached values. How do I get the latest API versions to load?

@jt274
Copy link

jt274 commented Mar 1, 2021

Can confirm this. Using ApiVersion.January21 does not work. Can probably substitute 2021-01 for ApiVersion.January21 in the meantime.

@paulomarg
Copy link
Contributor

Good catch, thanks for reporting this. I'll add that version right away!

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants