🏡 DFWeb personal portfolio version 4 with Next.js (App router), Sanity.io, React Hook Form, Framer Motion, Storybook, Tailwind CSS, Cypress, Playwright and more. 99% test coverage.
sanity-io/sanity (sanity)
### [`v3.47.0`](https://togithub.com/sanity-io/sanity/releases/tag/v3.47.0)
[Compare Source](https://togithub.com/sanity-io/sanity/compare/v3.46.1...v3.47.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
### ✨ Highlights
#### Array insert menu
This release includes a much requested upgrade of the array insert menu with various new options available. Including a new and more informative grid view, the ability to organize available schema types in groups, and filter them with a search term, and more. Check out the [array article in the docs](https://www.sanity.io/docs/array-type#75a7de924c9e) for examples.
![array insert menu](https://togithub.com/sanity-io/sanity/assets/6476108/b83c992b-3703-42f8-b87b-c8937230abde)
#### Other features
Adds a type export of all the discovered Sanity schema variants resulting from running `sanity typegen` in the CLI. This can be useful in mocks/testing environments and used by third party tools to get a list of potential types. This union type is accessible as `AllSanitySchemaTypes` in the generated type definitions.
### 🐛 Notable bugfixes
- Fixes an issue where a text preview image would be included into the Portable Text Editor (PTE) when pasting text from Word.
- Fixes an issue where navigation options were not being passed as expected when calling a scoped router's navigate function.
- Fixes an issue where the PTE wouldn't activate when you start dragging files into it.
- Images in the `Hotspot & Crop` tool now render faster, and use far less memory.
- Reduces layout shift when uploading images that replace existing image assets.
- Fixes an issue that could cause a 409 error when restoring a document from history.
- Fixes an issue where image and file types might be listed in their lowercase variant in array insert menus
### 📓 Full changelog
Author | Message | Commit
\------------ | ------------- | -------------
ecospark\[bot] | chore(deps): dedupe pnpm-lock.yaml ([#6916](https://togithub.com/sanity-io/sanity/issues/6916)) | [`7f20f24`](https://togithub.com/sanity-io/sanity/commit/7f20f24a21)
renovate\[bot] | chore(deps): update dependency [@sanity/tsdoc](https://togithub.com/sanity/tsdoc) to v1.0.72 ([#6911](https://togithub.com/sanity-io/sanity/issues/6911)) | [`7d312e4`](https://togithub.com/sanity-io/sanity/commit/7d312e4e9e)
Cody Olsen | feat(deps): upgrade react-rx to v3 ([#6883](https://togithub.com/sanity-io/sanity/issues/6883)) | [`c0fe9f6`](https://togithub.com/sanity-io/sanity/commit/c0fe9f6dfd)
renovate\[bot] | fix(deps): Update dev-non-major ([#6915](https://togithub.com/sanity-io/sanity/issues/6915)) | [`f00ca7e`](https://togithub.com/sanity-io/sanity/commit/f00ca7ecbb)
Per-Kristian Nordnes | fix(core): fix issue with pasting mixed content (files and text) for pt-input ([#6924](https://togithub.com/sanity-io/sanity/issues/6924)) | [`fda9387`](https://togithub.com/sanity-io/sanity/commit/fda9387eef)
Rupert Dunk | fix(router): pass options on scoped router navigation ([#6923](https://togithub.com/sanity-io/sanity/issues/6923)) | [`2fabc2e`](https://togithub.com/sanity-io/sanity/commit/2fabc2eeb6)
Fred Carlsen | chore: clean playwright-ct cache on each run ([#6928](https://togithub.com/sanity-io/sanity/issues/6928)) | [`286aaed`](https://togithub.com/sanity-io/sanity/commit/286aaed5bd)
Fred Carlsen | fix(form): activate PTE input when dragging files ([#6929](https://togithub.com/sanity-io/sanity/issues/6929)) | [`a2be16c`](https://togithub.com/sanity-io/sanity/commit/a2be16c410)
Ash | chore: update lockfile ([#6932](https://togithub.com/sanity-io/sanity/issues/6932)) | [`d935a3a`](https://togithub.com/sanity-io/sanity/commit/d935a3a3e7)
Cody Olsen | fix: improve perf of by creating the canvas in a side effect ([#6874](https://togithub.com/sanity-io/sanity/issues/6874)) | [`5d8031b`](https://togithub.com/sanity-io/sanity/commit/5d8031b38f)
Cody Olsen | fix: layout shift when uploading images ([#6930](https://togithub.com/sanity-io/sanity/issues/6930)) | [`ae142d4`](https://togithub.com/sanity-io/sanity/commit/ae142d4571)
renovate\[bot] | fix(deps): Update dev-non-major ([#6941](https://togithub.com/sanity-io/sanity/issues/6941)) | [`3300904`](https://togithub.com/sanity-io/sanity/commit/3300904872)
renovate\[bot] | fix(deps): update dependency [@sanity/presentation](https://togithub.com/sanity/presentation) to v1.16.0 ([#6942](https://togithub.com/sanity-io/sanity/issues/6942)) | [`abe562b`](https://togithub.com/sanity-io/sanity/commit/abe562bd2e)
renovate\[bot] | fix(deps): update dependency [@sanity/ui](https://togithub.com/sanity/ui) to ^2.3.6 ([#6943](https://togithub.com/sanity-io/sanity/issues/6943)) | [`c1869b9`](https://togithub.com/sanity-io/sanity/commit/c1869b928f)
renovate\[bot] | chore(lockfile): update dependency [@sanity/import](https://togithub.com/sanity/import) to v3.37.5 ([#6940](https://togithub.com/sanity-io/sanity/issues/6940)) | [`6cfe40e`](https://togithub.com/sanity-io/sanity/commit/6cfe40e4f4)
Cody Olsen | fix: change `useListFormat` to no longer violate the rule of hooks ([#6876](https://togithub.com/sanity-io/sanity/issues/6876)) | [`cae047f`](https://togithub.com/sanity-io/sanity/commit/cae047f1c1)
Bjørge Næss | fix(sanity): only include create action when restoring a deleted document ([#6937](https://togithub.com/sanity-io/sanity/issues/6937)) | [`2736835`](https://togithub.com/sanity-io/sanity/commit/273683562e)
Cody Olsen | refactor: change memoization of margins to support the rule of hooks ([#6875](https://togithub.com/sanity-io/sanity/issues/6875)) | [`fbf90ec`](https://togithub.com/sanity-io/sanity/commit/fbf90ec871)
Espen Hovlandsdal | fix(schema): use base type for title if no subtype title or name is given ([#6947](https://togithub.com/sanity-io/sanity/issues/6947)) | [`bbe7ac0`](https://togithub.com/sanity-io/sanity/commit/bbe7ac0ec0)
Binoy Patel | fix(cli): account for base path in the importmap ([#6919](https://togithub.com/sanity-io/sanity/issues/6919)) | [`8f28054`](https://togithub.com/sanity-io/sanity/commit/8f280547b5)
renovate\[bot] | chore(lockfile): update dependency [@sanity/bifur-client](https://togithub.com/sanity/bifur-client) to v0.4.1 ([#6939](https://togithub.com/sanity-io/sanity/issues/6939)) | [`e161e0b`](https://togithub.com/sanity-io/sanity/commit/e161e0b17d)
Nina Andal Aarvik | fix(vision): center loading spinner ([#6900](https://togithub.com/sanity-io/sanity/issues/6900)) | [`5943d4f`](https://togithub.com/sanity-io/sanity/commit/5943d4f0aa)
Christian Grøngaard | chore: allow clean:deps to remove test studio node_modules ([#6951](https://togithub.com/sanity-io/sanity/issues/6951)) | [`339128d`](https://togithub.com/sanity-io/sanity/commit/339128dc7f)
Christian Grøngaard | feat(core): new insert menu for arrays with filtering, type preview support ([#6853](https://togithub.com/sanity-io/sanity/issues/6853)) | [`203f135`](https://togithub.com/sanity-io/sanity/commit/203f1358f0)
ecospark\[bot] | chore(deps): dedupe pnpm-lock.yaml ([#6957](https://togithub.com/sanity-io/sanity/issues/6957)) | [`4b89dd5`](https://togithub.com/sanity-io/sanity/commit/4b89dd555e)
renovate\[bot] | fix(deps): Update dev-non-major ([#6958](https://togithub.com/sanity-io/sanity/issues/6958)) | [`d89acea`](https://togithub.com/sanity-io/sanity/commit/d89acea8e4)
renovate\[bot] | fix(deps): update dependency [@sanity/ui](https://togithub.com/sanity/ui) to ^2.4.0 ([#6959](https://togithub.com/sanity-io/sanity/issues/6959)) | [`5a38691`](https://togithub.com/sanity-io/sanity/commit/5a38691682)
Sindre Gulseth | feat(typegen): add all schema types exported union | [`5d97a0e`](https://togithub.com/sanity-io/sanity/commit/5d97a0e408)
Sindre Gulseth | Revert "feat(typegen): add all schema types exported union" | [`e65adee`](https://togithub.com/sanity-io/sanity/commit/e65adee7d8)
RitaDias | test(e2e): update e2e flaky tests ([#6927](https://togithub.com/sanity-io/sanity/issues/6927)) | [`6b20e5f`](https://togithub.com/sanity-io/sanity/commit/6b20e5faa4)
Sindre Gulseth | feat(typegen): add all schema types exported union ([#6962](https://togithub.com/sanity-io/sanity/issues/6962)) | [`fa459a4`](https://togithub.com/sanity-io/sanity/commit/fa459a428c)
Ash | test(e2e): ensure custom publish action can patch document before publication | [`17d0bbf`](https://togithub.com/sanity-io/sanity/commit/17d0bbf7bb)
Ash | fix(sanity): remove `ifDraftRevisionId` optimistic lock usage when publishing documents | [`3064705`](https://togithub.com/sanity-io/sanity/commit/306470520c)
Christian Grøngaard | fix(core): make array insert menu full width if grid view is configured ([#6969](https://togithub.com/sanity-io/sanity/issues/6969)) | [`47d204c`](https://togithub.com/sanity-io/sanity/commit/47d204c27d)
Christian Grøngaard | deps(core): update [@sanity/insert-menu](https://togithub.com/sanity/insert-menu) ([#6971](https://togithub.com/sanity-io/sanity/issues/6971)) | [`de01b7c`](https://togithub.com/sanity-io/sanity/commit/de01b7c956)
Bjørge Næss | fix(structure): don't replace url when navigating back to list after document deletion ([#6953](https://togithub.com/sanity-io/sanity/issues/6953)) | [`f662ae2`](https://togithub.com/sanity-io/sanity/commit/f662ae2525)
Bjørge Næss | refactor(core): change revision history label from 'Version' to the more accurate 'Revision' ([#6956](https://togithub.com/sanity-io/sanity/issues/6956)) | [`b90820c`](https://togithub.com/sanity-io/sanity/commit/b90820c303)
Espen Hovlandsdal | feat(core): implement basic error reporting ([#6914](https://togithub.com/sanity-io/sanity/issues/6914)) | [`02dab2a`](https://togithub.com/sanity-io/sanity/commit/02dab2a876)
Binoy Patel | fix(ci): importmap path on windows ([#6948](https://togithub.com/sanity-io/sanity/issues/6948)) | [`6bbf609`](https://togithub.com/sanity-io/sanity/commit/6bbf609f67)
Carolina Gonzalez | feat: notify AUS studio users of new studio versions ([#6893](https://togithub.com/sanity-io/sanity/issues/6893)) | [`e9b16c8`](https://togithub.com/sanity-io/sanity/commit/e9b16c89f1)
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 this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
^3.46.1
->^3.47.0
Release Notes
sanity-io/sanity (sanity)
### [`v3.47.0`](https://togithub.com/sanity-io/sanity/releases/tag/v3.47.0) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v3.46.1...v3.47.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 ### ✨ Highlights #### Array insert menu This release includes a much requested upgrade of the array insert menu with various new options available. Including a new and more informative grid view, the ability to organize available schema types in groups, and filter them with a search term, and more. Check out the [array article in the docs](https://www.sanity.io/docs/array-type#75a7de924c9e) for examples. ![array insert menu](https://togithub.com/sanity-io/sanity/assets/6476108/b83c992b-3703-42f8-b87b-c8937230abde) #### Other features Adds a type export of all the discovered Sanity schema variants resulting from running `sanity typegen` in the CLI. This can be useful in mocks/testing environments and used by third party tools to get a list of potential types. This union type is accessible as `AllSanitySchemaTypes` in the generated type definitions. ### 🐛 Notable bugfixes - Fixes an issue where a text preview image would be included into the Portable Text Editor (PTE) when pasting text from Word. - Fixes an issue where navigation options were not being passed as expected when calling a scoped router's navigate function. - Fixes an issue where the PTE wouldn't activate when you start dragging files into it. - Images in the `Hotspot & Crop` tool now render faster, and use far less memory. - Reduces layout shift when uploading images that replace existing image assets. - Fixes an issue that could cause a 409 error when restoring a document from history. - Fixes an issue where image and file types might be listed in their lowercase variant in array insert menus ### 📓 Full changelog Author | Message | Commit \------------ | ------------- | ------------- ecospark\[bot] | chore(deps): dedupe pnpm-lock.yaml ([#6916](https://togithub.com/sanity-io/sanity/issues/6916)) | [`7f20f24`](https://togithub.com/sanity-io/sanity/commit/7f20f24a21) renovate\[bot] | chore(deps): update dependency [@sanity/tsdoc](https://togithub.com/sanity/tsdoc) to v1.0.72 ([#6911](https://togithub.com/sanity-io/sanity/issues/6911)) | [`7d312e4`](https://togithub.com/sanity-io/sanity/commit/7d312e4e9e) Cody Olsen | feat(deps): upgrade react-rx to v3 ([#6883](https://togithub.com/sanity-io/sanity/issues/6883)) | [`c0fe9f6`](https://togithub.com/sanity-io/sanity/commit/c0fe9f6dfd) renovate\[bot] | fix(deps): Update dev-non-major ([#6915](https://togithub.com/sanity-io/sanity/issues/6915)) | [`f00ca7e`](https://togithub.com/sanity-io/sanity/commit/f00ca7ecbb) Per-Kristian Nordnes | fix(core): fix issue with pasting mixed content (files and text) for pt-input ([#6924](https://togithub.com/sanity-io/sanity/issues/6924)) | [`fda9387`](https://togithub.com/sanity-io/sanity/commit/fda9387eef) Rupert Dunk | fix(router): pass options on scoped router navigation ([#6923](https://togithub.com/sanity-io/sanity/issues/6923)) | [`2fabc2e`](https://togithub.com/sanity-io/sanity/commit/2fabc2eeb6) Fred Carlsen | chore: clean playwright-ct cache on each run ([#6928](https://togithub.com/sanity-io/sanity/issues/6928)) | [`286aaed`](https://togithub.com/sanity-io/sanity/commit/286aaed5bd) Fred Carlsen | fix(form): activate PTE input when dragging files ([#6929](https://togithub.com/sanity-io/sanity/issues/6929)) | [`a2be16c`](https://togithub.com/sanity-io/sanity/commit/a2be16c410) Ash | chore: update lockfile ([#6932](https://togithub.com/sanity-io/sanity/issues/6932)) | [`d935a3a`](https://togithub.com/sanity-io/sanity/commit/d935a3a3e7) Cody Olsen | fix: improve perf ofConfiguration
📅 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 this update again.
This PR has been generated by Mend Renovate. View repository job log here.