-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
Open
serhalp
wants to merge
14
commits into
master
Choose a base branch
from
serhalp/frp-1284-shopify-api-has-breaking-changes-and-thus-gatsby-source
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
feat!(gatsby-source-shopify): upgrade from Shopify API version 2022-04 to 2024-04 #39082
serhalp
wants to merge
14
commits into
master
from
serhalp/frp-1284-shopify-api-has-breaking-changes-and-thus-gatsby-source
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
gatsbot
bot
added
the
status: triage needed
Issue or pull request that need to be triaged and assigned to a reviewer
label
Sep 6, 2024
pieh
reviewed
Sep 10, 2024
packages/gatsby-source-shopify/src/type-builders/collection-type.ts
Outdated
Show resolved
Hide resolved
pieh
reviewed
Sep 10, 2024
packages/gatsby-source-shopify/__tests__/fixtures/bulk-results/collections.jsonl
Outdated
Show resolved
Hide resolved
pieh
added
topic: source-shopify
Related to the gatsby-source-shopify plugin
and removed
status: triage needed
Issue or pull request that need to be triaged and assigned to a reviewer
labels
Sep 10, 2024
…opify-api-has-breaking-changes-and-thus-gatsby-source
…changes-and-thus-gatsby-source
pieh
force-pushed
the
serhalp/frp-1284-shopify-api-has-breaking-changes-and-thus-gatsby-source
branch
from
December 18, 2024 15:01
ab17f2e
to
ca66063
Compare
mrstork
reviewed
Dec 18, 2024
packages/gatsby-source-shopify/src/create-schema-customization.ts
Outdated
Show resolved
Hide resolved
mrstork
reviewed
Dec 18, 2024
packages/gatsby-source-shopify/src/type-builders/location-type.ts
Outdated
Show resolved
Hide resolved
mrstork
reviewed
Dec 18, 2024
packages/gatsby-source-shopify/__tests__/fixtures/shopify-nodes/ShopifyCollection.json
Outdated
Show resolved
Hide resolved
mrstork
reviewed
Dec 18, 2024
packages/gatsby-source-shopify/__tests__/fixtures/shopify-nodes/ShopifyProduct.json
Outdated
Show resolved
Hide resolved
…changes-and-thus-gatsby-source
mrstork
approved these changes
Dec 18, 2024
pieh
approved these changes
Dec 18, 2024
serhalp
changed the title
chore!(gatsby-source-shopify): upgrade from Shopify API version 2022-04 to 2024-04
feat!(gatsby-source-shopify): upgrade from Shopify API version 2022-04 to 2024-04
Dec 18, 2024
Canary version released for testing purposes |
serhalp
commented
Dec 18, 2024
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?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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