Releases: sanity-io/cli
Releases · sanity-io/cli
cli-test: v0.2.1
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
cli-core: v1.0.1
eslint-config-cli: v1.0.0
1.0.0 (2026-03-10)
Features
- add a eslint-config-cli package (#226) (2980003)
- cli-core: add non-interactive environment detection for prompts (#470) (e9dc8fb)
Bug Fixes
- add no-console lint rule (7823696)
- deps: update dependency eslint-plugin-tsdoc to ^0.5.2 (#574) (b560592)
- deps: update dependency eslint-plugin-unicorn to v63 (#487) (38d21b5)
- deps: update eslint-tooling (#485) (37e4dae)
- deps: update eslint-tooling (#578) (40c5f75)
- lint: turn off string raw rule for tests (#508) (157df2d)
cli-test: v0.2.0
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
- add no-console lint rule (7823696)
- allow commands to run outside project context with --project-id/--dataset flags (#558) (b3281c0)
- build: fixes issue with app build not failing for missing deps (#409) (7a266fd)
- cli: align minimum node version in package with runtime check (#30) (e64d763)
- deps: update dependency @sanity/client to ^7.14.1 (#327) (1bbb9bb)
- deps: update dependency @sanity/client to ^7.17.0 (#580) (a1247aa)
- deps: update dependency ansis to v4 (#270) (4a79f5b)
- deps: update dependency esbuild to ^0.27.3 (#528) (d6ef3bf)
- deps: update oclif-tooling (#116) (26a92ee)
- deps: update oclif-tooling (#210) (66f8c47)
- deps: update sanity-tooling (#292) (dfacca8)
- deps: update sanity-tooling (#311) (51476f4)
- deps: update sanity-tooling (#424) (ca6c758)
- deps: update sanity-tooling (#461) (3f92213)
- issue where CLI would error if root not found (#535) (a0d9cb1)
- test: fixes peer dependency range for vitest (#414) (9ec2562)
Performance Improvements
Dependencies
- The following workspace dependencies were updated
- devDependencies
- @sanity/cli-core bumped to 1.0.0
- @sanity/eslint-config-cli bumped to 1.0.0
- peerDependencies
- @sanity/cli-core bumped to 1.0.0
- devDependencies
cli-core: v1.0.0
1.0.0 (2026-03-10)
⚠ BREAKING CHANGES
- cli-core: Renamed members:
setConfig→setCliUserConfig,getConfig→getCliUserConfig - refactor promisyWorker to take a url instead of a worker (#477)
- add ux core helpers (#219)
Features
- add
--project-idflag + prompts for dataset commands (#500) (b264fa2) - add
--project-id,--datasetflag to all relevant commands (#548) (3e77ceb) - add a eslint-config-cli package (#226) (2980003)
- add cli core package for shared utils (#61) (5d2af2a)
- add cli-test package for test helpers (#62) (e84a0bf)
- add debug command (#70) (4edb88d)
- add import studio config util (#185) (c1be611)
- add typegen generate command (#340) (3230469)
- add ux core helpers (#219) (d2a7d78)
- allow making telemetry calls from CLI (#346) (41ef21e)
- cli-core: add non-interactive environment detection for prompts (#470) (e9dc8fb)
- cli-core: export requester with shared middleware (#451) (c506e8a)
- cli-core: improve and reduce
@sanity/cli-corepublic API (#546) (e861a86) - cli: add start command (#46) (86c7b24)
- dataset: add embeddings configuration commands (35c720d)
- deploy: add app manifest (#274) (712650d)
- dev: missing critical features for
devcommand (#442) (1acf0b0) - documents: add documents get command (#84) (aeea660)
- exec: move cliClient (#180) (47c89ea)
- graphql: add graphql list command (#139) (c77149e)
- graphql: migrate graphql undeploy command (#194) (3915139)
- hook: add hook create command (#74) (c2126e5)
- init: migration of init command setup, plan/coupon logic, and authentication logic (#199) (012168e)
- make telemetry calls in commands (#347) (6e22909)
- media: add media create-aspect command (#144) (ea8224f)
- migrate schema deploy (#242) (268b256)
- move mock browser utils (#175) (db43757)
- move tree util to core package (#208) (83417a2)
- parse cli config using Zod schema in
createCliConfig(547ac52) - refactor promisyWorker to take a url instead of a worker (#477) (382820a)
- schema: moving latest updates to schema extract command (#425) (b4f55ef)
- sdk templates are ESM by default (#576) (d31796f)
- telemetry: add telemetry commands (#75) (9f0ca66)
- telemetry: shows a disclosure in all CLI commands (#69) (406024a)
- update: oclif hook to notify of updated versions of CLI (#374) (4172cbc)
- worker: adding timeout to promisify worker (#543) (ff22edc)
Bug Fixes
- add more debug logging (#437) (687bcbf)
- add no-console lint rule (7823696)
- allow commands to run outside project context with --project-id/--dataset flags (#558) (b3281c0)
- allow not getting default imports from importModule (#521) (f6d8ba9)
- allow passing more client options to methods (#120) (5c131aa)
- build: fixes issue with app build not failing for missing deps (#409) (7a266fd)
- cli: align minimum node version in package with runtime check (#30) (e64d763)
- core: add typegen to CLI config type (#283) (11be33a)
- core: fixes issue with resolving plugins in studio config (#349) (71689bf)
- core: fixes issues with loading cli config (#137) (8cf088e)
- core: re-add chalk dependency (#395) (b51f986)
- deps: update dependency @inquirer/prompts to ^8.2.0 (#342) (e4bdbe2)
- deps: update dependency @inquirer/prompts to ^8.3.0 (#519) (d13245c)
- deps: update dependency @sanity/types to v5 (#269) ([77f0617](77f0617...
cli: v6.0.0-alpha.21
6.0.0-alpha.21 (2026-03-10)
⚠ BREAKING CHANGES
- cli-core: Renamed members:
setConfig→setCliUserConfig,getConfig→getCliUserConfig
Features
- add
--project-id,--datasetflag to all relevant commands (#548) (3e77ceb) - cli-core: improve and reduce
@sanity/cli-corepublic API (#546) (e861a86) - sdk templates are ESM by default (#576) (d31796f)
Bug Fixes
- allow commands to run outside project context with --project-id/--dataset flags (#558) (b3281c0)
- correct inverted CORS guard in bootstrapRemoteTemplate (#547) (5382dfe)
- deps: replace tiny dependencies with inline utilities (#583) (31c0937)
- deps: update dependency semver to ^7.7.4 (#587) (ab86f77)
- deps: update oclif-tooling (#561) (1f551d2)
- deps: update sanity-tooling (#573) (bd7e3b0)
- only show users projects they have access to (#582) (0c2b8c9)
- replace @vercel/fs-detectors with inline implementation (#544) (c476f04)
Performance Improvements
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli-core bumped to 1.0.0
- devDependencies
- @sanity/cli-test bumped to 0.2.0
- @sanity/eslint-config-cli bumped to 1.0.0
- dependencies
eslint-config-cli: v0.0.0-alpha.4
cli: v6.0.0-alpha.20
6.0.0-alpha.20 (2026-03-03)
Bug Fixes
- don't throw an error when telemetry is not initialized (#518) (2b5b83f)
- issue where CLI would error if root not found (#535) (a0d9cb1)
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli-core bumped to 0.1.0-alpha.19
- devDependencies
- @sanity/cli-test bumped to 0.1.0-alpha.17
- dependencies
cli: v6.0.0-alpha.19
6.0.0-alpha.19 (2026-03-03)
Features
- add
--project-idflag + prompts for dataset commands (#500) (b264fa2) - dev: missing critical features for
devcommand (#442) (1acf0b0)
Bug Fixes
- deps: update dependency open to v11 (#517) (aff4cd7)
- deps: update dependency which to v6 (#520) (20a5ef1)
- deps: update sanity-tooling (#523) (0353b67)
- lint: turn off string raw rule for tests (#508) (157df2d)
Performance Improvements
Dependencies
- The following workspace dependencies were updated
- dependencies
- @sanity/cli-core bumped to 0.1.0-alpha.18
- devDependencies
- @sanity/cli-test bumped to 0.1.0-alpha.16
- @sanity/eslint-config-cli bumped to 0.0.0-alpha.4
- dependencies
cli-test: v0.1.0-alpha.17
0.1.0-alpha.17 (2026-03-03)
Bug Fixes
Dependencies
- The following workspace dependencies were updated
- devDependencies
- @sanity/cli-core bumped to 0.1.0-alpha.19
- peerDependencies
- @sanity/cli-core bumped to 0.1.0-alpha.19
- devDependencies