- Look for breaking changes in the release notes in the Rest API section
- Example of a breaking change in 2021-10
- Handle the breaking changes (this will be case by case and cannot be generalized here)
- Update
config.api_version
in this fileconfig/initializers/shopify_app.rb
config.api_version = "2021-10"
- Run
dev test
- The output might have the following messages:
VCR is currently using the following cassette:
- /Users/michelbalamou/src/github.com/Shopify/stocky/spec/fixtures/api_responses/Sync_Shopify_AverageCostJob/_perform/updates_inventory_item_cost_to_be_variant_average_cost.yml
- Proceed to find all the
yaml
files in the output and delete them, then re-rundev test
. This will regenerate theyaml
files. - After regenerating all the
yaml
files the output might still have errors, but they should be unrelated to theyaml
files. Proceed to handle them (again this will be different for each breaking change).