npm @sanity/cli 3.29.0
v3.29.0

latest releases: 3.57.4, 3.57.4-memoized-form-state.18, 3.57.4-upgrade-vite-v5.9...
7 months ago

Installation and upgrading

To initiate a new Studio without installing the CLI globally:

  npm create sanity@latest

To upgrade a v3 Studio, run this command in its folder:

  npm install sanity@latest

🐛 Notable bugfixes

  • Fixes an issue where the alert messages for published or deleted documents sometimes displayed incorrect titles
  • Fixes a comments-related error dialog from inadvertently showing up to users
  • Removes layout shift when loading document locations when the Presentation tool is used (#5702)
  • Fixes a bug that hid unpublished documents in "Documents on this page" in the Presentation tool (#5702)
  • Fixes a bug that caused the document pane to stay open in the Presentation tool (#5702)

Other features

  • Adds support for importing system documents via --allow-system-documents for dataset imports
  • Adds support for parameterized templates in the Presentation tool (#5694)

📓 Full changelog

Author Message Commit
Pedro Bonamin fix(core): update PortableTextInput doc reference (#5688) 2664990
renovate[bot] fix(deps): update dependency @sanity/presentation to v1.8.0 (#5694) e725a3c
renovate[bot] chore(deps): update dependency @sanity/visual-editing to v1.2.0 (#5693) 9373ce6
renovate[bot] chore(deps): update dependency @sanity/ui to ^2.0.2 (#5698) bb0b631
renovate[bot] chore(lockfile): update dependency @sanity/assist to v1.2.16 (#5696) 72bc694
renovate[bot] fix(deps): update dependency @sanity/presentation to v1.8.1 (#5699) d645d37
Espen Hovlandsdal fix(comments): catch and suppress errors from comments upsell (#5700) fbaffd2
renovate[bot] fix(deps): update dependency @sanity/client to ^6.12.4 (#5701) f85396f
renovate[bot] fix(deps): update dependency @sanity/presentation to v1.8.2 (#5702) c23ccb4
Simeon Griggs chore: rename "schemas" to the more correct plural "schemaTypes" (#5513) 2eaffd3
Fred Carlsen chore: apply auto eslint fixes with lint-staged (#5705) 40c9b4f
Binoy Patel chore(dev): remove react import 9aabbb0
Bjørge Næss use jsx: 'automatic' for dev server a2f505b
Bjørge Næss chore(deps): upgrade eslint tooling 95890c6
Bjørge Næss fix(eslint): add rules to enforce consistent type imports and import sort orders 1ec2c39
Bjørge Næss chore(eslint): set @typescript-eslint/no-explicit-any as warn instead of error e01c101
Bjørge Næss chore: autofix eslint errors after config change b14622e
Bjørge Næss fix(structure): add workaround for circular import issue causing resolveIntent tests to fail c2e6017
Bjørge Næss chore: exclude packages with type-only imports from depcheck 8fea4a0
Bjørge Næss chore(sanity): preserve order of side-effectsy imports 08e83dd
Bjørge Næss chore(test-studio): reorganize comments & imports in test schema 7ca741c
Bjørge Næss chore: manually fix remaining non-autofixable eslint issues 5a65b7b
Bjørge Næss chore(eslint): extend react/jsx-runtime config 5eb8755
Bjørge Næss chore: remove remaining react imports ff4c3bb
renovate[bot] chore(deps): update dependency @sanity/visual-editing to v1.2.2 (#5718) 117834e
Bjørge Næss fix(cli) let cli tests run with robot tokens (#5715) 04c30fb
Binoy Patel test(core): adds e2e tests for date and datetime inputs (#5681) 6694945
radhe feat(backup): add new command dataset backup for server-side backups (#5571) f04c76e
radhe feat(CLI): in sanity dataset import cmd, add --allow-system-documents to explicitly permit system document import, which should be ignore otherwise (#5689) fa9f924
ecospark[bot] chore(deps): dedupe yarn.lock (#5720) 2518ac4
Nina Andal Aarvik fix(structure): use useDocumentTitle hook for toast message (#5719) 51ed18d
Rupert Dunk feat(comments): add optional intent link to comments (#5576) 27bf5f9
Espen Hovlandsdal refactor(comments): use journey endpoint for comments upsell (#5721) b999da0
Drew Lyton feat(telemetry): add telemetry for Trial Dialogs (#5643) ad971f8
Rico Kahler build: release automation (#5722) d024b09

Don't miss a new cli release

NewReleases is sending notifications on new releases.