diff --git a/.changeset/fifty-trains-brake.md b/.changeset/fifty-trains-brake.md deleted file mode 100644 index 5902ea94e..000000000 --- a/.changeset/fifty-trains-brake.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@shopify/shopify-api": major ---- - -Webhook validation will now return a different `reason` value when the HMAC value is missing from the request. Instead of returning `WebhookValidationErrorReason.MissingHeaders` as it does for the other headers it validates, it will now return a new `WebhookValidationErrorReason.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. diff --git a/.changeset/fuzzy-months-hug.md b/.changeset/fuzzy-months-hug.md deleted file mode 100644 index a845151cc..000000000 --- a/.changeset/fuzzy-months-hug.md +++ /dev/null @@ -1,2 +0,0 @@ ---- ---- diff --git a/.changeset/gentle-apricots-work.md b/.changeset/gentle-apricots-work.md deleted file mode 100644 index 53059f8db..000000000 --- a/.changeset/gentle-apricots-work.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@shopify/graphql-client": patch -"@shopify/storefront-api-client": patch ---- - -Fixed the minified build process to not mangle the `fetch` function, which led to requests failing in the final package. diff --git a/.changeset/gorgeous-rivers-jump.md b/.changeset/gorgeous-rivers-jump.md deleted file mode 100644 index 286687e93..000000000 --- a/.changeset/gorgeous-rivers-jump.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@shopify/shopify-app-remix": patch -"@shopify/shopify-api": patch ---- - -Change v10_lineItemBilling flag to lineItemBilling diff --git a/.changeset/honest-lizards-bow.md b/.changeset/honest-lizards-bow.md deleted file mode 100644 index dda002ddc..000000000 --- a/.changeset/honest-lizards-bow.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@shopify/shopify-app-remix": patch ---- - -Fix an issue that rejected requests from Shopify POS / Mobile due to their User-Agents being labeled as bots. diff --git a/.changeset/lovely-balloons-punch.md b/.changeset/lovely-balloons-punch.md deleted file mode 100644 index 156a3dc1e..000000000 --- a/.changeset/lovely-balloons-punch.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@shopify/shopify-api": major -"@shopify/shopify-app-express": patch -"@shopify/shopify-app-remix": patch ---- - -This `scopes` field on the API config object is now optional. If your app is using the new [managed install flow](https://shopify.dev/docs/apps/auth/installation), it is now recommended you omit the `scopes` property from the config object. diff --git a/.changeset/mean-plums-compare.md b/.changeset/mean-plums-compare.md deleted file mode 100644 index 193c67507..000000000 --- a/.changeset/mean-plums-compare.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -"@shopify/shopify-app-session-storage-postgresql": patch -"@shopify/shopify-app-session-storage-test-utils": patch -"@shopify/shopify-app-session-storage-dynamodb": patch -"@shopify/shopify-app-session-storage-drizzle": patch -"@shopify/shopify-app-session-storage-mongodb": patch -"@shopify/shopify-app-session-storage-memory": patch -"@shopify/shopify-app-session-storage-prisma": patch -"@shopify/shopify-app-session-storage-sqlite": patch -"@shopify/shopify-app-session-storage-mysql": patch -"@shopify/shopify-app-session-storage-redis": patch -"@shopify/shopify-app-session-storage-kv": patch -"@shopify/shopify-app-session-storage": patch ---- - -Updated @shopify/shopify-api dependency to also allow v10+ since there were no breaking changes affecting this package. diff --git a/.changeset/short-pillows-own.md b/.changeset/short-pillows-own.md deleted file mode 100644 index 99566792f..000000000 --- a/.changeset/short-pillows-own.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@shopify/shopify-api": patch ---- - -Fixing REST resource `find()` methods to fail when missing all ids, instead of defaulting to the same behaviour as `all()`. diff --git a/.changeset/sweet-drinks-film.md b/.changeset/sweet-drinks-film.md deleted file mode 100644 index a269fd374..000000000 --- a/.changeset/sweet-drinks-film.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -"@shopify/shopify-api": major ---- - -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: - -```ts -import 'node_modules/@shopify/shopify-api/lib/clients/admin/graphql/client' -import '@shopify/shopify-api/adapters/node' -``` - -After: - -```ts -// Add `dist/esm|cjs/` before the file -import 'node_modules/@shopify/shopify-api/dist/esm/lib/clients/admin/graphql/client' -// Unchanged -import '@shopify/shopify-api/adapters/node' -``` - diff --git a/.changeset/tall-brooms-reflect.md b/.changeset/tall-brooms-reflect.md deleted file mode 100644 index 70748e847..000000000 --- a/.changeset/tall-brooms-reflect.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@shopify/shopify-app-remix": patch ---- - -Removed `@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. diff --git a/.changeset/tricky-actors-laugh.md b/.changeset/tricky-actors-laugh.md deleted file mode 100644 index bd58f50c2..000000000 --- a/.changeset/tricky-actors-laugh.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@shopify/shopify-api": patch ---- - -Postponed deprecating the GraphQL clients' `query` method because they haven't been deprecated for long enough. They'll be removed when v11 is released instead. diff --git a/packages/api-clients/admin-api-client/CHANGELOG.md b/packages/api-clients/admin-api-client/CHANGELOG.md index 036e82062..25d6b0e4b 100644 --- a/packages/api-clients/admin-api-client/CHANGELOG.md +++ b/packages/api-clients/admin-api-client/CHANGELOG.md @@ -1,5 +1,12 @@ # @shopify/admin-api-client +## 0.2.9 + +### Patch Changes + +- Updated dependencies [715a120] + - @shopify/graphql-client@0.10.4 + ## 0.2.8 ### Patch Changes diff --git a/packages/api-clients/admin-api-client/package.json b/packages/api-clients/admin-api-client/package.json index 1474f255c..8aa678c2e 100644 --- a/packages/api-clients/admin-api-client/package.json +++ b/packages/api-clients/admin-api-client/package.json @@ -1,6 +1,6 @@ { "name": "@shopify/admin-api-client", - "version": "0.2.8", + "version": "0.2.9", "description": "Shopify Admin API Client - A lightweight JS client to interact with Shopify's Admin API", "repository": { "type": "git", @@ -60,7 +60,7 @@ "dist/**/*.*" ], "dependencies": { - "@shopify/graphql-client": "^0.10.3" + "@shopify/graphql-client": "^0.10.4" }, "devDependencies": { "jest-environment-jsdom": "^29.5.0", diff --git a/packages/api-clients/graphql-client/CHANGELOG.md b/packages/api-clients/graphql-client/CHANGELOG.md index a28af1f77..26ee272b5 100644 --- a/packages/api-clients/graphql-client/CHANGELOG.md +++ b/packages/api-clients/graphql-client/CHANGELOG.md @@ -1,5 +1,11 @@ # @shopify/graphql-client +## 0.10.4 + +### Patch Changes + +- 715a120: Fixed the minified build process to not mangle the `fetch` function, which led to requests failing in the final package. + ## 0.10.3 ### Patch Changes diff --git a/packages/api-clients/graphql-client/package.json b/packages/api-clients/graphql-client/package.json index 3d20a6f0e..7b0f6ad85 100644 --- a/packages/api-clients/graphql-client/package.json +++ b/packages/api-clients/graphql-client/package.json @@ -1,6 +1,6 @@ { "name": "@shopify/graphql-client", - "version": "0.10.3", + "version": "0.10.4", "description": "Shopify GraphQL Client - A lightweight generic GraphQL JS client to interact with Shopify GraphQL APIs", "repository": { "type": "git", diff --git a/packages/api-clients/storefront-api-client/CHANGELOG.md b/packages/api-clients/storefront-api-client/CHANGELOG.md index d629de335..9d2991f6a 100644 --- a/packages/api-clients/storefront-api-client/CHANGELOG.md +++ b/packages/api-clients/storefront-api-client/CHANGELOG.md @@ -1,5 +1,13 @@ # @shopify/storefront-api-client +## 0.3.4 + +### Patch Changes + +- 715a120: Fixed the minified build process to not mangle the `fetch` function, which led to requests failing in the final package. +- Updated dependencies [715a120] + - @shopify/graphql-client@0.10.4 + ## 0.3.3 ### Patch Changes diff --git a/packages/api-clients/storefront-api-client/package.json b/packages/api-clients/storefront-api-client/package.json index 049392b75..6aa2a1c21 100644 --- a/packages/api-clients/storefront-api-client/package.json +++ b/packages/api-clients/storefront-api-client/package.json @@ -1,6 +1,6 @@ { "name": "@shopify/storefront-api-client", - "version": "0.3.3", + "version": "0.3.4", "description": "Shopify Storefront API Client - A lightweight JS client to interact with Shopify's Storefront API", "repository": { "type": "git", @@ -83,7 +83,7 @@ "!node_modules" ], "dependencies": { - "@shopify/graphql-client": "^0.10.3" + "@shopify/graphql-client": "^0.10.4" }, "devDependencies": { "jest-environment-jsdom": "^29.5.0" diff --git a/packages/apps/session-storage/shopify-app-session-storage-drizzle/CHANGELOG.md b/packages/apps/session-storage/shopify-app-session-storage-drizzle/CHANGELOG.md index bb6c6e2e3..9e836ad3e 100644 --- a/packages/apps/session-storage/shopify-app-session-storage-drizzle/CHANGELOG.md +++ b/packages/apps/session-storage/shopify-app-session-storage-drizzle/CHANGELOG.md @@ -1,5 +1,11 @@ # @shopify/shopify-app-session-storage-drizzle +## 1.1.2 + +### Patch Changes + +- a8d4b3e: Updated @shopify/shopify-api dependency to also allow v10+ since there were no breaking changes affecting this package. + ## 1.1.1 ### Patch Changes diff --git a/packages/apps/session-storage/shopify-app-session-storage-drizzle/package.json b/packages/apps/session-storage/shopify-app-session-storage-drizzle/package.json index dfe0ca43b..4dc3851f2 100644 --- a/packages/apps/session-storage/shopify-app-session-storage-drizzle/package.json +++ b/packages/apps/session-storage/shopify-app-session-storage-drizzle/package.json @@ -1,6 +1,6 @@ { "name": "@shopify/shopify-app-session-storage-drizzle", - "version": "1.1.1", + "version": "1.1.2", "description": "Shopify App Session Storage for Drizzle", "repository": { "type": "git", @@ -51,7 +51,7 @@ }, "devDependencies": { "@libsql/client": "^0.4.0-pre.7", - "@shopify/shopify-app-session-storage-test-utils": "^2.0.4", + "@shopify/shopify-app-session-storage-test-utils": "^2.0.5", "@types/better-sqlite3": "^7.6.9", "better-sqlite3": "^9.4.3", "drizzle-kit": "^0.20.12", diff --git a/packages/apps/session-storage/shopify-app-session-storage-dynamodb/CHANGELOG.md b/packages/apps/session-storage/shopify-app-session-storage-dynamodb/CHANGELOG.md index eff8e00ba..69541c766 100644 --- a/packages/apps/session-storage/shopify-app-session-storage-dynamodb/CHANGELOG.md +++ b/packages/apps/session-storage/shopify-app-session-storage-dynamodb/CHANGELOG.md @@ -1,5 +1,11 @@ # @shopify/shopify-app-session-storage-dynamodb +## 3.0.5 + +### Patch Changes + +- a8d4b3e: Updated @shopify/shopify-api dependency to also allow v10+ since there were no breaking changes affecting this package. + ## 3.0.4 ### Patch Changes diff --git a/packages/apps/session-storage/shopify-app-session-storage-dynamodb/package.json b/packages/apps/session-storage/shopify-app-session-storage-dynamodb/package.json index 3747f8f7e..926b59816 100644 --- a/packages/apps/session-storage/shopify-app-session-storage-dynamodb/package.json +++ b/packages/apps/session-storage/shopify-app-session-storage-dynamodb/package.json @@ -1,6 +1,6 @@ { "name": "@shopify/shopify-app-session-storage-dynamodb", - "version": "3.0.4", + "version": "3.0.5", "description": "Shopify App Session Storage for DynamoDB", "repository": { "type": "git", @@ -51,7 +51,7 @@ "@shopify/shopify-app-session-storage": "^2.1.4" }, "devDependencies": { - "@shopify/shopify-app-session-storage-test-utils": "^2.0.4" + "@shopify/shopify-app-session-storage-test-utils": "^2.0.5" }, "files": [ "dist/*", diff --git a/packages/apps/session-storage/shopify-app-session-storage-kv/CHANGELOG.md b/packages/apps/session-storage/shopify-app-session-storage-kv/CHANGELOG.md index df4f36956..f68815cd0 100644 --- a/packages/apps/session-storage/shopify-app-session-storage-kv/CHANGELOG.md +++ b/packages/apps/session-storage/shopify-app-session-storage-kv/CHANGELOG.md @@ -1,5 +1,11 @@ # @shopify/shopify-app-session-storage-kv +## 3.0.6 + +### Patch Changes + +- a8d4b3e: Updated @shopify/shopify-api dependency to also allow v10+ since there were no breaking changes affecting this package. + ## 3.0.5 ### Patch Changes diff --git a/packages/apps/session-storage/shopify-app-session-storage-kv/package.json b/packages/apps/session-storage/shopify-app-session-storage-kv/package.json index 555b67b12..7d12cc599 100644 --- a/packages/apps/session-storage/shopify-app-session-storage-kv/package.json +++ b/packages/apps/session-storage/shopify-app-session-storage-kv/package.json @@ -1,6 +1,6 @@ { "name": "@shopify/shopify-app-session-storage-kv", - "version": "3.0.5", + "version": "3.0.6", "description": "Shopify App Session Storage for KV", "repository": { "type": "git", @@ -51,7 +51,7 @@ }, "devDependencies": { "@cloudflare/workers-types": "^4.20240208.0", - "@shopify/shopify-app-session-storage-test-utils": "^2.0.4", + "@shopify/shopify-app-session-storage-test-utils": "^2.0.5", "miniflare": "^3.20240304.2" }, "files": [ diff --git a/packages/apps/session-storage/shopify-app-session-storage-memory/CHANGELOG.md b/packages/apps/session-storage/shopify-app-session-storage-memory/CHANGELOG.md index 8a0687052..d1a3accce 100644 --- a/packages/apps/session-storage/shopify-app-session-storage-memory/CHANGELOG.md +++ b/packages/apps/session-storage/shopify-app-session-storage-memory/CHANGELOG.md @@ -1,5 +1,11 @@ # @shopify/shopify-app-session-storage-memory +## 3.0.5 + +### Patch Changes + +- a8d4b3e: Updated @shopify/shopify-api dependency to also allow v10+ since there were no breaking changes affecting this package. + ## 3.0.4 ### Patch Changes diff --git a/packages/apps/session-storage/shopify-app-session-storage-memory/package.json b/packages/apps/session-storage/shopify-app-session-storage-memory/package.json index 071195879..18f6f4a4a 100644 --- a/packages/apps/session-storage/shopify-app-session-storage-memory/package.json +++ b/packages/apps/session-storage/shopify-app-session-storage-memory/package.json @@ -1,6 +1,6 @@ { "name": "@shopify/shopify-app-session-storage-memory", - "version": "3.0.4", + "version": "3.0.5", "description": "Shopify App Session Storage for Memory", "repository": { "type": "git", @@ -46,7 +46,7 @@ "@shopify/shopify-app-session-storage": "^2.1.4" }, "devDependencies": { - "@shopify/shopify-app-session-storage-test-utils": "^2.0.4" + "@shopify/shopify-app-session-storage-test-utils": "^2.0.5" }, "files": [ "dist/*", diff --git a/packages/apps/session-storage/shopify-app-session-storage-mongodb/CHANGELOG.md b/packages/apps/session-storage/shopify-app-session-storage-mongodb/CHANGELOG.md index a41653753..2e5f2fb9d 100644 --- a/packages/apps/session-storage/shopify-app-session-storage-mongodb/CHANGELOG.md +++ b/packages/apps/session-storage/shopify-app-session-storage-mongodb/CHANGELOG.md @@ -1,5 +1,11 @@ # @shopify/shopify-app-session-storage-mongodb +## 3.0.5 + +### Patch Changes + +- a8d4b3e: Updated @shopify/shopify-api dependency to also allow v10+ since there were no breaking changes affecting this package. + ## 3.0.4 ### Patch Changes diff --git a/packages/apps/session-storage/shopify-app-session-storage-mongodb/package.json b/packages/apps/session-storage/shopify-app-session-storage-mongodb/package.json index 0f8979b87..5ff0d77bb 100644 --- a/packages/apps/session-storage/shopify-app-session-storage-mongodb/package.json +++ b/packages/apps/session-storage/shopify-app-session-storage-mongodb/package.json @@ -1,6 +1,6 @@ { "name": "@shopify/shopify-app-session-storage-mongodb", - "version": "3.0.4", + "version": "3.0.5", "description": "Shopify App Session Storage for MongoDB", "repository": { "type": "git", @@ -49,7 +49,7 @@ "@shopify/shopify-app-session-storage": "^2.1.4" }, "devDependencies": { - "@shopify/shopify-app-session-storage-test-utils": "^2.0.4" + "@shopify/shopify-app-session-storage-test-utils": "^2.0.5" }, "files": [ "dist/*", diff --git a/packages/apps/session-storage/shopify-app-session-storage-mysql/CHANGELOG.md b/packages/apps/session-storage/shopify-app-session-storage-mysql/CHANGELOG.md index a96ea65ad..c70522cc0 100644 --- a/packages/apps/session-storage/shopify-app-session-storage-mysql/CHANGELOG.md +++ b/packages/apps/session-storage/shopify-app-session-storage-mysql/CHANGELOG.md @@ -1,5 +1,11 @@ # @shopify/shopify-app-session-storage-mysql +## 3.0.5 + +### Patch Changes + +- a8d4b3e: Updated @shopify/shopify-api dependency to also allow v10+ since there were no breaking changes affecting this package. + ## 3.0.4 ### Patch Changes diff --git a/packages/apps/session-storage/shopify-app-session-storage-mysql/package.json b/packages/apps/session-storage/shopify-app-session-storage-mysql/package.json index 995a0503f..cd4dc5258 100644 --- a/packages/apps/session-storage/shopify-app-session-storage-mysql/package.json +++ b/packages/apps/session-storage/shopify-app-session-storage-mysql/package.json @@ -1,6 +1,6 @@ { "name": "@shopify/shopify-app-session-storage-mysql", - "version": "3.0.4", + "version": "3.0.5", "description": "Shopify App Session Storage for MySQL", "repository": { "type": "git", @@ -50,7 +50,7 @@ "@shopify/shopify-app-session-storage": "^2.1.4" }, "devDependencies": { - "@shopify/shopify-app-session-storage-test-utils": "^2.0.4" + "@shopify/shopify-app-session-storage-test-utils": "^2.0.5" }, "files": [ "dist/*", diff --git a/packages/apps/session-storage/shopify-app-session-storage-postgresql/CHANGELOG.md b/packages/apps/session-storage/shopify-app-session-storage-postgresql/CHANGELOG.md index 66dfa5bd2..96dd5b1e2 100644 --- a/packages/apps/session-storage/shopify-app-session-storage-postgresql/CHANGELOG.md +++ b/packages/apps/session-storage/shopify-app-session-storage-postgresql/CHANGELOG.md @@ -1,5 +1,11 @@ # @shopify/shopify-app-session-storage-postgresql +## 3.0.5 + +### Patch Changes + +- a8d4b3e: Updated @shopify/shopify-api dependency to also allow v10+ since there were no breaking changes affecting this package. + ## 3.0.4 ### Patch Changes diff --git a/packages/apps/session-storage/shopify-app-session-storage-postgresql/package.json b/packages/apps/session-storage/shopify-app-session-storage-postgresql/package.json index 26d2fb59a..4b61fd0b3 100644 --- a/packages/apps/session-storage/shopify-app-session-storage-postgresql/package.json +++ b/packages/apps/session-storage/shopify-app-session-storage-postgresql/package.json @@ -1,6 +1,6 @@ { "name": "@shopify/shopify-app-session-storage-postgresql", - "version": "3.0.4", + "version": "3.0.5", "description": "Shopify App Session Storage for PostgreSQL", "repository": { "type": "git", @@ -51,7 +51,7 @@ "@shopify/shopify-app-session-storage": "^2.1.4" }, "devDependencies": { - "@shopify/shopify-app-session-storage-test-utils": "^2.0.4", + "@shopify/shopify-app-session-storage-test-utils": "^2.0.5", "@types/pg": "^8.11.5" }, "files": [ diff --git a/packages/apps/session-storage/shopify-app-session-storage-prisma/CHANGELOG.md b/packages/apps/session-storage/shopify-app-session-storage-prisma/CHANGELOG.md index 838799535..38b3ef676 100644 --- a/packages/apps/session-storage/shopify-app-session-storage-prisma/CHANGELOG.md +++ b/packages/apps/session-storage/shopify-app-session-storage-prisma/CHANGELOG.md @@ -1,5 +1,11 @@ # @shopify/shopify-app-session-storage-prisma +## 4.0.5 + +### Patch Changes + +- a8d4b3e: Updated @shopify/shopify-api dependency to also allow v10+ since there were no breaking changes affecting this package. + ## 4.0.4 ### Patch Changes diff --git a/packages/apps/session-storage/shopify-app-session-storage-prisma/package.json b/packages/apps/session-storage/shopify-app-session-storage-prisma/package.json index b88441dab..e50c1a91d 100644 --- a/packages/apps/session-storage/shopify-app-session-storage-prisma/package.json +++ b/packages/apps/session-storage/shopify-app-session-storage-prisma/package.json @@ -1,6 +1,6 @@ { "name": "@shopify/shopify-app-session-storage-prisma", - "version": "4.0.4", + "version": "4.0.5", "description": "Shopify App Session Storage for Prisma", "repository": { "type": "git", @@ -50,7 +50,7 @@ }, "devDependencies": { "@prisma/client": "^5.10.2", - "@shopify/shopify-app-session-storage-test-utils": "^2.0.4", + "@shopify/shopify-app-session-storage-test-utils": "^2.0.5", "prisma": "^5.12.1" }, "files": [ diff --git a/packages/apps/session-storage/shopify-app-session-storage-redis/CHANGELOG.md b/packages/apps/session-storage/shopify-app-session-storage-redis/CHANGELOG.md index 2d638f585..889b2fd7d 100644 --- a/packages/apps/session-storage/shopify-app-session-storage-redis/CHANGELOG.md +++ b/packages/apps/session-storage/shopify-app-session-storage-redis/CHANGELOG.md @@ -1,5 +1,11 @@ # @shopify/shopify-app-session-storage-redis +## 3.0.5 + +### Patch Changes + +- a8d4b3e: Updated @shopify/shopify-api dependency to also allow v10+ since there were no breaking changes affecting this package. + ## 3.0.4 ### Patch Changes diff --git a/packages/apps/session-storage/shopify-app-session-storage-redis/package.json b/packages/apps/session-storage/shopify-app-session-storage-redis/package.json index 74925bf3c..cd500ddee 100644 --- a/packages/apps/session-storage/shopify-app-session-storage-redis/package.json +++ b/packages/apps/session-storage/shopify-app-session-storage-redis/package.json @@ -1,6 +1,6 @@ { "name": "@shopify/shopify-app-session-storage-redis", - "version": "3.0.4", + "version": "3.0.5", "description": "Shopify App Session Storage for Redis", "repository": { "type": "git", @@ -50,7 +50,7 @@ "@shopify/shopify-app-session-storage": "^2.1.4" }, "devDependencies": { - "@shopify/shopify-app-session-storage-test-utils": "^2.0.4" + "@shopify/shopify-app-session-storage-test-utils": "^2.0.5" }, "files": [ "dist/*", diff --git a/packages/apps/session-storage/shopify-app-session-storage-sqlite/CHANGELOG.md b/packages/apps/session-storage/shopify-app-session-storage-sqlite/CHANGELOG.md index 86a2c30c6..2b5b164d4 100644 --- a/packages/apps/session-storage/shopify-app-session-storage-sqlite/CHANGELOG.md +++ b/packages/apps/session-storage/shopify-app-session-storage-sqlite/CHANGELOG.md @@ -1,5 +1,11 @@ # @shopify/shopify-app-session-storage-sqlite +## 3.0.5 + +### Patch Changes + +- a8d4b3e: Updated @shopify/shopify-api dependency to also allow v10+ since there were no breaking changes affecting this package. + ## 3.0.4 ### Patch Changes diff --git a/packages/apps/session-storage/shopify-app-session-storage-sqlite/package.json b/packages/apps/session-storage/shopify-app-session-storage-sqlite/package.json index 3eed7db13..3c7662971 100644 --- a/packages/apps/session-storage/shopify-app-session-storage-sqlite/package.json +++ b/packages/apps/session-storage/shopify-app-session-storage-sqlite/package.json @@ -1,6 +1,6 @@ { "name": "@shopify/shopify-app-session-storage-sqlite", - "version": "3.0.4", + "version": "3.0.5", "description": "Shopify App Session Storage for SQLite", "repository": { "type": "git", @@ -50,7 +50,7 @@ "@shopify/shopify-app-session-storage": "^2.1.4" }, "devDependencies": { - "@shopify/shopify-app-session-storage-test-utils": "^2.0.4", + "@shopify/shopify-app-session-storage-test-utils": "^2.0.5", "@types/sqlite3": "^3.1.8" }, "files": [ diff --git a/packages/apps/session-storage/shopify-app-session-storage-test-utils/CHANGELOG.md b/packages/apps/session-storage/shopify-app-session-storage-test-utils/CHANGELOG.md index 9992728d7..e0b097f72 100644 --- a/packages/apps/session-storage/shopify-app-session-storage-test-utils/CHANGELOG.md +++ b/packages/apps/session-storage/shopify-app-session-storage-test-utils/CHANGELOG.md @@ -1,5 +1,11 @@ # @shopify/shopify-app-session-storage-test-utils +## 2.0.5 + +### Patch Changes + +- a8d4b3e: Updated @shopify/shopify-api dependency to also allow v10+ since there were no breaking changes affecting this package. + ## 2.0.4 ### Patch Changes diff --git a/packages/apps/session-storage/shopify-app-session-storage-test-utils/package.json b/packages/apps/session-storage/shopify-app-session-storage-test-utils/package.json index 0e282d70b..47d25cfe7 100644 --- a/packages/apps/session-storage/shopify-app-session-storage-test-utils/package.json +++ b/packages/apps/session-storage/shopify-app-session-storage-test-utils/package.json @@ -1,6 +1,6 @@ { "name": "@shopify/shopify-app-session-storage-test-utils", - "version": "2.0.4", + "version": "2.0.5", "description": "Utilities for testing Shopify App Session Storage", "repository": { "type": "git", @@ -48,8 +48,8 @@ "@shopify/shopify-app-session-storage": "^2.1.4" }, "devDependencies": { - "@shopify/shopify-api": "^9.7.2 || ^10.0.0", - "@shopify/shopify-app-session-storage": "^2.1.4" + "@shopify/shopify-api": "^10.0.0", + "@shopify/shopify-app-session-storage": "^2.1.5" }, "files": [ "dist/*", diff --git a/packages/apps/session-storage/shopify-app-session-storage/CHANGELOG.md b/packages/apps/session-storage/shopify-app-session-storage/CHANGELOG.md index 118055faf..bae15e5dc 100644 --- a/packages/apps/session-storage/shopify-app-session-storage/CHANGELOG.md +++ b/packages/apps/session-storage/shopify-app-session-storage/CHANGELOG.md @@ -1,5 +1,11 @@ # @shopify/shopify-app-session-storage +## 2.1.5 + +### Patch Changes + +- a8d4b3e: Updated @shopify/shopify-api dependency to also allow v10+ since there were no breaking changes affecting this package. + ## 2.1.4 ### Patch Changes diff --git a/packages/apps/session-storage/shopify-app-session-storage/package.json b/packages/apps/session-storage/shopify-app-session-storage/package.json index 6a885dad6..4457fdade 100644 --- a/packages/apps/session-storage/shopify-app-session-storage/package.json +++ b/packages/apps/session-storage/shopify-app-session-storage/package.json @@ -1,6 +1,6 @@ { "name": "@shopify/shopify-app-session-storage", - "version": "2.1.4", + "version": "2.1.5", "description": "Shopify App Session Storage - abstract class", "repository": { "type": "git", @@ -46,7 +46,7 @@ "@shopify/shopify-api": "^9.7.2 || ^10.0.0" }, "devDependencies": { - "@shopify/shopify-api": "^9.7.2 || ^10.0.0" + "@shopify/shopify-api": "^10.0.0" }, "files": [ "dist/*", diff --git a/packages/apps/shopify-api/CHANGELOG.md b/packages/apps/shopify-api/CHANGELOG.md index e2fb4c841..a2d27abfb 100644 --- a/packages/apps/shopify-api/CHANGELOG.md +++ b/packages/apps/shopify-api/CHANGELOG.md @@ -1,5 +1,47 @@ # Changelog +## 10.0.0 + +### Major Changes + +> [!NOTE] +> For more details on migrating to v10, please follow see the [migration guide](./docs/migrating-to-v10.md). + +- 379206c: Webhook validation will now return a different `reason` value when the HMAC value is missing from the request. Instead of returning `WebhookValidationErrorReason.MissingHeaders` as it does for the other headers it validates, it will now return a new `WebhookValidationErrorReason.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](https://shopify.dev/docs/apps/auth/installation), it is now recommended you omit the `scopes` 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: + + ```ts + import 'node_modules/@shopify/shopify-api/lib/clients/admin/graphql/client'; + import '@shopify/shopify-api/adapters/node'; + ``` + + After: + + ```ts + // Add `dist/esm|cjs/` before the file + import 'node_modules/@shopify/shopify-api/dist/esm/lib/clients/admin/graphql/client'; + // Unchanged + import '@shopify/shopify-api/adapters/node'; + ``` + +### Patch Changes + +- 65325b8: Change v10_lineItemBilling flag to lineItemBilling +- 6f1a98e: Fixing REST resource `find()` methods to fail when missing all ids, instead of defaulting to the same behaviour as `all()`. +- 379206c: Postponed deprecating the GraphQL clients' `query` method because they haven't been deprecated for long enough. They'll be removed when v11 is released instead. +- Updated dependencies [715a120] + - @shopify/storefront-api-client@0.3.4 + - @shopify/admin-api-client@0.2.9 + ## 9.7.2 ### Patch Changes @@ -100,7 +142,7 @@
```ts - const { session, headers } = shopify.auth.callback({ + const {session, headers} = shopify.auth.callback({ rawRequest: req, rawResponse: res, }); @@ -304,13 +346,13 @@ Before: ```ts - import { gdprTopics } from "@shopify/shopify-api"; + import {gdprTopics} from '@shopify/shopify-api'; ``` After: ```ts - import { privacyTopics } from "@shopify/shopify-api"; + import {privacyTopics} from '@shopify/shopify-api'; ``` ### Minor Changes @@ -363,13 +405,13 @@ { interval: BillingInterval.Usage, amount: 30, - currencyCode: "USD", - terms: "per 1000 emails", + currencyCode: 'USD', + terms: 'per 1000 emails', }, { interval: BillingInterval.Every30Days, amount: 30, - currencyCode: "USD", + currencyCode: 'USD', discount: { durationLimitInIntervals: 3, value: { @@ -741,7 +783,7 @@ Before: ```js - app.post("/graphql", async (req, res) => { + app.post('/graphql', async (req, res) => { await Shopify.Utils.graphqlProxy(req, res); }); ``` @@ -749,7 +791,7 @@ After: ```js - app.post("/graphql", async (req, res) => { + app.post('/graphql', async (req, res) => { const response = await Shopify.Utils.graphqlProxy(req, res); res.status(200).send(response.body); }); diff --git a/packages/apps/shopify-api/lib/version.ts b/packages/apps/shopify-api/lib/version.ts index 836fe2e6b..6deb7810d 100644 --- a/packages/apps/shopify-api/lib/version.ts +++ b/packages/apps/shopify-api/lib/version.ts @@ -1 +1 @@ -export const SHOPIFY_API_LIBRARY_VERSION = '9.7.2'; +export const SHOPIFY_API_LIBRARY_VERSION = '10.0.0'; diff --git a/packages/apps/shopify-api/package.json b/packages/apps/shopify-api/package.json index 9daa99ca7..8e8f710f5 100644 --- a/packages/apps/shopify-api/package.json +++ b/packages/apps/shopify-api/package.json @@ -1,6 +1,6 @@ { "name": "@shopify/shopify-api", - "version": "9.7.2", + "version": "10.0.0", "description": "Shopify API Library for Node - accelerate development with support for authentication, graphql proxy, webhooks", "types": "./dist/ts/lib/index.d.ts", "module": "./dist/esm/lib/index.mjs", @@ -73,9 +73,9 @@ "node-fetch": "^2.6.7" }, "dependencies": { - "@shopify/admin-api-client": "^0.2.8", + "@shopify/admin-api-client": "^0.2.9", "@shopify/network": "^3.2.1", - "@shopify/storefront-api-client": "^0.3.3", + "@shopify/storefront-api-client": "^0.3.4", "compare-versions": "^6.1.0", "isbot": "^5.1.4", "jose": "^5.2.3", diff --git a/packages/apps/shopify-app-express/CHANGELOG.md b/packages/apps/shopify-app-express/CHANGELOG.md index 7d3c1d9b2..7a5aecae6 100644 --- a/packages/apps/shopify-app-express/CHANGELOG.md +++ b/packages/apps/shopify-app-express/CHANGELOG.md @@ -1,5 +1,21 @@ # Changelog +## 4.1.6 + +### Patch Changes + +- 637c6c3: This `scopes` field on the API config object is now optional. If your app is using the new [managed install flow](https://shopify.dev/docs/apps/auth/installation), it is now recommended you omit the `scopes` property from the config object. +- Updated dependencies [379206c] +- Updated dependencies [65325b8] +- Updated dependencies [637c6c3] +- Updated dependencies [a8d4b3e] +- Updated dependencies [6f1a98e] +- Updated dependencies [61576be] +- Updated dependencies [379206c] + - @shopify/shopify-api@10.0.0 + - @shopify/shopify-app-session-storage-memory@3.0.5 + - @shopify/shopify-app-session-storage@2.1.5 + ## 4.1.5 ### Patch Changes diff --git a/packages/apps/shopify-app-express/package.json b/packages/apps/shopify-app-express/package.json index d4a07cddd..26fe918c4 100644 --- a/packages/apps/shopify-app-express/package.json +++ b/packages/apps/shopify-app-express/package.json @@ -1,6 +1,6 @@ { "name": "@shopify/shopify-app-express", - "version": "4.1.5", + "version": "4.1.6", "description": "Shopify Express Middleware - to simplify the building of Shopify Apps with Express", "repository": { "type": "git", @@ -41,9 +41,9 @@ "Storefront API" ], "dependencies": { - "@shopify/shopify-api": "^9.7.2", - "@shopify/shopify-app-session-storage": "^2.1.4", - "@shopify/shopify-app-session-storage-memory": "^3.0.4", + "@shopify/shopify-api": "^10.0.0", + "@shopify/shopify-app-session-storage": "^2.1.5", + "@shopify/shopify-app-session-storage-memory": "^3.0.5", "cookie-parser": "^1.4.6", "express": "^4.19.2", "semver": "^7.6.0" diff --git a/packages/apps/shopify-app-express/src/version.ts b/packages/apps/shopify-app-express/src/version.ts index ca7098802..9480c1efc 100644 --- a/packages/apps/shopify-app-express/src/version.ts +++ b/packages/apps/shopify-app-express/src/version.ts @@ -1 +1 @@ -export const SHOPIFY_EXPRESS_LIBRARY_VERSION = '4.1.5'; +export const SHOPIFY_EXPRESS_LIBRARY_VERSION = '4.1.6'; diff --git a/packages/apps/shopify-app-remix/CHANGELOG.md b/packages/apps/shopify-app-remix/CHANGELOG.md index 709942fb1..eb430bc13 100644 --- a/packages/apps/shopify-app-remix/CHANGELOG.md +++ b/packages/apps/shopify-app-remix/CHANGELOG.md @@ -1,5 +1,26 @@ # @shopify/shopify-app-remix +## 2.8.2 + +### Patch Changes + +- 65325b8: Change v10_lineItemBilling flag to lineItemBilling +- fa94e85: Fix an issue that rejected requests from Shopify POS / Mobile due to their User-Agents being labeled as bots. +- 637c6c3: This `scopes` field on the API config object is now optional. If your app is using the new [managed install flow](https://shopify.dev/docs/apps/auth/installation), it is now recommended you omit the `scopes` property from the config object. +- 1b5d80e: Removed `@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. +- Updated dependencies [379206c] +- Updated dependencies [715a120] +- Updated dependencies [65325b8] +- Updated dependencies [637c6c3] +- Updated dependencies [a8d4b3e] +- Updated dependencies [6f1a98e] +- Updated dependencies [61576be] +- Updated dependencies [379206c] + - @shopify/shopify-api@10.0.0 + - @shopify/storefront-api-client@0.3.4 + - @shopify/shopify-app-session-storage@2.1.5 + - @shopify/admin-api-client@0.2.9 + ## 2.8.1 ### Patch Changes diff --git a/packages/apps/shopify-app-remix/package.json b/packages/apps/shopify-app-remix/package.json index 368f39b96..5463b80e9 100644 --- a/packages/apps/shopify-app-remix/package.json +++ b/packages/apps/shopify-app-remix/package.json @@ -1,6 +1,6 @@ { "name": "@shopify/shopify-app-remix", - "version": "2.8.1", + "version": "2.8.2", "description": "Shopify Remix - to simplify the building of Shopify Apps with Remix", "repository": { "type": "git", @@ -81,7 +81,7 @@ "@shopify/generate-docs": "^0.15.2", "@shopify/polaris": "^12.18.0", "@shopify/react-testing": "^5.1.3", - "@shopify/shopify-app-session-storage-memory": "^3.0.4", + "@shopify/shopify-app-session-storage-memory": "^3.0.5", "@types/jsonwebtoken": "^9.0.5", "@types/react": "^18.2.18", "@types/semver": "^7.5.8", @@ -93,10 +93,10 @@ }, "dependencies": { "@remix-run/server-runtime": "^2.5.1", - "@shopify/admin-api-client": "^0.2.8", - "@shopify/shopify-api": "^9.7.2", - "@shopify/shopify-app-session-storage": "^2.1.4", - "@shopify/storefront-api-client": "^0.3.3", + "@shopify/admin-api-client": "^0.2.9", + "@shopify/shopify-api": "^10.0.0", + "@shopify/shopify-app-session-storage": "^2.1.5", + "@shopify/storefront-api-client": "^0.3.4", "isbot": "^5.1.4", "semver": "^7.6.0" }, diff --git a/packages/apps/shopify-app-remix/src/server/version.ts b/packages/apps/shopify-app-remix/src/server/version.ts index 81c90c350..39aa50da5 100644 --- a/packages/apps/shopify-app-remix/src/server/version.ts +++ b/packages/apps/shopify-app-remix/src/server/version.ts @@ -1 +1 @@ -export const SHOPIFY_REMIX_LIBRARY_VERSION = '2.8.1'; +export const SHOPIFY_REMIX_LIBRARY_VERSION = '2.8.2';