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
✨ Highlights
Array insert menu
This release includes a much requested upgrade of the array insert menu with various new options available. Including a new and more informative grid view, the ability to organize available schema types in groups, and filter them with a search term, and more. Check out the array article in the docs for examples.
Other features
Adds a type export of all the discovered Sanity schema variants resulting from running sanity typegen in the CLI. This can be useful in mocks/testing environments and used by third party tools to get a list of potential types. This union type is accessible as AllSanitySchemaTypes in the generated type definitions.
🐛 Notable bugfixes
Fixes an issue where a text preview image would be included into the Portable Text Editor (PTE) when pasting text from Word.
Fixes an issue where navigation options were not being passed as expected when calling a scoped router's navigate function.
Fixes an issue where the PTE wouldn't activate when you start dragging files into it.
Images in the Hotspot & Crop tool now render faster, and use far less memory.
Reduces layout shift when uploading images that replace existing image assets.
Fixes an issue that could cause a 409 error when restoring a document from history.
Fixes an issue where image and file types might be listed in their lowercase variant in array insert menus
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps sanity from 3.23.4 to 3.47.0.
Release notes
Sourced from sanity's releases.
... (truncated)
Commits
0df0fff
v3.47.0e9b16c8
feat: notify AUS studio users of new studio versions (#6893)6bbf609
fix(ci): importmap path on windows (#6948)02dab2a
feat(core): implement basic error reporting (#6914)b90820c
refactor(core): change revision history label from 'Version' to the more accu...f662ae2
fix(structure): don't replace url when navigating back to list after document...de01b7c
deps(core): update@sanity/insert-menu
(#6971)47d204c
fix(core): make array insert menu full width if grid view is configured (#6969)3064705
fix(sanity): removeifDraftRevisionId
optimistic lock usage when publishing...6b20e5f
test(e2e): update e2e flaky tests (#6927)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show