Skip to content

Update Shopify Function templates to API version 2026-07 - #423

Merged
davejcameron merged 1 commit into
mainfrom
cx-upgrade-shopify-functions-2026-07
Jul 31, 2026
Merged

Update Shopify Function templates to API version 2026-07#423
davejcameron merged 1 commit into
mainfrom
cx-upgrade-shopify-functions-2026-07

Conversation

@davejcameron

Copy link
Copy Markdown
Contributor

Background

Shopify Function templates using stable API versions need to move from 2026-04 to 2026-07.

Solution

  • Update all 30 stable Function manifests across JavaScript, Rust, and raw Wasm templates to 2026-07.
  • Regenerate their GraphQL schemas, including BuyerIdentity.shopUser, product-variant collection membership fields, and the ShopUser type.
  • Align Rust fixtures with the current serialization behavior, which omits absent nullable output fields.
  • Keep the 9 discounts-allocator and pickup delivery-option generator templates on unstable; Shopify does not expose those targets in the 2026-07 schema endpoint and the canonical templates still require unstable.

Validation

  • JavaScript type generation and all JavaScript integration suites
  • cargo fmt --check
  • cargo clippy -- -D warnings
  • cargo test
  • cargo build --release --target wasm32-unknown-unknown
  • All Rust integration suites
  • JavaScript, Rust, and raw-Wasm template expansion
  • Manifest/schema parity audit and git diff --check

Checklist

  • I have 🎩'd these changes
  • I have squashed my commits into chunks of work with meaningful commit messages

Update the 30 stable Shopify Function templates and generated schemas to API version 2026-07. Keep discounts allocator and the pickup delivery-option generator APIs on unstable because Shopify does not expose those targets in 2026-07. Align Rust fixtures with the current omission of absent nullable output fields.

Assisted-By: devx/e697a511-d172-4fd3-8157-9c07b6fa6b10
@davejcameron
davejcameron merged commit c05f026 into main Jul 31, 2026
5 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