Installation and upgrading
To initiate a new Studio without installing the CLI globally:
npm create sanity@latest
To upgrade a v3 Studio, run this command in its folder:
npm install sanity@latest
🐛 Notable bugfixes
- Implements the 'document' creation context in the
document.newDocumentOptions
API - Fixes an issue where exported datasets with cross-dataset references could not be imported to different projects. Note that referenced datasets must exist within same project - otherwise use
--skip-cross-dataset-references
. - Removes warning about missing titles for schema types (titles are automatically created based on schema type name - a title is only necessary if the automatic name is incorrect/inaccurate)
- Titles are now automatically applied to field groups and fieldsets, in the same way as with schema types.
- Improves error messages from configuration errors
- Boolean inputs will now show validation errors at the input level
- Fixes alignment/scrolling issues of references in delete/unpublish dialog
- Fixes accessibility issues in tooltip text color contrast
- Fixes various accessibility label issues in the desk tool
- Fixes issue where focus would jump to first element when hovering divider in menu
- Fixes an issue where the fallback editor had the title "Editor", instead of the name of the document being edited
📓 Full changelog
Author | Message | Commit |
---|---|---|
Espen Hovlandsdal | fix(core): deprecate projectId in cross-dataset reference definitions
| 103d99d |
Espen Hovlandsdal | fix(import): rewrite cross-dataset references, add option to skip | ad10b38 |
Espen Hovlandsdal | feat(import): check for missing datasets prior to importing | 8e8242d |
Espen Hovlandsdal | feat(cli): add --skip-cross-dataset-references flag to dataset import
| c9cac66 |
Espen Hovlandsdal | fix(types): deprecate experimental search for CDRs | ea075f0 |
Espen Hovlandsdal | fix(import): skip datasets lookup if no CDRs are found | ed34949 |
Herman Wikner | feat(core): implement document creation context in document.newDocumentOptions (#4680)
| b9298e8 |
Binoy Patel | docs(desk): fix links in tsdoc comment (#4714) | 1bae93a |
Espen Hovlandsdal | refactor(config): use human-readable types for config error messages | 6224f47 |
Espen Hovlandsdal | feat(schema): do not warn on missing title for schema type | 6164d24 |
Espen Hovlandsdal | feat(schema): automatically create titles for field groups without one | ffb8339 |
Espen Hovlandsdal | fix(types): add missing group property on fieldset definitions
| 87d642a |
Espen Hovlandsdal | fix(types): adjust icon property for field group (can only be component)
| cf968aa |
Espen Hovlandsdal | feat(schema): automatically create titles for fieldsets without one | 6f201e0 |
RitaDias | fix(core): add missing validation at input level validation (boolean) (#4719) | cb64607 |
Espen Hovlandsdal | refactor(desk): drop unused validation menu component | f70c3df |
Espen Hovlandsdal | refactor(core): drop unused validation list components | cddba6d |
Nina Andal Aarvik | fix(desk): minor style change of references in delete/unpublish dialog (#4705) | a8e7c24 |
vicbergquist | fix(desk): add accessible label to publish icon | fd6c2e9 |
vicbergquist | fix(core): add a11y labels to presence indicators | 5182529 |
vicbergquist | fix(desk): add accessible labels to publish status | dcb1fc7 |
vicbergquist | fix(desk): add accessible labels to review changes button | 736437b |
Nina Andal Aarvik | fix(core): add logic to focusFirst in customised popover (#4667) | 1313dd4 |
renovate[bot] | fix(deps): update dependency get-it to v8.3.0 (#4736) | 52d7eb7 |
renovate[bot] | fix(deps): update dependency @sanity/client to v6.1.7 (#4737) | dacb164 |
renovate[bot] | fix(deps): update dependency @sanity/ui to v1.7.3 (#4728) | 8176fba |
renovate[bot] | chore(deps): update dependency sanity-plugin-mux-input to v2.1.1 (#4734) | 6a5f9f4 |
renovate[bot] | fix(deps): update dependency framer-motion to v10.13.1 (#4735) | 4af3c69 |
renovate[bot] | fix(deps): update dependency vite to v4.4.7 (#4733) | 1f83fce |
renovate[bot] | fix(deps): update dependency react-focus-lock to v2.9.5 (#4732) | 0c6f3a2 |
renovate[bot] | fix(deps): update dependency esbuild to v0.18.16 (#4731) | 9437194 |
renovate[bot] | fix(deps): update dependency @vitejs/plugin-react to v4.0.3 (#4730) | ba4e659 |
renovate[bot] | fix(deps): update dependency @sanity/uuid to v3.0.2 (#4729) | 5f65434 |
renovate[bot] | chore(deps): update dependency @sanity/pkg-utils to v2.3.6 (#4727) | b33ba8a |