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
- Fixes an issue where the
accept
option for file and image schema types would not be respected by the image and file picker, only new uploads - Fixes dialog closing behavior in the studio to be more consistent
- Improves readability of
date
anddatetime
diffs in the review changes panel - Fixes an issue where the first focusable element in a document was not focused when opening the document
- Fixes an issue where form dialogs were not closing as esxpected when navigating to a new document
- Fixes an issue where the selected sort option in the document list was not highlighted in the UI
- Fixes an issue where the correct default fieldgroup was not set in an array of objects
- Fixes an issue where opening a browser from the CLI tool on Windows might cause the login process to crash
- Adds missing options in mobile sidebar menu
- Fixes a regression from
v3.4.0
in the Portable Text Editor that could corrupt text when typing fast and toggling text decorators (I.e. bold or italic) while typing - Fixes a regression from
v3.4.0
in the Portable Text Editor where it sometimes would error when toggling between different versions in the History View
📓 Full changelog
Author | Message | Commit |
---|---|---|
RitaDias | fix(core): non valid file types for image and file inputs will be greyed out (#4127) | 8ad9eb8 |
Herman Wikner | fix(core): focus handling and dialog behavior (#4139) | 460bbaf |
Espen Hovlandsdal | fix(cli): correct noop return value for renderDocument | f2053ee |
Nina Andal Aarvik | fix(core): select default group (If exists) on expand (#4173) | 09e6b08 |
Herman Wikner | fix(core): invalid reference link (#4201) | afbe551 |
Nina Andal Aarvik | fix(desk): focusFirst in document and dialog behavior (#4156) | a210ee7 |
Herman Wikner | fix(desk): update tools and schema help links (#4205) | 113f46c |
Espen Hovlandsdal | fix(cli): add @types/styled-components dependency to new projects (#4202)
| 5282654 |
Herman Wikner | fix(core): date and datime review changes ui (#4217) | fd870df |
Herman Wikner | fix(desk): document list menu items selected state (#4207) | 2123f93 |
Espen Hovlandsdal | fix(cli): patch missing SYSTEMROOT env var on windows (#4221)
| 2b9beaf |
shur | feat(cli): add back get-started template (#4225) | fbbbfeb |
Bjørge Næss | fix(build): add an empty perf/studio folder so that the vercel build can be skipped | fa968be |
Nina Andal Aarvik | fix(core): move theme logic to component and use in both navbars (#4183) | e2eb622 |
Per-Kristian Nordnes | fix(portable-text-editor): fix state toggle issue in withPreserveKeys | 1fafb02 |
Per-Kristian Nordnes | fix(portable-text-editor): only preserveKeys when strictly needed | 776c1b8 |
Per-Kristian Nordnes | fix(portable-text-editor): fix some issues with syncing the value | 663336e |
Per-Kristian Nordnes | test(portable-text-editor): update snapshot | d4c7ea0 |