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.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@shopify/shopify-api@10.0.0
Major Changes
379206c: Webhook validation will now return a different
reason
value when the HMAC value is missing from the request. Instead of returningWebhookValidationErrorReason.MissingHeaders
as it does for the other headers it validates, it will now return a newWebhookValidationErrorReason.MissingHmac
error so this check matches other HMAC validations.If your app doesn't explicitly check for the error after calling
webhook.validate()
, you don't need to make any changes.637c6c3: This
scopes
field on the API config object is now optional. If your app is using the new managed install flow, it is now recommended you omit thescopes
property from the config object.61576be: Changed the package's build process to produce both ESM and CJS outputs.
While this should have no effect on most apps, if you're directly importing a file from the package, its path will have changed.
Regular imports for package files remain unchanged.
Before:
After:
Patch Changes
find()
methods to fail when missing all ids, instead of defaulting to the same behaviour asall()
.query
method because they haven't been deprecated for long enough. They'll be removed when v11 is released instead.@shopify/admin-api-client@0.2.9
Patch Changes
@shopify/graphql-client@0.10.4
Patch Changes
fetch
function, which led to requests failing in the final package.@shopify/storefront-api-client@0.3.4
Patch Changes
fetch
function, which led to requests failing in the final package.@shopify/shopify-app-session-storage@2.1.5
Patch Changes
@shopify/shopify-app-session-storage-drizzle@1.1.2
Patch Changes
@shopify/shopify-app-session-storage-dynamodb@3.0.5
Patch Changes
@shopify/shopify-app-session-storage-kv@3.0.6
Patch Changes
@shopify/shopify-app-session-storage-memory@3.0.5
Patch Changes
@shopify/shopify-app-session-storage-mongodb@3.0.5
Patch Changes
@shopify/shopify-app-session-storage-mysql@3.0.5
Patch Changes
@shopify/shopify-app-session-storage-postgresql@3.0.5
Patch Changes
@shopify/shopify-app-session-storage-prisma@4.0.5
Patch Changes
@shopify/shopify-app-session-storage-redis@3.0.5
Patch Changes
@shopify/shopify-app-session-storage-sqlite@3.0.5
Patch Changes
@shopify/shopify-app-express@4.1.6
Patch Changes
scopes
field on the API config object is now optional. If your app is using the new managed install flow, it is now recommended you omit thescopes
property from the config object.@shopify/shopify-app-remix@2.8.2
Patch Changes
scopes
field on the API config object is now optional. If your app is using the new managed install flow, it is now recommended you omit thescopes
property from the config object.@remix-run/node
as a direct dependency. Any app using the Vercel adapter already needs@remix-run/node
, so this shouldn't affect any apps.@shopify/shopify-app-session-storage-test-utils@2.0.5
Patch Changes