Installation and upgrading
To initiate a new Studio without installing the CLI globally:
npx create-sanity@latest
To upgrade a v3 Studio:
npm install sanity@latest
🐛 Notable bugfixes and improvements
- Fixes an issue where change indicators were no longer showing up on boolean fields
- Adds document action custom dialog component
- Improves presence rendering performance
- Improves how focus and selection is handled and tracked in Portable Text fields
- Adds support for
<sup>
,<sub>
,<ins>
and<mark>
in @sanity/block-tools - Improves how image blocks in Portable Text fields are rendered for custom named image types
📓 Full changelog
Author | Message | Commit |
---|---|---|
renovate[bot] | fix(deps): update dependency @portabletext/types to v2 (#4379) | 83711a4 |
Fred Carlsen | fix: whitelist all standard text decorators in block-tools (#4526) | 47be700 |
renovate[bot] | fix(deps): update dependency groq-js to v1 (#4384) | cf002fb |
Per-Kristian Nordnes | fix(core/form/inputs): use isImage asserter to determine image preview (#4532) | c2f98ba |
Herman Wikner | feat(core): add document action custom dialog component (#4529) | d6a841b |
Per-Kristian Nordnes | fix(core/form/inputs): value should be passed here, not schematype | 854e37a |
Per-Kristian Nordnes | refactor(core/form/inputs): refactor focus handling in the PT-input | 6ff2b45 |
Per-Kristian Nordnes | refactor(core/form/inputs): improve autofocus handling | f018467 |
Per-Kristian Nordnes | refactor(portable-text-editor): provide focus event for focus and blur change | c0cdf87 |
Per-Kristian Nordnes | chore(portable-text-editor): move debug msg out of loop | 121e906 |
Per-Kristian Nordnes | fix(core/form/inputs): clean up rebase leftovers (next branch) | 3923b6c |
Per-Kristian Nordnes | refactor(core/form/inputs): remove possibly destructive blur | e4ea215 |
Per-Kristian Nordnes | refactor(core/form/inputs): make PT-input scroll to top of elements | 2efe806 |
Per-Kristian Nordnes | refactor(core/form/inputs): streamline prop names for PT-input components | dd9c9d0 |
Per-Kristian Nordnes | refactor(core/form/inputs): blur editor when opening object in PT-input | 76131d8 |
Per-Kristian Nordnes | refactor(core/form/inputs): rename var to conventions | 20fb696 |
Per-Kristian Nordnes | refactor(core/form/inputs): wrap delete in try/catch to finalize ref assignment | cd3eb90 |
Per-Kristian Nordnes | refactor(core/form/inputs): remove uneeded prop assignment | a2544a6 |
Per-Kristian Nordnes | docs(core/form/inputs): add some comments why we blur here. | 0cbd4f4 |
Per-Kristian Nordnes | doc(core/form/inputs): add comments on block props | fbd7be8 |
Per-Kristian Nordnes | refactor(core/form/inputs): add prop __unstable_textElementFocus | 2d8aa4d |
Per-Kristian Nordnes | refactor(core/form/inputs): make PT annotations handle focus correctly | 021c2c6 |
Per-Kristian Nordnes | fix(core/form/inputs): fix issue with re-focusing the editor after toggling fullscreen | 02feb8d |
Per-Kristian Nordnes | fix(core/form/inputs): rename autofocus > autoFocus | fb88521 |
Per-Kristian Nordnes | refactor(core/form/inputs): clean up useTrackFocusPath | bf77938 |
Per-Kristian Nordnes | feature(core/form): keep stable child presence list with immutableReconcile | f4a113f |
Per-Kristian Nordnes | refactor(core/form/inputs): use child presence hook for PT-input nodes | 145c573 |
Victoria Wagenblast | fix(core): add change indicators to boolean fields (#4538) | 94e1c7a |