Upgrade the Command Line Interface (CLI) with:
npm install --global @sanity/cli
Upgrade Sanity Studio with:
sanity upgrade
✨ Highlights
Select organization with the CLI
Allow selecting an organization to attach new projects to during sanity init
.
Other features
- Update image input height based on image size.
- Adds support for @sanity/language-filter to fallback to a different language select implementation when the current one is not relevant. (thank you @LiamMartens)
🐛 Notable bugfixes
- Improves how patches are sent to the server in the Portable Text editor, potentially fixing a very rare heisenbug where the latest change in the editor would not be persisted.
- Fixes a regression in the Portable Text editor's custom paste handler support.
- Fixes issues in the Portable Text editor when merging two paragraphs with text annotations in some circumstances.
- Fixes an issue where the number input wasn't allowing for decimal numbers (when the input is active).
- Fixes an issue with the changelog when filtering out entries without data to display.
📓 Full changelog
Author | Message | Commit |
---|---|---|
Espen Hovlandsdal | fix(types): use type-only imports, drop react dependency | e01014a |
Espen Hovlandsdal | chore(deps): upgrade react types | ec97f05 |
Per-Kristian Nordnes | test(portable-text-editor): update refactored prop | a4941ea |
Per-Kristian Nordnes | refactor(portable-text-editor): change plugin callstack | 304964b |
Knut Melvær | refactor(import): improve error message on duplicate IDs | d6d4351 |
Liam Martens | feat(language-filter): implement fallback component for language-filter (#3204) | 75e75c5 |
RitaDias | fix(form-builder): fix the number input to accept decimal values when default (#3219) | 31af95f |
Rune Botten | chore: update license files (#3201) | ecb0444 |
Herman Wikner | fix(default-layout): prevent changelog crash by filtering out entries without data to display | b53b3e2 |
Herman Wikner | fix(default-layout): add missing link to changelog in github | 517648e |
Per-Kristian Nordnes | refactor(portable-text-editor): add API .delete mode + rename option value | 205622f |
Per-Kristian Nordnes | refactor(form-builder): update renamed option value for the PTE API | 9858830 |
Per-Kristian Nordnes | fix(portable-text-editor): fix issue with merging blocks | 33f3e4a |
Per-Kristian Nordnes | fix(portable-text-editor): remove unused prop | 13a1294 |
Per-Kristian Nordnes | refactor(portable-text-editor): export prop types for the PTE components | d618119 |
Per-Kristian Nordnes | refactor(portable-text-editor): minor code enhancements | cbca96c |
Per-Kristian Nordnes | fix(portable-text-editor): remove orphaned markDefs when splitting block at start | d8d0dbf |
RitaDias | fix(form-builder) fix image resizing on initial load (#3196) | bf66218 |
radhe | fix(core): emit reconnect on non-channel error in dataset copy job listener (#3167) | d891474 |
Per-Kristian Nordnes | refactor(portable-text-editor): refactor mutation and patch handling | b318626 |
Espen Hovlandsdal | feat(cli): allow selecting organization during project creation | a114845 |
Per-Kristian Nordnes | fix(portable-text-editor): fix wrong type option sent to custom paste handler | f746973 |
Per-Kristian Nordnes | fix(portable-text-editor): fix issues with insertion of data from custom paste handler | 94a4e11 |
Per-Kristian Nordnes | test(example-studio): add updated config files | 3212d3c |