Releases: sanity-io/cli
Release list
create-sanity@6.0.21
Changelog
6.0.21
2026-07-22
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 7.12.1
- dependencies
6.0.20
2026-07-21
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 7.12.0
- dependencies
6.0.19
2026-07-20
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 7.11.0
- dependencies
6.0.18
2026-07-17
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 7.10.0
- dependencies
6.0.17
2026-07-15
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 7.9.0
- dependencies
6.0.16
2026-07-13
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 7.8.0
- dependencies
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](https://g...
@sanity/workbench-cli@1.7.1
@sanity/workbench-cli
1.7.1
2026-07-22
Bug Fixes
1.7.0
2026-07-21
Features
Bug Fixes
- init: pre-fill workbench app slug from the entered name/title (#1574) (a66212c)
- workbench: sync app visibility on redeploy (#1565) (a41c5a4)
1.6.0
2026-07-20
Features
Bug Fixes
- workbench: deploy icons for workbench apps and studios (#1518) (20d9ff2)
- deps: update dependency @module-federation/vite to v1.18.1 (#1563) (3061bfa)
- workbench: sync app title on redeploy (#1520) (a4a9907)
- workbench: pre-bundle interface deps in the dev server (#1557) (3522ae7)
- workbench: serve built apps with
sanity start(#1547) (6012a04)
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli-core bumped to 2.5.1
- dependencies
1.5.0
2026-07-17
Features
Bug Fixes
- workbench: align interface records with brett's shape (#1538) (fb121f0)
- deps: update dependency @module-federation/vite to v1.17.0 (#1544) (cf65928)
- deps: update dependency @module-federation/vite to v1.17.1 (#1550) (018a48d)
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli-core bumped to 2.5.0
- dependencies
1.4.0
2026-07-15
Features
- workbench: undeploy through the applications API (#1472) (6ddf505)
- deploy: report workbench URLs on deploy and undeploy (#1507) (76b2a1e)
Bug Fixes
- workbench: align interface shape with brett (#1512) (bb7ea81)
- workbench: emit standalone SPA for workbench remotes (#1517) (b2dcc3c)
- workbench: inline app-id define via rolldownOptions (#1514) (44d6633)
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli-core bumped to 2.4.0
- dependencies
1.3.0
2026-07-13
Features
- workbench: deploy workbench apps to the Sanity app registry on
sanity deploy, registering their interfaces (app view, views, services). Plain studios and coreApps are unaffected. (#1442) (a377fdb) - workbench: send
isSingletonon core-app create (POST /applications) when set, surface it in the deploy report and--json, and relay the API's rejection message on failure. (#1455) (7f83938) - workbench: send studio workspaces (project, dataset, base path, title, icon) with workbench studio deploys, so the dashboard can surface them. (#1453) (fa1edf4)
- deploy: create workbench apps at a configured slug (#1473) (0d0ae06)
Bug Fixes
- workbench: hash local app configs into an
idso the workbench can detect config changes without stringifying (#1468) (e53c53d) - workbench: forward config and interface contract versions on the dev wire (#1469) (cda20c6)
- workbench: set the
__SANITY_STAGING__runtime flag in the dev shell so staging environments resolve the staging API (#1474) (6a2fb73) - deploy: nest expose and config summaries in the dry-run report (#1475) (64e22e1)
- deps: update dependency @module-federation/vite to v1.16.14 (#1484) (812c875)
- workbench: rename the internal
installationConfigfield toconfig. (#1456) (62e8ad6)
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli-core bumped to 2.3.0
- dependencies
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
- deps: unpin vite and bump to ^8.1.2 (#1410) ([3801bd7](3801bd7ebc4aacf7f3e...
@sanity/cli@7.12.1
Change Log
7.12.1
2026-07-22
Bug Fixes
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/workbench-cli bumped to 1.7.1
- dependencies
7.12.0
2026-07-21
Features
Bug Fixes
- cli: scaffold workbench apps with sanity@latest (#1573) (5a196bf)
- init: pre-fill workbench app slug from the entered name/title (#1574) (a66212c)
- workbench: sync app visibility on redeploy (#1565) (a41c5a4)
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/workbench-cli bumped to 1.7.0
- dependencies
7.11.0
2026-07-20
Features
-
cli: support unattended mode for media library commands (#1502) (73750ab)
Add flags for aspect names and titles, accept media library IDs without prompting, require confirmation
for destructive actions, and default export destinations. -
cli: support unattended mode for GraphQL and schema commands (#1500) (57e1813)
Require
--forceor--yesfor confirmation-gated operations, keep schema JSON machine-readable,
and distinguish usage errors from cancellations. -
cli: rename tokens add to tokens create (#1566) (c613cc6)
Rename the
sanity tokens addcommand tosanity tokens create, while preserving the old alias for backward compatibility. -
cli: require confirmation for unattended undeploys (#1504) (e55f659)
Require
--yesinstead of treating non-interactive or JSON output as consent, distinguish usage
errors from cancellations, and keep JSON errors machine-readable. -
cli: support unattended mode in document commands (#1499) (0f82b3d)
Require file input instead of opening an editor, skip validation confirmations, and distinguish usage
errors from cancellations. -
cli: support unattended mode in advanced dataset commands (#1498) (fb5247c)
Return usage errors instead of prompting for missing alias, dataset, confirmation, or embeddings
values, while allowing unlinked aliases without a target dataset. -
cli: support unattended mode for admin commands (#1496) (3ff6c1f)
Add deterministic defaults and required flags for CORS, token, and user commands that previously
prompted.
Bug Fixes
-
cli: provide actionable login guidance (#1562) (6343fc5)
Show token, provider, and SSO login commands when authentication is required, and list accepted
provider IDs insanity login --help. -
cli: support unattended mode in dataset lifecycle commands (#1497) (1e4332b)
Use deterministic export and backup paths, and return usage errors instead of prompting for missing
input or overwrite confirmation. -
workbench: deploy icons for workbench apps and studios (#1518) (20d9ff2)
-
init: report all missing unattended options (#1536) (b683ef1)
Validate output path, project selection, and organization prerequisites together so unattended
sanity initruns report every applicable usage error in one pass. -
workbench: serve built apps with
sanity start(#1547) (6012a04)
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/workbench-cli bumped to 1.6.0
- @sanity/cli-core bumped to 2.5.1
- @sanity/cli-build bumped to 4.1.1
- dependencies
7.10.0
2026-07-17
Features
-
declare application visibility from the CLI config (#1541) (cc06484)
-
organizations: add commands for listing, creating, updating, and deleting organizations (#762) (c2c56ac)
-
cli: avoid interactive setup choices in unattended mode (#1503) (6690829)
Choose login providers and package managers deterministically when possible, and return usage errors
when a choice is required. -
cli: support unattended project creation (#1503) (6690829)
Require organization flags when selection is ambiguous, validate dataset names as usage errors, and
keep dataset creation JSON machine-readable. -
cli: support unattended mode for hook commands (#1501) (a7b1ad8)
Print webhook creation URLs instead of opening a browser, and require names when deletion or log
selection would otherwise prompt.
Bug Fixes
-
cli-core: prevent silent SIGABRT (exit 134) in
sanity schemas deployand other one-shot studio worker commands (#1554) (9baab95)With Vite 8, studio bundling runs through rolldown — a native addon with its own thread pool. The studio worker never closed its Vite server, and the main thread called
worker.terminate()as soon as the worker posted its result, destroying the worker's event loop while rolldown's threads were still live. The next threadsafe-function call then aborted the whole process with no output (reliably on macOS, intermittently on Linux), affectingschemas deploy/extract/validate/list/delete,graphql deploy,manifest extract, anddeploy.One-shot studio workers now close their Vite server (bounded by a timeout) before posting any message to the main thread, and the main thread never force-terminates them — settled workers are unref'd and tear down with the process. Errors thrown while loading the studio config (e.g. a broken
sanity.config.ts) are serialized and posted after cleanup, so the real error surfaces instead of exit 134. -
workbench: forward app slug to the dev workbench (#1537) (a2e001c)
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/workbench-cli bumped to 1.5.0
- @sanity/cli-core bumped to 2.5.0
- dependencies
7.9.0
...
create-sanity@6.0.20
Changelog
6.0.20
2026-07-21
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 7.12.0
- dependencies
6.0.19
2026-07-20
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 7.11.0
- dependencies
6.0.18
2026-07-17
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 7.10.0
- dependencies
6.0.17
2026-07-15
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 7.9.0
- dependencies
6.0.16
2026-07-13
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 7.8.0
- dependencies
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](https://github...
@sanity/workbench-cli@1.7.0
@sanity/workbench-cli
1.7.0
2026-07-21
Features
Bug Fixes
- init: pre-fill workbench app slug from the entered name/title (#1574) (a66212c)
- workbench: sync app visibility on redeploy (#1565) (a41c5a4)
1.6.0
2026-07-20
Features
Bug Fixes
- workbench: deploy icons for workbench apps and studios (#1518) (20d9ff2)
- deps: update dependency @module-federation/vite to v1.18.1 (#1563) (3061bfa)
- workbench: sync app title on redeploy (#1520) (a4a9907)
- workbench: pre-bundle interface deps in the dev server (#1557) (3522ae7)
- workbench: serve built apps with
sanity start(#1547) (6012a04)
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli-core bumped to 2.5.1
- dependencies
1.5.0
2026-07-17
Features
Bug Fixes
- workbench: align interface records with brett's shape (#1538) (fb121f0)
- deps: update dependency @module-federation/vite to v1.17.0 (#1544) (cf65928)
- deps: update dependency @module-federation/vite to v1.17.1 (#1550) (018a48d)
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli-core bumped to 2.5.0
- dependencies
1.4.0
2026-07-15
Features
- workbench: undeploy through the applications API (#1472) (6ddf505)
- deploy: report workbench URLs on deploy and undeploy (#1507) (76b2a1e)
Bug Fixes
- workbench: align interface shape with brett (#1512) (bb7ea81)
- workbench: emit standalone SPA for workbench remotes (#1517) (b2dcc3c)
- workbench: inline app-id define via rolldownOptions (#1514) (44d6633)
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli-core bumped to 2.4.0
- dependencies
1.3.0
2026-07-13
Features
- workbench: deploy workbench apps to the Sanity app registry on
sanity deploy, registering their interfaces (app view, views, services). Plain studios and coreApps are unaffected. (#1442) (a377fdb) - workbench: send
isSingletonon core-app create (POST /applications) when set, surface it in the deploy report and--json, and relay the API's rejection message on failure. (#1455) (7f83938) - workbench: send studio workspaces (project, dataset, base path, title, icon) with workbench studio deploys, so the dashboard can surface them. (#1453) (fa1edf4)
- deploy: create workbench apps at a configured slug (#1473) (0d0ae06)
Bug Fixes
- workbench: hash local app configs into an
idso the workbench can detect config changes without stringifying (#1468) (e53c53d) - workbench: forward config and interface contract versions on the dev wire (#1469) (cda20c6)
- workbench: set the
__SANITY_STAGING__runtime flag in the dev shell so staging environments resolve the staging API (#1474) (6a2fb73) - deploy: nest expose and config summaries in the dry-run report (#1475) (64e22e1)
- deps: update dependency @module-federation/vite to v1.16.14 (#1484) (812c875)
- workbench: rename the internal
installationConfigfield toconfig. (#1456) (62e8ad6)
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli-core bumped to 2.3.0
- dependencies
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
- deps: pin vite to 8.1.0 to avoid broken 8...
@sanity/cli@7.12.0
Change Log
7.12.0
2026-07-21
Features
Bug Fixes
- cli: scaffold workbench apps with sanity@latest (#1573) (5a196bf)
- init: pre-fill workbench app slug from the entered name/title (#1574) (a66212c)
- workbench: sync app visibility on redeploy (#1565) (a41c5a4)
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/workbench-cli bumped to 1.7.0
- dependencies
7.11.0
2026-07-20
Features
-
cli: support unattended mode for media library commands (#1502) (73750ab)
Add flags for aspect names and titles, accept media library IDs without prompting, require confirmation
for destructive actions, and default export destinations. -
cli: support unattended mode for GraphQL and schema commands (#1500) (57e1813)
Require
--forceor--yesfor confirmation-gated operations, keep schema JSON machine-readable,
and distinguish usage errors from cancellations. -
cli: rename tokens add to tokens create (#1566) (c613cc6)
Rename the
sanity tokens addcommand tosanity tokens create, while preserving the old alias for backward compatibility. -
cli: require confirmation for unattended undeploys (#1504) (e55f659)
Require
--yesinstead of treating non-interactive or JSON output as consent, distinguish usage
errors from cancellations, and keep JSON errors machine-readable. -
cli: support unattended mode in document commands (#1499) (0f82b3d)
Require file input instead of opening an editor, skip validation confirmations, and distinguish usage
errors from cancellations. -
cli: support unattended mode in advanced dataset commands (#1498) (fb5247c)
Return usage errors instead of prompting for missing alias, dataset, confirmation, or embeddings
values, while allowing unlinked aliases without a target dataset. -
cli: support unattended mode for admin commands (#1496) (3ff6c1f)
Add deterministic defaults and required flags for CORS, token, and user commands that previously
prompted.
Bug Fixes
-
cli: provide actionable login guidance (#1562) (6343fc5)
Show token, provider, and SSO login commands when authentication is required, and list accepted
provider IDs insanity login --help. -
cli: support unattended mode in dataset lifecycle commands (#1497) (1e4332b)
Use deterministic export and backup paths, and return usage errors instead of prompting for missing
input or overwrite confirmation. -
workbench: deploy icons for workbench apps and studios (#1518) (20d9ff2)
-
init: report all missing unattended options (#1536) (b683ef1)
Validate output path, project selection, and organization prerequisites together so unattended
sanity initruns report every applicable usage error in one pass. -
workbench: serve built apps with
sanity start(#1547) (6012a04)
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/workbench-cli bumped to 1.6.0
- @sanity/cli-core bumped to 2.5.1
- @sanity/cli-build bumped to 4.1.1
- dependencies
7.10.0
2026-07-17
Features
-
declare application visibility from the CLI config (#1541) (cc06484)
-
organizations: add commands for listing, creating, updating, and deleting organizations (#762) (c2c56ac)
-
cli: avoid interactive setup choices in unattended mode (#1503) (6690829)
Choose login providers and package managers deterministically when possible, and return usage errors
when a choice is required. -
cli: support unattended project creation (#1503) (6690829)
Require organization flags when selection is ambiguous, validate dataset names as usage errors, and
keep dataset creation JSON machine-readable. -
cli: support unattended mode for hook commands (#1501) (a7b1ad8)
Print webhook creation URLs instead of opening a browser, and require names when deletion or log
selection would otherwise prompt.
Bug Fixes
-
cli-core: prevent silent SIGABRT (exit 134) in
sanity schemas deployand other one-shot studio worker commands (#1554) (9baab95)With Vite 8, studio bundling runs through rolldown — a native addon with its own thread pool. The studio worker never closed its Vite server, and the main thread called
worker.terminate()as soon as the worker posted its result, destroying the worker's event loop while rolldown's threads were still live. The next threadsafe-function call then aborted the whole process with no output (reliably on macOS, intermittently on Linux), affectingschemas deploy/extract/validate/list/delete,graphql deploy,manifest extract, anddeploy.One-shot studio workers now close their Vite server (bounded by a timeout) before posting any message to the main thread, and the main thread never force-terminates them — settled workers are unref'd and tear down with the process. Errors thrown while loading the studio config (e.g. a broken
sanity.config.ts) are serialized and posted after cleanup, so the real error surfaces instead of exit 134. -
workbench: forward app slug to the dev workbench (#1537) (a2e001c)
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/workbench-cli bumped to 1.5.0
- @sanity/cli-core bumped to 2.5.0
- dependencies
7.9.0
2026-07-15
Features
create-sanity@6.0.19
Changelog
6.0.19
2026-07-20
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 7.11.0
- dependencies
6.0.18
2026-07-17
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 7.10.0
- dependencies
6.0.17
2026-07-15
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 7.9.0
- dependencies
6.0.16
2026-07-13
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli bumped to 7.8.0
- dependencies
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](https://github.com/...
@sanity/workbench-cli@1.6.0
@sanity/workbench-cli
1.6.0
2026-07-20
Features
Bug Fixes
- workbench: deploy icons for workbench apps and studios (#1518) (20d9ff2)
- deps: update dependency @module-federation/vite to v1.18.1 (#1563) (3061bfa)
- workbench: sync app title on redeploy (#1520) (a4a9907)
- workbench: pre-bundle interface deps in the dev server (#1557) (3522ae7)
- workbench: serve built apps with
sanity start(#1547) (6012a04)
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli-core bumped to 2.5.1
- dependencies
1.5.0
2026-07-17
Features
Bug Fixes
- workbench: align interface records with brett's shape (#1538) (fb121f0)
- deps: update dependency @module-federation/vite to v1.17.0 (#1544) (cf65928)
- deps: update dependency @module-federation/vite to v1.17.1 (#1550) (018a48d)
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli-core bumped to 2.5.0
- dependencies
1.4.0
2026-07-15
Features
- workbench: undeploy through the applications API (#1472) (6ddf505)
- deploy: report workbench URLs on deploy and undeploy (#1507) (76b2a1e)
Bug Fixes
- workbench: align interface shape with brett (#1512) (bb7ea81)
- workbench: emit standalone SPA for workbench remotes (#1517) (b2dcc3c)
- workbench: inline app-id define via rolldownOptions (#1514) (44d6633)
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli-core bumped to 2.4.0
- dependencies
1.3.0
2026-07-13
Features
- workbench: deploy workbench apps to the Sanity app registry on
sanity deploy, registering their interfaces (app view, views, services). Plain studios and coreApps are unaffected. (#1442) (a377fdb) - workbench: send
isSingletonon core-app create (POST /applications) when set, surface it in the deploy report and--json, and relay the API's rejection message on failure. (#1455) (7f83938) - workbench: send studio workspaces (project, dataset, base path, title, icon) with workbench studio deploys, so the dashboard can surface them. (#1453) (fa1edf4)
- deploy: create workbench apps at a configured slug (#1473) (0d0ae06)
Bug Fixes
- workbench: hash local app configs into an
idso the workbench can detect config changes without stringifying (#1468) (e53c53d) - workbench: forward config and interface contract versions on the dev wire (#1469) (cda20c6)
- workbench: set the
__SANITY_STAGING__runtime flag in the dev shell so staging environments resolve the staging API (#1474) (6a2fb73) - deploy: nest expose and config summaries in the dry-run report (#1475) (64e22e1)
- deps: update dependency @module-federation/vite to v1.16.14 (#1484) (812c875)
- workbench: rename the internal
installationConfigfield toconfig. (#1456) (62e8ad6)
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli-core bumped to 2.3.0
- dependencies
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
@sanity/cli@7.11.0
Change Log
7.11.0
2026-07-20
Features
-
cli: support unattended mode for media library commands (#1502) (73750ab)
Add flags for aspect names and titles, accept media library IDs without prompting, require confirmation
for destructive actions, and default export destinations. -
cli: support unattended mode for GraphQL and schema commands (#1500) (57e1813)
Require
--forceor--yesfor confirmation-gated operations, keep schema JSON machine-readable,
and distinguish usage errors from cancellations. -
cli: rename tokens add to tokens create (#1566) (c613cc6)
Rename the
sanity tokens addcommand tosanity tokens create, while preserving the old alias for backward compatibility. -
cli: require confirmation for unattended undeploys (#1504) (e55f659)
Require
--yesinstead of treating non-interactive or JSON output as consent, distinguish usage
errors from cancellations, and keep JSON errors machine-readable. -
cli: support unattended mode in document commands (#1499) (0f82b3d)
Require file input instead of opening an editor, skip validation confirmations, and distinguish usage
errors from cancellations. -
cli: support unattended mode in advanced dataset commands (#1498) (fb5247c)
Return usage errors instead of prompting for missing alias, dataset, confirmation, or embeddings
values, while allowing unlinked aliases without a target dataset. -
cli: support unattended mode for admin commands (#1496) (3ff6c1f)
Add deterministic defaults and required flags for CORS, token, and user commands that previously
prompted.
Bug Fixes
-
cli: provide actionable login guidance (#1562) (6343fc5)
Show token, provider, and SSO login commands when authentication is required, and list accepted
provider IDs insanity login --help. -
cli: support unattended mode in dataset lifecycle commands (#1497) (1e4332b)
Use deterministic export and backup paths, and return usage errors instead of prompting for missing
input or overwrite confirmation. -
workbench: deploy icons for workbench apps and studios (#1518) (20d9ff2)
-
init: report all missing unattended options (#1536) (b683ef1)
Validate output path, project selection, and organization prerequisites together so unattended
sanity initruns report every applicable usage error in one pass. -
workbench: serve built apps with
sanity start(#1547) (6012a04)
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/workbench-cli bumped to 1.6.0
- @sanity/cli-core bumped to 2.5.1
- @sanity/cli-build bumped to 4.1.1
- dependencies
7.10.0
2026-07-17
Features
-
declare application visibility from the CLI config (#1541) (cc06484)
-
organizations: add commands for listing, creating, updating, and deleting organizations (#762) (c2c56ac)
-
cli: avoid interactive setup choices in unattended mode (#1503) (6690829)
Choose login providers and package managers deterministically when possible, and return usage errors
when a choice is required. -
cli: support unattended project creation (#1503) (6690829)
Require organization flags when selection is ambiguous, validate dataset names as usage errors, and
keep dataset creation JSON machine-readable. -
cli: support unattended mode for hook commands (#1501) (a7b1ad8)
Print webhook creation URLs instead of opening a browser, and require names when deletion or log
selection would otherwise prompt.
Bug Fixes
-
cli-core: prevent silent SIGABRT (exit 134) in
sanity schemas deployand other one-shot studio worker commands (#1554) (9baab95)With Vite 8, studio bundling runs through rolldown — a native addon with its own thread pool. The studio worker never closed its Vite server, and the main thread called
worker.terminate()as soon as the worker posted its result, destroying the worker's event loop while rolldown's threads were still live. The next threadsafe-function call then aborted the whole process with no output (reliably on macOS, intermittently on Linux), affectingschemas deploy/extract/validate/list/delete,graphql deploy,manifest extract, anddeploy.One-shot studio workers now close their Vite server (bounded by a timeout) before posting any message to the main thread, and the main thread never force-terminates them — settled workers are unref'd and tear down with the process. Errors thrown while loading the studio config (e.g. a broken
sanity.config.ts) are serialized and posted after cleanup, so the real error surfaces instead of exit 134. -
workbench: forward app slug to the dev workbench (#1537) (a2e001c)
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/workbench-cli bumped to 1.5.0
- @sanity/cli-core bumped to 2.5.0
- dependencies
7.9.0
2026-07-15
Features
- workbench: undeploy through the applications API (#1472) (6ddf505)
- deploy: report workbench URLs on deploy and undeploy (#1507) (76b2a1e)
- Allow boolean for reactCompiler config (#1513) (6a292b7)
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/workbench-cli bumped to 1.4.0
- @sanity/cli-core bumped to 2.4.0
- @sanity/cli-build bumped to 4.1.0
- dependencies
7.8.0
2026-07-13
Features
- deploy: report whether a deploy created a new application or updated an existing one (in the success output and via
target.actionin the dry-run/--jsonpayload), and warn that redeploying withoutdeployment.appIdcreates another application (#1462) (d388f76) - workbench: deploy workbench apps to the Sanity app registry on
sanity deploy, registering their interfaces (app view, views, services). Plain studios and ...
@sanity/cli-test@6.0.1
Changelog
6.0.1
2026-07-20
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli-core bumped to 2.5.1
- dependencies
6.0.0
2026-07-17
Bug Fixes
- deps: update sanity-tooling (#1419) (dfbab41)
- deps: update dependency tsx to ^4.23.1 (#1543) (307e5f4)
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli-core bumped to 2.5.0
- dependencies
5.0.0
2026-07-15
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli-core bumped to 2.4.0
- dependencies
4.0.0
2026-07-13
Features
- test: granular exports for
cli-test(#1458) (203a330) - test:
cli-testnow containscli-coremocks (#1448) (f5f5f81)
Bug Fixes
- test: one more cli-test export (#1460) (277c65c)
- test: fix default
getProjectRoot()mock return value (#1464) (abe72c1) - test: add missing ux.spinner and telemetry mocks to
cli-test(#1477) (2777d86)
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli-core bumped to 2.3.0
- dependencies
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