Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update sanity dependencies to ^3.70.0 #958

Merged
merged 1 commit into from
Jan 14, 2025

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 14, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@sanity/vision (source) ^3.69.0 -> ^3.70.0 age adoption passing confidence
groq (source) ^3.69.0 -> ^3.70.0 age adoption passing confidence
sanity (source) ^3.69.0 -> ^3.70.0 age adoption passing confidence

Release Notes

sanity-io/sanity (@​sanity/vision)

v3.70.0

Compare Source

✨ 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 (
-     <Dialog header="Edit Link" id="edit-link" animate width={600} onClose={onClose} zOffset={1000}>
+     <EditPortal header="Edit Link" id="edit-link" animate width={600} onClose={onClose} zOffset={1000}>
       ...rest
-      </Dialog>
+     </EditPortal>
🐛 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) | 5ddfe63
renovate[bot] | chore(deps): update typescript-tooling (#​8210) | fb1cf5b
renovate[bot] | fix(deps): update dependency get-it to ^8.6.6 (#​8221) | 17e10ca
renovate[bot] | fix(deps): update dependency @​sanity/insert-menu to v1.0.19 (#​8222) | 07651a5
renovate[bot] | fix(deps): update dependency @​sanity/presentation to v1.20.3 (#​8223) | a363bba
renovate[bot] | fix(deps): update dependency @​sanity/client to ^6.24.3 (#​8213) | 47577ea
renovate[bot] | fix(deps): update dependency @​portabletext/editor to ^1.21.0 (#​8227) | 5c28f4f
Rostislav Melkumyan | feat(cli): skip directories without .env.example when bootstrapping remote template (#​8216) | 86c6ab1
Snorre Eskeland Brekke | fix: ensures singleworkspace falls back to the name 'default' as expected in all contexts (#​8228) | fe708e8
renovate[bot] | fix(deps): update dependency @​portabletext/editor to ^1.21.1 (#​8234) | 26b64c7
Pedro Bonamin | chore(core): export EditPortal from sanity (#​8229) | ab31417
renovate[bot] | fix(deps): update dependency @​sanity/presentation to v1.21.1 (#​8230) | 9e624fa
Bjørge Næss | fix(ci): pin ubuntu version for e2e component tests to 22.04 (#​8245) | b3cce81
Pedro Bonamin | fix(core): support serverDocumentActions flag in plugins (#​8247) | 78318f3
Rostislav Melkumyan | feat(cli): slim down remote test template (#​8224) | 41580c4
ecospark[bot] | fix(deps): update React Compiler dependencies 🤖 ✨ (#​8244) | 256ffac
renovate[bot] | fix(deps): update dependency react-rx to ^4.1.14 (#​8246) | 2664f0f
renovate[bot] | fix(deps): update dependency @​sanity/ui to ^2.11.2 (#​8248) | f3151c3
Magnus Holm | fix(cli): explicitly exit workers when they're done (#​8226) | 104b74c
Christian Grøngaard | fix(block-tools): "soft" deprecate in favour of @​portabletext/block-tools (#​8254) | 885cfe0
Pedro Bonamin | chore(core): add <AvatarSkeleton /> component (#​8249) | 0ab9c5b
Pedro Bonamin | fix(vision): debounce type setState to fix cursor jump (#​8238) | 15cba9a
Ash | feat(sanity): include _id field in groq2024 searches (#​8237) | e0a2b6d
renovate[bot] | fix(deps): update dependency @​sanity/presentation to v1.21.2 (#​8253) | 39f8900
renovate[bot] | fix(deps): update dependency react-rx to ^4.1.15 (#​8259) | 9d362e1
renovate[bot] | chore(deps): update dev-non-major (#​8240) | 8299462
Christian Grøngaard | test: fix @​portabletext/block-tools alias (#​8262) | 7c2a68b
ecospark[bot] | chore(prettier): fix unformatted files 🤖 ✨ (#​8263) | 5505240
renovate[bot] | fix(deps): update dependency @​sanity/presentation to v1.21.3 (#​8265) | df392a4
Christian Grøngaard | fix(deps): update dependency @​portabletext/editor to ^1.21.5 (#​8264) | 1938999
ecospark[bot] | chore(deps): dedupe pnpm-lock.yaml (#​8266) | c453b1f
Rostislav Melkumyan | chore(cli): bump @sanity/template-validator to latest (2.3.2) (#​8220) | 9266e11
Pedro Bonamin | fix(core): export EditPortal as beta (#​8270) | c65b13c


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from a team as a code owner January 14, 2025 18:01
Copy link

socket-security bot commented Jan 14, 2025

New, updated, and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@sanity/vision@3.70.0 🔁 npm/@sanity/vision@3.69.0 Transitive: environment +35 7.51 MB ash
npm/groq@3.70.0 🔁 npm/groq@3.69.0 None 0 11.8 kB armandocerna, ash, atombender, ...65 more
npm/sanity@3.70.0 🔁 npm/sanity@3.69.0 Transitive: environment, eval, filesystem, network, shell, unsafe +1646 466 MB ash

View full report↗︎

@renovate renovate bot force-pushed the renovate/sanity-dependencies branch from 3e8e01e to 3fe6f90 Compare January 14, 2025 18:31
@rexxars rexxars merged commit b2f7ce4 into main Jan 14, 2025
8 checks passed
@rexxars rexxars deleted the renovate/sanity-dependencies branch January 14, 2025 18:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant