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

Update sanity monorepo to v3 (major) #187

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 21, 2023

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@sanity/cli (source) 2.36.2 -> 3.75.0 age adoption passing confidence
@sanity/vision (source) 2.36.6 -> 3.75.0 age adoption passing confidence

Release Notes

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

v3.75.0

Compare Source

🐛 Notable bugfixes

We have fixed the following:

  • An issue in which document list previews using version documents was not showing the correct data.
  • An issue where some local states were not updating accordingly when switching Content Releases in the dashboard.
  • An issue with incorrect titles shown in when discarding or un-publishing a document inside a release.
  • An edge case where Vite dev server error handling could fail due to improper checking.
  • Removes the motion() is deprecated. Use motion.create() instead warnings in the console.
  • Removes the deprecated textSearch strategy.
  • Updated translations for error messages in Content Releases.

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] | chore(deps): update pnpm to v9.15.5 (#​8498) | 7b33df8
Bjørge Næss | chore: upgrade vitest to v3 (#​8371) | f615dc1
Bjørge Næss | chore(e2e): retry e2e tests when running in CI (#​8501) | 0fc2ef4
Jordan Lawrence | chore: restricting scheduled release UI (#​8506) | fc281fd
Magnus Holm | test: enable test coverage (#​7789) | 2851af0
Pedro Bonamin | fix(core): use vX for observeFields when querying for version docs (#​8509) | d582716
renovate[bot] | fix(deps): update dependency @​portabletext/editor to ^1.30.3 (#​8508) | a6bd3af
Carolina Gonzalez | feat(cli): add non-studio app template (#​8394) | 0d4e40d
renovate[bot] | fix(deps): update dependency @​portabletext/editor to ^1.30.4 (#​8512) | 4e263d4
Bjørge Næss | chore(test): add node 22 to test matrix (#​8502) | b7803d0
renovate[bot] | chore(deps): update dependency styled-components to ^6.1.15 (#​8517) | e3287f8
Jordan Lawrence | fix(releases): timezone fixes in content releases (#​8514) | 79312c7
Bjørge Næss | refactor(vision): simplify perspective handling, no default perspective (#​8516) | 9a59b61
Snorre Eskeland Brekke | fix: ensures comments permission check only requests project memberships once (#​8513) | 966e97a
Espen Hovlandsdal | fix(deps): swap sanity-diff-patch with @sanity/diff-patch (#​8503) | 9c937d1
Bjørge Næss | fix(releases): change usage of versionsOf to versionOf (#​8522) | fc50316
renovate[bot] | chore(lockfile): update dependency framer-motion to v12.3.1 (#​8505) | 9ffb28c
Christian Grøngaard | fix(core): use MarkdownPlugin instead of behaviors={[...]} (#​8473) | a91c165
Ash | test(sanity): add toMatchEmissions matcher (#​8519) | be0fcc9
renovate[bot] | chore(lockfile): update dependency styled-components to v6.1.15 (#​8518) | eb7c775
Pedro Bonamin | fix(core): reset all releaseDetail states when switching the release (#​8530) | 8e033dc
Ash | test(sanity): add toMatchEmissions matcher | 2a0f78f
Ash | test(sanity): add activeUndecidedErrorRelease fixture | 06e7509
Ash | feat(sanity): load release document error field | d9c341e
Ash | feat(sanity): add error count to releases store | 7ee17ee
Ash | feat(sanity): add release tool error indicator | 2fa184c
Ash | feat(sanity): add release error indicators to ReleasesOverview | a346f6d
Ash | feat(sanity): add release error details to ReleaseDashboardDetails | e728372
Pedro Bonamin | chore(core): updates release create modal title (#​8531) | ce97b03
renovate[bot] | chore(lockfile): update dependency styled-components to v6.1.15 (#​8534) | c768dcb
ecospark[bot] | chore(deps): dedupe pnpm-lock.yaml (#​8533) | 773b2fd
renovate[bot] | chore(deps): update dependency @​sanity/visual-editing-csm to ^2.0.3 (#​8537) | fda9db7
renovate[bot] | fix(deps): update dependency @​portabletext/block-tools to ^1.1.6 (#​8507) | 0e1afe6
renovate[bot] | fix(deps): update dependency @​sanity/insert-menu to v1.1.0 (#​8538) | 4fb557b
renovate[bot] | fix(deps): update dependency @​sanity/ui to ^2.12.1 (#​8529) | 2634e16
Cody Olsen | chore: update compiler warnings counter (#​8535) | 2343cd3
renovate[bot] | fix(deps): update dependency @​portabletext/editor to ^1.30.6 (#​8526) | 8de1591
Cody Olsen | fix: handle motion() deprecation warning (#​8536) | 7ea2eb3
renovate[bot] | fix(deps): update dependency @​portabletext/editor to ^1.31.0 (#​8540) | 1ffa00a
renovate[bot] | fix(deps): update dependency @​sanity/presentation-comlink to ^1.0.5 (#​8541) | 8f00881
renovate[bot] | chore(deps): update dev-non-major (#​8539) | 41419b4
renovate[bot] | fix(deps): update dependency @​sanity/ui to ^2.12.2 (#​8542) | b68186a
RitaDias | fix(deps): update plugin-mux dependency in test and studio-e2-testing (#​8520) | b3a95e2
ecospark[bot] | chore(deps): dedupe pnpm-lock.yaml (#​8543) | aed48ae
Pedro Bonamin | fix(core): add breathing space for release create button in picker (#​8546) | 310c523
Pedro Bonamin | chore(core): assign releases codeowners to studio-app (#​8532) | 8e4ebe8
Cody Olsen | chore: test larger gh runners (#​8545) | d8b4e6c
renovate[bot] | chore(deps): pin amannn/action-semantic-pull-request action to 0723387 (#​8547) | 9de48dd
renovate[bot] | chore(deps): pin davelosert/vitest-coverage-report-action action to 5a78cb1 (#​8548) | 4f36085
renovate[bot] | chore(deps): update peter-evans/create-pull-request digest to 67ccf78 (#​8549) | ffd8d96
renovate[bot] | chore(deps): lock file maintenance (#​8550) | c3ae8ea
ecospark[bot] | chore(prettier): fix unformatted files 🤖 ✨ (#​8551) | d8d027c
Pedro Bonamin | fix(core): use preview value title when unpublishing or discarding a document (#​8544) | d64c159
renovate[bot] | chore(deps): update playwright monorepo to v1.50.1 (#​8552) | 1e4d282
renovate[bot] | fix(deps): update dependency @​portabletext/editor to ^1.31.2 (#​8556) | 927ee85
renovate[bot] | chore(deps): update dependency @​sanity/visual-editing-csm to ^2.0.4 (#​8558) | c32de8f
renovate[bot] | fix(deps): update dependency @​sanity/presentation-comlink to ^1.0.6 (#​8561) | 2908687
ecospark[bot] | fix(deps): update React Compiler dependencies 🤖 ✨ (#​8562) | 7fd0330
renovate[bot] | fix(deps): update dependency @​sanity/insert-menu to v1.1.1 (#​8560) | b87e110
ecospark[bot] | chore(deps): dedupe pnpm-lock.yaml (#​8564) | a776512
renovate[bot] | fix(deps): update dependency react-rx to ^4.1.19 (#​8566) | 3ab2271
renovate[bot] | fix(deps): Update dev-non-major (#​8563) | b1b5d75
renovate[bot] | fix(deps): update dependency @​sanity/ui to ^2.12.3 (#​8565) | 7ee74d6
ecospark[bot] | chore(deps): dedupe pnpm-lock.yaml (#​8567) | 85c0379
Cody Olsen | fix(CI): update playwright cache on CI consistently (#​8559) | f660657
renovate[bot] | chore(deps): update dependency vite to ^6.1.0 (#​8568) | d1e08dd
Pedro Bonamin | fix(core): removes deprecated textSearch strategy (#​8524) | bcef9d7
Bjørge Næss | ci: move back to ubuntu-latest for e2e-ct tests (#​8572) | 6d9f5b3
Jordan Lawrence | feat(releases): using publishedAt to present publish time for past releases (#​8553) | 595b8b8
Pedro Bonamin | fix(core): incorrect status indicator color for undecided releases (#​8571) | 19d1bc3
renovate[bot] | chore(deps): lock file maintenance (#​8578) | 12dee1b
ecospark[bot] | chore(prettier): fix unformatted files 🤖 ✨ (#​8583) | 07d6e78
renovate[bot] | fix(deps): update dependency @​portabletext/editor to ^1.32.0 (#​8575) | d517632
RitaDias | chore(core): update message to be schedule or publish error (#​8569) | 2ba4b9d
Jordan Lawrence | feat: creating new scheduled release defaults time to start of next hour (#​8577) | 224a4e5
Bjørge Næss | test(cli): add retry for cli tests (#​8574) | 824c791
Ash | feat(sanity): add Core UI bridge script (#​8523) | 8e1ed89
Jordan Lawrence | refactor(releases): removing redundant release details view screen conditions (#​8579) | 4fd4cd9
Bjørge Næss | test(playwright-ct): bump number of retries for playwright ct tests (#​8589) | a9a1b95
Bjørge Næss | fix(sanity): don't show Live edit badge for versions (#​8593) | df6bcdb
Bjørge Næss | fix(sanity): use raw as default perspective (#​8586) | 4371559
Binoy Patel | fix(core): adds proper check for vite dev server stop (#​8584) | b229295
Binoy Patel | fix: add missing tags for listen queries (#​8595) | e9d9b1f

v3.74.1

Compare Source

🐛 Notable bugfixes

  • Fixes a regression in the Portable Text Input, introduced in 3.68.0, that potentially could lead to data loss when user input was entered concurrently with incoming changes being streamed into the input, e.g., from AI Assist or from a team member working on the same input.

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 @​portabletext/editor to ^1.30.3 (#​8508) | 3d25456

v3.74.0

Compare Source

✨ Highlights

UI improvements in studio and structure

1. Switch between drafts and published perspectives in the editor

Previously, your drafted changes to an already published document would always be present when viewing that document in the studio, and there was no simple way of viewing the document in its published state. As of this release, the studio editor pane supports switching between the published and drafts perspectives, to quickly eyeball what’s changed.
01

2. Browse your studio in published perspective

The default mode in the studio is unchanged - all existing drafts appear alongside published documents. When working on a single document, you’ll see your drafted changes rather than the last published version. This is the drafts perspective.

Switching to the published perspective (via the perspective switcher at the top of the editor pane) updates the studio’s top navigation bar to green, indicating that you are now viewing only published documents in their last published state. Please note that while the published perspective is active, your documents will be in read-only mode, unless they are configured to be live-editable.

You can continue navigating the studio in this mode, ensuring you see only content that is currently live, or switch back to the default drafts perspective to see all pending changes.
02

3. Global perspective switcher

You can also change between the published or drafts perspective from the switcher at the right side of the studio top navigation bar.

This will also be used by Presentation when previewing content inside the studio, the built in picker has been removed

03

4. Click document footer status bar to open history pane

The document History pane has always been available by accessing the ellipsis menu at the top of the document editor pane. From now on, you can also access this view by clicking the document status in the footer of the editor pane.
04

5 Perspective-aware History pane

The History pane now adapts to show information about the relevant document in the currently selected perspective. While in published mode, any changes since the last published state are omitted.

05

To see all pending changes in the History pane, toggle back to the drafts perspective.

05 1

📓 Full changelog

Author | Message | Commit
------------ | ------------- | -------------
Jordan Lawrence, Rita Dias, Pedro Bonamin, Ash Stevens, Cody Olsen, Robin Neatherway, Marius Lundgård, Bjørge Næss | feat: content releases (#​8454) | e485525
renovate[bot] | chore(deps): update dependency turbo to ^2.4.0 (#​8500) | 2d2df51
Pedro Bonamin | fix(core): show accurate history for live-edit documents (#​8497) | ccb2a4f

v3.73.0

Compare Source

✨ Highlights

Presentation tool is now using Sanity Live Content API

The Presentation tool is now using Sanity Live Content API to drive Live Mode in integrations like @sanity/react-loader, @sanity/svelte-loader, @nuxtjs/sanity and @sanity/core-loader.
The new setup allows query refetching to only happen when actually needed, as opposed to every two seconds.
Why was fetching happening every two seconds before?
This aggressive polling was in place to capture changes that couldn’t be reliably predicted client-side using Content Source Maps/CSM. The goal was to ensure that such changes were detected and that eventual consistency was maintained in the live preview.

  • count(*[_type == "person" && isPublished])
    For the client to know when this query count will change it would need to monitor every person document and if isPublished is true. This doesn't scale.
  • *[slug.current == "discounted"]
    If any document is given the slug discounted, the query needs to refetch. The client would need to monitor every single document mutation in the dataset and check if a new document now has the slug, as well as check if any fields on the current matching document has changed, or if the matching document got deleted and there's a fallback match, or none at all.

The gist of it is the client can't predict everything, and if it tries, it winds up using a lot of memory and perform work, just in case anything has changed.
While this over-fetching never counted towards your Sanity API hit quota, the intention has always been to move over to a better architecture.
Enter the new Sanity Live API; it's built to solve "when should a query refetch?" and it allows Presentation to rely on the backend for telling it when it needs to refetch, thus using far less memory, less network resources, and less work on the main thread.

🐛 Notable bugfixes

  • Internal document types will no longer appear in validation results in the CLI
  • Fixes an issue where write tokens were not being set in .env file after initializing a remote template
  • Fixes an issue where splitting a Portable Text block right before an inline object might cause the editor to crash
  • Fixes an issue where using Shift+Enter to insert a line break (\n) in the Portable Text input would not work as expected in Safari

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] | chore(lockfile): update dependency @​tanstack/react-virtual to v3.11.3 (#​8432) | ee48358
renovate[bot] | chore(deps): update pnpm to v9.15.4 (#​8435) | b544969
renovate[bot] | fix(deps): update dependency @​sanity/ui to ^2.11.7 (#​8434) | ac0f20c
renovate[bot] | chore(deps): update dependency framer-motion to v12 (#​8438) | 465d9f2
ecospark[bot] | chore(prettier): fix unformatted files 🤖 ✨ (#​8439) | ca0adf9
Rostislav Melkumyan | fix(cli): apply write token (#​8450) | 11dff40
RitaDias | fix(cli): fix issue where core sanity types were appearing in the validation for schemas and documents (#​8445) | 81a3bc6
Bjørge Næss | fix: set strictRequires to auto when building auto updating studios (#​8367) | 01a9cd9
Bjørge Næss | chore(deps): upgrade vite (back) to v6 (#​8370) | fdca354
Cody Olsen | fix(presentation): use live content API for loaders (#​8429) | 86e5af8
renovate[bot] | fix(deps): Update dev-non-major (#​8461) | 53b8009
Bjørge Næss | fix(migrate): always use raw perspective for migrations (#​8467) | c317461
renovate[bot] | fix(deps): update dependency @​portabletext/editor to ^1.28.0 (#​8448) | 8e7c346
renovate[bot] | fix(deps): update dependency @​portabletext/editor to ^1.30.1 (#​8479) | b6ebfb7
renovate[bot] | fix(deps): update dependency @​portabletext/editor to ^1.30.2 (#​8485) | f4600d7
ecospark[bot] | fix(deps): update React Compiler dependencies 🤖 ✨ (#​8477) | e5c8951
renovate[bot] | fix(deps): update dependency @​portabletext/block-tools to ^1.1.4 (#​8446) | 29a712c
renovate[bot] | fix(deps): update dependency groq-js to ^1.15.0 (#​8481) | 763561c
ecospark[bot] | chore(deps): dedupe pnpm-lock.yaml (#​8486) | 5891966
renovate[bot] | fix(deps): update dependency react-rx to ^4.1.18 (#​8487) | 0e51cbe
renovate[bot] | fix(deps): update dependency @​sanity/ui to ^2.11.8 (#​8488) | 5cf7afc
renovate[bot] | chore(deps): update dependency vitest to v2.1.9 (#​8489) | 60f2503
renovate[bot] | chore(deps): update dependency @​sanity/visual-editing to v2.12.12 (#​8493) | 8f6f088

v3.72.1

Compare Source

🐛 Notable bugfixes

  • Fixes an issue where GraphQL union reference types caused problems in GraphQL schema generation.

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
------------ | ------------- | -------------
Carolina Gonzalez | fix: remove references array from GraphQL union references generation (#​8436) | b5b5b6e

v3.72.0

Compare Source

✨ Highlights

Improved content serialization for copy-pasting in the Portable Text Editor

We’ve enhanced the way content is serialized to text/html when copying from a Portable Text input. Advanced formatting, such as lists and links, is now more reliably preserved when pasting into other applications like Notion or Word.

Additionally, copy-pasting between Portable Text fields in different documents is now more consistent. When pasting, Portable Text Editor (PTE) will intelligently filter out unsupported object types and annotations, ensuring that the rest of the content is pasted seamlessly.

🐛 Notable bugfixes

  • Fixes an issue where referencing a type of the same kind of document within a document would cause a maximum call stack size exceeded error during GraphQL schema generation.
  • Fixes an issue in which the history would fail to load if user opened the History → Review Changes → History panel.
  • Fixes an issue where Shopify Hydrogen, Remix and Astro apps with embedded studios using Presentation would see an error about calling env on undefined.

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
------------ | ------------- | -------------
Jordan Lawrence | refactor: moving calendar inputs from scheduled pub. to core/components (#​8338) | 2bb3a89
Pedro Bonamin | chore(structure): remove TimelineStore from <DocumentPaneProvider/> (#​8271) | ba00f34
Ash | feat(test-studio): add Cross Dataset Reference error replication | 4eb7fa1
Ash | fix(@​sanity/schema): allow Cross Dataset References in Portable Text blocks | 23b2b6a
RitaDias | test(e2e): make e2e sturdier (#​8348) | 70b6497
renovate[bot] | fix(deps): update dependency @​sanity/ui to ^2.11.4 (#​8334) | 576bf44
renovate[bot] | fix(deps): update dependency @​portabletext/editor to ^1.24.0 (#​8337) | 4a9a29a
renovate[bot] | fix(deps): update dependency @​sanity/insert-menu to v1.0.20 (#​8353) | 7418d2e
renovate[bot] | fix(deps): update dependency @​sanity/presentation-comlink to ^1.0.2 (#​8354) | 1828497
renovate[bot] | fix(deps): update dependency @​sanity/client to ^6.27.0 (#​8357) | 7f934e5
renovate[bot] | chore(deps): update dependency @​sanity/visual-editing-csm to v2 (#​8358) | 5df6759
renovate[bot] | fix(deps): update dependency @​portabletext/block-tools to ^1.1.2 (#​8360) | d924950
renovate[bot] | fix(deps): update dependency @​portabletext/editor to ^1.25.0 (#​8368) | c367854
renovate[bot] | fix(deps): update dependency @​sanity/preview-url-secret to ^2.1.1 (#​8356) | eb13847
renovate[bot] | chore(deps): update react monorepo (#​8375) | 8eb32e2
renovate[bot] | chore(deps): update dev-non-major (#​8374) | 067ace2
renovate[bot] | chore(deps): update dependency @​sanity/visual-editing-csm to ^2.0.1 (#​8373) | 5daded1
renovate[bot] | fix(deps): update dependency @​sanity/client to ^6.27.1 (#​8376) | 7eebb60
renovate[bot] | fix(deps): update dependency @​sanity/presentation-comlink to ^1.0.3 (#​8377) | 3dc4058
renovate[bot] | fix(deps): update dependency @​sanity/preview-url-secret to ^2.1.2 (#​8378) | 6019bb7
Cody Olsen | fix(presentation): support pt::text in live queries (#​8380) | 691aad1
Knut Melvær | Update Studio photo (#​8389) | 5dc4a6b
Carolina Gonzalez | fix(graphql): add custom logic for reference unions (#​8350) | cdeeae6
renovate[bot] | fix(deps): update dependency @​sanity/preview-url-secret to ^2.1.3 (#​8385) | ef41c78
renovate[bot] | fix(deps): update dependency @​portabletext/editor to ^1.26.0 (#​8386) | be47ff9
renovate[bot] | chore(deps): update dependency turbo to ^2.3.4 (#​8396) | af88596
renovate[bot] | chore(deps): update dev-non-major (#​8397) | 3c3d645
renovate[bot] | fix(deps): update dependency @​sanity/template-validator to ^2.4.0 (#​8390) | 645db7b
Jordan Lawrence | feat: support for sticky params and intent operations (#​8256) | 1269760
Snorre Eskeland Brekke | chore(comments): exposes more comment details as internal exports (#​8336) | 25a3a2e
Pedro Bonamin | feat(core): add unstable useObserveDocument hook (#​8407) | b693819
ecospark[bot] | fix(deps): update React Compiler dependencies 🤖 ✨ (#​8414) | bd53c3a
ecospark[bot] | chore(deps): dedupe pnpm-lock.yaml (#​8415) | 623550d
renovate[bot] | fix(deps): update dependency react-rx to ^4.1.17 (#​8416) | 17911eb
renovate[bot] | fix(deps): update dependency @​portabletext/block-tools to ^1.1.3 (#​8399) | 6780bcb
renovate[bot] | fix(deps): update dependency @​portabletext/editor to ^1.26.2 (#​8400) | 287dfa4
renovate[bot] | fix(deps): update dependency @​sanity/ui to ^2.11.5 (#​8417) | 2d28402
renovate[bot] | fix(deps): update dependency @​sanity/ui to ^2.11.6 (#​8420) | 1ebb974
Pedro Bonamin | fix(structure): do not set history inspector height to 0 (#​8421) | abb0b2e
Cody Olsen | fix: remove process.env.SANITY_STUDIO_PRESENTATION_ENABLE_LIVE_DRAFT_EVENTS (#​8401) | 68b7fa3
renovate[bot] | fix(deps): update dependency @​portabletext/editor to ^1.26.3 (#​8423) | 0fe8d70
renovate[bot] | fix(deps): update dependency get-it to ^8.6.7 (#​8424) | 1f0777e
renovate[bot] | fix(deps): update dependency @​sanity/client to ^6.27.2 (#​8426) | a2df043
renovate[bot] | chore(deps): update dependency @​sanity/visual-editing-csm to ^2.0.2 (#​8427) | 32b5ce9
renovate[bot] | fix(deps): update dependency @​sanity/preview-url-secret to ^2.1.4 (#​8431) | b8497c3
renovate[bot] | fix(deps): update dependency @​sanity/presentation-comlink to ^1.0.4 (#​8428) | 24a74e9
renovate[bot] | fix(deps): Update dev-non-major (#​8430) | 2092b7e

v3.71.2

Compare Source

🐛 Notable bugfixes

  • Fixes a regression causing the perspective switcher in the Presentation tool to reload the iframe and lose connection with loaders, causing the perspective to fail switching. It now actually switches the perspective. ❤

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 | fix(presentation): perspective switching regression (#​8383) | 9caf5d8

v3.71.1

Compare Source

🐛 Notable bugfixes

  • Fixes react module import error affecting production builds of auto-updating studios.

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
------------ | ------------- | -------------
Bjørge Næss | fix: revert back to vite v5 (#​8362) | 03fa6f1

v3.71.0

Compare Source

✨ Highlights

The @sanity/presentation codebase has been migrated into the sanity codebase

The @sanity/presentation codebase has been migrated into the sanity codebase. We've always recommended using Presentation Tool by importing it from sanity/presentation, like so:

// sanity.config.ts
import {defineConfig} from 'sanity'
import {presentationTool} from 'sanity/presentation'
import {structureTool} from 'sanity/structure'

export default defineConfig({
  plugins: [presentationTool(), structureTool()]
})

If you've been following this pattern then this change won't impact you in any way.

If you've been installing @sanity/presentation and are using it directly (we've sometimes suggested this to let folks try out bugfixes before they ship in the next release of sanity):

// sanity.config.ts
import {defineConfig} from 'sanity'
import {presentationTool} from '@&#8203;sanity/presentation'
import {structureTool} from 'sanity/structure'

export default defineConfig({
  plugins: [presentationTool(), structureTool()]
})

Then you need to search/replace all from '@&#8203;sanity/presentation' statements in your codebase with from 'sanity/presentation', and uninstall @sanity/presentation, as it'll no longer receive updates.

Other features

  • Adds disableActions option to array fields for disabling various array input capabilities.

🐛 Notable bugfixes

  • Fixes an issue preventing keyboard navigation to edit buttons for annotation and inline objects in the Portable Text Input.
  • Fixes an issue allowing custom form inputs to incorrectly patch a readOnly document by calling onChange.
  • The Presentation Tool's "Documents in use" pane now includes draft and unpublished documents, meaning it actually shows all documents in use, rather than just some of them.
  • No longer warns about duplicate keys when using Presentation on sanity dev with React Strict Mode, or embedded studios on Next.js App Router.

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
------------ | ------------- | -------------
Christian Grøngaard | fix(core): replace @sanity/block-tools with @portabletext/block-tools (#​8260) | 0ff7c7f
Pedro Bonamin | chore(core): update <Resizable/>, accept a position prop and remove duped and export from sanity (#​8250) | 4bca7b9
Pedro Bonamin | chore(core): use displayed value for document title (#​8268) | 9a5fee3
Pedro Bonamin | chore(core): update diffValue to accept a generic Meta property (#​8269) | cef5237
Pedro Bonamin | chore(core): add getTransactionLogs helper (#​8261) | 03e7760
Rostislav Melkumyan | chore(renovate): add @sanity/template-validator (#​8280) | d351c5f
Pedro Bonamin | fix(core): cannot find namespace 'vi' (#​8282) | 3a3cc58
Jordan Lawrence | chore: playwright test wrapper creates router context (#​8258) | a1a80a8
RitaDias | test(e2e): add checks for properties in reference tests (#​8279) | 21aba08
renovate[bot] | fix(deps): update dependency @​sanity/presentation to v1.22.0 (#​8295) | 847f30e
renovate[bot] | chore(deps): update dev-non-major (#​8267) | c094eb3
Per-Kristian Nordnes | fix(core/form/inputs): fix issue with tabbing to popover toolbar buttons in PT-input (#​5057) | [6c61c9c](https://redirect.github.com/sanity-io/sanity/comm


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.

@vercel
Copy link

vercel bot commented Mar 21, 2023

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

Name Status Preview Comments Updated (UTC)
chrsep-dev ❌ Failed (Inspect) Feb 16, 2025 5:30pm

@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch from 6facd39 to fd2ea4d Compare March 22, 2023 17:30
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch from fd2ea4d to 81e935c Compare March 22, 2023 21:28
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch from 81e935c to 7ba6d34 Compare March 23, 2023 01:52
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch from 7ba6d34 to 6acc2b9 Compare March 23, 2023 18:35
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch from 6acc2b9 to 9613d32 Compare March 26, 2023 14:37
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch from 9613d32 to b9091ce Compare March 27, 2023 18:12
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch from b9091ce to 779fc91 Compare March 29, 2023 20:50
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch from 779fc91 to 37c036d Compare April 1, 2023 22:04
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch from 37c036d to d796944 Compare April 2, 2023 14:18
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch from d796944 to 7e75f14 Compare April 3, 2023 01:34
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch from 7e75f14 to f549299 Compare April 3, 2023 01:42
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch from f549299 to 7c55ddb Compare April 3, 2023 16:47
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch from 7c55ddb to ad3ad24 Compare April 5, 2023 02:03
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch from ad3ad24 to 488a750 Compare April 5, 2023 06:23
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch from 6a7d09c to 65e4d97 Compare December 24, 2024 01:47
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch from 65e4d97 to 7020486 Compare December 25, 2024 10:57
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch from 7020486 to b9c718d Compare December 25, 2024 19:59
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch from b9c718d to 6b10020 Compare January 13, 2025 12:52
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch from 6b10020 to 6a0c4c8 Compare January 19, 2025 16:23
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch from 6a0c4c8 to 15309c1 Compare January 26, 2025 16:56
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch from 15309c1 to f49ff23 Compare January 27, 2025 16:46
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch from f49ff23 to ca09a60 Compare January 28, 2025 14:46
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch from ca09a60 to e5e56dc Compare February 2, 2025 16:54
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch from e5e56dc to 7c0a086 Compare February 2, 2025 20:41
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch from 7c0a086 to b305b76 Compare February 9, 2025 16:46
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch from b305b76 to 6018767 Compare February 9, 2025 21:29
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch from 6018767 to 376eca4 Compare February 10, 2025 16:45
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.

0 participants