Skip to content

Commit 8e08889

Browse files
Merge pull request #52 from Shopify/use-explicit-apiVersion-in-graphqlrc
Use an explicit API version in .graphqlrc file
2 parents 641acd8 + 9b1f22a commit 8e08889

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

.graphqlrc.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import fs from "fs";
2-
import { LATEST_API_VERSION } from "@shopify/shopify-api";
2+
import { ApiVersion } from "@shopify/shopify-api";
33
import { shopifyApiProject, ApiType } from "@shopify/api-codegen-preset";
44
import type { IGraphQLConfig } from "graphql-config";
55

@@ -8,7 +8,7 @@ function getConfig() {
88
projects: {
99
default: shopifyApiProject({
1010
apiType: ApiType.Admin,
11-
apiVersion: LATEST_API_VERSION,
11+
apiVersion: ApiVersion.July25,
1212
documents: ["./app/**/*.{js,ts,jsx,tsx}", "./app/.server/**/*.{js,ts,jsx,tsx}"],
1313
outputDir: "./app/types",
1414
}),

CHANGELOG.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,16 @@
11
# @shopify/shopify-app-template-react-router
22

3+
## 2025.08.17
4+
5+
- [#53](https://github.com/Shopify/shopify-app-template-react-router/pull/53) Add the Shopify Dev MCP to the template
6+
37
## 2025.08.16
4-
- [#53](https://github.com/Shopify/shopify-app-template-react-router/pull/53) Adds the Shopify Dev MCP to the template
8+
9+
- [#52](https://github.com/Shopify/shopify-app-template-react-router/pull/52) Use `ApiVersion.July25` rather than `LATEST_API_VERSION` in `.graphqlrc`.
510

611
## 2025.07.24
7-
- Adds [App Bridge web components](https://shopify.dev/docs/api/app-home/app-bridge-web-components) to the template.
12+
13+
- [14](https://github.com/Shopify/shopify-app-template-react-router/pull/14/files) Add [App Bridge web components](https://shopify.dev/docs/api/app-home/app-bridge-web-components) to the template.
814

915
## July 2025
1016

0 commit comments

Comments
 (0)