Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps sanity from 3.54.0 to 3.70.0.

Release notes

Sourced from sanity'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
  • c65b13c fix(core): export EditPortal as beta (#8270)
  • 1938999 fix(deps): update dependency @​portabletext/editor to ^1.21.5 (#8264)
  • df392a4 fix(deps): update dependency @​sanity/presentation to v1.21.3 (#8265)
  • 5505240 chore(prettier): fix unformatted files 🤖 ✨ (#8263)
  • 7c2a68b test: fix @​portabletext/block-tools alias (#8262)
  • 9d362e1 fix(deps): update dependency react-rx to ^4.1.15 (#8259)
  • 39f8900 fix(deps): update dependency @​sanity/presentation to v1.21.2 (#8253)
  • e0a2b6d feat(sanity): include _id field in groq2024 searches (#8237)
  • 0ab9c5b chore(core): add \<AvatarSkeleton /> component (#8249)
  • 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](https://github.com/sanity-io/sanity/tree/HEAD/packages/sanity) from 3.54.0 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)

---
updated-dependencies:
- dependency-name: sanity
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

netlify bot commented Jan 20, 2025

Deploy Preview for a11ycourses ready!

Name Link
🔨 Latest commit 730e916
🔍 Latest deploy log https://app.netlify.com/sites/a11ycourses/deploys/678eb2f91a787e00088230b3
😎 Deploy Preview https://deploy-preview-100--a11ycourses.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 27, 2025

Superseded by #102.

@dependabot dependabot bot closed this Jan 27, 2025
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/sanity-3.70.0 branch January 27, 2025 20:37
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