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.57.4 #684

Merged
merged 1 commit into from
Sep 18, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 17, 2024

This PR contains the following updates:

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

Release Notes

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

v3.57.4

Compare Source

sanity-io/sanity (groq)

v3.57.4

Compare Source

✨ Highlights

Performance improvements for large documents

This release introduces significant performance improvements for form state computation in Sanity Studio, especially for complex documents:

  • Up to 10x performance improvement for documents with multiple large objects in arrays
  • Noticeable improvements for documents with large Portable Text fields
  • Memoization for form state computation

🐛 Notable bugfixes

  • The _createdAt document property will now always be set to the time when the document in question was first created in its initial draft state rather than the time of publishing, as intended.
  • In the Portable Text Editor, annotations can now be added across existing annotations and decorators without accidentally expanding or removing those.
  • In the Portable Text Editor, a collapsed selection can now toggle off an entire annotation.
  • A performance regression introduced in 3.52.3, affecting large Portable Text documents, has now been fixed.
  • Toggling decorators in selections spanning empty lines in the Portable Text Editor now works more predictably.
  • Lists created in the Portable Text Editor should now reset sublist indices under different parent list items (thank you, @​phattran2905!).
  • When focused, the Portable Text Editor now automatically adds empty markDefs arrays to blocks if missing.
  • Array inputs now forward the received onItemPrepend and onItemAppend hooks to the insert button/array functions component.

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
------------ | ------------- | -------------
Cody Olsen | chore(deps): bump typescript to 5.6.2 (#​7494) | caec753
Ash | fix(sanity): prevent empty patches being created (#​7499) | 99f1bb6
renovate[bot] | chore(deps): update typescript-tooling (#​7504) | 9a646d8
Phat Tran | fix(core): correctly reset PTE list counts after non-numbered lists and in sublists (#​7506) | 4918a9e
renovate[bot] | chore(deps): update dependency turbo to ^2.1.2 (#​7507) | 618d95c
renovate[bot] | chore(deps): update pnpm to v9.10.0 (#​7509) | cf55d9d
renovate[bot] | chore(deps): update linters (#​7508) | 453c4a4
renovate[bot] | fix(deps): Update dev-non-major (#​7510) | fe75e37
renovate[bot] | fix(deps): update dependency @​portabletext/editor to ^1.1.0 (#​7501) | a6e0389
Jordan Lawrence | fix(core): drafts not using server actions always generate a created at (#​7503) | 728311e
renovate[bot] | fix(deps): update dependency @​portabletext/editor to ^1.1.1 (#​7514) | daf4ffa
Simeon Griggs | fix: add padding above the "Push to reload" button instead of below (#​7464) | 1a33125
Bjørge Næss | fix: forward received onItemPrepend/onItemAppend to ArrayFunctions (#​7516) | 4a50023
Rico Kahler | perf(core): memoize prepareFormState (#​7498) | 3bf7096

sanity-io/sanity (sanity)

v3.57.4

Compare Source


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 September 17, 2024 22:11
@renovate renovate bot force-pushed the renovate/sanity-dependencies branch from 87f91ae to a2f6f38 Compare September 17, 2024 22:12
Copy link

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

Package New capabilities Transitives Size Publisher
npm/@sanity/vision@3.57.4 Transitive: environment +42 7.43 MB bjoerge
npm/groq@3.57.4 None 0 11.8 kB bjoerge
npm/sanity@3.57.4 Transitive: environment, eval, filesystem, network, shell, unsafe +1342 296 MB bjoerge

🚮 Removed packages: npm/@sanity/vision@3.57.3, npm/groq@3.57.3, npm/sanity@3.57.3

View full report↗︎

@renovate renovate bot merged commit faa96b1 into main Sep 18, 2024
8 checks passed
@renovate renovate bot deleted the renovate/sanity-dependencies branch September 18, 2024 01:34
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