Skip to content

Commit d9bed89

Browse files
authored
update checkout cli templates with 2025-07 stable version (#283)
ui-extensions 2025-07 version release as latest stable, updating cli templates to match this new stable version # 🎩 Make sure `pnpm` is `10.9.0` or higher Use the latest CLI ``` pnpm i -g @shopify/cli@latest --@Shopify:registry=https://registry.npmjs.org ``` Create an app. Select _Remix_ and _TypeScript_. ``` shopify app init ``` Change into the app directory and generate a _Checkout UI_ extension with this template ``` shopify app generate extension --clone-url https://github.com/Shopify/extensions-templates#07-03-update_checkout_cli_templates_with_2025-07_stable_version ``` When prompted, create a react/typescript extension and ensure package.json of extension references `2025.7.x` for ui-extensions and ui-extensions-react ![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/f0eauGjqTpa48KjfElr8/bddfef57-d8bc-4e6e-a686-4dea767c43d7.png) and that extensions toml file reference `2025-07` as api version ![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/f0eauGjqTpa48KjfElr8/39bc8d93-ef37-4ac0-b00c-ee979c5f99e9.png) I did the same steps above for creating an extension with a TS extension (non-react) as well and ensured similar changes ``` npm run dev ``` and make sure extensions render and function properly
1 parent d9a3185 commit d9bed89

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

checkout-extension/package.json.liquid

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,16 @@
1111
{%- elsif flavor contains "react" %}
1212
"dependencies": {
1313
"react": "^18.0.0",
14-
"@shopify/ui-extensions": "2025.4.x",
15-
"@shopify/ui-extensions-react": "2025.4.x",
14+
"@shopify/ui-extensions": "2025.7.x",
15+
"@shopify/ui-extensions-react": "2025.7.x",
1616
"react-reconciler": "0.29.0"
1717
},
1818
"devDependencies": {
1919
"@types/react": "^18.0.0"
2020
}
2121
{%- else %}
2222
"dependencies": {
23-
"@shopify/ui-extensions": "2025.4.x"
23+
"@shopify/ui-extensions": "2025.7.x"
2424
}
2525
{%- endif %}
2626
}

checkout-extension/shopify.extension.toml.liquid

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
{%- if flavor contains "preact" %}
77
api_version = "2025-10"
88
{%- else %}
9-
api_version = "2025-04"
9+
api_version = "2025-07"
1010
{%- endif %}
1111

1212
[[extensions]]

0 commit comments

Comments
 (0)