w3bdesign / dfweb-v3

🏡 DFWeb personal portfolio version 3 with Next.js, Sanity.io, Framer Motion, Storybook, Tailwind CSS, Cypress, Playwright and more. 98% test coverage.
https://v3.dfweb.no
MIT License
20 stars 6 forks source link

fix(deps): update sanity monorepo to ^3.45.0 #1741

Closed renovate[bot] closed 2 months ago

renovate[bot] commented 4 months ago

Mend Renovate

This PR contains the following updates:

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

Release Notes

sanity-io/sanity (@​sanity/vision) ### [`v3.45.0`](https://togithub.com/sanity-io/sanity/compare/v3.44.0...4ad7613258304e6134a58cfd0399409d9c5b4705) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v3.44.0...v3.45.0) ### [`v3.44.0`](https://togithub.com/sanity-io/sanity/releases/tag/v3.44.0) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v3.43.0...v3.44.0) #### Installation and upgrading **To initiate a new Studio without installing the CLI globally:** npm create sanity@latest **To upgrade a v3 Studio, run this command in its folder:** npm install sanity@latest ### 🐛 Notable bugfixes #### Customizing restore action now works This releases fixes a bug preventing developers removing or customising the "restore" document action using the `document.actions` Studio configuration property. Studio will now respect changes you make to the "restore" document action, but please note that you **must** set the `action` property to `"restore"` on your `DocumentActionComponent`. The `action` property allows Studio to identify the restore action. ##### Example ```diff import {RocketIcon} from '@​sanity/icons' import {type DocumentActionComponent} from 'sanity' export const TestCustomRestoreAction: ( action: DocumentActionComponent, ) => DocumentActionComponent = (restoreAction) => { const action: DocumentActionComponent = (props) => ({ ...restoreAction(props), label: 'Custom restore', tone: 'positive', icon: RocketIcon, }) + action.action = 'restore' return action } ``` #### Other bugfixes - Fixes an issue that could under certain conditions cause a circular structure to enter an infinite loop. Shoutout to [@​sarahsvedenborg](https://togithub.com/sarahsvedenborg) and [@​stian-svedenborg](https://togithub.com/stian-svedenborg) for identifying the issue and proposing a fix. - Resolves a type error caused by the missing `preview` property in `DocumentComponents`. - Fixes an issue causing cross dataset reference search not returning hits in certain cases. - Improves text selection of full screen Portable Text editors (PTE). - Fixes issue where nested fullscreen PTEs were unable to open the block style dropdown. - Fixes issue causing EXIF metadata not being included when uplading multiple images through drag + drop. Thanks [@​xuzuodong](https://togithub.com/xuzuodong)! - Fixes bugs related to when the PTE is using a Reference input directly as the annotation type (not wrapped in a object type). - Add automatically resolving of some validation errors in the PTE. - Fixes bug causing "Untitled" to appear as title for array and object fields, even when explicitly passing undefined as title to renderDefault(). ### 📓 Full changelog Author | Message | Commit \------------ | ------------- | ------------- ecospark\[bot] | chore(deps): dedupe pnpm-lock.yaml ([#​6731](https://togithub.com/sanity-io/sanity/issues/6731)) | [`1587dfe`](https://togithub.com/sanity-io/sanity/commit/1587dfe9d3) Pedro Bonamin | fix(core): add retry to image observer and loading state ([#​6709](https://togithub.com/sanity-io/sanity/issues/6709)) | [`0f51f9d`](https://togithub.com/sanity-io/sanity/commit/0f51f9dad9) Ash | feat(sanity): use optimistic locking when publishing documents ([#​6711](https://togithub.com/sanity-io/sanity/issues/6711)) | [`6fe8c69`](https://togithub.com/sanity-io/sanity/commit/6fe8c698cf) jordanl17 | EDX-1352: batch select sheet list documents ([#​6713](https://togithub.com/sanity-io/sanity/issues/6713)) | [`10b596a`](https://togithub.com/sanity-io/sanity/commit/10b596a6f8) Michael | fix(cli): graphql api flag is respected during validation ([#​6615](https://togithub.com/sanity-io/sanity/issues/6615)) | [`c739eea`](https://togithub.com/sanity-io/sanity/commit/c739eea81e) renovate\[bot] | chore(lockfile): update dependency [@​sanity/telemetry](https://togithub.com/sanity/telemetry) to v0.7.8 ([#​6732](https://togithub.com/sanity-io/sanity/issues/6732)) | [`4307a3c`](https://togithub.com/sanity-io/sanity/commit/4307a3c321) renovate\[bot] | chore(lockfile): update dependency i18next to v23.11.5 ([#​6733](https://togithub.com/sanity-io/sanity/issues/6733)) | [`922235f`](https://togithub.com/sanity-io/sanity/commit/922235f70b) Per-Kristian Nordnes | refactor(portable-text-editor): automatically resolve some validation errors ([#​6705](https://togithub.com/sanity-io/sanity/issues/6705)) | [`6062a9a`](https://togithub.com/sanity-io/sanity/commit/6062a9a34b) Per-Kristian Nordnes | fix(core/form): prohibit focus and unset on root input ([#​6706](https://togithub.com/sanity-io/sanity/issues/6706)) | [`4a2f141`](https://togithub.com/sanity-io/sanity/commit/4a2f14119c) Cody Olsen | chore: setup CI check for react compiler errors ([#​6730](https://togithub.com/sanity-io/sanity/issues/6730)) | [`9c7175f`](https://togithub.com/sanity-io/sanity/commit/9c7175f697) ecospark\[bot] | chore(deps): dedupe pnpm-lock.yaml ([#​6734](https://togithub.com/sanity-io/sanity/issues/6734)) | [`fe807a8`](https://togithub.com/sanity-io/sanity/commit/fe807a8ea8) Hash Brown | fix: EXIF data on Image asset not included when uploading multiple images to array type, or via drag-and-drop ([#​6708](https://togithub.com/sanity-io/sanity/issues/6708)) | [`222418a`](https://togithub.com/sanity-io/sanity/commit/222418acec) Robin Pyon | fix(pte): improve text selection in fullscreen inputs ([#​6642](https://togithub.com/sanity-io/sanity/issues/6642)) | [`6163d96`](https://togithub.com/sanity-io/sanity/commit/6163d961fe) renovate\[bot] | fix(deps): Update dev-non-major ([#​6719](https://togithub.com/sanity-io/sanity/issues/6719)) | [`dadfcfa`](https://togithub.com/sanity-io/sanity/commit/dadfcfafd1) Rune Botten | fix(core): avoid attribute names being scanned as symbols | [`23f6c67`](https://togithub.com/sanity-io/sanity/commit/23f6c67199) Cody Olsen | chore: change the action to use warnings and only fail on new ones ([#​6740](https://togithub.com/sanity-io/sanity/issues/6740)) | [`ebef5cb`](https://togithub.com/sanity-io/sanity/commit/ebef5cb97e) renovate\[bot] | chore(lockfile): update dependency [@​sanity/telemetry](https://togithub.com/sanity/telemetry) to v0.7.8 ([#​6743](https://togithub.com/sanity-io/sanity/issues/6743)) | [`a230bbf`](https://togithub.com/sanity-io/sanity/commit/a230bbf878) renovate\[bot] | chore(deps): update dependency [@​vitejs/plugin-react](https://togithub.com/vitejs/plugin-react) to ^4.3.0 ([#​6744](https://togithub.com/sanity-io/sanity/issues/6744)) | [`7551264`](https://togithub.com/sanity-io/sanity/commit/75512649f5) renovate\[bot] | chore(deps): update dependency [@​sanity/pkg-utils](https://togithub.com/sanity/pkg-utils) to v6.8.18 ([#​6746](https://togithub.com/sanity-io/sanity/issues/6746)) | [`913740d`](https://togithub.com/sanity-io/sanity/commit/913740d660) renovate\[bot] | chore(lockfile): update dependency [@​sanity/import](https://togithub.com/sanity/import) to v3.37.4 ([#​6749](https://togithub.com/sanity-io/sanity/issues/6749)) | [`e5b04d1`](https://togithub.com/sanity-io/sanity/commit/e5b04d10a9) renovate\[bot] | chore(lockfile): update dependency [@​sanity/export](https://togithub.com/sanity/export) to v3.38.1 ([#​6748](https://togithub.com/sanity-io/sanity/issues/6748)) | [`0dbf0c5`](https://togithub.com/sanity-io/sanity/commit/0dbf0c5e19) renovate\[bot] | fix(deps): Update dev-non-major ([#​6745](https://togithub.com/sanity-io/sanity/issues/6745)) | [`7c44121`](https://togithub.com/sanity-io/sanity/commit/7c4412159c) renovate\[bot] | chore(deps): update dependency [@​sanity/tsdoc](https://togithub.com/sanity/tsdoc) to v1.0.65 ([#​6747](https://togithub.com/sanity-io/sanity/issues/6747)) | [`79a79a3`](https://togithub.com/sanity-io/sanity/commit/79a79a368f) Cody Olsen | fix: handle React Compiler errors ([#​6750](https://togithub.com/sanity-io/sanity/issues/6750)) | [`403f485`](https://togithub.com/sanity-io/sanity/commit/403f485bfa) Ash | feat(sanity): use Actions API when restoring drafts | [`47e5420`](https://togithub.com/sanity-io/sanity/commit/47e54209fa) Ash | feat(sanity): add timeline test ids | [`038a1a2`](https://togithub.com/sanity-io/sanity/commit/038a1a2b9c) Ash | test(e2e): add test for `restore` document action | [`e9b967f`](https://togithub.com/sanity-io/sanity/commit/e9b967f896) Christian Grøngaard | chore: add initial page-building test studio ([#​6735](https://togithub.com/sanity-io/sanity/issues/6735)) | [`cca14f3`](https://togithub.com/sanity-io/sanity/commit/cca14f393b) Bjørge Næss | fix(core): remove id from patch when using server actions ([#​6751](https://togithub.com/sanity-io/sanity/issues/6751)) | [`7b90cad`](https://togithub.com/sanity-io/sanity/commit/7b90cad2d5) Ash | fix(sanity): respect Studio configuration when rendering "restore" document action ([#​6637](https://togithub.com/sanity-io/sanity/issues/6637)) | [`6ba71f2`](https://togithub.com/sanity-io/sanity/commit/6ba71f2588) Binoy Patel | chore(ci): set a shorter cache on manifest ([#​6660](https://togithub.com/sanity-io/sanity/issues/6660)) | [`069dd31`](https://togithub.com/sanity-io/sanity/commit/069dd3193f) renovate\[bot] | chore(lockfile): update dependency i18next to v23.11.5 ([#​6755](https://togithub.com/sanity-io/sanity/issues/6755)) | [`6043919`](https://togithub.com/sanity-io/sanity/commit/6043919ec2) renovate\[bot] | chore(lockfile): update dependency react-barcode to v1.5.3 ([#​6756](https://togithub.com/sanity-io/sanity/issues/6756)) | [`89c86c6`](https://togithub.com/sanity-io/sanity/commit/89c86c637b) renovate\[bot] | fix(deps): update dependency [@​sanity/ui](https://togithub.com/sanity/ui) to ^2.1.12 ([#​6757](https://togithub.com/sanity-io/sanity/issues/6757)) | [`9025619`](https://togithub.com/sanity-io/sanity/commit/9025619e5c) renovate\[bot] | fix(deps): update dependency get-it to ^8.5.0 ([#​6758](https://togithub.com/sanity-io/sanity/issues/6758)) | [`6b98663`](https://togithub.com/sanity-io/sanity/commit/6b98663fb1) renovate\[bot] | fix(deps): Update dev-non-major ([#​6759](https://togithub.com/sanity-io/sanity/issues/6759)) | [`5893609`](https://togithub.com/sanity-io/sanity/commit/58936096c6) renovate\[bot] | chore(deps): update dependency [@​sanity/tsdoc](https://togithub.com/sanity/tsdoc) to v1.0.67 ([#​6761](https://togithub.com/sanity-io/sanity/issues/6761)) | [`543d755`](https://togithub.com/sanity-io/sanity/commit/543d755060) renovate\[bot] | fix(deps): update dependency [@​sanity/client](https://togithub.com/sanity/client) to ^6.18.3 ([#​6762](https://togithub.com/sanity-io/sanity/issues/6762)) | [`3e1bc3e`](https://togithub.com/sanity-io/sanity/commit/3e1bc3e50b) RitaDias | fix(core): unable to open block style select when in nested PTEs in fullscreen ([#​6738](https://togithub.com/sanity-io/sanity/issues/6738)) | [`9f7ab8b`](https://togithub.com/sanity-io/sanity/commit/9f7ab8b22b) Per-Kristian Nordnes | test(portable-text-editor): add test for empty array value ([#​6764](https://togithub.com/sanity-io/sanity/issues/6764)) | [`a13e22c`](https://togithub.com/sanity-io/sanity/commit/a13e22cc99) Christian Grøngaard | chore(page-building): configure build outputs ([#​6768](https://togithub.com/sanity-io/sanity/issues/6768)) | [`076f9b8`](https://togithub.com/sanity-io/sanity/commit/076f9b8f6e) Bjørge Næss | fix(core): fix issue with nested preview fields not being included in legacy text search ([#​6767](https://togithub.com/sanity-io/sanity/issues/6767)) | [`044ac39`](https://togithub.com/sanity-io/sanity/commit/044ac39a2f) jordanl17 | feat(structure): sheet list prototype ([#​6741](https://togithub.com/sanity-io/sanity/issues/6741)) | [`f0670bf`](https://togithub.com/sanity-io/sanity/commit/f0670bf20d) Espen Hovlandsdal | chore(deps): update dependency [@​sanity/bifur-client](https://togithub.com/sanity/bifur-client) to ^0.4.0 ([#​6645](https://togithub.com/sanity-io/sanity/issues/6645)) | [`a79ea02`](https://togithub.com/sanity-io/sanity/commit/a79ea02245) Simeon Griggs | chore: correct grammar for open-source ([#​6766](https://togithub.com/sanity-io/sanity/issues/6766)) | [`f8ee0f2`](https://togithub.com/sanity-io/sanity/commit/f8ee0f2135) Rico Kahler | fix: resolve type error by inlining DocumentComponents definition ([#​6703](https://togithub.com/sanity-io/sanity/issues/6703)) | [`10e1bc3`](https://togithub.com/sanity-io/sanity/commit/10e1bc3703) Herman Wikner | fix(core): reactions menu open issue ([#​6765](https://togithub.com/sanity-io/sanity/issues/6765)) | [`3f52b83`](https://togithub.com/sanity-io/sanity/commit/3f52b83caa) Bjørge Næss | fix(form): fix issue making circular structures sometimes causing infinite loop ([#​6699](https://togithub.com/sanity-io/sanity/issues/6699)) | [`7efdeeb`](https://togithub.com/sanity-io/sanity/commit/7efdeebdba) Per-Kristian Nordnes | fix(portable-text-editor): add autoresolving validations and fix normalization issues ([#​6770](https://togithub.com/sanity-io/sanity/issues/6770)) | [`c458289`](https://togithub.com/sanity-io/sanity/commit/c45828947b) renovate\[bot] | fix(deps): update dependency [@​sanity/client](https://togithub.com/sanity/client) to ^6.19.0 ([#​6781](https://togithub.com/sanity-io/sanity/issues/6781)) | [`1961904`](https://togithub.com/sanity-io/sanity/commit/19619042e4) Bjørge Næss | fix(form): properly support passing `undefined` as title to `renderDefault()` for array and object fields ([#​6774](https://togithub.com/sanity-io/sanity/issues/6774)) | [`f341c2d`](https://togithub.com/sanity-io/sanity/commit/f341c2d7ea) Binoy Patel | feat: store all versions in the manifest ([#​6769](https://togithub.com/sanity-io/sanity/issues/6769)) | [`1fcc0f2`](https://togithub.com/sanity-io/sanity/commit/1fcc0f2e84) renovate\[bot] | chore(lockfile): update dependency [@​portabletext/react](https://togithub.com/portabletext/react) to v3.1.0 ([#​6788](https://togithub.com/sanity-io/sanity/issues/6788)) | [`02fa562`](https://togithub.com/sanity-io/sanity/commit/02fa56202c) renovate\[bot] | fix(deps): update dependency [@​sanity/presentation](https://togithub.com/sanity/presentation) to v1.15.10 ([#​6786](https://togithub.com/sanity-io/sanity/issues/6786)) | [`517a1a9`](https://togithub.com/sanity-io/sanity/commit/517a1a977e) renovate\[bot] | fix(deps): update dependency [@​sanity/ui](https://togithub.com/sanity/ui) to ^2.1.13 ([#​6787](https://togithub.com/sanity-io/sanity/issues/6787)) | [`43f1766`](https://togithub.com/sanity-io/sanity/commit/43f17664c1) renovate\[bot] | fix(deps): Update dev-non-major ([#​6789](https://togithub.com/sanity-io/sanity/issues/6789)) | [`772d464`](https://togithub.com/sanity-io/sanity/commit/772d464d3a) renovate\[bot] | chore(deps): update linters ([#​6790](https://togithub.com/sanity-io/sanity/issues/6790)) | [`674a6cb`](https://togithub.com/sanity-io/sanity/commit/674a6cbe34) renovate\[bot] | chore(deps): update dependency [@​sanity/visual-editing](https://togithub.com/sanity/visual-editing) to v2 ([#​6792](https://togithub.com/sanity-io/sanity/issues/6792)) | [`8665a16`](https://togithub.com/sanity-io/sanity/commit/8665a16239) renovate\[bot] | chore(lockfile): update dependency [@​sanity/logos](https://togithub.com/sanity/logos) to v2.1.12 ([#​6793](https://togithub.com/sanity-io/sanity/issues/6793)) | [`9d7c67d`](https://togithub.com/sanity-io/sanity/commit/9d7c67d24d) Christian Grøngaard | fix(form): avoid spreading key prop ([#​6776](https://togithub.com/sanity-io/sanity/issues/6776)) | [`eeba7f2`](https://togithub.com/sanity-io/sanity/commit/eeba7f272e) renovate\[bot] | chore(lockfile): update dependency [@​sanity/logos](https://togithub.com/sanity/logos) to v2.1.12 ([#​6794](https://togithub.com/sanity-io/sanity/issues/6794)) | [`7d0d86a`](https://togithub.com/sanity-io/sanity/commit/7d0d86ab52) renovate\[bot] | chore(lockfile): update dependency [@​sanity/telemetry](https://togithub.com/sanity/telemetry) to v0.7.9 ([#​6795](https://togithub.com/sanity-io/sanity/issues/6795)) | [`be1065f`](https://togithub.com/sanity-io/sanity/commit/be1065fb88) Cody Olsen | chore(deps): bump eslint-plugin-react-compiler ([#​6791](https://togithub.com/sanity-io/sanity/issues/6791)) | [`ea7db00`](https://togithub.com/sanity-io/sanity/commit/ea7db007b8) renovate\[bot] | chore(deps): update dependency [@​sanity/icons](https://togithub.com/sanity/icons) to v3 ([#​6797](https://togithub.com/sanity-io/sanity/issues/6797)) | [`63e3c32`](https://togithub.com/sanity-io/sanity/commit/63e3c32f18) Cody Olsen | chore(react-compiler): up the max warnings limit ([#​6801](https://togithub.com/sanity-io/sanity/issues/6801)) | [`aa95805`](https://togithub.com/sanity-io/sanity/commit/aa958054b0) renovate\[bot] | fix(deps): update dependency [@​sanity/presentation](https://togithub.com/sanity/presentation) to v1.15.11 ([#​6799](https://togithub.com/sanity-io/sanity/issues/6799)) | [`42fd4bf`](https://togithub.com/sanity-io/sanity/commit/42fd4bff54) renovate\[bot] | fix(deps): update dependency [@​sanity/ui](https://togithub.com/sanity/ui) to ^2.1.14 ([#​6800](https://togithub.com/sanity-io/sanity/issues/6800)) | [`faa5bcf`](https://togithub.com/sanity-io/sanity/commit/faa5bcfc8d) renovate\[bot] | fix(deps): Update dev-non-major ([#​6798](https://togithub.com/sanity-io/sanity/issues/6798)) | [`6640ad4`](https://togithub.com/sanity-io/sanity/commit/6640ad41d9) Bjørge Næss | refactor(core): stabilize studio usage of actions API ([#​6783](https://togithub.com/sanity-io/sanity/issues/6783)) | [`112b66c`](https://togithub.com/sanity-io/sanity/commit/112b66c4d5) ### [`v3.43.0`](https://togithub.com/sanity-io/sanity/releases/tag/v3.43.0) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v3.42.1...v3.43.0) ##### 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](https://www.sanity.io/docs/upgrade). If you are updating from a version earlier than [3.37.0](https://www.sanity.io/changelog/93306939-973b-4e48-bb63-89a6b91d70b3), you should also check out [this article](https://www.sanity.io/help/upgrade-packages) to ensure your dependencies are up to date. ##### ✨ Highlights - The `sanity init` command for Next.js-embedded Studios is updated to install `next-sanity v9` and `next v14` as per best practices. - Adds support for `// @​sanity-typegen-ignore` comments that will ignore certain queries from type generation (thanks [@​largis21](https://togithub.com/largis21)!). ##### 🐛 Notable Bugfixes - Fixes an issue where the scheduled publishing tool is displayed as the only available plugin when no other plugins are added. - Adds memoization to minimize unnecessary calls to initial value functions, improving performance. - Removes a circular reference to `usePaneRouter` that caused build warnings and potential execution order issues. - Fixes bugs related to the Portable Text Input when using a Reference input directly as the annotation type. This change prohibits focus and unset on the root input, preventing abrupt modal closures and ensuring proper cleanup and function execution. ##### 📓 Full changelog Author | Message | Commit \------------ | ------------- | ------------- renovate\[bot] | fix(deps): Update dev-non-major ([#​6659](https://togithub.com/sanity-io/sanity/issues/6659)) | [`ab0f97d`](https://togithub.com/sanity-io/sanity/commit/ab0f97d227) Pedro Bonamin | fix(scheduled-publishing): don't include it if it's the only plugin available ([#​6530](https://togithub.com/sanity-io/sanity/issues/6530)) | [`b2fa80b`](https://togithub.com/sanity-io/sanity/commit/b2fa80b5b4) renovate\[bot] | chore(deps): update dependency [@​sanity/pkg-utils](https://togithub.com/sanity/pkg-utils) to v6.8.15 ([#​6666](https://togithub.com/sanity-io/sanity/issues/6666)) | [`30c1f4c`](https://togithub.com/sanity-io/sanity/commit/30c1f4cf4a) renovate\[bot] | fix(deps): update dependency groq-js to ^1.9.0 ([#​6655](https://togithub.com/sanity-io/sanity/issues/6655)) | [`71a0758`](https://togithub.com/sanity-io/sanity/commit/71a07586be) renovate\[bot] | chore(lockfile): update dependency [@​sanity/export](https://togithub.com/sanity/export) to v3.38.0 ([#​6654](https://togithub.com/sanity-io/sanity/issues/6654)) | [`1f6b8a8`](https://togithub.com/sanity-io/sanity/commit/1f6b8a84f4) Ash | feat(sanity): use actions API when discarding drafts | [`c1755d1`](https://togithub.com/sanity-io/sanity/commit/c1755d1f24) Ash | feat(sanity): add test ids to confirm dialog buttons | [`73d51cb`](https://togithub.com/sanity-io/sanity/commit/73d51cb72f) Ash | test(e2e): add tests for `discardChanges` document action | [`33564a2`](https://togithub.com/sanity-io/sanity/commit/33564a27a1) renovate\[bot] | chore(deps): update dependency framer-motion to v11.2.0 ([#​6668](https://togithub.com/sanity-io/sanity/issues/6668)) | [`673ba0c`](https://togithub.com/sanity-io/sanity/commit/673ba0c0cd) renovate\[bot] | fix(deps): update dependency [@​sanity/presentation](https://togithub.com/sanity/presentation) to v1.15.3 ([#​6667](https://togithub.com/sanity-io/sanity/issues/6667)) | [`71e6319`](https://togithub.com/sanity-io/sanity/commit/71e6319643) renovate\[bot] | chore(deps): update dependency esbuild to ^0.21.2 ([#​6656](https://togithub.com/sanity-io/sanity/issues/6656)) | [`fc79956`](https://togithub.com/sanity-io/sanity/commit/fc799564bc) renovate\[bot] | chore(deps): update dependency lerna to ^8.1.3 ([#​6657](https://togithub.com/sanity-io/sanity/issues/6657)) | [`7960627`](https://togithub.com/sanity-io/sanity/commit/7960627d45) renovate\[bot] | fix(deps): Update dev-non-major ([#​6673](https://togithub.com/sanity-io/sanity/issues/6673)) | [`409d7df`](https://togithub.com/sanity-io/sanity/commit/409d7dfec0) Carolina Gonzalez | feat: fetch feature toggle to enable serverside document actions ([#​6418](https://togithub.com/sanity-io/sanity/issues/6418)) | [`8610fc6`](https://togithub.com/sanity-io/sanity/commit/8610fc6a3a) renovate\[bot] | fix(deps): update dependency [@​sanity/client](https://togithub.com/sanity/client) to ^6.18.2 ([#​6674](https://togithub.com/sanity-io/sanity/issues/6674)) | [`4da4ae5`](https://togithub.com/sanity-io/sanity/commit/4da4ae5807) renovate\[bot] | fix(deps): update dependency [@​sanity/ui](https://togithub.com/sanity/ui) to ^2.1.8 ([#​6675](https://togithub.com/sanity-io/sanity/issues/6675)) | [`e8a40e2`](https://togithub.com/sanity-io/sanity/commit/e8a40e2fc7) renovate\[bot] | chore(deps): update dependency [@​sanity/tsdoc](https://togithub.com/sanity/tsdoc) to v1.0.55 ([#​6672](https://togithub.com/sanity-io/sanity/issues/6672)) | [`7b5bbe7`](https://togithub.com/sanity-io/sanity/commit/7b5bbe7f69) renovate\[bot] | fix(deps): update dependency get-it to ^8.4.30 ([#​6676](https://togithub.com/sanity-io/sanity/issues/6676)) | [`0715793`](https://togithub.com/sanity-io/sanity/commit/0715793f3e) renovate\[bot] | fix(deps): update dependency [@​sanity/presentation](https://togithub.com/sanity/presentation) to v1.15.4 ([#​6681](https://togithub.com/sanity-io/sanity/issues/6681)) | [`f97c348`](https://togithub.com/sanity-io/sanity/commit/f97c3484ef) renovate\[bot] | fix(deps): Update dev-non-major ([#​6680](https://togithub.com/sanity-io/sanity/issues/6680)) | [`ab4a9e8`](https://togithub.com/sanity-io/sanity/commit/ab4a9e8006) renovate\[bot] | fix(deps): update dependency [@​sanity/presentation](https://togithub.com/sanity/presentation) to v1.15.5 ([#​6687](https://togithub.com/sanity-io/sanity/issues/6687)) | [`a61a679`](https://togithub.com/sanity-io/sanity/commit/a61a6799d6) renovate\[bot] | chore(deps): update dependency framer-motion to v11.2.2 ([#​6689](https://togithub.com/sanity-io/sanity/issues/6689)) | [`e27e063`](https://togithub.com/sanity-io/sanity/commit/e27e063f7f) renovate\[bot] | fix(deps): update dependency [@​sanity/ui](https://togithub.com/sanity/ui) to ^2.1.9 ([#​6691](https://togithub.com/sanity-io/sanity/issues/6691)) | [`3aa444f`](https://togithub.com/sanity-io/sanity/commit/3aa444f0c9) renovate\[bot] | chore(deps): update dependency recast to ^0.23.7 ([#​6658](https://togithub.com/sanity-io/sanity/issues/6658)) | [`3912e82`](https://togithub.com/sanity-io/sanity/commit/3912e82f03) renovate\[bot] | fix(deps): Update dev-non-major ([#​6690](https://togithub.com/sanity-io/sanity/issues/6690)) | [`ec179d0`](https://togithub.com/sanity-io/sanity/commit/ec179d0a9a) renovate\[bot] | chore(deps): update dependency [@​sanity/pkg-utils](https://togithub.com/sanity/pkg-utils) to v6.8.16 ([#​6692](https://togithub.com/sanity-io/sanity/issues/6692)) | [`80d4620`](https://togithub.com/sanity-io/sanity/commit/80d462016a) renovate\[bot] | chore(deps): update dependency [@​sanity/tsdoc](https://togithub.com/sanity/tsdoc) to v1.0.59 ([#​6693](https://togithub.com/sanity-io/sanity/issues/6693)) | [`1164a6b`](https://togithub.com/sanity-io/sanity/commit/1164a6b0bf) Robin Pyon | feat(pte): add `initialActive` prop to `PortableTextInput` ([#​6638](https://togithub.com/sanity-io/sanity/issues/6638)) | [`5add977`](https://togithub.com/sanity-io/sanity/commit/5add977533) Pedro Bonamin | fix(schedule-publishing): avoid polling in upsell mode ([#​6670](https://togithub.com/sanity-io/sanity/issues/6670)) | [`87889d1`](https://togithub.com/sanity-io/sanity/commit/87889d19ff) Cody Olsen | chore: setup `dev:next-studio` to use react v19 ([#​6685](https://togithub.com/sanity-io/sanity/issues/6685)) | [`61d1bc3`](https://togithub.com/sanity-io/sanity/commit/61d1bc3a44) renovate\[bot] | chore(deps): update dependency framer-motion to v11.2.3 ([#​6696](https://togithub.com/sanity-io/sanity/issues/6696)) | [`e6b4fdc`](https://togithub.com/sanity-io/sanity/commit/e6b4fdc71a) renovate\[bot] | fix(deps): update dependency [@​sanity/ui](https://togithub.com/sanity/ui) to ^2.1.10 ([#​6701](https://togithub.com/sanity-io/sanity/issues/6701)) | [`af0eee4`](https://togithub.com/sanity-io/sanity/commit/af0eee486e) renovate\[bot] | fix(deps): Update dev-non-major ([#​6700](https://togithub.com/sanity-io/sanity/issues/6700)) | [`77785ff`](https://togithub.com/sanity-io/sanity/commit/77785ffba4) Pedro Bonamin | feat(structure): add sheet list table view. ([#​6647](https://togithub.com/sanity-io/sanity/issues/6647)) | [`c5916d4`](https://togithub.com/sanity-io/sanity/commit/c5916d4b5b) Ash | feat(sanity): memoize initial value resolver ([#​6614](https://togithub.com/sanity-io/sanity/issues/6614)) | [`39bab8a`](https://togithub.com/sanity-io/sanity/commit/39bab8abf7) Cody Olsen | fix: update `@sanity/presentation` and remove deprecated internal exports no longer in use ([#​6694](https://togithub.com/sanity-io/sanity/issues/6694)) | [`69246c1`](https://togithub.com/sanity-io/sanity/commit/69246c1d52) Cody Olsen | fix: remove circular reference to `usePaneRouter` ([#​6664](https://togithub.com/sanity-io/sanity/issues/6664)) | [`d66def2`](https://togithub.com/sanity-io/sanity/commit/d66def2a58) jordanl17 | feat(structure): Sheet View columns ([#​6661](https://togithub.com/sanity-io/sanity/issues/6661)) | [`d8a37a8`](https://togithub.com/sanity-io/sanity/commit/d8a37a862b) Christian Grøngaard | fix: pin framer-motion to an earlier version ([#​6717](https://togithub.com/sanity-io/sanity/issues/6717)) | [`6c2aea2`](https://togithub.com/sanity-io/sanity/commit/6c2aea29f3) renovate\[bot] | fix(deps): update dependency [@​sanity/ui](https://togithub.com/sanity/ui) to ^2.1.11 ([#​6720](https://togithub.com/sanity-io/sanity/issues/6720)) | [`61cc315`](https://togithub.com/sanity-io/sanity/commit/61cc315859) Pedro Bonamin | fix(tasks): reduce tasks sidebar zoffset ([#​6718](https://togithub.com/sanity-io/sanity/issues/6718)) | [`5ab0819`](https://togithub.com/sanity-io/sanity/commit/5ab0819456) renovate\[bot] | chore(deps): update dependency [@​sanity/pkg-utils](https://togithub.com/sanity/pkg-utils) to v6.8.17 ([#​6722](https://togithub.com/sanity-io/sanity/issues/6722)) | [`babfd2d`](https://togithub.com/sanity-io/sanity/commit/babfd2dd7e) Pedro Bonamin | fix(tasks): hide footer button until the active document is set ([#​6695](https://togithub.com/sanity-io/sanity/issues/6695)) | [`93c7d66`](https://togithub.com/sanity-io/sanity/commit/93c7d663d2) jordanl17 | fix(structure): fixing incorrect way of setting col visibility ([#​6716](https://togithub.com/sanity-io/sanity/issues/6716)) | [`06f7902`](https://togithub.com/sanity-io/sanity/commit/06f79025c6) renovate\[bot] | fix(deps): update dependency [@​sanity/presentation](https://togithub.com/sanity/presentation) to v1.15.8 ([#​6724](https://togithub.com/sanity-io/sanity/issues/6724)) | [`17ca815`](https://togithub.com/sanity-io/sanity/commit/17ca815271) renovate\[bot] | chore(deps): update dependency [@​sanity/tsdoc](https://togithub.com/sanity/tsdoc) to v1.0.62 ([#​6723](https://togithub.com/sanity-io/sanity/issues/6723)) | [`c6c1724`](https://togithub.com/sanity-io/sanity/commit/c6c1724f24) Cody Olsen | feat: upgrade `sanity init` for Next.js to next-sanity v9 ([#​6644](https://togithub.com/sanity-io/sanity/issues/6644)) | [`f48e38b`](https://togithub.com/sanity-io/sanity/commit/f48e38b5f6) largis21 | Add support for [@​sanity-typegen-ignore](https://togithub.com/sanity-typegen-ignore) to ignore queries ([#​6578](https://togithub.com/sanity-io/sanity/issues/6578)) | [`efe8bca`](https://togithub.com/sanity-io/sanity/commit/efe8bcae60) Sindre Gulseth | chore(cli): symlink in local packages for the installed sanity cli ([#​6728](https://togithub.com/sanity-io/sanity/issues/6728)) | [`c4b8558`](https://togithub.com/sanity-io/sanity/commit/c4b8558494) Bjørge Næss | fix(i18n): remove extraneous curly brace ([#​6726](https://togithub.com/sanity-io/sanity/issues/6726)) | [`74f2fd5`](https://togithub.com/sanity-io/sanity/commit/74f2fd5b81) Sindre Gulseth | feat(typegen): add optout for prettier formatting ([#​6702](https://togithub.com/sanity-io/sanity/issues/6702)) | [`ac5103a`](https://togithub.com/sanity-io/sanity/commit/ac5103a5de) ### [`v3.42.1`](https://togithub.com/sanity-io/sanity/releases/tag/v3.42.1) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v3.42.0...v3.42.1) ##### 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](https://www.sanity.io/docs/upgrade). If you are updating from a version earlier than [3.37.0](https://www.sanity.io/changelog/93306939-973b-4e48-bb63-89a6b91d70b3), you should also check out [this article](https://www.sanity.io/help/upgrade-packages) to ensure your dependencies are up to date. ##### 🐛 Notable bugfixes - Fixes regression introduced in v3.42.0 that crashes the document list pane in Presentation Tool ##### 📓 Full changelog Author | Message | Commit \------------ | ------------- | ------------- Cody Olsen | fix: regression crashing the document list pane in presentation ([#​6684](https://togithub.com/sanity-io/sanity/issues/6684)) | [`7ae3afd`](https://togithub.com/sanity-io/sanity/commit/7ae3afd32d) ### [`v3.42.0`](https://togithub.com/sanity-io/sanity/releases/tag/v3.42.0) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v3.41.2...v3.42.0) ### 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](https://www.sanity.io/docs/upgrade). If you are updating from a version earlier than [3.37.0](https://www.sanity.io/changelog/93306939-973b-4e48-bb63-89a6b91d70b3), you should also check out [this article](https://www.sanity.io/help/upgrade-packages) to ensure your dependencies are up to date. ### ✨ Highlights #### Save Vision Query Results You can now conveniently save the results of your Sanity Vision queries as JSON or CSV files. Simply run your query and click on the new "save result as" buttons in the bottom right corner. Save Vision Query Results #### Custom Components with Intent Handling in Structure Builder Custom components included in the Structure Builder (like `S.component(MyCustomComponent)`) can now handle intents. This is especially useful for routing to custom components from global search results or other links. You can achieve this by using the `canHandleIntent` parameter. ```javascript S.listItem() .id('translate') .title('Translate Test') .child(S.component(TranslateExample).id('example') .canHandleIntent((intent, params, context) => { console.log(intent, params, context) return true } )) ``` ### 🐛 Notable Bugfixes - Fixes an issue where Boolean inputs were not always clearly indicated as read-only and disabled. - Makes the search/filter in the document "Inspect" dialog case-insensitive. - Prevents inputs within the Portable Text Editor from calling `element.onFocus()` on any opened block or inline-object, thus avoiding unintended modal closures. - Prevents extra work on preview prepare functions, ensuring better performance. - Fixes miscellaneous bugs and performance issues with Portable Text Editor's block extras and highlight rendering. For example, pointer events are now correctly disabled to avoid unnecessary cursor changes or rendering thrashes. - Fixes an issue where the document history panel would appear to load indefinitely ### 📓 Full changelog | Author | Message | Commit | | -------------------- | ------------------------------------------------------------------------------------------------------------------- | ---------- | | jordanl17 | fix(studio): adding tooltip to read-only bool inputs ([#​6580](https://togithub.com/sanity-io/sanity/issues/6580)) | [`55153ac`](https://togithub.com/sanity-io/sanity/commit/55153acc39) | | ecospark\[bot] | chore(deps): dedupe pnpm-lock.yaml ([#​6607](https://togithub.com/sanity-io/sanity/issues/6607)) | [`48674b7`](https://togithub.com/sanity-io/sanity/commit/48674b7a04) | | Carolina Gonzalez | feat: add canHandleIntent to Structure Builder component ([#​6516](https://togithub.com/sanity-io/sanity/issues/6516)) | [`d3d0c04`](https://togithub.com/sanity-io/sanity/commit/d3d0c0460b) | | Espen Hovlandsdal | fix(structure): use case insensitive search for inspect dialog ([#​6588](https://togithub.com/sanity-io/sanity/issues/6588)) | [`1dca6db`](https://togithub.com/sanity-io/sanity/commit/1dca6db3fe) | | Carolina Gonzalez | test(core): await publish action to prevent test flakiness ([#​6609](https://togithub.com/sanity-io/sanity/issues/6609)) | [`fad1628`](https://togithub.com/sanity-io/sanity/commit/fad16289ac) | | renovate\[bot] | fix(deps): update dependency get-it to ^8.4.29 ([#​6603](https://togithub.com/sanity-io/sanity/issues/6603)) | [`cc08614`](https://togithub.com/sanity-io/sanity/commit/cc08614d4e) | | renovate\[bot] | fix(deps): update dependency [@​sanity/client](https://togithub.com/sanity/client) to ^6.18.0 ([#​6604](https://togithub.com/sanity-io/sanity/issues/6604)) | [`c2b143e`](https://togithub.com/sanity-io/sanity/commit/c2b143eb5f) | | Rostislav Melkumyan | feat(vision): add "save result as json/csv" buttons ([#​6158](https://togithub.com/sanity-io/sanity/issues/6158)) | [`14be9b6`](https://togithub.com/sanity-io/sanity/commit/14be9b6e79) | | Per-Kristian Nordnes | fix(core/form): prevent onFocus for root object paths being called by editing form ([#​6610](https://togithub.com/sanity-io/sanity/issues/6610)) | [`516ada5`](https://togithub.com/sanity-io/sanity/commit/516ada5d23) | | jordanl17 | feat(core, structure) sheet list menu option ([#​6593](https://togithub.com/sanity-io/sanity/issues/6593)) | [`724da99`](https://togithub.com/sanity-io/sanity/commit/724da99b20) | | Binoy Patel | chore(bundle): remove unnecessary bundles and make root imports index ([#​6616](https://togithub.com/sanity-io/sanity/issues/6616)) | [`5f0227c`](https://togithub.com/sanity-io/sanity/commit/5f0227cc6d) | | Robin Pyon | feat(pte): add `hideToolbar` and `fullscreen` props to `PortableTextInput` ([#​6621](https://togithub.com/sanity-io/sanity/issues/6621)) | [`800149f`](https://togithub.com/sanity-io/sanity/commit/800149f60a) | | Robin Pyon | fix(pte): don't render the PTE block extras container when not in use, disable pointer events on highlights ([#​6620](https://togithub.com/sanity-io/sanity/issues/6620)) | [`4c73ded`](https://togithub.com/sanity-io/sanity/commit/4c73ded0a5) | | Evensix | skip recalling invokePrepare ([#​6608](https://togithub.com/sanity-io/sanity/issues/6608)) | [`2729437`](https://togithub.com/sanity-io/sanity/commit/2729437450) | | Bjørge Næss | fix(core): update test snapshots ([#​6629](https://togithub.com/sanity-io/sanity/issues/6629)) | [`20b66b1`](https://togithub.com/sanity-io/sanity/commit/20b66b1292) | | Bjørge Næss | fix(e2e): support headless/headful env var toggle ([#​6558](https://togithub.com/sanity-io/sanity/issues/6558)) | [`92260a4`](https://togithub.com/sanity-io/sanity/commit/92260a423d) | | Robin Pyon | feat: add icon to BlockStyleDefinition ([#​6613](https://togithub.com/sanity-io/sanity/issues/6613)) | [`2e69eee`](https://togithub.com/sanity-io/sanity/commit/2e69eeed1c) | | Robin Pyon | feat(pte): initial support for `renderEditable` in portable text inputs ([#​6627](https://togithub.com/sanity-io/sanity/issues/6627)) | [`1d0fd3e`](https://togithub.com/sanity-io/sanity/commit/1d0fd3e929) | | Binoy Patel | chore(ci): add a circleci config to bundle packages ([#​6446](https://togithub.com/sanity-io/sanity/issues/6446)) | [`f4c7cfe`](https://togithub.com/sanity-io/sanity/commit/f4c7cfe24a) | | renovate\[bot] | chore(lockfile): update dependency esbuild to v0.21.2 ([#​6602](https://togithub.com/sanity-io/sanity/issues/6602)) | [`b63af70`](https://togithub.com/sanity-io/sanity/commit/b63af702c3) | | Pedro Bonamin | fix(pte): cursor presence causes pte error ([#​6622](https://togithub.com/sanity-io/sanity/issues/6622)) | [`b13fff4`](https://togithub.com/sanity-io/sanity/commit/b13fff4969) | | Robin Pyon | feat(pte): expose data-attributes on PTE Text + Object blocks ([#​6641](https://togithub.com/sanity-io/sanity/issues/6641)) | [`fceff23`](https://togithub.com/sanity-io/sanity/commit/fceff236c6) | | renovate\[bot] | chore(deps): update dependency [@​sanity/pkg-utils](https://togithub.com/sanity/pkg-utils) to v6.8.14 ([#​6630](https://togithub.com/sanity-io/sanity/issues/6630)) | [`dd5cc7d`](https://togithub.com/sanity-io/sanity/commit/dd5cc7d8ce) | | renovate\[bot] | fix(deps): update dependency [@​sanity/ui](https://togithub.com/sanity/ui) to ^2.1.7 ([#​6633](https://togithub.com/sanity-io/sanity/issues/6633)) | [`34b4754`](https://togithub.com/sanity-io/sanity/commit/34b4754a53) | | renovate\[bot] | chore(deps): update dependency [@​sanity/tsdoc](https://togithub.com/sanity/tsdoc) to v1.0.53 ([#​6631](https://togithub.com/sanity-io/sanity/issues/6631)) | [`f58a005`](https://togithub.com/sanity-io/sanity/commit/f58a005c8b) | | Cody Olsen | chore(ci): tweak renovate preset to better align with branch rulesets ([#​6648](https://togithub.com/sanity-io/sanity/issues/6648)) | [`ef39982`](https://togithub.com/sanity-io/sanity/commit/ef39982b52) | | renovate\[bot] | chore(deps): update dependency styled-components to ^6.1.11 ([#​6636](https://togithub.com/sanity-io/sanity/issues/6636)) | [`55ab489`](https://togithub.com/sanity-io/sanity/commit/55ab489b94) | | Cody Olsen | refactor(renovate): group non major dev deps ([#​6652](https://togithub.com/sanity-io/sanity/issues/6652)) | [`1812de6`](https://togithub.com/sanity-io/sanity/commit/1812de60d1) | | renovate\[bot] | fix(deps): update dependency [@​sanity/client](https://togithub.com/sanity/client) to ^6.18.1 ([#​6653](https://togithub.com/sanity-io/sanity/issues/6653)) | [`083960f`](https://togithub.com/sanity-io/sanity/commit/083960f5e3) | | Binoy Patel | fix(core): fixes issue with history loading indefinitely ([#​6539](https://togithub.com/sanity-io/sanity/issues/6539)) | [`52a5308`](https://togithub.com/sanity-io/sanity/commit/52a5308211) | | Sindre Gulseth | fix(typegen): move type new line separator into formatter ([#​6649](https://togithub.com/sanity-io/sanity/issues/6649)) | [`109a180`](https://togithub.com/sanity-io/sanity/commit/109a1805d1) | | Sindre Gulseth | chore(schemaExtraction): add a newline to the extracted schema.json ([#​6650](https://togithub.com/sanity-io/sanity/issues/6650)) | [`4beb29e`](https://togithub.com/sanity-io/sanity/commit/4beb29e14c) | | ecospark\[bot] | chore(deps): dedupe pnpm-lock.yaml ([#​6662](https://togithub.com/sanity-io/sanity/issues/6662)) | [`c7ad47b`](https://togithub.com/sanity-io/sanity/commit/c7ad47b689) | ### [`v3.41.2`](https://togithub.com/sanity-io/sanity/releases/tag/v3.41.2) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v3.41.1...v3.41.2) ##### 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](https://www.sanity.io/docs/upgrade). If you are updating from a version earlier than [3.37.0](https://www.sanity.io/changelog/93306939-973b-4e48-bb63-89a6b91d70b3), you should also check out [this article](https://www.sanity.io/help/upgrade-packages) to ensure your dependencies are up to date. ##### 🐛 Notable bugfixes - Resolves a `Maximum update depth exceeded` crash in Presentation Tool. ##### 📓 Full changelog Author | Message | Commit \------------ | ------------- | ------------- renovate\[bot] | fix(deps): update dependency [@​sanity/presentation](https://togithub.com/sanity/presentation) to v1.15.2 ([#​6632](https://togithub.com/sanity-io/sanity/issues/6632)) | [`43823f6`](https://togithub.com/sanity-io/sanity/commit/43823f6a5e) ### [`v3.41.1`](https://togithub.com/sanity-io/sanity/releases/tag/v3.41.1) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v3.41.0...v3.41.1) ##### Installation and upgrading **To initiate a new Studio without installing the CLI globally:** npm create sanity@latest **To upgrade a v3 Studio, run this command in its folder:** npm install sanity@latest ##### 🐛 Notable bugfixes - Fixes a regression in Presentation Tool introduced in v3.41.0 that causes it to crash in embedded studios. ##### 📓 Full changelog Author | Message | Commit \------------ | ------------- | ------------- Binoy Patel | test(core): fixes flaky test with document publish ([#​6595](https://togithub.com/sanity-io/sanity/issues/6595)) | [`2a8375a`](https://togithub.com/sanity-io/sanity/commit/2a8375adcc) renovate\[bot] | chore(deps): update linters ([#​6590](https://togithub.com/sanity-io/sanity/issues/6590)) | [`59b8ce8`](https://togithub.com/sanity-io/sanity/commit/59b8ce8084) renovate\[bot] | chore(deps): update dependency styled-components to ^6.1.10 ([#​6585](https://togithub.com/sanity-io/sanity/issues/6585)) | [`5e727e0`](https://togithub.com/sanity-io/sanity/commit/5e727e0425) renovate\[bot] | chore(lockfile): update dependency zod to v3.23.7 ([#​6527](https://togithub.com/sanity-io/sanity/issues/6527)) | [`571dd56`](https://togithub.com/sanity-io/sanity/commit/571dd5653d) renovate\[bot] | chore(deps): update dependency [@​sanity/pkg-utils](https://togithub.com/sanity/pkg-utils) to v6.8.13 ([#​6599](https://togithub.com/sanity-io/sanity/issues/6599)) | [`d9f9188`](https://togithub.com/sanity-io/sanity/commit/d9f91889b5) renovate\[bot] | chore(deps): update dependency [@​sanity/tsdoc](https://togithub.com/sanity/tsdoc) to v1.0.51 ([#​6600](https://togithub.com/sanity-io/sanity/issues/6600)) | [`56a8a79`](https://togithub.com/sanity-io/sanity/commit/56a8a79797) renovate\[bot] | chore(lockfile): update dependency [@​sanity/react-loader](https://togithub.com/sanity/react-loader) to v1.9.17 ([#​6584](https://togithub.com/sanity-io/sanity/issues/6584)) | [`0819c40`](https://togithub.com/sanity-io/sanity/commit/0819c40960) Cody Olsen | fix(presentation): regression causing a crash when in an embedded studio ([#​6606](https://togithub.com/sanity-io/sanity/issues/6606)) | [`99dfb60`](https://togithub.com/sanity-io/sanity/commit/99dfb60105) ### [`v3.41.0`](https://togithub.com/sanity-io/sanity/releases/tag/v3.41.0) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v3.40.0...v3.41.0) ##### 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](https://www.sanity.io/docs/upgrade). If you are updating from a version earlier than [3.37.0](https://www.sanity.io/changelog/93306939-973b-4e48-bb63-89a6b91d70b3), you should also check out [this article](https://www.sanity.io/help/upgrade-packages) to ensure your dependencies are up to date. ##### ✨ Highlights - The Portable Text Editor (PTE) now supports drag-n-dropping + pasting of images and files into `Image` and `File` blocks. ##### 🐛 Notable bugfixes - Fixes a bug where importing a variable inside an imported file would fail in Typegen. - Fixes issues in the PTE where tools would show as being active for a selection when only part of the selection used the tool. Now tools will show as active only when all highlighted selections use the tool. - Fixes an `Attempted import error` related to using `swr` in embedded studios. - Fixes an issue in which listeners would sometimes not close if they were unsubscribed from shortly after opening. - Fixes an issue in which users were incorrectly seeing the scheduled publishing upsell UI. - When child within the PTE is created without a `_key`, we now automatically create one for it, avoiding unnecessary warning. - Fixes an issue in tasks in which the UI showed that they were created but the transaction didn't end. ##### 📓 Full changelog Author | Message | Commit \------------ | ------------- | ------------- Herman Wikner | feat(comments): add telemetry ([#​6541](https://togithub.com/sanity-io/sanity/issues/6541)) | [`2d35256`](https://togithub.com/sanity-io/sanity/commit/2d35256a22) Sindre Gulseth | fix(typegen): pass resolved path instead of the imported path ([#​6540](https://togithub.com/sanity-io/sanity/issues/6540)) | [`e7ffe93`](https://togithub.com/sanity-io/sanity/commit/e7ffe9332c) Cody Olsen | fix: use `vercelStegaClean` util from `@vercel/stega` ([#​6544](https://togithub.com/sanity-io/sanity/issues/6544)) | [`790bc8f`](https://togithub.com/sanity-io/sanity/commit/790bc8f07e) Pedro Bonamin | fix(pte): preserve block key when pressing enter at start of block ([#​6521](https://togithub.com/sanity-io/sanity/issues/6521)) | [`7df5396`](https://togithub.com/sanity-io/sanity/commit/7df53960d8) Ash | fix(sanity): do not order by `_updatedAt` when relevance ordering is used with Text Search API search strategy ([#​6537](https://togithub.com/sanity-io/sanity/issues/6537)) | [`0ede4cf`](https://togithub.com/sanity-io/sanity/commit/0ede4cf3f8) Pedro Bonamin | chore(test-studio): bump vercel stega version ([#​6545](https://togithub.com/sanity-io/sanity/issues/6545)) | [`96f3841`](https://togithub.com/sanity-io/sanity/commit/96f3841194) ecospark\[bot] | chore(deps): dedupe pnpm-lock.yaml ([#​6547](https://togithub.com/sanity-io/sanity/issues/6547)) | [`ad28225`](https://togithub.com/sanity-io/sanity/commit/ad28225e20) renovate\[bot] | fix(deps): update dependency [@​sanity/client](https://togithub.com/sanity/client) to ^6.16.0 ([#​6548](https://togithub.com/sanity-io/sanity/issues/6548)) | [`35b19c2`](https://togithub.com/sanity-io/sanity/commit/35b19c2117) Tommy Petty | chore(i18n): fix imports for `useTranslation` ([#​6517](https://togithub.com/sanity-io/sanity/issues/6517)) | [`869b698`](https://togithub.com/sanity-io/sanity/commit/869b69889b) jordanl17 | fix(pte): tools are active only when all blocks use the tool ([#​6524](https://togithub.com/sanity-io/sanity/issues/6524)) | [`169e5fd`](https://togithub.com/sanity-io/sanity/commit/169e5fd18f) renovate\[bot] | chore(deps): update dependency [@​sanity/visual-editing](https://togithub.com/sanity/visual-editing) to v1.8.17 ([#​6551](https://togithub.com/sanity-io/sanity/issues/6551)) | [`24f97ab`](https://togithub.com/sanity-io/sanity/commit/24f97ab4b4) Binoy Patel | chore: package build ([#​6394](https://togithub.com/sanity-io/sanity/issues/6394)) | [`5a889fc`](https://togithub.com/sanity-io/sanity/commit/5a889fc199) Rico Kahler | fix: remove unconditional external from vite build ([#​6554](https://togithub.com/sanity-io/sanity/issues/6554)) | [`f1e9546`](https://togithub.com/sanity-io/sanity/commit/f1e9546c63) Cody Olsen | fix: inline `swr`, `date-fns-tz` and `@vvo/tzdb` to restore embedded studios ([#​6553](https://togithub.com/sanity-io/sanity/issues/6553)) | [`9a50252`](https://togithub.com/sanity-io/sanity/commit/9a50252a97) renovate\[bot] | chore(deps): update dependency [@​sanity/pkg-utils](https://togithub.com/sanity/pkg-utils) to v6.8.10 ([#​6549](https://togithub.com/sanity-io/sanity/issues/6549)) | [`f8f1b47`](https://togithub.com/sanity-io/sanity/commit/f8f1b47f08) renovate\[bot] | chore(deps): update dependency [@​vercel/stega](https://togithub.com/vercel/stega) to v0.1.2 ([#​6546](https://togithub.com/sanity-io/sanity/issues/6546)) | [`6a2cdda`](https://togithub.com/sanity-io/sanity/commit/6a2cdda37c) Bjørge Næss | fix(deps): replace hashlru with quicklru ([#​6557](https://togithub.com/sanity-io/sanity/issues/6557)) | [`d634727`](https://togithub.com/sanity-io/sanity/commit/d634727876) Espen Hovlandsdal | chore(deps): update dependency [@​sanity/client](https://togithub.com/sanity/client) to v6.17.1 ([#​6561](https://togithub.com/sanity-io/sanity/issues/6561)) | [`7dd2d84`](https://togithub.com/sanity-io/sanity/commit/7dd2d849bc) Cody Olsen | fix: remove `cleanStegaUnicode` helper ([#​6564](https://togithub.com/sanity-io/sanity/issues/6564)) | [`2e224d4`](https://togithub.com/sanity-io/sanity/commit/2e224d4fc1) renovate\[bot] | fix(deps): update dependency [@​sanity/client](https://togithub.com/sanity/client) to ^6.17.2 ([#​6567](https://togithub.com/sanity-io/sanity/issues/6567)) | [`154d90b`](https://togithub.com/sanity-io/sanity/commit/154d90ba10) shur | feat: add cliInitializedAt field to project metadata ([#​6538](https://togithub.com/sanity-io/sanity/issues/6538)) | [`15486f7`](https://togithub.com/sanity-io/sanity/commit/15486f7f46) Pedro Bonamin | fix(schedule-publishing): update flag used to check scheduledPublishing ([#​6543](https://togithub.com/sanity-io/sanity/issues/6543)) | [`57fcbac`](https://togithub.com/sanity-io/sanity/commit/57fcbac404) renovate\[bot] | chore(deps): update dependency [@​sanity/tsdoc](https://togithub.com/sanity/tsdoc) to v1.0.47 ([#​6550](https://togithub.com/sanity-io/sanity/issues/6550)) | [`25cbd4e`](https://togithub.com/sanity-io/sanity/commit/25cbd4e9a5) renovate\[bot] | chore(deps): update dependency [@​sanity/pkg-utils](https://togithub.com/sanity/pkg-utils) to v6.8.11 ([#​6573](https://togithub.com/sanity-io/sanity/issues/6573)) | [`b31a151`](https://togithub.com/sanity-io/sanity/commit/b31a151453) renovate\[bot] | chore(deps): update dependency [@​sanity/visual-editing](https://togithub.com/sanity/visual-editing) to v1.8.18 ([#​6574](https://togithub.com/sanity-io/sanity/issues/6574)) | [`77654c1`](https://togithub.com/sanity-io/sanity/commit/77654c1420) Herman Wikner | fix(core): collapsed range decorations ([#​6568](https://togithub.com/sanity-io/sanity/issues/6568)) | [`70ab283`](https://togithub.com/sanity-io/sanity/commit/70ab283686) Pedro Bonamin | chore(scheduled-publishing): update schedule tool upsell layout ([#​6572](https://togithub.com/sanity-io/sanity/issues/6572)) | [`295ea72`](https://togithub.com/sanity-io/sanity/commit/295ea7219e) Pedro Bonamin | fix(tasks): update tasks panel z index ([#​6571](https://togithub.com/sanity-io/sanity/issues/6571)) | [`3b3125c`](https://togithub.com/sanity-io/sanity/commit/3b3125c456) Pedro Bonamin | feat(pte): create new text blocks if needed ([#​6560](https://togithub.com/sanity-io/sanity/issues/6560)) | [`cadd496`](https://togithub.com/sanity-io/sanity/commit/cadd496f2a) RitaDias | refactor([@​sanity](https://togithub.com/sanity)): remove warning for when child within PTE has no key ([#​6565](https://togithub.com/sanity-io/sanity/issues/6565)) | [`e1fc2a0`](https://togithub.com/sanity-io/sanity/commit/e1fc2a07b3) Binoy Patel | test(core): add test that only one listener is open when navigating list ([#​6569](https://togithub.com/sanity-io/sanity/issues/6569)) | [`161b926`](https://togithub.com/sanity-io/sanity/commit/161b9269b5) renovate\[bot] | fix(deps): update dependency get-it to ^8.4.28 ([#​6576](https://togithub.com/sanity-io/sanity/issues/6576)) | [`47ef785`](https://togithub.com/sanity-io/sanity/commit/47ef785957) Pedro Bonamin | fix(tasks): close the form only after the task is created ([#​6450](https://togithub.com/sanity-io/sanity/issues/6450)) | [`e089eb7`](https://togithub.com/sanity-io/sanity/commit/e089eb7c09) renovate\[bot] | fix(deps): update dependency [@​sanity/ui](https://togithub.com/sanity/ui) to ^2.1.6 ([#​6575](https://togithub.com/sanity-io/sanity/issues/6575)) | [`48321e6`](https://togithub.com/sanity-io/sanity/commit/48321e638d) Fred Carlsen | feat(form/inputs): add support for image drop+paste in PTE input ([#​6534](https://togithub.com/sanity-io/sanity/issues/6534)) | [`e964b1e`](https://togithub.com/sanity-io/sanity/commit/e964b1e9c2) renovate\[bot] | fix(deps): update dependency [@​sanity/presentation](https://togithub.com/sanity/presentation)

Configuration

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

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

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



This PR has been generated by Mend Renovate. View repository job log here.

renovate[bot] commented 4 months ago

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

The artifact failure details are included below:

File name: studio/package-lock.json
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: dfweb@1.0.6
npm error Found: styled-components@5.3.11
npm error node_modules/styled-components
npm error   styled-components@"^5.3.11" from the root project
npm error
npm error Could not resolve dependency:
npm error peer styled-components@"^6.1" from @sanity/vision@3.41.1
npm error node_modules/@sanity/vision
npm error   @sanity/vision@"^3.41.1" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /tmp/renovate/cache/others/npm/_logs/2024-05-08T21_52_24_491Z-eresolve-report.txt

npm error A complete log of this run can be found in: /tmp/renovate/cache/others/npm/_logs/2024-05-08T21_52_24_491Z-debug-0.log
vercel[bot] commented 4 months ago

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

Name Status Preview Updated (UTC)
dfweb-v3 ✅ Ready (Inspect) Visit Preview Jun 8, 2024 9:32pm
github-actions[bot] commented 4 months ago
⚡️ Lighthouse report: Category Score
🟠 Performance 79
🟢 Accessibility 100
🟢 Best practices 96
🟢 SEO 100
codecov[bot] commented 4 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 98.26%. Comparing base (d900d66) to head (8bebcfe).

:exclamation: Current head 8bebcfe differs from pull request most recent head 1a74413

Please upload reports for the commit 1a74413 to get more accurate results.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1741 +/- ## ======================================= Coverage 98.26% 98.26% ======================================= Files 23 23 Lines 173 173 Branches 31 30 -1 ======================================= Hits 170 170 Misses 3 3 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

vercel[bot] commented 4 months ago

Deployment failed with the following error:

Resource is limited - try again in 3 hours (more than 100, code: "api-deployments-free-per-day").
codecov-commenter commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 98.18%. Comparing base (5252d4a) to head (15add22).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1741 +/- ## ======================================= Coverage 98.18% 98.18% ======================================= Files 22 22 Lines 165 165 Branches 31 31 ======================================= Hits 162 162 Misses 3 3 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

sonarcloud[bot] commented 2 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud