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", 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';