From 273a945527672996f29d033e5d26d0ff03fcdf1c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 25 Oct 2023 13:46:56 +0000 Subject: [PATCH 1/2] Version Packages --- .changeset/spotty-teachers-enjoy.md | 29 ------------------------ packages/shopify-app-remix/CHANGELOG.md | 30 +++++++++++++++++++++++++ packages/shopify-app-remix/package.json | 2 +- 3 files changed, 31 insertions(+), 30 deletions(-) delete mode 100644 .changeset/spotty-teachers-enjoy.md diff --git a/.changeset/spotty-teachers-enjoy.md b/.changeset/spotty-teachers-enjoy.md deleted file mode 100644 index e87e2af436..0000000000 --- a/.changeset/spotty-teachers-enjoy.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -'@shopify/shopify-app-remix': minor ---- - -Added v3_authenticatePublic feature flag to remove `authenticate.public(request)`. - -Apps can opt in to the new future at any time, so this is not a breaking change until version 3. - -
- See an example - -Without the `v3_authenticatePublic` future flag the deprecated `authenticate.public(request)` is supported: - -```ts -await authenticate.public.checkout(request); -await authenticate.public.appProxy(request); - -// Deprecated. Use authenticate.public.checkout(request) instead -await authenticate.public(request); -``` - -With the `v3_authenticatePublic` future flag enabled the deprecated `authenticate.public(request)` is not supported: - -```ts -await authenticate.public.checkout(request); -await authenticate.public.appProxy(request); -``` - -
diff --git a/packages/shopify-app-remix/CHANGELOG.md b/packages/shopify-app-remix/CHANGELOG.md index 137d8e6f40..907041aa6a 100644 --- a/packages/shopify-app-remix/CHANGELOG.md +++ b/packages/shopify-app-remix/CHANGELOG.md @@ -1,5 +1,35 @@ # @shopify/shopify-app-remix +## 2.1.0 + +### Minor Changes + +- f34eefd: Added v3_authenticatePublic feature flag to remove `authenticate.public(request)`. + + Apps can opt in to the new future at any time, so this is not a breaking change until version 3. + +
+ See an example + + Without the `v3_authenticatePublic` future flag the deprecated `authenticate.public(request)` is supported: + + ```ts + await authenticate.public.checkout(request); + await authenticate.public.appProxy(request); + + // Deprecated. Use authenticate.public.checkout(request) instead + await authenticate.public(request); + ``` + + With the `v3_authenticatePublic` future flag enabled the deprecated `authenticate.public(request)` is not supported: + + ```ts + await authenticate.public.checkout(request); + await authenticate.public.appProxy(request); + ``` + +
+ ## 2.0.2 ### Patch Changes diff --git a/packages/shopify-app-remix/package.json b/packages/shopify-app-remix/package.json index d470047771..086cebf188 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.0.2", + "version": "2.1.0", "description": "Shopify Remix - to simplify the building of Shopify Apps with Remix", "repository": { "type": "git", From 2d4534c3c1daf09ad2897bfd6289422a22091b43 Mon Sep 17 00:00:00 2001 From: Richard Powell Date: Mon, 30 Oct 2023 13:25:36 -0400 Subject: [PATCH 2/2] Update package version number --- packages/shopify-app-remix/src/server/version.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/shopify-app-remix/src/server/version.ts b/packages/shopify-app-remix/src/server/version.ts index ba51cb0028..abe2f19738 100644 --- a/packages/shopify-app-remix/src/server/version.ts +++ b/packages/shopify-app-remix/src/server/version.ts @@ -1 +1 @@ -export const SHOPIFY_REMIX_LIBRARY_VERSION = '2.0.2'; +export const SHOPIFY_REMIX_LIBRARY_VERSION = '2.1.0';