Repository navigation
introduce --version flag to Bulk Operations CLI - #6684
Conversation
|
We detected some changes at Caution DO NOT create changesets for features which you do not wish to be included in the public changelog of the next CLI release. |
Coverage report
Show new covered files 🐣
Show files with reduced coverage 🔻
Test suite run success3456 tests passing in 1397 suites. Report generated by 🧪jest coverage report action from e0bace3 |
a532547 to
4f5de08
Compare
0b94202 to
d889f70
Compare
| bulkOperationRunQuery( | ||
| query: $query | ||
| # Set to false to optimize for speed over grouped results | ||
| groupObjects: false |
There was a problem hiding this comment.
Removing this argument so that this executable document will be compatible with all supported API versions. (API versions before 2025-07 do not support groupObjects.)
282b3a1 to
6a5c8ee
Compare
34bbdc4 to
081d32e
Compare
|
/snapit |
|
🫰✨ Thanks @gonzaloriestra! Your snapshot has been published to npm. Test the snapshot by installing your package globally: npm i -g --@shopify:registry=https://registry.npmjs.org @shopify/cli@0.0.0-snapshot-20251205104938Caution After installing, validate the version by running just |
081d32e to
e0bace3
Compare

WHY are these changes introduced?
https://github.com/shop/issues-api-foundations/issues/1138
Users should be able to run their bulk operations against any valid and supported API version.
WHAT is this pull request doing?
Allows users to run their bulk operations against a configurable version. If not provided, defaults to latest stable version.
How to test your changes?
Try running
shopify app bulk executewith various values of--version.Invalid version, e.g.
--version=1998-01:Valid stable version, e.g.
--version=2025-04:--version=unstable:--versionnot provided at all: