npm sanity 3.43.0

latest releases: 3.64.2-react-compiler.0, 3.64.1, 3.64.0...
5 months ago

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.

✨ 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!).

🐛 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) ab0f97d
Pedro Bonamin fix(scheduled-publishing): don't include it if it's the only plugin available (#6530) b2fa80b
renovate[bot] chore(deps): update dependency @sanity/pkg-utils to v6.8.15 (#6666) 30c1f4c
renovate[bot] fix(deps): update dependency groq-js to ^1.9.0 (#6655) 71a0758
renovate[bot] chore(lockfile): update dependency @sanity/export to v3.38.0 (#6654) 1f6b8a8
Ash feat(sanity): use actions API when discarding drafts c1755d1
Ash feat(sanity): add test ids to confirm dialog buttons 73d51cb
Ash test(e2e): add tests for discardChanges document action 33564a2
renovate[bot] chore(deps): update dependency framer-motion to v11.2.0 (#6668) 673ba0c
renovate[bot] fix(deps): update dependency @sanity/presentation to v1.15.3 (#6667) 71e6319
renovate[bot] chore(deps): update dependency esbuild to ^0.21.2 (#6656) fc79956
renovate[bot] chore(deps): update dependency lerna to ^8.1.3 (#6657) 7960627
renovate[bot] fix(deps): Update dev-non-major (#6673) 409d7df
Carolina Gonzalez feat: fetch feature toggle to enable serverside document actions (#6418) 8610fc6
renovate[bot] fix(deps): update dependency @sanity/client to ^6.18.2 (#6674) 4da4ae5
renovate[bot] fix(deps): update dependency @sanity/ui to ^2.1.8 (#6675) e8a40e2
renovate[bot] chore(deps): update dependency @sanity/tsdoc to v1.0.55 (#6672) 7b5bbe7
renovate[bot] fix(deps): update dependency get-it to ^8.4.30 (#6676) 0715793
renovate[bot] fix(deps): update dependency @sanity/presentation to v1.15.4 (#6681) f97c348
renovate[bot] fix(deps): Update dev-non-major (#6680) ab4a9e8
renovate[bot] fix(deps): update dependency @sanity/presentation to v1.15.5 (#6687) a61a679
renovate[bot] chore(deps): update dependency framer-motion to v11.2.2 (#6689) e27e063
renovate[bot] fix(deps): update dependency @sanity/ui to ^2.1.9 (#6691) 3aa444f
renovate[bot] chore(deps): update dependency recast to ^0.23.7 (#6658) 3912e82
renovate[bot] fix(deps): Update dev-non-major (#6690) ec179d0
renovate[bot] chore(deps): update dependency @sanity/pkg-utils to v6.8.16 (#6692) 80d4620
renovate[bot] chore(deps): update dependency @sanity/tsdoc to v1.0.59 (#6693) 1164a6b
Robin Pyon feat(pte): add initialActive prop to PortableTextInput (#6638) 5add977
Pedro Bonamin fix(schedule-publishing): avoid polling in upsell mode (#6670) 87889d1
Cody Olsen chore: setup dev:next-studio to use react v19 (#6685) 61d1bc3
renovate[bot] chore(deps): update dependency framer-motion to v11.2.3 (#6696) e6b4fdc
renovate[bot] fix(deps): update dependency @sanity/ui to ^2.1.10 (#6701) af0eee4
renovate[bot] fix(deps): Update dev-non-major (#6700) 77785ff
Pedro Bonamin feat(structure): add sheet list table view. (#6647) c5916d4
Ash feat(sanity): memoize initial value resolver (#6614) 39bab8a
Cody Olsen fix: update @sanity/presentation and remove deprecated internal exports no longer in use (#6694) 69246c1
Cody Olsen fix: remove circular reference to usePaneRouter (#6664) d66def2
jordanl17 feat(structure): Sheet View columns (#6661) d8a37a8
Christian Grøngaard fix: pin framer-motion to an earlier version (#6717) 6c2aea2
renovate[bot] fix(deps): update dependency @sanity/ui to ^2.1.11 (#6720) 61cc315
Pedro Bonamin fix(tasks): reduce tasks sidebar zoffset (#6718) 5ab0819
renovate[bot] chore(deps): update dependency @sanity/pkg-utils to v6.8.17 (#6722) babfd2d
Pedro Bonamin fix(tasks): hide footer button until the active document is set (#6695) 93c7d66
jordanl17 fix(structure): fixing incorrect way of setting col visibility (#6716) 06f7902
renovate[bot] fix(deps): update dependency @sanity/presentation to v1.15.8 (#6724) 17ca815
renovate[bot] chore(deps): update dependency @sanity/tsdoc to v1.0.62 (#6723) c6c1724
Cody Olsen feat: upgrade sanity init for Next.js to next-sanity v9 (#6644) f48e38b
largis21 Add support for @sanity-typegen-ignore to ignore queries (#6578) efe8bca
Sindre Gulseth chore(cli): symlink in local packages for the installed sanity cli (#6728) c4b8558
Bjørge Næss fix(i18n): remove extraneous curly brace (#6726) 74f2fd5
Sindre Gulseth feat(typegen): add optout for prettier formatting (#6702) ac5103a

Don't miss a new sanity release

NewReleases is sending notifications on new releases.