From dabeceb4a330e72af879b1418ceb93a378f5de6b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 1 Feb 2024 17:24:46 +0000 Subject: [PATCH] Version Packages --- .changeset/chilled-singers-return.md | 5 - .changeset/empty-queens-hide.md | 5 - .changeset/fifty-points-push.md | 5 - .changeset/fresh-bottles-tell.md | 2 - .changeset/friendly-laws-yell.md | 5 - .changeset/lucky-cooks-glow.md | 2 - .changeset/proud-knives-happen.md | 2 - .changeset/serious-bears-brake.md | 5 - .changeset/sixty-boxes-matter.md | 5 - .changeset/wild-vans-carry.md | 5 - packages/shopify-app-remix/CHANGELOG.md | 105 ++++++++++-------- packages/shopify-app-remix/package.json | 2 +- .../CHANGELOG.md | 7 ++ .../package.json | 2 +- .../CHANGELOG.md | 6 + .../package.json | 2 +- .../CHANGELOG.md | 6 + .../package.json | 2 +- .../CHANGELOG.md | 6 + .../package.json | 2 +- 20 files changed, 86 insertions(+), 95 deletions(-) delete mode 100644 .changeset/chilled-singers-return.md delete mode 100644 .changeset/empty-queens-hide.md delete mode 100644 .changeset/fifty-points-push.md delete mode 100644 .changeset/fresh-bottles-tell.md delete mode 100644 .changeset/friendly-laws-yell.md delete mode 100644 .changeset/lucky-cooks-glow.md delete mode 100644 .changeset/proud-knives-happen.md delete mode 100644 .changeset/serious-bears-brake.md delete mode 100644 .changeset/sixty-boxes-matter.md delete mode 100644 .changeset/wild-vans-carry.md diff --git a/.changeset/chilled-singers-return.md b/.changeset/chilled-singers-return.md deleted file mode 100644 index 7f934ad7bc..0000000000 --- a/.changeset/chilled-singers-return.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@shopify/shopify-app-session-storage-dynamodb': patch ---- - -Update @aws-sdk/client-dynamodb from 3.470.0 to 3.504.0. diff --git a/.changeset/empty-queens-hide.md b/.changeset/empty-queens-hide.md deleted file mode 100644 index f7cefae136..0000000000 --- a/.changeset/empty-queens-hide.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@shopify/shopify-app-remix': patch ---- - -Updated the `@shopify/admin-api-client` dependency diff --git a/.changeset/fifty-points-push.md b/.changeset/fifty-points-push.md deleted file mode 100644 index d864b4ad8f..0000000000 --- a/.changeset/fifty-points-push.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@shopify/shopify-app-session-storage-sqlite": patch ---- - -Updated `sqlite3` dependency to v5.1.7 diff --git a/.changeset/fresh-bottles-tell.md b/.changeset/fresh-bottles-tell.md deleted file mode 100644 index a845151cc8..0000000000 --- a/.changeset/fresh-bottles-tell.md +++ /dev/null @@ -1,2 +0,0 @@ ---- ---- diff --git a/.changeset/friendly-laws-yell.md b/.changeset/friendly-laws-yell.md deleted file mode 100644 index ed945955f5..0000000000 --- a/.changeset/friendly-laws-yell.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@shopify/shopify-app-session-storage-redis': patch ---- - -Updates redis from 4.6.11 to 4.6.12. diff --git a/.changeset/lucky-cooks-glow.md b/.changeset/lucky-cooks-glow.md deleted file mode 100644 index a845151cc8..0000000000 --- a/.changeset/lucky-cooks-glow.md +++ /dev/null @@ -1,2 +0,0 @@ ---- ---- diff --git a/.changeset/proud-knives-happen.md b/.changeset/proud-knives-happen.md deleted file mode 100644 index a845151cc8..0000000000 --- a/.changeset/proud-knives-happen.md +++ /dev/null @@ -1,2 +0,0 @@ ---- ---- diff --git a/.changeset/serious-bears-brake.md b/.changeset/serious-bears-brake.md deleted file mode 100644 index 9c106bb34b..0000000000 --- a/.changeset/serious-bears-brake.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@shopify/shopify-app-session-storage-postgresql": patch ---- - -Updated the `pg` dependency to v8.11.3 diff --git a/.changeset/sixty-boxes-matter.md b/.changeset/sixty-boxes-matter.md deleted file mode 100644 index 382a534dce..0000000000 --- a/.changeset/sixty-boxes-matter.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@shopify/shopify-app-session-storage-dynamodb": patch ---- - -Updated the `@aws-sdk/util-dynamodb` dependency to v3.499.0 diff --git a/.changeset/wild-vans-carry.md b/.changeset/wild-vans-carry.md deleted file mode 100644 index c851e33362..0000000000 --- a/.changeset/wild-vans-carry.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@shopify/shopify-app-remix": patch ---- - -Updated Remix dependencies to v2.5.1 diff --git a/packages/shopify-app-remix/CHANGELOG.md b/packages/shopify-app-remix/CHANGELOG.md index 33243d2eb7..d7c19105df 100644 --- a/packages/shopify-app-remix/CHANGELOG.md +++ b/packages/shopify-app-remix/CHANGELOG.md @@ -1,5 +1,12 @@ # @shopify/shopify-app-remix +## 2.4.1 + +### Patch Changes + +- 8811faa: Updated the `@shopify/admin-api-client` dependency +- 37dff44: Updated Remix dependencies to v2.5.1 + ## 2.4.0 ### Minor Changes @@ -117,11 +124,11 @@ When using variables, `data` needs to be an object containing `query` and `variables`. ```ts - import {json, ActionFunctionArgs} from '@remix-run/node'; - import {authenticate} from '../shopify.server'; + import { json, ActionFunctionArgs } from "@remix-run/node"; + import { authenticate } from "../shopify.server"; - export async function action({request}: ActionFunctionArgs) { - const {admin} = await authenticate.webhook(request); + export async function action({ request }: ActionFunctionArgs) { + const { admin } = await authenticate.webhook(request); const response = await admin?.graphql.query({ data: { @@ -133,23 +140,23 @@ } } }`, - variables: {input: {title: 'Product Name'}}, + variables: { input: { title: "Product Name" } }, }, }); const productData = response?.body.data; - return json({data: productData.data}); + return json({ data: productData.data }); } ``` With the `v3_webhookContext` flag enabled, `graphql` _is_ a function that takes in the query string and an optional settings object, including `variables`. ```ts - import {ActionFunctionArgs} from '@remix-run/node'; - import {authenticate} from '../shopify.server'; + import { ActionFunctionArgs } from "@remix-run/node"; + import { authenticate } from "../shopify.server"; - export async function action({request}: ActionFunctionArgs) { - const {admin} = await authenticate.webhook(request); + export async function action({ request }: ActionFunctionArgs) { + const { admin } = await authenticate.webhook(request); const response = await admin?.graphql( `#graphql @@ -160,11 +167,11 @@ } } }`, - {variables: {input: {title: 'Product Name'}}}, + { variables: { input: { title: "Product Name" } } }, ); const productData = await response.json(); - return json({data: productData.data}); + return json({ data: productData.data }); } ``` @@ -190,12 +197,12 @@ App Proxy ```ts - import {json} from '@remix-run/node'; - import {authenticate} from '~/shopify.server'; + import { json } from "@remix-run/node"; + import { authenticate } from "~/shopify.server"; - export async function loader({request}) { - const {storefront} = await authenticate.public.appProxy(request); - const response = await storefront.graphql('{blogs(first: 10) {nodes{id}}}'); + export async function loader({ request }) { + const { storefront } = await authenticate.public.appProxy(request); + const response = await storefront.graphql("{blogs(first: 10) {nodes{id}}}"); return json(await response.json()); } @@ -207,17 +214,17 @@ Unauthenticated Storefront ```ts - import {json} from '@remix-run/node'; - import {unauthenticated} from '~/shopify.server'; - import {customAuthenticateRequest} from '~/helpers'; + import { json } from "@remix-run/node"; + import { unauthenticated } from "~/shopify.server"; + import { customAuthenticateRequest } from "~/helpers"; - export async function loader({request}) { + export async function loader({ request }) { await customAuthenticateRequest(request); - const {storefront} = await unauthenticated.storefront( - 'my-shop.myshopify.com', + const { storefront } = await unauthenticated.storefront( + "my-shop.myshopify.com", ); - const response = await storefront.graphql('{blogs(first: 10) {nodes{id}}}'); + const response = await storefront.graphql("{blogs(first: 10) {nodes{id}}}"); return json(await response.json()); } @@ -233,17 +240,17 @@ Override billing configs when calling request ```ts - import {json} from '@remix-run/node'; - import {authenticate} from '~/shopify.server'; + import { json } from "@remix-run/node"; + import { authenticate } from "~/shopify.server"; - export async function loader({request}) { - const {billing} = await authenticate.admin(request); + export async function loader({ request }) { + const { billing } = await authenticate.admin(request); await billing.require({ - plans: ['plan1', 'plan2'], + plans: ["plan1", "plan2"], onFailure: async () => await billing.request({ - plan: 'plan1', + plan: "plan1", trialDays: 5, // Override the trialDays config value }), }); @@ -275,12 +282,12 @@ ```ts // app/routes/**\/.ts - import {authenticate} from '~/shopify.server'; + import { authenticate } from "~/shopify.server"; - export async function loader({request}) { - const {liquid, admin} = authenticate.public.appProxy(request); + export async function loader({ request }) { + const { liquid, admin } = authenticate.public.appProxy(request); - return liquid('Hello {{shop.name}}'); + return liquid("Hello {{shop.name}}"); } ``` @@ -291,12 +298,12 @@ ```ts // app/routes/**\/.ts - import {authenticate} from '~/shopify.server'; + import { authenticate } from "~/shopify.server"; - export async function loader({request}) { - const {liquid, admin} = authenticate.public.appProxy(request); + export async function loader({ request }) { + const { liquid, admin } = authenticate.public.appProxy(request); - const response = await admin.graphql('QUERY'); + const response = await admin.graphql("QUERY"); const json = await response.json(); return json(json); @@ -333,8 +340,8 @@ ```ts // app/shopify.server.ts - import {shopifyApp} from '@shopify/shopify-app-remix'; - import {restResources} from '@shopify/shopify-api/rest/admin/2023-04'; + import { shopifyApp } from "@shopify/shopify-app-remix"; + import { restResources } from "@shopify/shopify-api/rest/admin/2023-04"; const shopify = shopifyApp({ restResources, @@ -344,15 +351,15 @@ export default shopify; // app/routes/\/.jsx - import {json} from '@remix-run/node'; - import {authenticateExternalRequest} from '~/helpers/authenticate'; - import shopify from '../../shopify.server'; + import { json } from "@remix-run/node"; + import { authenticateExternalRequest } from "~/helpers/authenticate"; + import shopify from "../../shopify.server"; - export async function loader({request}) { + export async function loader({ request }) { const shop = await authenticateExternalRequest(request); - const {admin, session} = await shopify.unauthenticated.admin(shop); + const { admin, session } = await shopify.unauthenticated.admin(shop); - return json(await admin.rest.resources.Product.count({session})); + return json(await admin.rest.resources.Product.count({ session })); } ``` @@ -366,10 +373,10 @@ See an example ```ts - export const loader = async ({request}) => { - const {redirect} = await authenticate.admin(request); + export const loader = async ({ request }) => { + const { redirect } = await authenticate.admin(request); - return redirect('https://www.example.com', {target: '_top'}); + return redirect("https://www.example.com", { target: "_top" }); }; ``` diff --git a/packages/shopify-app-remix/package.json b/packages/shopify-app-remix/package.json index 98e76635f8..b0cdc5193b 100644 --- a/packages/shopify-app-remix/package.json +++ b/packages/shopify-app-remix/package.json @@ -1,6 +1,6 @@ { "name": "@shopify/shopify-app-remix", - "version": "2.4.0", + "version": "2.4.1", "description": "Shopify Remix - to simplify the building of Shopify Apps with Remix", "repository": { "type": "git", diff --git a/packages/shopify-app-session-storage-dynamodb/CHANGELOG.md b/packages/shopify-app-session-storage-dynamodb/CHANGELOG.md index 5b643d9fcc..ed0525e9e5 100644 --- a/packages/shopify-app-session-storage-dynamodb/CHANGELOG.md +++ b/packages/shopify-app-session-storage-dynamodb/CHANGELOG.md @@ -1,5 +1,12 @@ # @shopify/shopify-app-session-storage-dynamodb +## 2.0.5 + +### Patch Changes + +- 2b54692: Update @aws-sdk/client-dynamodb from 3.470.0 to 3.504.0. +- e2a8fd8: Updated the `@aws-sdk/util-dynamodb` dependency to v3.499.0 + ## 2.0.4 ### Patch Changes diff --git a/packages/shopify-app-session-storage-dynamodb/package.json b/packages/shopify-app-session-storage-dynamodb/package.json index f561448f40..4206037f04 100644 --- a/packages/shopify-app-session-storage-dynamodb/package.json +++ b/packages/shopify-app-session-storage-dynamodb/package.json @@ -1,6 +1,6 @@ { "name": "@shopify/shopify-app-session-storage-dynamodb", - "version": "2.0.4", + "version": "2.0.5", "description": "Shopify App Session Storage for DynamoDB", "repository": { "type": "git", diff --git a/packages/shopify-app-session-storage-postgresql/CHANGELOG.md b/packages/shopify-app-session-storage-postgresql/CHANGELOG.md index f5c6440e7a..7f9b90b1b1 100644 --- a/packages/shopify-app-session-storage-postgresql/CHANGELOG.md +++ b/packages/shopify-app-session-storage-postgresql/CHANGELOG.md @@ -1,5 +1,11 @@ # @shopify/shopify-app-session-storage-postgresql +## 2.0.5 + +### Patch Changes + +- 79193cc: Updated the `pg` dependency to v8.11.3 + ## 2.0.4 ### Patch Changes diff --git a/packages/shopify-app-session-storage-postgresql/package.json b/packages/shopify-app-session-storage-postgresql/package.json index a32a8adc7e..9e4b4b133b 100644 --- a/packages/shopify-app-session-storage-postgresql/package.json +++ b/packages/shopify-app-session-storage-postgresql/package.json @@ -1,6 +1,6 @@ { "name": "@shopify/shopify-app-session-storage-postgresql", - "version": "2.0.4", + "version": "2.0.5", "description": "Shopify App Session Storage for PostgreSQL", "repository": { "type": "git", diff --git a/packages/shopify-app-session-storage-redis/CHANGELOG.md b/packages/shopify-app-session-storage-redis/CHANGELOG.md index 49c42f0894..49f0661b65 100644 --- a/packages/shopify-app-session-storage-redis/CHANGELOG.md +++ b/packages/shopify-app-session-storage-redis/CHANGELOG.md @@ -1,5 +1,11 @@ # @shopify/shopify-app-session-storage-redis +## 2.0.5 + +### Patch Changes + +- 106d459: Updates redis from 4.6.11 to 4.6.12. + ## 2.0.4 ### Patch Changes diff --git a/packages/shopify-app-session-storage-redis/package.json b/packages/shopify-app-session-storage-redis/package.json index a74c270cfe..b010182974 100644 --- a/packages/shopify-app-session-storage-redis/package.json +++ b/packages/shopify-app-session-storage-redis/package.json @@ -1,6 +1,6 @@ { "name": "@shopify/shopify-app-session-storage-redis", - "version": "2.0.4", + "version": "2.0.5", "description": "Shopify App Session Storage for Redis", "repository": { "type": "git", diff --git a/packages/shopify-app-session-storage-sqlite/CHANGELOG.md b/packages/shopify-app-session-storage-sqlite/CHANGELOG.md index e4c6856c28..d546fc386d 100644 --- a/packages/shopify-app-session-storage-sqlite/CHANGELOG.md +++ b/packages/shopify-app-session-storage-sqlite/CHANGELOG.md @@ -1,5 +1,11 @@ # @shopify/shopify-app-session-storage-sqlite +## 2.0.5 + +### Patch Changes + +- 042182c: Updated `sqlite3` dependency to v5.1.7 + ## 2.0.4 ### Patch Changes diff --git a/packages/shopify-app-session-storage-sqlite/package.json b/packages/shopify-app-session-storage-sqlite/package.json index eceebb4d6e..edef126e4a 100644 --- a/packages/shopify-app-session-storage-sqlite/package.json +++ b/packages/shopify-app-session-storage-sqlite/package.json @@ -1,6 +1,6 @@ { "name": "@shopify/shopify-app-session-storage-sqlite", - "version": "2.0.4", + "version": "2.0.5", "description": "Shopify App Session Storage for SQLite", "repository": { "type": "git",