Skip to content

[JS] Update the TOML schema#208

Merged
gonzaloriestra merged 1 commit intojavascript-clifrom
javascript-cli-add-client-id-to-toml
Mar 20, 2026
Merged

[JS] Update the TOML schema#208
gonzaloriestra merged 1 commit intojavascript-clifrom
javascript-cli-add-client-id-to-toml

Conversation

@gonzaloriestra
Copy link
Copy Markdown
Contributor

WHY are these changes introduced?

In Shopify/cli#6612 we removed support for the legacy app schema.

WHAT is this pull request doing?

Update the template to include a default client_id and move the scopes under [access_scopes] to match the new schema.

That way, old CLI versions and the next one without the legacy schema should work.

Test this PR

shopify app init --template=https://github.com/Shopify/shopify-app-template-react-router#add-client-id-to-toml-javascript-cli

Checklist

  • I have made changes to the README.md file and other related documentation, if applicable
  • I have added an entry to CHANGELOG.md
  • I'm aware I need to create a new release when this PR is merged

@gonzaloriestra gonzaloriestra requested a review from a team as a code owner March 19, 2026 15:06
@gonzaloriestra gonzaloriestra changed the title Update the TOML schema [JS] Update the TOML schema Mar 19, 2026
Made-with: Cursor
@gonzaloriestra gonzaloriestra force-pushed the javascript-cli-add-client-id-to-toml branch from bb95440 to e677a77 Compare March 19, 2026 15:11
@gonzaloriestra gonzaloriestra mentioned this pull request Mar 19, 2026
3 tasks
@gonzaloriestra gonzaloriestra merged commit c72345c into javascript-cli Mar 20, 2026
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants