npm sanity 3.46.0
v3.46.0

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

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 an issue where projects with a large amount of users would sometimes get a request error when loading user info.
  • Form input components now have their own error boundaries, limiting crashes to a field level on a document form, instead of taking down the entire Structure Tool.
  • Fixes React 19 causing the Portable Text Editor (PTE) to crash in some scenarios.
  • Fixes an issue where searching for text within fields of type text (not string) would not yield results.
  • Fixes an issue when dragging PTE blocks.
  • Fixes a visual regression in PTE fullscreen mode where the Drop to upload files message would be positioned incorrectly.
  • Fixes a regression where pasting from Word would insert an image version of the text being pasted instead of the actual text.

📓 Full changelog

Author Message Commit
Christian Grøngaard chore(core): abstract getSchemaTypeIcon (#6844) 6693c54
Rostislav Melkumyan feat: add integration when creating a new project through cli (#6639) ac214b8
jordanl17 fix(structure): fixing issue with shift mutli select of documents (#6857) 15861f4
Espen Hovlandsdal fix(core): chunk user loading into batches of max 400 items (#6858) 4531750
ecospark[bot] chore(deps): dedupe pnpm-lock.yaml (#6849) 73861ef
renovate[bot] chore(deps): update dependency @sanity/pkg-utils to v6.9.0 (#6850) 4b6d33f
renovate[bot] chore(lockfile): update dependency @sanity/bifur-client to v0.4.1 (#6860) c1c2ab2
renovate[bot] fix(deps): Update babel monorepo (#6861) 4fa813d
renovate[bot] chore(lockfile): update dependency @sanity/icons to v3.2.0 (#6864) 513601c
renovate[bot] fix(deps): update dependency @sanity/ui to ^2.3.1 (#6851) 74d4e67
renovate[bot] chore(deps): update dependency @sanity/icons to ^3.2.0 (#6863) c03c346
renovate[bot] fix(deps): Update dev-non-major (#6862) 74f8080
Carolina Gonzalez feat: add hasSanityPackageInImportMap (#6832) 8ea7d8f
Cody Olsen feat: add error boundary for form input components (#6869) 23c42ae
Cody Olsen fix: portable text editor crash on React 19 (#6870) 293e7d1
Cody Olsen refactor: replace useForwardedRef with useImperativeHandle (#6830) 23bac62
renovate[bot] fix(deps): update dependency get-it to ^8.6.0 (#6884) 9f5e29f
ecospark[bot] chore(deps): dedupe pnpm-lock.yaml (#6892) 5c01ef6
Cody Olsen refactor: lift useCallback out of useAsync so it can be compiled (#6873) 08f79a4
Espen Hovlandsdal fix(search): include text type fields in search queries (#6895) 5e505ac
RitaDias test(e2e): update timeouts for opening popovers (#6871) 1befff1
Pedro Bonamin fix(scheduled-publishing): export EditScheduleForm from core (#6872) 43711d7
Rico Kahler feat: add CLI options to enable auto-updating studios (#6514) 5077c8b
Binoy Patel feat(cli): show prompt if local version doesn't match remote (#6707) 50f1e54
Binoy Patel fix(cli): allow using auto-updates in unattended mode (#6897) 61f1f8c
ecospark[bot] chore(deps): dedupe pnpm-lock.yaml (#6899) 07454a1
Christian Grøngaard fix(form): avoid spreading key prop (#6887) 51eb56a
renovate[bot] fix(deps): update dependency @sanity/client to ^6.20.0 (#6886) 124dc22
Fred Carlsen fix(core): fix dragging existing blocks in pte (#6867) 0d92883
renovate[bot] chore(deps): update dependency @sanity/pkg-utils to v6.9.3 (#6903) 7f18d45
renovate[bot] chore(deps): update dependency turbo to ^1.13.4 (#6905) 576dd3f
renovate[bot] chore(deps): update dependency @vitejs/plugin-react to ^4.3.1 (#6904) 24255b4
Cody Olsen fix: regression causing ESM build errors (#6909) 0b92a8e
renovate[bot] chore(deps): update dependency esbuild to ^0.21.5 (#6908) 69496d1

Don't miss a new sanity release

NewReleases is sending notifications on new releases.