npm @sanity/cli 3.72.0
v3.72.0

latest releases: 3.59.2-corel-presentation-lcapi.562, 3.72.2-use-live-content-api.9, 3.72.2-corel.577...
2 days ago

✨ 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

Don't miss a new cli release

NewReleases is sending notifications on new releases.