[Snyk] Upgrade @sanity/vision from 3.50.0 to 3.52.0 #104
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to upgrade @sanity/vision from 3.50.0 to 3.52.0.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 6 versions ahead of your current version.
The recommended version was released on 22 days ago.
Release notes
Package name: @sanity/vision
Install or upgrade Sanity Studio
To initiate a new Sanity Studio project or upgrade an existing one, please refer to our comprehensive guide on Installing and Upgrading Sanity Studio.
If you are updating from a version earlier than 3.37.0, you should also check out this article to ensure your dependencies are up to date.
🐛 Notable bugfixes
sanity build
andsanity deploy
to prevent missing React context issues.node_modules
.📓 Full changelog
useOnClickOutside
withuseClickOutsideEvent
(#7189)✨ Highlights
Clickable links in comments
URLs included in comments are now rendered as clickable links, which is infinitely more useful than unclickable links.
Other features
src
folder in your directory if it exists, some changes to schemas and how they're imported.🐛 Notable bugfixes
Ctrl + Option + D
for duplicating a document) not to be displayed in tooltips.Install or upgrade Sanity Studio
To initiate a new Sanity Studio project or upgrade an existing one, please refer to our comprehensive guide on Installing and Upgrading Sanity Studio.
If you are updating from a version earlier than 3.37.0, you should also check out this article to ensure your dependencies are up to date.
📓 Full changelog
@ sanity/ui
can run on its PRs (#7156)setOpenPath
(#7154)✨ Highlights
New: Copy-and-paste fields and documents
This version of Sanity Studio introduces a powerful new way to work with structured content within Sanity Studio: Copy-paste support for fields and documents. You can now use the familiar copy-and-paste hotkeys (cmd/ctrl+c and cmd/ctrl+v) and the field and document actions menus to copy content across different fields and document types seamlessly.
CleanShot.2024-07-10.at.14.27.46.mp4
CleanShot.2024-07-10.at.14.27.46.mp4
Beta: Array Tree Editing
Sanity offers powerful content models that let you define lists of object types and even nest these, if necessary. This enables developers to work with intuitive and convenient data structures in the API, but it has sometimes led to a cumbersome editorial experience with a lot of navigation between layers of modals.
That's why we're thrilled to introduce an improved experience for editing arrays of objects. With the array tree editing, you can browse and edit array items in one place, making working with nested content much simpler and faster.
To enable the new array tree editor, add the following to your Sanity Studio configuration:
Beta: Auto-updating Sanity Studio deployments
We're shipping improvents and fixes to Sanity Studio on a weekly basis. To make it easier to get these improvements to Sanity Studio users without requiring developer involvement, we have shipped a way to build the studio for auto-updates.
You can try this out with the new
--auto-updates
flag to thesanity build
andsanity deploy
CLI commands. This enables your Sanity Studio to automatically update to the latest minor and patch versions (3.x.x
) of Sanity Studio without having to rebuild and redeploy new bundles.Learn more about the new auto-update flag in docs.
Improved support for large datasets exports
To improve the export experience for users with large datasets, we have introduced a new
cursor
export mode in the Sanity CLI:In this mode, the CLI will use cursors under the hood when exporting, which can significantly speed up the export process for larger datasets.
🐛 Notable bugfixes
document.execCommand
at import time.useClient()
without specifying an API version.styled-components
listed indevDependencies
instead ofdependencies
would cause the CLI to try to install it as a dependency in a loop.Install or upgrade Sanity Studio
To initiate a new Sanity Studio project or upgrade an existing one, please refer to our comprehensive guide on Installing and Upgrading Sanity Studio.
If you are updating from a version earlier than 3.37.0, you should also check out this article to ensure your dependencies are up to date.
📓 Full changelog
document.execCommand
when emulating browser env (#7062)ignorePaths
(#7081)