diff --git a/.changeset/fifty-trains-brake.md b/.changeset/fifty-trains-brake.md deleted file mode 100644 index 5902ea94e0..0000000000 --- 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 a845151cc8..0000000000 --- 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 53059f8dbc..0000000000 --- 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 286687e939..0000000000 --- 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/lovely-balloons-punch.md b/.changeset/lovely-balloons-punch.md deleted file mode 100644 index 156a3dc1e1..0000000000 --- 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 193c67507e..0000000000 --- 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 99566792f5..0000000000 --- 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 a269fd374c..0000000000 --- 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 70748e8472..0000000000 --- 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 bd58f50c2c..0000000000 --- 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 036e820629..25d6b0e4b5 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 1474f255c9..8aa678c2ef 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 a28af1f772..26ee272b5e 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 3d20a6f0e4..7b0f6ad855 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 d629de3356..9d2991f6a0 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 049392b757..6aa2a1c21c 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 bb6c6e2e39..9e836ad3ef 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 dfe0ca43b5..4dc3851f2d 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 eff8e00bac..69541c766a 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 3747f8f7e8..926b598165 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 df4f36956f..f68815cd01 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 555b67b120..7d12cc5990 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 8a06870524..d1a3accce3 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 0711958794..18f6f4a4a4 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 a416537530..2e5f2fb9da 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 0f8979b879..5ff0d77bbe 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 a96ea65ad8..c70522cc05 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 995a0503ff..cd4dc52585 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 66dfa5bd21..96dd5b1e2a 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 26d2fb59ad..4b61fd0b32 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 838799535a..38b3ef6767 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 b88441dab1..e50c1a91d0 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 2d638f5858..889b2fd7d0 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 74925bf3c9..cd500ddee9 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 86a2c30c6a..2b5b164d43 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 3eed7db135..3c7662971a 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 9992728d73..e0b097f728 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 0e282d70b3..47d25cfe77 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 118055faf7..bae15e5dc7 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 6a885dad6d..4457fdade6 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 e2fb4c8412..f6f5ad3084 100644 --- a/packages/apps/shopify-api/CHANGELOG.md +++ b/packages/apps/shopify-api/CHANGELOG.md @@ -1,5 +1,44 @@ # Changelog +## 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 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 diff --git a/packages/apps/shopify-api/package.json b/packages/apps/shopify-api/package.json index 9daa99ca72..8e8f710f50 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 7d3c1d9b2a..7a5aecae67 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 d4a07cddd2..26fe918c4f 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-remix/CHANGELOG.md b/packages/apps/shopify-app-remix/CHANGELOG.md index 709942fb10..a225bce4aa 100644 --- a/packages/apps/shopify-app-remix/CHANGELOG.md +++ b/packages/apps/shopify-app-remix/CHANGELOG.md @@ -1,5 +1,25 @@ # @shopify/shopify-app-remix +## 2.8.2 + +### Patch Changes + +- 65325b8: Change v10_lineItemBilling flag to lineItemBilling +- 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 368f39b964..5463b80e95 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" },