npm @sanity/cli 3.9.1
v3.9.1

latest releases: 3.59.2-corel.355, 3.59.2-corel.354, 3.59.2-corel.353...
18 months ago

Installation and upgrading

To initiate a new Studio without installing the CLI globally:

npm create sanity@latest

To upgrade a Sanity Studio:

npm install sanity@latest

Improvements

  • Add ability to use custom favicons - see https://www.sanity.io/docs/favicons for more information
  • Improves document history performance
  • Enables passing skipVisibilityCheck prop to preview components to avoid flickering when already in the viewport

🐛 Notable bugfixes

  • Fixes virtualized list (arrays) not rendering properly when inside a modal
  • Fixes bug where validation messages on Portable Text annotations were shown twice
  • Improves wording on message shown after successfully deleting a document
  • Fixes issue where unused references are cleared on clicking outside
  • Resolves issue where validation errors are not focused when clicking on an error in the panel
  • Fixes issue where annotation popovers were not scrollable in the Portable Text Editor
  • Fixes a bug in the Portable Text Editor, which could lead to duplicating single sentence content with mixed marks in the editor when overwritten by another text
  • Fixes an issue where creating a portable text annotation and inserting a value inside it would make a listening text editor crash
  • Fixes an issue where documents would sometimes automatically scroll without user actually performing a scroll

📓 Full changelog

Author Message Commit
Binoy Patel chore(test-studio): enable source-maps (#4392) c3669f2
Espen Hovlandsdal fix(cli): use more recent version ranges for new projects (#4393) b382120
Robin Pyon fix(desk): document timeline performance improvements (#4347) 4d56352
Espen Hovlandsdal fix(cli): remove broken custom document component link 71f0d45
Per-Kristian Nordnes dev(test-studio): add validation to recursive blocks test 2d3b0cf
Geoff Ball Update README.md b55bca8
Nina Andal Aarvik fix(validation): remove recursive validation check for annotations in pte (#4397) 5e47c39
Nina Andal Aarvik fix(desk): change message shown after successfully deleting document (#4398) 14f7f6d
Nina Andal Aarvik refactor(schema): add fields causing form to render empty bc2ff46
Bjørge Næss fix(form): wrap members in an intermediate structure and hide field groups with no fields e6bafe0
Bjørge Næss fix(form): force-select "all fields" group and disable all others when changes panel is open 755c337
Bjørge Næss fix(form): hide field groups where all fields are hidden fcfe3a8
ecospark[bot] chore(prettier): fix unformatted files 🤖 ✨ (#4401) 148f4eb
renovate[bot] chore(deps): update linters to v5.59.0 (#4376) c646440
RitaDias chore(.github): add code owners (#4403) 1be86d7
Per-Kristian Nordnes fix(portable-text-editor): keep selection when emtied remotely d30d93c
Per-Kristian Nordnes test(portable-text-editor): update test snapshot according to placeholder change 4d57da1
Binoy Patel fix(core): fix focus issues when a new reference field is added (#4400) c575bcb
Espen Hovlandsdal fix: exhaustive dependency arrays (#4368) 2d7fe78
Cody Olsen chore(desk-tool): fix sort order dependency 9f6f4e8
Cody Olsen chore: fix artifact from merge conflict in #4368 5e1cb7b
Per-Kristian Nordnes test(portable-text-editor): skip native pasting tests for MacOS f703848
Espen Hovlandsdal test(e2e): use reduced motion selector for tests 968d723
Espen Hovlandsdal test(e2e): fix incorrect boolean flag parsing da6f875
Espen Hovlandsdal test(e2e): add SANITY_E2E_DEBUG flag for testing headful chrome 5fb28f8
Espen Hovlandsdal test(e2e): simplify authentication setup c242e7c
Per-Kristian Nordnes fix(portable-text-editor): fix issue with PTE merge operation not producing unset patch (#4416) 3f2b278
RitaDias fix(core): allow for skipping visibility in preview element (fix flickering issue) (#4408) 2aa071b
Bjørge Næss chore(renovate): open individual PRs for individual packages 3689ccf
Cody Olsen refactor(timeline): use official external store with selector API (#4413) e1f2b7e
renovate[bot] fix(deps): update dependency framer-motion to v10 (#4380) 09d7f7c
Bjørge Næss chore(renovate): autorebase dependency PRs when behind base branch e47ab0d
Nina Andal Aarvik fix(core): add max height to popover (#4414) 6742eda
Binoy Patel fix(core): list virtualization is broken inside modals (#4410) a00f0b9
Per-Kristian Nordnes fix(portable-text-editor): ignore void edits inside markDefs (#4419) 1800fe5
Per-Kristian Nordnes feature(core): show to-blockstyle in pt-diff (#4321) 38bc5d8
Bjørge Næss chore(test-studio): add repro schema for scroll bug 050164c
Binoy Patel fix(core): fix scrolling issue with documents 35c0ba9
Espen Hovlandsdal feat(cli): support serving custom favicons (#4394) 14be444
Espen Hovlandsdal test(e2e): wait for JS bundles to be ready in global setup 46c9a0b
Espen Hovlandsdal test(e2e): bring back html reports for CI 8ec5f5d
Binoy Patel fix(core): array item not showing when using modal: 'popover' (#4423) 8106688

Don't miss a new cli release

NewReleases is sending notifications on new releases.