Skip to content

chore: Bump @sanity/vision from 3.66.1 to 3.70.0#80

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/sanity/vision-3.70.0
Closed

chore: Bump @sanity/vision from 3.66.1 to 3.70.0#80
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/sanity/vision-3.70.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 20, 2025

Bumps @sanity/vision from 3.66.1 to 3.70.0.

Release notes

Sourced from @​sanity/vision's releases.

v3.70.0

✨ Highlights

Improvements to Visual Editing

This release includes several changes across the @sanity/astro and @sanity/visual-editing packages, resulting in a more stable Visual Editing experience with Astro and a smoother initial setup:

  • A React 19 peer dependency issue was fixed in @sanity/astro version 3.1.9 that caused errors in new projects setup using Astro’s CLI tool.
  • Added support for libraries publishing pre-compiled code with the React Compiler to the Astro codebase.
  • Previously, Visual Editing overlays would lose their titles/preview information after a change had been made when working with an Astro project. This is now fixed.

Other features

  • The sanity package now exports an experimental EditPortal component, which allows users to create Dialog or Popover components that include Presence and scroll virtualization out of the box, like so:
import React, {useRef, useState} from 'react'
+import {EditPortal} from 'sanity'
export const CustomFormDialog: React.FC<Props> = ({parentProps, paths, onClose}) => {
return (


&lt;Dialog header=&quot;Edit Link&quot; id=&quot;edit-link&quot; animate width={600} onClose={onClose} zOffset={1000}&gt;





&lt;EditPortal header=&quot;Edit Link&quot; id=&quot;edit-link&quot; animate width={600} onClose={onClose} zOffset={1000}&gt;
 ...rest





 &lt;/Dialog&gt;





&lt;/EditPortal&gt;


🐛 Notable bugfixes

  • Fixes a case where the commands schema extract, manifest extract, graphql deploy, documents validate or schema validate would never complete.
  • Fixes an issue in Vision where the cursor would sometimes jump to the beginning of the editor.

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

Author Message Commit
renovate[bot] fix(deps): update dependency @​sanity/presentation to v1.20.2 (#8219) 5ddfe632d7
renovate[bot] chore(deps): update typescript-tooling (#8210) fb1cf5b936
renovate[bot] fix(deps): update dependency get-it to ^8.6.6 (#8221) 17e10caee5
renovate[bot] fix(deps): update dependency @​sanity/insert-menu to v1.0.19 (#8222) 07651a5a16
renovate[bot] fix(deps): update dependency @​sanity/presentation to v1.20.3 (#8223) a363bba335
renovate[bot] fix(deps): update dependency @​sanity/client to ^6.24.3 (#8213) 47577ea376
renovate[bot] fix(deps): update dependency @​portabletext/editor to ^1.21.0 (#8227) 5c28f4f000
Rostislav Melkumyan feat(cli): skip directories without .env.example when bootstrapping remote template (#8216) 86c6ab1985
Snorre Eskeland Brekke fix: ensures singleworkspace falls back to the name 'default' as expected in all contexts (#8228) fe708e8a21
renovate[bot] fix(deps): update dependency @​portabletext/editor to ^1.21.1 (#8234) 26b64c7b93
Pedro Bonamin chore(core): export EditPortal from sanity (#8229) ab31417c6c
renovate[bot] fix(deps): update dependency @​sanity/presentation to v1.21.1 (#8230) 9e624faf24
Bjørge Næss fix(ci): pin ubuntu version for e2e component tests to 22.04 (#8245) b3cce815b9

... (truncated)

Commits
  • 5376783 v3.70.0
  • 15cba9a fix(vision): debounce type setState to fix cursor jump (#8238)
  • f3151c3 fix(deps): update dependency @​sanity/ui to ^2.11.2 (#8248)
  • 256ffac fix(deps): update React Compiler dependencies 🤖 ✨ (#8244)
  • 47577ea fix(deps): update dependency @​sanity/client to ^6.24.3 (#8213)
  • 55aff5d v3.69.0
  • e98cf47 fix(deps): update dependency @​sanity/ui to ^2.11.1 (#8203)
  • 68f244b fix: React 19 typings (finally) (#8171)
  • 001dda7 chore(deps): update dependency styled-components to ^6.1.14 (#8182)
  • 5211c0d fix(deps): update dependency @​sanity/ui to ^2.11.0 (#8190)
  • Additional commits viewable in compare view

Dependabot compatibility score

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 <dependency name> 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/vision](https://github.com/sanity-io/sanity/tree/HEAD/packages/@sanity/vision) from 3.66.1 to 3.70.0.
- [Release notes](https://github.com/sanity-io/sanity/releases)
- [Commits](https://github.com/sanity-io/sanity/commits/v3.70.0/packages/@sanity/vision)

---
updated-dependencies:
- dependency-name: "@sanity/vision"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jan 20, 2025
@vercel
Copy link

vercel bot commented Jan 20, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
inboxiq ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 20, 2025 0:22am

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 27, 2025

Superseded by #83.

@dependabot dependabot bot closed this Jan 27, 2025
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/sanity/vision-3.70.0 branch January 27, 2025 00:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants