Skip to content

Commit af08744

Browse files
authored
Merge branch 'main' into liz/disable-single-fetch
2 parents 07f2aea + 1daefed commit af08744

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

CHANGELOG.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,16 @@
22

33
## 2024.12.05
44

5-
-[#899](https://github.com/Shopify/shopify-app-template-remix/pull/899) Disable v3_singleFetch flag
5+
- [#899](https://github.com/Shopify/shopify-app-template-remix/pull/899) Disable v3_singleFetch flag
6+
- [#898](https://github.com/Shopify/shopify-app-template-remix/pull/898) Enable the `removeRest` future flag so new apps aren't tempted to use the REST Admin API.
7+
68
## 2024.12.04
79

810
- [#891](https://github.com/Shopify/shopify-app-template-remix/pull/891) Enable remix future flags.
9-
-
11+
1012
## 2024.11.26
11-
- [888](https://github.com/Shopify/shopify-app-template-remix/pull/888) Update restResources version to 2024-10
1213

14+
- [888](https://github.com/Shopify/shopify-app-template-remix/pull/888) Update restResources version to 2024-10
1315

1416
## 2024.11.06
1517

README.md

-1
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,6 @@ The Remix app template comes with the following out-of-the-box functionality:
336336

337337
- [OAuth](https://github.com/Shopify/shopify-app-js/tree/main/packages/shopify-app-remix#authenticating-admin-requests): Installing the app and granting permissions
338338
- [GraphQL Admin API](https://github.com/Shopify/shopify-app-js/tree/main/packages/shopify-app-remix#using-the-shopify-admin-graphql-api): Querying or mutating Shopify admin data
339-
- [REST Admin API](https://github.com/Shopify/shopify-app-js/tree/main/packages/shopify-app-remix#using-the-shopify-admin-rest-api): Resource classes to interact with the API
340339
- [Webhooks](https://github.com/Shopify/shopify-app-js/tree/main/packages/shopify-app-remix#authenticating-webhook-requests): Callbacks sent by Shopify when certain events occur
341340
- [AppBridge](https://shopify.dev/docs/api/app-bridge): This template uses the next generation of the Shopify App Bridge library which works in unison with previous versions.
342341
- [Polaris](https://polaris.shopify.com/): Design system that enables apps to create Shopify-like experiences

app/shopify.server.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import {
55
shopifyApp,
66
} from "@shopify/shopify-app-remix/server";
77
import { PrismaSessionStorage } from "@shopify/shopify-app-session-storage-prisma";
8-
import { restResources } from "@shopify/shopify-api/rest/admin/2024-10";
98
import prisma from "./db.server";
109

1110
const shopify = shopifyApp({
@@ -17,9 +16,9 @@ const shopify = shopifyApp({
1716
authPathPrefix: "/auth",
1817
sessionStorage: new PrismaSessionStorage(prisma),
1918
distribution: AppDistribution.AppStore,
20-
restResources,
2119
future: {
2220
unstable_newEmbeddedAuthStrategy: true,
21+
removeRest: true,
2322
},
2423
...(process.env.SHOP_CUSTOM_DOMAIN
2524
? { customShopDomains: [process.env.SHOP_CUSTOM_DOMAIN] }

0 commit comments

Comments
 (0)