-
Notifications
You must be signed in to change notification settings - Fork 10.3k
feat!(gatsby-source-shopify): upgrade from Shopify API version 2022-04 to 2024-04 #39082
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
feat!(gatsby-source-shopify): upgrade from Shopify API version 2022-04 to 2024-04 #39082
Conversation
See breaking changes in: - https://shopify.dev/docs/api/release-notes/previous-versions/2022-07 - https://shopify.dev/docs/api/release-notes/previous-versions/2022-10 - https://shopify.dev/docs/api/release-notes/previous-versions/2023-01 - https://shopify.dev/docs/api/release-notes/previous-versions/2023-04
packages/gatsby-source-shopify/src/type-builders/collection-type.ts
Outdated
Show resolved
Hide resolved
packages/gatsby-source-shopify/__tests__/fixtures/bulk-results/collections.jsonl
Outdated
Show resolved
Hide resolved
…opify-api-has-breaking-changes-and-thus-gatsby-source
…changes-and-thus-gatsby-source
ab17f2e
to
ca66063
Compare
packages/gatsby-source-shopify/src/create-schema-customization.ts
Outdated
Show resolved
Hide resolved
packages/gatsby-source-shopify/src/type-builders/location-type.ts
Outdated
Show resolved
Hide resolved
packages/gatsby-source-shopify/__tests__/fixtures/shopify-nodes/ShopifyCollection.json
Outdated
Show resolved
Hide resolved
packages/gatsby-source-shopify/__tests__/fixtures/shopify-nodes/ShopifyProduct.json
Outdated
Show resolved
Hide resolved
…changes-and-thus-gatsby-source
Canary version released for testing purposes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Let's add a prominent note near the top of https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-source-shopify that the package uses version 2024-04 and link to it?
…4 to 2024-04 (#39082) * chore!(gatsby-source-shopify): upgrade to api version 2024-04 See breaking changes in: - https://shopify.dev/docs/api/release-notes/previous-versions/2022-07 - https://shopify.dev/docs/api/release-notes/previous-versions/2022-10 - https://shopify.dev/docs/api/release-notes/previous-versions/2023-01 - https://shopify.dev/docs/api/release-notes/previous-versions/2023-04 * test: fix fixture syntax and update snapshots * chore: handle Count type * fix: handle intentory level * test: update snapshots and mocks * test: update variants fixture * test: update inventory level mock * fix: minimize breaking changes by keeping Int type for count fields * fix: mark productBased as deprecated * address review comments * test: update snapshots --------- Co-authored-by: pieh <[email protected]> (cherry picked from commit 8252e82)
…4 to 2024-04 (#39082) (#39202) * chore!(gatsby-source-shopify): upgrade to api version 2024-04 See breaking changes in: - https://shopify.dev/docs/api/release-notes/previous-versions/2022-07 - https://shopify.dev/docs/api/release-notes/previous-versions/2022-10 - https://shopify.dev/docs/api/release-notes/previous-versions/2023-01 - https://shopify.dev/docs/api/release-notes/previous-versions/2023-04 * test: fix fixture syntax and update snapshots * chore: handle Count type * fix: handle intentory level * test: update snapshots and mocks * test: update variants fixture * test: update inventory level mock * fix: minimize breaking changes by keeping Int type for count fields * fix: mark productBased as deprecated * address review comments * test: update snapshots --------- Co-authored-by: pieh <[email protected]> (cherry picked from commit 8252e82) Co-authored-by: Philippe Serhal <[email protected]>
This was now released in stable new major version:
|
Description
This upgrades the default Shopify API version in
gatsby-source-shopify
from2022-04
to2024-04
.We've made this upgrade seamless for Gatsby users by keeping the surface backwards-compatible. There are no breaking changes in fields or types.
However, when upgrading you should carefully review the Shopify API release notes because they contain several subtle behavioural changes that cannot be controlled by Gatsby. We've marked this as a major release for this reason.
See the release notes for each version here:
We didn't surface all new additional fields that have been added by Shopify in these versions. If you have fields you would like to see added, please open an issue or PR.
Related Issues
#39129