Skip to content

Commit

Permalink
Add changeset
Browse files Browse the repository at this point in the history
  • Loading branch information
byrichardpowell committed Oct 25, 2023
1 parent 9eba864 commit f34eefd
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .changeset/spotty-teachers-enjoy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
'@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.

<details>
<summary>See an example</summary>

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);
```

</details>

0 comments on commit f34eefd

Please sign in to comment.