Skip to content

v2.25.1

Compare
Choose a tag to compare
@RitaDias RitaDias released this 26 Jan 10:03
· 5151 commits to next since this release

Upgrade the Command Line Interface (CLI) with:

npm install --global @sanity/cli

Upgrade Sanity Studio with:

sanity upgrade

🐛 Notable bugfixes

  • Fixes some permission issues where users weren't able to edit documents when they should be
  • Fixes a bug where placeholder text in an empty Portable Text Editor would be stuck for a split second when it should not be
  • Fixes a bug where splitting lines in the Portable Text Editor including an inline object would corrupt the inline object data
  • Fixes an issue in Vision where controls and result were cut off in smaller viewports
  • Fixes an issue in Vision where the params frame could not be selected
  • Fixes an issue in Vision where tabbing to the params frame and editing the JSON would crash the studio

📓 Full changelog

Author Message Commit
Per-Kristian Nordnes test(example-studio): add hotkey example to customized editor 7996e15
Per-Kristian Nordnes chore: upgrade @types/node 4d811f5
Bjørge Næss chore: remove --force flag when running tsc/type check f95468b
Per-Kristian Nordnes fix(portable-text-editor): fix types and robustify fromSlateValue 2323c8f
Per-Kristian Nordnes fix(portable-text-editor): fix type issue and remove obsolete code 36fc821
Per-Kristian Nordnes fix(portable-text-editor): fix bugs and type issues in operationToPatches d4705d4
Simeon Griggs update readme for consistency with @sanity/document-internationalization f259505
Marius Lundgård refactor(base): organize preview components d22c199
Marius Lundgård refactor(base): improve preview components 2850294
Marius Lundgård test(base): improve preview workshop 52e4be3
Marius Lundgård refactor: move progress components to base 04b9eea
Marius Lundgård refactor(test-studio): pass text as preview media f08907c
Marius Lundgård refactor(base): simplify preview constants 8fb6d3c
Marius Lundgård refactor(form-builder): adjust preview action padding c562932
Marius Lundgård refactor(base): remove unused components b413287
Marius Lundgård refactor(base): rename to TemplatePreview fb23f8f
Marius Lundgård test(base): rename to TemplatePreview 6d87ae1
Marius Lundgård refactor(desk-tool): use TemplatePreview component c875309
Marius Lundgård refactor(base): re-add deprecated components (for backwards compatibility) 2a2f902
RitaDias feat(desk-tool): make inspect dialog pane specific (#3090) 2955437
RitaDias Fix permission issue panel (#3087) 835bff3
Fred Carlsen fix(vision): fix min and max pane sizes so controls or results is never cut off (#2902) 94fac97
Fred Carlsen fix(vision): fix z-index issues between CodeMirror and resizer 875fbc9
Fred Carlsen refactor(form-builder): use context for conditional read only (#3072) 01d5b1f
Per-Kristian Nordnes fix(portable-text-editor): fix glitch in placeholder rendering de7796b