Releases: sanity-io/cli
Release list
create-sanity@6.0.15
Changelog
6.0.15
2026-07-08
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 7.7.1
- dependencies
6.0.14
2026-07-07
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 7.7.0
- dependencies
6.0.13
2026-07-07
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 7.6.0
- dependencies
6.0.12
2026-07-01
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 7.5.0
- dependencies
6.0.11
2026-06-30
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 7.4.2
- dependencies
6.0.10
2026-06-29
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 7.4.1
- dependencies
6.0.9
2026-06-23
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 7.4.0
- dependencies
6.0.8
2026-06-22
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 7.3.0
- dependencies
6.0.7
2026-06-11
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 7.2.3
- dependencies
6.0.6
2026-06-11
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 7.2.2
- dependencies
6.0.5
2026-06-10
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 7.2.1
- dependencies
6.0.4
2026-06-10
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 7.2.0
- dependencies
6.0.3
2026-06-08
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 7.1.0
- dependencies
6.0.2
2026-06-04
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 7.0.2
- dependencies
6.0.1
2026-06-04
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 7.0.1
- dependencies
6.0.0
2026-06-04
⚠ BREAKING CHANGES
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 7.0.0
- dependencies
5.2.22
2026-06-03
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 6.7.2
- dependencies
5.2.21
2026-06-02
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 6.7.1
- dependencies
5.2.20
2026-06-02
Bug Fixes
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 6.7.0
- dependencies
5.2.19
2026-05-18
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 6.6.0
- dependencies
5.2.18
2026-05-13
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 6.5.3
- dependencies
5.2.17
2026-05-13
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 6.5.2
- dependencies
5.2.16
2026-05-07
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 6.5.1
- dependencies
5.2.15
2026-05-04
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 6.5.0
- dependencies
5.2.14
Patch Changes
- Updated dependencies [
a812f96,1fa3954,6045f96,696f8e0,5701546,ad287b6,c88caf7,10db76f,80480af]:- @sanity/cli@6.4.0
5.2.13
Patch Changes
5.2.12
Patch Changes
5.2.11 (2026-03-30)
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 6.3.0
- dependencies
5.2.10 (2026-03-24)
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 6.2.1
- dependencies
5.2.9 (2026-03-19)
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 6.2.0
- dependencies
5.2.8 (2026-03-18)
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 6.1.8
- dependencies
5.2.7 (2026-03-16)
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 6.1.7
- dependencies
5.2.6 (2026-03-16)
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 6.1.6
- dependencies
5.2.5 (2026-03-14)
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 6.1.5
- dependencies
5.2.4 (2026-03-13)
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 6.1.4
- dependencies
[5.2.3](https://github.com/sanity-io/cli/comp...
@sanity/cli@7.7.1
Change Log
7.7.1
2026-07-08
Bug Fixes
- deploy: carry the pending app's title in a dry-run plan's JSON target (#1450) (f4f6869)
- deploy: report a failed
deploy --jsonas a{deployed: false}JSON envelope (#1449) (ab64bab) - deploy: carry the studio title in a dry-run plan's JSON target (#1451) (0fd77e0)
7.7.0
2026-07-07
Features
-
deploy: add a
--jsonflag (#1416) (cba270a)sanity deploy --jsonemits the deploy result — or, with--dry-run, the deploy plan — as machine-readable JSON: the resolved target (id, title, and dashboard/studio URL), framework version, files, and any blocking problems. It's built from the same source as the human report so the two can't drift, and core apps now print their dashboard URL in the plan and success output like studios already did.
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli-core bumped to 2.2.1
- dependencies
7.6.0
2026-07-07
Features
-
deploy: add a
--dry-runflag that reports whether a studio or app can be deployed, and the files a deploy would upload, without uploading or creating anything (#1415) (3848089) -
workbench: persist a media library's installation config on
sanity deploy(#1441) (4cf600f) -
deploy: name a new application or studio with
--title(orapp.titleconfig for apps), enabling non-interactive coreApp creation (#1436) (aa4e106) -
cli: add
unstable_bundledDevopt-in for Vite's experimental bundled dev mode (#1413) (37d1831)Set
unstable_bundledDev: trueinsanity.cli.tsto makesanity devserve a bundled module graph (Vite'sexperimental.bundledDev) instead of individual ES modules. This can significantly speed up dev-server startup and full page reloads for large studios, while HMR stays instant. The regular unbundled dev server remains the default and is unchanged when the option is absent.Requires
vite@^8.1.3— earlier 8.1.x releases ship a Rolldown codegen bug that crashes the bundled studio on startup. The option is unstable and may change or be removed while the underlying Vite feature is experimental. -
workbench: stamp the app's bus identity into its bundle (#1438) (9c7b6cb)
-
workbench: add
unstable_defineMediaLibrary(#1423) (2c7c00c)Declare the Sanity Media Library as a workbench app and define its installation config.
Bug Fixes
- init: gate MCP setup on unattended mode rather than
--yesalone, so a non-interactiveinit(including--json) configures MCP with defaults instead of blocking on its prompt (#1421) (a896651) - workbench: move the typed
isWorkbenchAppto@sanity/workbench-cli, derived from the schema so it can't drift.@sanity/cli-corekeeps a booleanisWorkbenchAppfor compatibility. (#1429) (263bbf9) - deploy: restructure core app deploy and extract shared deploy checks (#1406) (a414fca)
- deploy: restructure studio deploy on the shared deploy checks (#1407) (bb18d26)
- move internal build logic to cli-build package (#1412) (de6f30c)
- workbench: thread views/services as one
exposesbundle through the (#1424) (bebd59b)
build/dev plumbing, so adding a declaration family no longer touches every hop
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli-build bumped to 3.0.0
- @sanity/workbench-cli bumped to 1.2.0
- @sanity/cli-core bumped to 2.2.0
- dependencies
7.5.0
2026-07-01
Features
- use OAuth for authenticating MCP in
sanity initfor more clients (#1403) (b67bc0f) - sdk: add readme, agents.md, and claude skill with docs links to app templates (#1303) (77d9845)
Bug Fixes
- update Zed MCP settings object format (#1393) (65e9ebf)
- deps: unpin vite and bump to ^8.1.2 (#1410) (3801bd7)
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli-build bumped to 2.0.1
- @sanity/cli-core bumped to 2.1.3
- @sanity/workbench-cli bumped to 1.1.3
- dependencies
7.4.2
2026-06-30
Bug Fixes
- deps: pin vite to 8.1.0 to avoid broken 8.1.1 studio builds (#1408) (596baa7)
- move buildStaticFiles into cli-build, clean up exports (#1397) (def5e11)
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli-build bumped to 2.0.0
- @sanity/cli-core bumped to 2.1.2
- @sanity/workbench-cli bumped to 1.1.2
- dependencies
7.4.1
2026-06-29
Bug Fixes
- mcp: use oauth for codex cli config (#1151) (9f50d26)
- move logic for getting env vars into cli-build package (#1373) (ae0c624)
- workbench: claim lock when developing workbench remote (#1387) (cb80a56)
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli-build bumped to 1.1.2
- @sanity/workbench-cli bumped to 1.1.1
- dependencies
7.4.0
2026-06-23
Features
Bug Fixes
- cli: prevent
initfrom crashing when an npm version lookup stalls (#1331) (ee2e0e7) - deps: update dependency @vercel/frameworks to v3.29.0 (#1346) (d0c96ec)
- deps: update oclif-tooling (#1352) (f5455ed)
- deps: remove rolldown overrides now that vite 8.1.0 ships rolldown 1.1.2 (#1356) (d96cf4f)
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli-build bumped to 1.1.1
- @sanity/cli-core bumped to 2.1.1
- dependencies
7.3.0
2026-06-22
Features
- add sanity skills install comma...
create-sanity@6.0.14
Changelog
6.0.14
2026-07-07
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 7.7.0
- dependencies
6.0.13
2026-07-07
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 7.6.0
- dependencies
6.0.12
2026-07-01
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 7.5.0
- dependencies
6.0.11
2026-06-30
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 7.4.2
- dependencies
6.0.10
2026-06-29
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 7.4.1
- dependencies
6.0.9
2026-06-23
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 7.4.0
- dependencies
6.0.8
2026-06-22
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 7.3.0
- dependencies
6.0.7
2026-06-11
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 7.2.3
- dependencies
6.0.6
2026-06-11
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 7.2.2
- dependencies
6.0.5
2026-06-10
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 7.2.1
- dependencies
6.0.4
2026-06-10
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 7.2.0
- dependencies
6.0.3
2026-06-08
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 7.1.0
- dependencies
6.0.2
2026-06-04
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 7.0.2
- dependencies
6.0.1
2026-06-04
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 7.0.1
- dependencies
6.0.0
2026-06-04
⚠ BREAKING CHANGES
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 7.0.0
- dependencies
5.2.22
2026-06-03
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 6.7.2
- dependencies
5.2.21
2026-06-02
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 6.7.1
- dependencies
5.2.20
2026-06-02
Bug Fixes
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 6.7.0
- dependencies
5.2.19
2026-05-18
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 6.6.0
- dependencies
5.2.18
2026-05-13
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 6.5.3
- dependencies
5.2.17
2026-05-13
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 6.5.2
- dependencies
5.2.16
2026-05-07
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 6.5.1
- dependencies
5.2.15
2026-05-04
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 6.5.0
- dependencies
5.2.14
Patch Changes
- Updated dependencies [
a812f96,1fa3954,6045f96,696f8e0,5701546,ad287b6,c88caf7,10db76f,80480af]:- @sanity/cli@6.4.0
5.2.13
Patch Changes
5.2.12
Patch Changes
5.2.11 (2026-03-30)
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 6.3.0
- dependencies
5.2.10 (2026-03-24)
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 6.2.1
- dependencies
5.2.9 (2026-03-19)
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 6.2.0
- dependencies
5.2.8 (2026-03-18)
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 6.1.8
- dependencies
5.2.7 (2026-03-16)
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 6.1.7
- dependencies
5.2.6 (2026-03-16)
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 6.1.6
- dependencies
5.2.5 (2026-03-14)
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 6.1.5
- dependencies
5.2.4 (2026-03-13)
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 6.1.4
- dependencies
5.2.3 (2026-03-13)
Bug Fixes
create-sanity@6.0.13
Changelog
6.0.13
2026-07-07
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 7.6.0
- dependencies
6.0.12
2026-07-01
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 7.5.0
- dependencies
6.0.11
2026-06-30
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 7.4.2
- dependencies
6.0.10
2026-06-29
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 7.4.1
- dependencies
6.0.9
2026-06-23
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 7.4.0
- dependencies
6.0.8
2026-06-22
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 7.3.0
- dependencies
6.0.7
2026-06-11
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 7.2.3
- dependencies
6.0.6
2026-06-11
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 7.2.2
- dependencies
6.0.5
2026-06-10
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 7.2.1
- dependencies
6.0.4
2026-06-10
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 7.2.0
- dependencies
6.0.3
2026-06-08
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 7.1.0
- dependencies
6.0.2
2026-06-04
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 7.0.2
- dependencies
6.0.1
2026-06-04
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 7.0.1
- dependencies
6.0.0
2026-06-04
⚠ BREAKING CHANGES
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 7.0.0
- dependencies
5.2.22
2026-06-03
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 6.7.2
- dependencies
5.2.21
2026-06-02
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 6.7.1
- dependencies
5.2.20
2026-06-02
Bug Fixes
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 6.7.0
- dependencies
5.2.19
2026-05-18
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 6.6.0
- dependencies
5.2.18
2026-05-13
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 6.5.3
- dependencies
5.2.17
2026-05-13
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 6.5.2
- dependencies
5.2.16
2026-05-07
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 6.5.1
- dependencies
5.2.15
2026-05-04
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 6.5.0
- dependencies
5.2.14
Patch Changes
- Updated dependencies [
a812f96,1fa3954,6045f96,696f8e0,5701546,ad287b6,c88caf7,10db76f,80480af]:- @sanity/cli@6.4.0
5.2.13
Patch Changes
5.2.12
Patch Changes
5.2.11 (2026-03-30)
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 6.3.0
- dependencies
5.2.10 (2026-03-24)
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 6.2.1
- dependencies
5.2.9 (2026-03-19)
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 6.2.0
- dependencies
5.2.8 (2026-03-18)
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 6.1.8
- dependencies
5.2.7 (2026-03-16)
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 6.1.7
- dependencies
5.2.6 (2026-03-16)
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 6.1.6
- dependencies
5.2.5 (2026-03-14)
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 6.1.5
- dependencies
5.2.4 (2026-03-13)
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 6.1.4
- dependencies
5.2.3 (2026-03-13)
Bug Fixes
@sanity/workbench-cli@1.2.0
@sanity/workbench-cli
1.2.0
2026-07-07
Features
-
workbench: persist a media library's installation config on
sanity deploy(#1441) (4cf600f) -
workbench: move the typed
isWorkbenchAppto@sanity/workbench-cli, derived from the schema so it can't drift.@sanity/cli-corekeeps a booleanisWorkbenchAppfor compatibility. (#1429) (263bbf9) -
workbench: stamp the app's bus identity into its bundle (#1438) (9c7b6cb)
-
workbench: add
unstable_defineMediaLibrary(#1423) (2c7c00c)Declare the Sanity Media Library as a workbench app and define its installation config.
Bug Fixes
- deploy: restructure core app deploy and extract shared deploy checks (#1406) (a414fca)
- workbench: thread views/services as one
exposesbundle through the (#1424) (bebd59b)
build/dev plumbing, so adding a declaration family no longer touches every hop
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli-core bumped to 2.2.0
- dependencies
1.1.3
2026-07-01
Bug Fixes
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli-core bumped to 2.1.3
- dependencies
1.1.2
2026-06-30
Bug Fixes
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli-core bumped to 2.1.2
- dependencies
1.1.1
2026-06-29
Bug Fixes
- workbench: move workbench related code into workbench-cli package (#1384) (85605dd)
- workbench: upgrade @module-federation/vite to 1.16.11 (#1389) (12c2867)
- workbench: claim lock when developing workbench remote (#1387) (cb80a56)
- workbench: claim lock when developing workbench remote (#1387) (cb80a56)
1.1.0
2026-06-22
Features
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli-core bumped to 2.1.0
- dependencies
@sanity/cli@7.7.0
Change Log
7.7.0
2026-07-07
Features
-
deploy: add a
--jsonflag (#1416) (cba270a)sanity deploy --jsonemits the deploy result — or, with--dry-run, the deploy plan — as machine-readable JSON: the resolved target (id, title, and dashboard/studio URL), framework version, files, and any blocking problems. It's built from the same source as the human report so the two can't drift, and core apps now print their dashboard URL in the plan and success output like studios already did.
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli-core bumped to 2.2.1
- dependencies
7.6.0
2026-07-07
Features
-
deploy: add a
--dry-runflag that reports whether a studio or app can be deployed, and the files a deploy would upload, without uploading or creating anything (#1415) (3848089) -
workbench: persist a media library's installation config on
sanity deploy(#1441) (4cf600f) -
deploy: name a new application or studio with
--title(orapp.titleconfig for apps), enabling non-interactive coreApp creation (#1436) (aa4e106) -
cli: add
unstable_bundledDevopt-in for Vite's experimental bundled dev mode (#1413) (37d1831)Set
unstable_bundledDev: trueinsanity.cli.tsto makesanity devserve a bundled module graph (Vite'sexperimental.bundledDev) instead of individual ES modules. This can significantly speed up dev-server startup and full page reloads for large studios, while HMR stays instant. The regular unbundled dev server remains the default and is unchanged when the option is absent.Requires
vite@^8.1.3— earlier 8.1.x releases ship a Rolldown codegen bug that crashes the bundled studio on startup. The option is unstable and may change or be removed while the underlying Vite feature is experimental. -
workbench: stamp the app's bus identity into its bundle (#1438) (9c7b6cb)
-
workbench: add
unstable_defineMediaLibrary(#1423) (2c7c00c)Declare the Sanity Media Library as a workbench app and define its installation config.
Bug Fixes
- init: gate MCP setup on unattended mode rather than
--yesalone, so a non-interactiveinit(including--json) configures MCP with defaults instead of blocking on its prompt (#1421) (a896651) - workbench: move the typed
isWorkbenchAppto@sanity/workbench-cli, derived from the schema so it can't drift.@sanity/cli-corekeeps a booleanisWorkbenchAppfor compatibility. (#1429) (263bbf9) - deploy: restructure core app deploy and extract shared deploy checks (#1406) (a414fca)
- deploy: restructure studio deploy on the shared deploy checks (#1407) (bb18d26)
- move internal build logic to cli-build package (#1412) (de6f30c)
- workbench: thread views/services as one
exposesbundle through the (#1424) (bebd59b)
build/dev plumbing, so adding a declaration family no longer touches every hop
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli-build bumped to 3.0.0
- @sanity/workbench-cli bumped to 1.2.0
- @sanity/cli-core bumped to 2.2.0
- dependencies
7.5.0
2026-07-01
Features
- use OAuth for authenticating MCP in
sanity initfor more clients (#1403) (b67bc0f) - sdk: add readme, agents.md, and claude skill with docs links to app templates (#1303) (77d9845)
Bug Fixes
- update Zed MCP settings object format (#1393) (65e9ebf)
- deps: unpin vite and bump to ^8.1.2 (#1410) (3801bd7)
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli-build bumped to 2.0.1
- @sanity/cli-core bumped to 2.1.3
- @sanity/workbench-cli bumped to 1.1.3
- dependencies
7.4.2
2026-06-30
Bug Fixes
- deps: pin vite to 8.1.0 to avoid broken 8.1.1 studio builds (#1408) (596baa7)
- move buildStaticFiles into cli-build, clean up exports (#1397) (def5e11)
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli-build bumped to 2.0.0
- @sanity/cli-core bumped to 2.1.2
- @sanity/workbench-cli bumped to 1.1.2
- dependencies
7.4.1
2026-06-29
Bug Fixes
- mcp: use oauth for codex cli config (#1151) (9f50d26)
- move logic for getting env vars into cli-build package (#1373) (ae0c624)
- workbench: claim lock when developing workbench remote (#1387) (cb80a56)
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli-build bumped to 1.1.2
- @sanity/workbench-cli bumped to 1.1.1
- dependencies
7.4.0
2026-06-23
Features
Bug Fixes
- cli: prevent
initfrom crashing when an npm version lookup stalls (#1331) (ee2e0e7) - deps: update dependency @vercel/frameworks to v3.29.0 (#1346) (d0c96ec)
- deps: update oclif-tooling (#1352) (f5455ed)
- deps: remove rolldown overrides now that vite 8.1.0 ships rolldown 1.1.2 (#1356) (d96cf4f)
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli-build bumped to 1.1.1
- @sanity/cli-core bumped to 2.1.1
- dependencies
7.3.0
2026-06-22
Features
- add sanity skills install command to allow manual skills install (#1292) (3a038eb)
- add workbench under unstable flags (#907) (a2deacf)
Bug Fixes
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli-build bumped to 1.1.0
- @sanity/cli-core bumped to 2.1.0
- @sanity/workbench-cli bumped to 1.1.0
- dependencies
...
@sanity/cli@7.6.0
Change Log
7.6.0
2026-07-07
Features
-
deploy: add a
--dry-runflag that reports whether a studio or app can be deployed, and the files a deploy would upload, without uploading or creating anything (#1415) (3848089) -
workbench: persist a media library's installation config on
sanity deploy(#1441) (4cf600f) -
deploy: name a new application or studio with
--title(orapp.titleconfig for apps), enabling non-interactive coreApp creation (#1436) (aa4e106) -
cli: add
unstable_bundledDevopt-in for Vite's experimental bundled dev mode (#1413) (37d1831)Set
unstable_bundledDev: trueinsanity.cli.tsto makesanity devserve a bundled module graph (Vite'sexperimental.bundledDev) instead of individual ES modules. This can significantly speed up dev-server startup and full page reloads for large studios, while HMR stays instant. The regular unbundled dev server remains the default and is unchanged when the option is absent.Requires
vite@^8.1.3— earlier 8.1.x releases ship a Rolldown codegen bug that crashes the bundled studio on startup. The option is unstable and may change or be removed while the underlying Vite feature is experimental. -
workbench: stamp the app's bus identity into its bundle (#1438) (9c7b6cb)
-
workbench: add
unstable_defineMediaLibrary(#1423) (2c7c00c)Declare the Sanity Media Library as a workbench app and define its installation config.
Bug Fixes
- init: gate MCP setup on unattended mode rather than
--yesalone, so a non-interactiveinit(including--json) configures MCP with defaults instead of blocking on its prompt (#1421) (a896651) - workbench: move the typed
isWorkbenchAppto@sanity/workbench-cli, derived from the schema so it can't drift.@sanity/cli-corekeeps a booleanisWorkbenchAppfor compatibility. (#1429) (263bbf9) - deploy: restructure core app deploy and extract shared deploy checks (#1406) (a414fca)
- deploy: restructure studio deploy on the shared deploy checks (#1407) (bb18d26)
- move internal build logic to cli-build package (#1412) (de6f30c)
- workbench: thread views/services as one
exposesbundle through the (#1424) (bebd59b)
build/dev plumbing, so adding a declaration family no longer touches every hop
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli-build bumped to 3.0.0
- @sanity/workbench-cli bumped to 1.2.0
- @sanity/cli-core bumped to 2.2.0
- dependencies
7.5.0
2026-07-01
Features
- use OAuth for authenticating MCP in
sanity initfor more clients (#1403) (b67bc0f) - sdk: add readme, agents.md, and claude skill with docs links to app templates (#1303) (77d9845)
Bug Fixes
- update Zed MCP settings object format (#1393) (65e9ebf)
- deps: unpin vite and bump to ^8.1.2 (#1410) (3801bd7)
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli-build bumped to 2.0.1
- @sanity/cli-core bumped to 2.1.3
- @sanity/workbench-cli bumped to 1.1.3
- dependencies
7.4.2
2026-06-30
Bug Fixes
- deps: pin vite to 8.1.0 to avoid broken 8.1.1 studio builds (#1408) (596baa7)
- move buildStaticFiles into cli-build, clean up exports (#1397) (def5e11)
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli-build bumped to 2.0.0
- @sanity/cli-core bumped to 2.1.2
- @sanity/workbench-cli bumped to 1.1.2
- dependencies
7.4.1
2026-06-29
Bug Fixes
- mcp: use oauth for codex cli config (#1151) (9f50d26)
- move logic for getting env vars into cli-build package (#1373) (ae0c624)
- workbench: claim lock when developing workbench remote (#1387) (cb80a56)
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli-build bumped to 1.1.2
- @sanity/workbench-cli bumped to 1.1.1
- dependencies
7.4.0
2026-06-23
Features
Bug Fixes
- cli: prevent
initfrom crashing when an npm version lookup stalls (#1331) (ee2e0e7) - deps: update dependency @vercel/frameworks to v3.29.0 (#1346) (d0c96ec)
- deps: update oclif-tooling (#1352) (f5455ed)
- deps: remove rolldown overrides now that vite 8.1.0 ships rolldown 1.1.2 (#1356) (d96cf4f)
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli-build bumped to 1.1.1
- @sanity/cli-core bumped to 2.1.1
- dependencies
7.3.0
2026-06-22
Features
- add sanity skills install command to allow manual skills install (#1292) (3a038eb)
- add workbench under unstable flags (#907) (a2deacf)
Bug Fixes
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli-build bumped to 1.1.0
- @sanity/cli-core bumped to 2.1.0
- @sanity/workbench-cli bumped to 1.1.0
- dependencies
7.2.3
2026-06-11
Bug Fixes
-
deps: bump sanity monorepo packages to v6 (#1258) (72bde8f)
Updates
@sanity/schema,@sanity/types,@sanity/codegen,@sanity/import, and@sanity/migratein@sanity/cli, and@sanity/schemaand@sanity/typesin@sanity/cli-build, to versions compatible with Sanity v6.
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli-build bumped to 1.0.5
- dependencies
7.2.2
2026-06-11
Bug Fixes
- cli-build: emit vendor chunks in single vite build ...
@sanity/cli-test@3.0.1
Changelog
3.0.1
2026-07-07
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli-core bumped to 2.2.1
- dependencies
3.0.0
2026-07-07
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli-core bumped to 2.2.0
- dependencies
2.0.3
2026-07-01
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli-core bumped to 2.1.3
- dependencies
2.0.2
2026-06-30
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli-core bumped to 2.1.2
- dependencies
2.0.1
2026-06-23
Bug Fixes
- deps: remove rolldown overrides now that vite 8.1.0 ships rolldown 1.1.2 (#1356) (d96cf4f)
- deps: update dependency esbuild to ^0.28.1 (#1358) (7c51459)
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli-core bumped to 2.1.1
- dependencies
2.0.0
2026-06-22
Bug Fixes
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli-core bumped to 2.1.0
- dependencies
1.0.1
2026-06-04
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli-core bumped to 2.0.1
- dependencies
1.0.0
2026-06-04
⚠ BREAKING CHANGES
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli-core bumped to 2.0.0
- dependencies
0.3.5
2026-06-03
Bug Fixes
- deps: update sanity-tooling (#1163) (5313459)
- deps: update dependency esbuild to ^0.28.0 (#1166) (79f353f)
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli-core bumped to 1.3.4
- dependencies
0.3.4
2026-06-02
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli-core bumped to 1.3.3
- dependencies
0.3.3
2026-05-07
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli-core bumped to 1.3.2
- dependencies
0.3.2
2026-05-04
Bug Fixes
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli-core bumped to 1.3.1
- dependencies
0.3.1
Patch Changes
-
Updated dependencies [
5b86d79]:- @sanity/cli-core@1.3.1
0.3.0 (2026-03-30)
Features
Dependencies
- The following workspace dependencies were updated
- devDependencies
- @sanity/cli-core bumped to 1.3.0
- @sanity/eslint-config-cli bumped to 1.1.0
- peerDependencies
- @sanity/cli-core bumped to 1.3.0
- devDependencies
0.2.7 (2026-03-24)
Bug Fixes
Dependencies
- The following workspace dependencies were updated
- devDependencies
- @sanity/cli-core bumped to 1.2.1
- peerDependencies
- @sanity/cli-core bumped to 1.2.1
- devDependencies
0.2.6 (2026-03-19)
Dependencies
- The following workspace dependencies were updated
- devDependencies
- @sanity/cli-core bumped to 1.2.0
- peerDependencies
- @sanity/cli-core bumped to 1.2.0
- devDependencies
0.2.5 (2026-03-18)
Bug Fixes
Dependencies
- The following workspace dependencies were updated
- devDependencies
- @sanity/cli-core bumped to 1.1.3
- @sanity/eslint-config-cli bumped to 1.0.1
- peerDependencies
- @sanity/cli-core bumped to 1.1.3
- devDependencies
0.2.4 (2026-03-13)
Dependencies
- The following workspace dependencies were updated
- devDependencies
- @sanity/cli-core bumped to 1.1.2
- peerDependencies
- @sanity/cli-core bumped to 1.1.2
- devDependencies
0.2.3 (2026-03-13)
Dependencies
- The following workspace dependencies were updated
- devDependencies
- @sanity/cli-core bumped to 1.1.1
- peerDependencies
- @sanity/cli-core bumped to 1.1.1
- devDependencies
0.2.2 (2026-03-12)
Bug Fixes
Dependencies
- The following workspace dependencies were updated
- devDependencies
- @sanity/cli-core bumped to 1.1.0
- peerDependencies
- @sanity/cli-core bumped to 1.1.0
- devDependencies
0.2.1 (2026-03-11)
Dependencies
- The following workspace dependencies were updated
- devDependencies
- @sanity/cli-core bumped to 1.0.1
- peerDependencies
- @sanity/cli-core bumped to 1.0.1
- devDependencies
0.2.0 (2026-03-10)
Features
- add
--project-idflag + prompts for dataset commands (#500) (b264fa2) - add a eslint-config-cli package (#226) (2980003)
- add cli-test package for test helpers (#62) (e84a0bf)
- alias: add dataset alias commands (#131) (d5b4a6e)
- allow making telemetry calls from CLI (#346) (41ef21e)
- documents: add documents get command (#84) (aeea660)
- inject env variables before the commands are run (#297) (eb01a5f)
- make telemetry calls in commands (#347) (6e22909)
- telemetry: shows a disclosure in all CLI commands (#69) (406024a)
Bug Fixes
@sanity/cli-test@3.0.0
Changelog
3.0.0
2026-07-07
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli-core bumped to 2.2.0
- dependencies
2.0.3
2026-07-01
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli-core bumped to 2.1.3
- dependencies
2.0.2
2026-06-30
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli-core bumped to 2.1.2
- dependencies
2.0.1
2026-06-23
Bug Fixes
- deps: remove rolldown overrides now that vite 8.1.0 ships rolldown 1.1.2 (#1356) (d96cf4f)
- deps: update dependency esbuild to ^0.28.1 (#1358) (7c51459)
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli-core bumped to 2.1.1
- dependencies
2.0.0
2026-06-22
Bug Fixes
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli-core bumped to 2.1.0
- dependencies
1.0.1
2026-06-04
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli-core bumped to 2.0.1
- dependencies
1.0.0
2026-06-04
⚠ BREAKING CHANGES
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli-core bumped to 2.0.0
- dependencies
0.3.5
2026-06-03
Bug Fixes
- deps: update sanity-tooling (#1163) (5313459)
- deps: update dependency esbuild to ^0.28.0 (#1166) (79f353f)
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli-core bumped to 1.3.4
- dependencies
0.3.4
2026-06-02
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli-core bumped to 1.3.3
- dependencies
0.3.3
2026-05-07
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli-core bumped to 1.3.2
- dependencies
0.3.2
2026-05-04
Bug Fixes
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli-core bumped to 1.3.1
- dependencies
0.3.1
Patch Changes
-
Updated dependencies [
5b86d79]:- @sanity/cli-core@1.3.1
0.3.0 (2026-03-30)
Features
Dependencies
- The following workspace dependencies were updated
- devDependencies
- @sanity/cli-core bumped to 1.3.0
- @sanity/eslint-config-cli bumped to 1.1.0
- peerDependencies
- @sanity/cli-core bumped to 1.3.0
- devDependencies
0.2.7 (2026-03-24)
Bug Fixes
Dependencies
- The following workspace dependencies were updated
- devDependencies
- @sanity/cli-core bumped to 1.2.1
- peerDependencies
- @sanity/cli-core bumped to 1.2.1
- devDependencies
0.2.6 (2026-03-19)
Dependencies
- The following workspace dependencies were updated
- devDependencies
- @sanity/cli-core bumped to 1.2.0
- peerDependencies
- @sanity/cli-core bumped to 1.2.0
- devDependencies
0.2.5 (2026-03-18)
Bug Fixes
Dependencies
- The following workspace dependencies were updated
- devDependencies
- @sanity/cli-core bumped to 1.1.3
- @sanity/eslint-config-cli bumped to 1.0.1
- peerDependencies
- @sanity/cli-core bumped to 1.1.3
- devDependencies
0.2.4 (2026-03-13)
Dependencies
- The following workspace dependencies were updated
- devDependencies
- @sanity/cli-core bumped to 1.1.2
- peerDependencies
- @sanity/cli-core bumped to 1.1.2
- devDependencies
0.2.3 (2026-03-13)
Dependencies
- The following workspace dependencies were updated
- devDependencies
- @sanity/cli-core bumped to 1.1.1
- peerDependencies
- @sanity/cli-core bumped to 1.1.1
- devDependencies
0.2.2 (2026-03-12)
Bug Fixes
Dependencies
- The following workspace dependencies were updated
- devDependencies
- @sanity/cli-core bumped to 1.1.0
- peerDependencies
- @sanity/cli-core bumped to 1.1.0
- devDependencies
0.2.1 (2026-03-11)
Dependencies
- The following workspace dependencies were updated
- devDependencies
- @sanity/cli-core bumped to 1.0.1
- peerDependencies
- @sanity/cli-core bumped to 1.0.1
- devDependencies
0.2.0 (2026-03-10)
Features
- add
--project-idflag + prompts for dataset commands (#500) (b264fa2) - add a eslint-config-cli package (#226) (2980003)
- add cli-test package for test helpers (#62) (e84a0bf)
- alias: add dataset alias commands (#131) (d5b4a6e)
- allow making telemetry calls from CLI (#346) (41ef21e)
- documents: add documents get command (#84) (aeea660)
- inject env variables before the commands are run (#297) (eb01a5f)
- make telemetry calls in commands (#347) (6e22909)
- telemetry: shows a disclosure in all CLI commands (#69) (406024a)
Bug Fixes
@sanity/cli-core@2.2.1
Changelog
2.2.1
2026-07-07
Bug Fixes
2.2.0
2026-07-07
Features
-
cli: treat
--jsonas unattended mode, so a command emitting machine-readable output never stops at a prompt a caller can't answer (#1420) (05f768b) -
workbench: move the typed
isWorkbenchAppto@sanity/workbench-cli, derived from the schema so it can't drift.@sanity/cli-corekeeps a booleanisWorkbenchAppfor compatibility. (#1429) (263bbf9) -
cli: add
unstable_bundledDevopt-in for Vite's experimental bundled dev mode (#1413) (37d1831)Set
unstable_bundledDev: trueinsanity.cli.tsto makesanity devserve a bundled module graph (Vite'sexperimental.bundledDev) instead of individual ES modules. This can significantly speed up dev-server startup and full page reloads for large studios, while HMR stays instant. The regular unbundled dev server remains the default and is unchanged when the option is absent.Requires
vite@^8.1.3— earlier 8.1.x releases ship a Rolldown codegen bug that crashes the bundled studio on startup. The option is unstable and may change or be removed while the underlying Vite feature is experimental.
Bug Fixes
-
workbench: add
unstable_defineMediaLibrary(#1423) (2c7c00c)Declare the Sanity Media Library as a workbench app and define its installation config.
2.1.3
2026-07-01
Bug Fixes
2.1.2
2026-06-30
Bug Fixes
2.1.1
2026-06-23
Bug Fixes
2.1.0
2026-06-22
Features
2.0.1
2026-06-04
Bug Fixes
2.0.0
2026-06-04
⚠ BREAKING CHANGES
1.3.4
2026-06-03
Bug Fixes
- ensure babel-plugin-react-compiler is a peer dependency (#1175) (d2de934)
- deps: update dependency get-it to ^8.7.2 (#1174) (e704aaa)
1.3.3
2026-06-02
Bug Fixes
1.3.2
2026-05-07
Bug Fixes
1.3.1
2026-05-04
Bug Fixes
1.3.0 (2026-03-30)
Features
Bug Fixes
- deps: update @sanity/telemetry to v0.9.0 (#777) (fc44e3e)
- exclude test fixtures from npm published packages (#834) (699f3f1)
Documentation
Dependencies
- The following workspace dependencies were updated
- devDependencies
- @sanity/eslint-config-cli bumped to 1.1.0
- devDependencies
1.2.1 (2026-03-24)
Bug Fixes
1.2.0 (2026-03-19)
Features
Bug Fixes
- mcp: use explicit mode for setupMCP during init (#744) (e11f495)
- support non-interactive mode for app templates and fix isInteractive CI detection (#735) (ff9f15f)
1.1.3 (2026-03-18)
Bug Fixes
- load all env vars for schema extract (#725) (67ee0a5)
- use JSDOM Abort* APIs when mocking browser environments (#712) (22ae850)
Dependencies
- The following workspace dependencies were updated
- devDependencies
- @sanity/eslint-config-cli bumped to 1.0.1
- devDependencies
1.1.2 (2026-03-13)
Bug Fixes
- cli-core: defer JSDOM creation to first getBrowserStubs() call (#676) (c059421)
- schema extract causing Element is not defined error (#672) (23a360e)
- tsconfig paths not respected in the sanity config (#669) (7ecf06b)
1.1.1 (2026-03-13)
Bug Fixes
1.1.0 (2026-03-12)
Features
- mcp: improve mcp setup process (#630) ([27d8ba...