Skip to content

Releases: sanity-io/sanity

v3.71.1

22 Jan 14:40
Compare
Choose a tag to compare

🐛 Notable bugfixes

  • Fixes react module import error affecting production builds of auto-updating studios.

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
Bjørge Næss fix: revert back to vite v5 (#8362) 03fa6f1

v3.71.0

21 Jan 14:36
Compare
Choose a tag to compare

✨ Highlights

The @sanity/presentation codebase has been migrated into the sanity codebase

The @sanity/presentation codebase has been migrated into the sanity codebase. We've always recommended using Presentation Tool by importing it from sanity/presentation, like so:

// sanity.config.ts
import {defineConfig} from 'sanity'
import {presentationTool} from 'sanity/presentation'
import {structureTool} from 'sanity/structure'

export default defineConfig({
  plugins: [presentationTool(), structureTool()]
})

If you've been following this pattern then this change won't impact you in any way.

If you've been installing @sanity/presentation and are using it directly (we've sometimes suggested this to let folks try out bugfixes before they ship in the next release of sanity):

// sanity.config.ts
import {defineConfig} from 'sanity'
import {presentationTool} from '@sanity/presentation'
import {structureTool} from 'sanity/structure'

export default defineConfig({
  plugins: [presentationTool(), structureTool()]
})

Then you need to search/replace all from '@sanity/presentation' statements in your codebase with from 'sanity/presentation', and uninstall @sanity/presentation, as it'll no longer receive updates.

Other features

  • Adds disableActions option to array fields for disabling various array input capabilities.

🐛 Notable bugfixes

  • Fixes an issue preventing keyboard navigation to edit buttons for annotation and inline objects in the Portable Text Input.
  • Fixes an issue allowing custom form inputs to incorrectly patch a readOnly document by calling onChange.
  • The Presentation Tool's "Documents in use" pane now includes draft and unpublished documents, meaning it actually shows all documents in use, rather than just some of them.
  • No longer warns about duplicate keys when using Presentation on sanity dev with React Strict Mode, or embedded studios on Next.js App Router.

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
Christian Grøngaard fix(core): replace @sanity/block-tools with @portabletext/block-tools (#8260) 0ff7c7f
Pedro Bonamin chore(core): update <Resizable/>, accept a position prop and remove duped and export from sanity (#8250) 4bca7b9
Pedro Bonamin chore(core): use displayed value for document title (#8268) 9a5fee3
Pedro Bonamin chore(core): update diffValue to accept a generic Meta property (#8269) cef5237
Pedro Bonamin chore(core): add getTransactionLogs helper (#8261) 03e7760
Rostislav Melkumyan chore(renovate): add @sanity/template-validator (#8280) d351c5f
Pedro Bonamin fix(core): cannot find namespace 'vi' (#8282) 3a3cc58
Jordan Lawrence chore: playwright test wrapper creates router context (#8258) a1a80a8
RitaDias test(e2e): add checks for properties in reference tests (#8279) 21aba08
renovate[bot] fix(deps): update dependency @sanity/presentation to v1.22.0 (#8295) 847f30e
renovate[bot] chore(deps): update dev-non-major (#8267) c094eb3
Per-Kristian Nordnes fix(core/form/inputs): fix issue with tabbing to popover toolbar buttons in PT-input (#5057) 6c61c9c
renovate[bot] chore(deps): update github artifact actions to v4 (major) (#8298) a7f5230
Jordan Lawrence feat: Updated Navbar link for Tasks tool (#8257) 498b05e
Espen Hovlandsdal fix(deps): upgrade vite to v6 532eb63
Espen Hovlandsdal chore: temporary override to make vitest use vite 6 995eeba
Christian Grøngaard fix(types): make ObjectSchemaType['__experimental_search'] optional (#8289) 7f5c037
Jordan Lawrence chore: explicitly setting all navbar dropdowns and menu popovers as having default tone (#8301) c0d26c0
ecospark[bot] chore(deps): dedupe pnpm-lock.yaml (#8305) 8d3ac75
renovate[bot] fix(deps): update dependency @sanity/presentation to v1.22.1 (#8308) 3a49a11
renovate[bot] fix(deps): update dependency @sanity/client to ^6.24.4 (#8307) ee29383
Bjørge Næss feat(preview): add experimental support for observing full documents (#7397) 56bcd0a
Jordan Lawrence fix: patching a readOnly document is blocked (#8292) 49cc66f
Jordan Lawrence fix: readOnly pane overrides patch (#8313) ad3fd48
renovate[bot] fix(deps): update dependency @sanity/client to ^6.25.0 (#8315) d4175f9
Cody Olsen refactor: migrate @sanity/presentation codebase (#8312) 680930c
renovate[bot] fix(deps): update dependency @sanity/mutate to ^0.12.1 (#8239) b53b164
renovate[bot] fix(deps): update dependency @sanity/preview-url-secret to ^2.1.0 (#8316) e8faa3a
Cody Olsen fix(presentation): always show all documents in use (#8320) cbbebd5
Cody Olsen fix(presentation): avoid duplicate key warning (#8319) 48f3e68
ecospark[bot] fix(deps): update React Compiler dependencies 🤖 ✨ (#8327) 2e1f58e
ecospark[bot] chore(deps): dedupe pnpm-lock.yaml (#8328) 698d609
renovate[bot] chore(deps): update dev-non-major (#8321) 4e4dc8f
renovate[bot] fix(deps): update dependency react-rx to ^4.1.16 (#8329) 76609d2
renovate[bot] fix(deps): update dependency @portabletext/editor to ^1.22.0 (#8252) 5379e4f
renovate[bot] fix(deps): update dependency @portabletext/block-tools to ^1.1.0 (#8285) ba61226
Rostislav Melkumyan feat(cli): remote template bootstrapper to support write token (#8277) b5e5e9d
renovate[bot] fix(deps): update dependency @sanity/ui to ^2.11.3 (#8330) 148c1ec
renovate[bot] chore(lockfile): update dependency framer-motion to v11.18.1 (#8331) b99d808
Bjørge Næss feat(form): add support for disabling array input capabilities (#7615) 9ce399c
Simeon Griggs fix: add defineField helper to alt field (#8333) fc456ea
Christian Grøngaard test: fix PTE copy/paste test case (#8344) 044f24c
Bjørge Næss feat(preview): add experimental support for live document id sets (#7398) d1dc5b5

v3.70.0

14 Jan 15:37
Compare
Choose a tag to compare

✨ Highlights

Improvements to Visual Editing

This release includes several changes across the @sanity/astro and @sanity/visual-editing packages, resulting in a more stable Visual Editing experience with Astro and a smoother initial setup:

  • A React 19 peer dependency issue was fixed in @sanity/astro version 3.1.9 that caused errors in new projects setup using Astro’s CLI tool.
  • Added support for libraries publishing pre-compiled code with the React Compiler to the Astro codebase.
  • Previously, Visual Editing overlays would lose their titles/preview information after a change had been made when working with an Astro project. This is now fixed.

Other features

  • The sanity package now exports an experimental EditPortal component, which allows users to create Dialog or Popover components that include Presence and scroll virtualization out of the box, like so:
import React, {useRef, useState} from 'react'
+import {EditPortal} from 'sanity'

 export const CustomFormDialog: React.FC<Props> = ({parentProps, paths, onClose}) => {
   return (
-     <Dialog header="Edit Link" id="edit-link" animate width={600} onClose={onClose} zOffset={1000}>
+     <EditPortal header="Edit Link" id="edit-link" animate width={600} onClose={onClose} zOffset={1000}>
       ...rest
-      </Dialog>
+     </EditPortal>

🐛 Notable bugfixes

  • Fixes a case where the commands schema extract, manifest extract, graphql deploy, documents validate or schema validate would never complete.
  • Fixes an issue in Vision where the cursor would sometimes jump to the beginning of the editor.

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
renovate[bot] fix(deps): update dependency @sanity/presentation to v1.20.2 (#8219) 5ddfe63
renovate[bot] chore(deps): update typescript-tooling (#8210) fb1cf5b
renovate[bot] fix(deps): update dependency get-it to ^8.6.6 (#8221) 17e10ca
renovate[bot] fix(deps): update dependency @sanity/insert-menu to v1.0.19 (#8222) 07651a5
renovate[bot] fix(deps): update dependency @sanity/presentation to v1.20.3 (#8223) a363bba
renovate[bot] fix(deps): update dependency @sanity/client to ^6.24.3 (#8213) 47577ea
renovate[bot] fix(deps): update dependency @portabletext/editor to ^1.21.0 (#8227) 5c28f4f
Rostislav Melkumyan feat(cli): skip directories without .env.example when bootstrapping remote template (#8216) 86c6ab1
Snorre Eskeland Brekke fix: ensures singleworkspace falls back to the name 'default' as expected in all contexts (#8228) fe708e8
renovate[bot] fix(deps): update dependency @portabletext/editor to ^1.21.1 (#8234) 26b64c7
Pedro Bonamin chore(core): export EditPortal from sanity (#8229) ab31417
renovate[bot] fix(deps): update dependency @sanity/presentation to v1.21.1 (#8230) 9e624fa
Bjørge Næss fix(ci): pin ubuntu version for e2e component tests to 22.04 (#8245) b3cce81
Pedro Bonamin fix(core): support serverDocumentActions flag in plugins (#8247) 78318f3
Rostislav Melkumyan feat(cli): slim down remote test template (#8224) 41580c4
ecospark[bot] fix(deps): update React Compiler dependencies 🤖 ✨ (#8244) 256ffac
renovate[bot] fix(deps): update dependency react-rx to ^4.1.14 (#8246) 2664f0f
renovate[bot] fix(deps): update dependency @sanity/ui to ^2.11.2 (#8248) f3151c3
Magnus Holm fix(cli): explicitly exit workers when they're done (#8226) 104b74c
Christian Grøngaard fix(block-tools): "soft" deprecate in favour of @portabletext/block-tools (#8254) 885cfe0
Pedro Bonamin chore(core): add <AvatarSkeleton /> component (#8249) 0ab9c5b
Pedro Bonamin fix(vision): debounce type setState to fix cursor jump (#8238) 15cba9a
Ash feat(sanity): include _id field in groq2024 searches (#8237) e0a2b6d
renovate[bot] fix(deps): update dependency @sanity/presentation to v1.21.2 (#8253) 39f8900
renovate[bot] fix(deps): update dependency react-rx to ^4.1.15 (#8259) 9d362e1
renovate[bot] chore(deps): update dev-non-major (#8240) 8299462
Christian Grøngaard test: fix @portabletext/block-tools alias (#8262) 7c2a68b
ecospark[bot] chore(prettier): fix unformatted files 🤖 ✨ (#8263) 5505240
renovate[bot] fix(deps): update dependency @sanity/presentation to v1.21.3 (#8265) df392a4
Christian Grøngaard fix(deps): update dependency @portabletext/editor to ^1.21.5 (#8264) 1938999
ecospark[bot] chore(deps): dedupe pnpm-lock.yaml (#8266) c453b1f
Rostislav Melkumyan chore(cli): bump @sanity/template-validator to latest (2.3.2) (#8220) 9266e11
Pedro Bonamin fix(core): export EditPortal as beta (#8270) c65b13c

v3.69.0

08 Jan 11:46
Compare
Choose a tag to compare

Markdown behaviors for the Portable Text Editor

The Portable Text Editor (PTE) now ships with markdown keyboard shortcuts for headings, block quotes and lists.

This change extends the core behaviors of the PTE with default markdown behaviors for a more intuitive writing experience. This allows you to:

  1. Use # characters to create headings.
  2. Use > to create a blockquote.
  3. Use Backspace at the beginning of a block to clear its style.
  4. Use -, *, _ or 1. to initiate a list.

This is part of the effort that brings features from the new standalone Portable Text Editor back into the Studio.

TypeGen: add support for astro

You can now generate types from queries in .astro files. Learn more in the TypeGen docs.

🐛 Notable bugfixes

  • Fixes schema extraction with nested union references.
  • Header when creating new documents is now translated.
  • Fixes WebSocket is closed before the connection is established warning.
  • Fixes a regression introduced in v3.68.0 that could in rare cases cause a crash when opening a document in the Studio.
  • unset() inside custom datetime input components will now show that the value has been unset in the Studio UI.

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
Cody Olsen fix: WebSocket is closed before the connection is established warning (#8042) 57150e7
renovate[bot] fix(deps): Update dev-non-major (#8100) 9897dbc
renovate[bot] chore(deps): update dependency turbo to ^2.3.3 (#8099) 1f1f061
Sindre Gulseth feat(typegen): add support for astro (#8098) 92dfc9f
renovate[bot] fix(deps): update dependency @sanity/icons to ^3.5.5 (#8106) 93ea8af
renovate[bot] chore(deps): update typescript-tooling (#8104) d35bf4e
renovate[bot] chore(deps): update dependency @sanity/tsdoc to v1.0.153 (#8107) 9115c4f
renovate[bot] fix(deps): update dependency react-rx to ^4.1.10 (#8109) 87f783d
renovate[bot] fix(deps): update dependency @sanity/ui to ^2.10.12 (#8108) a20bcf7
renovate[bot] fix(deps): update dependency @sanity/icons to ^3.5.5 (#8105) 9b7ee0b
renovate[bot] fix(deps): update dependency @portabletext/editor to ^1.18.1 (#8088) 1d23092
Rostislav Melkumyan chore(cli): bump template validator (#8115) e39c5b2
renovate[bot] fix(deps): update dependency @portabletext/editor to ^1.18.2 (#8113) d3d1540
Bjørge Næss fix(core): re-subscribes to shared pair listener opens a new connection (#8120) 8f61ce3
Cody Olsen fix: preload documents on hover (#8110) 303841d
renovate[bot] fix(deps): update dependency @portabletext/editor to ^1.18.3 (#8117) cd989d1
Bjørge Næss fix(core): merge in listenerEvents in _keepalive stream (#8122) babdfe4
renovate[bot] fix(deps): update dependency @sanity/export to ^3.42.0 (#8111) d6aa711
renovate[bot] fix(deps): update dependency @portabletext/editor to ^1.18.5 (#8124) 8c61a7e
renovate[bot] chore(deps): update dev-non-major (#8125) ef8cb12
renovate[bot] fix(deps): update dependency @sanity/insert-menu to v1.0.17 (#8126) 4935373
renovate[bot] fix(deps): update dependency @sanity/presentation to v1.19.14 (#8127) ac2be36
renovate[bot] chore(deps): update dev-non-major (#8128) ddb65fa
renovate[bot] fix(deps): update dependency @sanity/insert-menu to v1.0.18 (#8132) 30f3945
renovate[bot] fix(deps): update dependency @portabletext/editor to ^1.18.6 (#8136) 42b4320
renovate[bot] fix(deps): update dependency @sanity/icons to ^3.5.6 (#8129) 797a381
ecospark[bot] fix(deps): update React Compiler dependencies 🤖 ✨ (#8134) 994598c
renovate[bot] fix(deps): update dependency @sanity/presentation to v1.19.16 (#8133) 6d18640
renovate[bot] fix(deps): update dependency @portabletext/editor to ^1.18.7 (#8148) 59b143e
renovate[bot] chore(deps): update typescript-tooling (#8149) d350ef9
renovate[bot] fix(deps): update dependency @sanity/ui to ^2.10.14 (#8150) 751a5f5
renovate[bot] fix(deps): update dependency react-rx to ^4.1.11 (#8151) 1546ea7
renovate[bot] fix(deps): update dependency @sanity/export to ^3.42.1 (#8153) 9722e5f
renovate[bot] fix(deps): update dependency @sanity/icons to ^3.5.7 (#8155) e113dff
renovate[bot] chore(deps): update dependency @testing-library/react to v16 (#8158) cfefb7d
Eoin Falconer fix: make header new and error text customisable (#8162) 30cd307
Jordan Lawrence chore(tasks): fixing typo in empty state title (#8143) 4f08c3d
Rostislav Melkumyan chore(cli): bump @sanity/template-validator to v2.0.0 (#8156) be79fe8
Bjørge Næss fix(sanity): throw a better error if onChange called during initial render (#8165) 3285312
ecospark[bot] chore(deps): dedupe pnpm-lock.yaml (#8164) 466c6fa
Cody Olsen chore: add github problem matcher for PR linting (#8161) 323d1b1
Cody Olsen fix: remove react-hooks linter suppression (#8051) 1d25b3c
Pedro Bonamin chore(core): replace 'sanity' imports for relative paths in core (#8160) 32ae6ec
renovate[bot] fix(deps): update dependency @sanity/ui to ^2.10.15 (#8172) 5010c37
renovate[bot] fix(deps): update dependency @portabletext/editor to ^1.19.0 (#8167) 6c6fc0c
renovate[bot] chore(deps): update dependency @sanity/tsdoc to v1.0.158 (#8169) b5dce86
renovate[bot] fix(deps): Update dev-non-major (#8174) 60cede8
renovate[bot] fix(deps): update dependency @sanity/ui to ^2.10.16 (#8175) 3a972e9
renovate[bot] fix(deps): update dependency @sanity/ui to ^2.10.17 (#8177) 9d68dad
Christian Grøngaard feat(core): add default markdown behaviors to PTE (#8168) 17aa32c
renovate[bot] fix(deps): update dependency @sanity/ui to ^2.10.18 (#8185) d9c959a
ecospark[bot] fix(deps): update React Compiler dependencies 🤖 ✨ (#8187) fd30cb3
Cody Olsen chore: temporarily downgrade compiler runtime (#8188) 7bf6104
renovate[bot] fix(deps): update dependency @sanity/ui to ^2.11.0 (#8190) 5211c0d
renovate[bot] fix(deps): update dependency react-rx to ^4.1.12 (#8189) 107435b
renovate[bot] chore(deps): update dependency styled-components to ^6.1.14 (#8182) 001dda7
renovate[bot] chore(deps): update typescript-tooling (#8186) 5542235
renovate[bot] fix(deps): update dependency @sanity/export to ^3.42.2 (#8179) 4e60fe9
Rostislav Melkumyan feat(cli): copy additions for remote project bootstrapper (#8141) f453cbc
renovate[bot] fix(deps): update dependency @sanity/presentation to v1.19.17 (#8195) c44e5b0
Rostislav Melkumyan feat(cli): allow credentials when adding CORS entry (#8191) b57cb26
Cody Olsen chore: upgrade test studios to react 19, remove next studios (#8178) 9ed1ff7
ecospark[bot] chore(deps): dedupe pnpm-lock.yaml (#8197) f0ece85
renovate[bot] fix(deps): Update dev-non-major (#8183) 504337e
renovate[bot] chore(deps): update dependency @vitejs/plugin-react to ^4.3.4 (#8198) 9c12eca
renovate[bot] chore(deps): update vitest monorepo to ^2.1.8 (#8200) c9d7b62
Bjørge Næss fix(structure): set patchRef in an insertion effect instead of regular useEffect (#8194) facd3fb
renovate[bot] chore(deps): update react monorepo (#8199) e3e3ad1
Robin Neatherway fix: fixes schema extraction with nested union refs (#8096) ac62487
Cody Olsen fix: React 19 typings (finally) (#8171) 68f244b
Eoin Falconer fix: unset should unset readOnly date field from custom input component (#8192) e4f7164
renovate[bot] chore(deps): update typescript-tooling (#8207) d3a71a4
renovate[bot] fix(deps): update dependency @sanity/ui to ^2.11.1 (#8203) e98cf47
renovate[bot] fix(deps): update dependency @sanity/presentation to v1.20.1 (#8206) a354c03
renovate[bot] fix(deps): update dependency @portabletext/editor to ^1.20.0 (#8208) 1e12bc9
Bjørge Næss fix(sanity): fix race condition introduced by #8120 (#8211) 27feda0

v3.68.3

20 Dec 17:20
Compare
Choose a tag to compare

🐛 Notable bugfixes

  • Improves React 19 compatibility for TypeScript users by changing @types/react from a direct dependency to a peer dependency in @sanity/types.

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
Cody Olsen fix: support react 19 type definitions (#8121) ac26a4f

v3.68.2

20 Dec 10:21
Compare
Choose a tag to compare

🐛 Notable bugfixes

  • Removes reliance on third party dependency due to license incompatibility

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
Magnus Holm feat(cli): remove patching of tsconfig.json and thus silver-fleece dependency (#8114) d2f2254

v3.68.1

18 Dec 22:02
Compare
Choose a tag to compare

🐛 Notable bugfixes

  • Fixes issue with presentation tool crashing.

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
renovate[bot] fix(deps): update dependency @sanity/presentation to v1.19.13 (#8102) cfaa69b

v3.68.0

18 Dec 16:40
Compare
Choose a tag to compare

🐛 Notable bugfixes

  • Improves performance of the presence menu.
  • Improves scrolling performance of document list pane views.
  • Improves rendering performance when hovering over fields.
  • Keeps tab focus inside popover dialogs for the Portable Text Editor when editing links and similar.
  • Fixes a bug that could cause relative timestamps, such as those shown in the document history inspector, to incorrectly appear to be in the future.
  • Fixes an issue where WebKit was unable to tab into a form field's action menu.
  • Large Portable Text fields are now streamed into the editor.
  • Fixes an issue that could sometimes leave the hotspot and crop icons greyed out after uploading an image.
  • Unsafe access of current on React refs fixed, allowing React Compiler to auto-memoize more components, and increasing general stability and concurrent mode safety.
  • Relative time stamps are optimized by React Compiler, reducing memory usage and allowing faster rerenders.
  • Replaced React.createElement calls in internals with the JSX runtime, unlocking the React 19 performance improvements to JSX, as well as the ability to use ref as a prop instead of React.forwardRef wrappers.
  • Refactored SanityDefaultPreview to be auto memoized by React Compiler, improving performance on document list previews, and reference selectors.

Other features

  • Exports useReferringDocuments() hook.

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
James Garbutt feat(cli): remove is-builtin-module (#6579) 2982082
Rostislav Melkumyan feat(cli): misc copy changes (#8003) a61c4ee
Per-Kristian Nordnes test(playwright-ct): fix issues and flake (#8016) 6bf4d2a
ecospark[bot] chore(deps): dedupe pnpm-lock.yaml (#8023) 2b38345
renovate[bot] fix(deps): update dependency @sanity/ui to ^2.10.9 (#8009) bb8ae86
Snorre Eskeland Brekke fix: delays rendering the Start in Create banner until document is ready (#8020) fa403da
Per-Kristian Nordnes test(e2e): refer to correct env variable for Playwright version (#8026) cefd55a
Per-Kristian Nordnes fix(core): fix issue with different Webkit tab order in forms (#8022) b1307d9
Ash fix(sanity): relative dates incorrectly appearing to be in the future (#8034) 3869ede
Rostislav Melkumyan feat(cli): use @sanity/template-validator package (#8014) 27fa7e5
Christian Grøngaard fix(core): make PTE read-only until it's 'ready' (#8033) 07d80a7
Rostislav Melkumyan fix(cli): outputters should respect %s (#8037) 85de530
Rostislav Melkumyan feat(cli): remove .github dirs when initializing with a remote template (#8036) 2222e9e
Rostislav Melkumyan feat(cli): add cors entry automatically for template package (#8035) 637d345
Rostislav Melkumyan revert(cli): use default ora options in spinner method (#8038) a54f8ef
Per-Kristian Nordnes fix(core): fix issues with PT-Input PopoverModal (#8021) ded659e
Espen Hovlandsdal fix(deps): drop react-copy-to-clipboard dependency (#8041) 37b3065
Espen Hovlandsdal fix(deps): align arrify versions, drop types package (#8019) fc55e3e
Espen Hovlandsdal chore(deps): upgrade vitest to v2.1.8 (#8018) 27b0e84
Espen Hovlandsdal fix(deps): upgrade react-json-inspector (#8017) cf7afaf
renovate[bot] fix(deps): update dependency @sanity/presentation to v1.19.10 (#8065) 27958af
renovate[bot] chore(lockfile): update dependency react-focus-lock to v2.13.5 (#8067) ea8bf4a
Christian Grøngaard test(pte): properly wait for PTE to be editable (#8068) 1dfcff8
Cody Olsen chore: add dev:million-lint command (#8032) 23d9dbe
ecospark[bot] fix(deps): update React Compiler dependencies 🤖 ✨ (#8069) e4009f1
ecospark[bot] chore(deps): dedupe pnpm-lock.yaml (#8070) 4eff6de
renovate[bot] fix(deps): update dependency @sanity/icons to ^3.5.3 (#8071) 2886839
Cody Olsen fix: speed up hovered field provider (#8044) e177ace
renovate[bot] fix(deps): update dependency @sanity/presentation to v1.19.11 (#8073) 1819bc8
renovate[bot] chore(deps): update dev-non-major (#8066) 6c953c6
Josh feat(manifest): add icons, tools & projectId (#7980) 8d5fb58
renovate[bot] fix(deps): update dependency @sanity/ui to ^2.10.10 (#8074) d280578
renovate[bot] fix(deps): update dependency react-rx to ^4.1.9 (#8075) 6f16545
Cody Olsen chore: add follow up comments on million lint (#8072) 9f4875f
Espen Hovlandsdal fix(vision): upgrade react-split-pane to v1.0.0 (#8061) 8996689
Christian Grøngaard test(core): remove RangeDecoration tests (#8079) 4a6eb2a
Cody Olsen fix: improve command list performance (#8046) 80965bf
Cody Olsen fix: improve color scheme store perf (#8059) ed3551b
renovate[bot] fix(deps): update dependency @sanity/presentation to v1.19.12 (#8082) a5a217a
Cody Olsen fix: improve presence menu performance (#8039) 43f1b52
renovate[bot] fix(deps): update dependency @sanity/ui to ^2.10.11 (#8083) 9dc200e
renovate[bot] fix(deps): update dependency @portabletext/editor to ^1.16.3 (#8031) cb1647b
Espen Hovlandsdal fix(deps): upgrade @tanstack/react-virtual to v3.11.2 (#8062) 04303f7
renovate[bot] chore(deps): lock file maintenance (#8086) e389ad9
Jon Eide Johnsen chore: update social links in readme (#8085) 8ae33c3
Snorre Eskeland Brekke fix: fixes unknown event handler error in CommentsOnboardingPopover (#8087) 1fa5db6
Bjørge Næss fix(preview): fix issue sometimes causing hotspot menu to stay a gray box after uploading (#8076) 3d5f1d3
Eoin Falconer fix: search modal stays open with metaKey (#8090) f95a3d1
Bjørge Næss feat(sanity): export useReferringDocuments and mark as beta (#8091) e5cf80a
Espen Hovlandsdal test: fix missing await on assertions for resolveInitialValue() (#8080) f56c61f
Espen Hovlandsdal fix(deps): upgrade dependency react-focus-lock to v2.13.5 (#8081) 04d5aa2
renovate[bot] chore(deps): update dependency framer-motion to v11.15.0 (#8084) 260faec
Cody Olsen fix: don't read/write ref during render (#8077) b1f183d
Cody Olsen fix: allow useRelativeTime to be auto-memoized (#8089) e2a9fff
Cody Olsen fix: replace React.createElement with jsx runtime (#8043) 3ef8280
Cody Olsen fix: replace unsafe useMemo with useState (#8047) 05c9e74
Cody Olsen fix: replace useMemo with useState (#8095) 399a7be
Eoin Falconer fix: tooltip position in announcements popup (#8092) 21c9fab
Cody Olsen fix: improve SanityDefaultPreview memoization (#8049) a6d5320
Christian Grøngaard refactor(core): replace PortableTextEditor with EditorProvider (#8040) 5d1ed22
Cody Olsen fix: use consistent framer-motion semver range (#8094) 78529d6

v3.67.1

11 Dec 11:57
Compare
Choose a tag to compare

🐛 Notable bugfixes

  • Fixes a regression introduced in v3.65.0 that could crash the tasks UI when clicking the detail view (see #7976 for details about the issue)

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
Pedro Bonamin fix(core): tasks UpdatedTimeAgo should be a hook (#8011) 789f3b2
renovate[bot] chore(deps): update dependency @sanity/pkg-utils to v6.12.0 (#8010) a773485
Bjørge Næss chore(deps): bump minimum requirement of @sanity/import and @sanity/export (#8012) c7ec5f9

v3.67.0

10 Dec 15:09
Compare
Choose a tag to compare

✨ Highlights

Start in Create enabled by default
image

The option to start drafting new documents in Sanity Create is now enabled by default. Depending on your hosting setup you might see a fully functional Start in Create-button appearing close to your default document actions, or a button that is temporarily disabled and awaiting some minor configuration. To learn how to fully enable the feature for both your development and production environments, or disable it entirely, check out the docs!

🐛 Notable bugfixes

  • Fixes a few deprecation warnings when installing dependencies for a studio.
  • Adds the missing disableArrayWarning option to the SlugOptions type (thank you @stilyan!).
  • Upgrades to ESLint 9 for new studios
  • Fixes a problem that could make rendering document lists crash the studio for complex schema types (thank you @nikaspran!)

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
RitaDias test(sanity): update timeout to avoid slow test from being flaky (#7969) d6dde60
renovate[bot] fix(deps): update dependency @portabletext/editor to ^1.15.0 (#7971) 6eacd33
Espen Hovlandsdal chore(deps): update dependency glob to ^11.0.0 (#7949) ccee1f4
Espen Hovlandsdal fix(i18n): allow weeks to start on Saturday (#7965) 59deb00
Espen Hovlandsdal fix(deps): deprecation warnings due to glob dependency (#7977) 5e3b8c1
Stilyan feat: add disableArrayWarning option to SlugOptions (#7174) 1b5fd00
Bjørge Næss test(cli): remove v2 fixtures and bump timeouts (#7974) 583bb6f
Cody Olsen chore: add markdown plugin back (#7475) a7ed9be
renovate[bot] fix(deps): update dependency @sanity/ui to ^2.10.1 (#7975) d23b3f0
Cody Olsen chore: add back the @sanity/color-input plugin to test studio (#7502) 960186d
Bjørge Næss test(e2e): add missing plugins to e2e studio (#7981) e078ebc
ecospark[bot] fix(deps): update React Compiler dependencies 🤖 ✨ (#7982) bf67535
renovate[bot] fix(deps): update dependency react-rx to ^4.1.8 (#7983) 197fc3d
ecospark[bot] chore(deps): dedupe pnpm-lock.yaml (#7987) 23a47f3
renovate[bot] fix(deps): update dependency groq-js to ^1.14.2 (#7985) 5d5bac0
Ash fix(sanity): do not perform incremental search for exact tokens (#7972) 9fba9b7
renovate[bot] fix(deps): update dependency @sanity/ui to ^2.10.3 (#7986) 22c9708
Snorre Eskeland Brekke feat: enable start in Create banner for new documents and include development mode information (#7955) 656d4c8
renovate[bot] fix(deps): update dependency @sanity/icons to ^3.5.1 (#7989) 30d18d6
renovate[bot] fix(deps): update dependency @sanity/presentation to v1.19.8 (#7984) ba996b7
renovate[bot] fix(deps): update dependency @sanity/icons to ^3.5.2 (#7991) 1b6117f
Cody Olsen fix(deps): upgrade vite to v5 (#5285) 6817f2e
renovate[bot] fix(deps): update dependency @sanity/ui to ^2.10.4 (#7993) 9d3343c
renovate[bot] chore(deps): update typescript-tooling (#7988) 6a9c59e
renovate[bot] fix(deps): Update dev-non-major (#7997) 305a143
renovate[bot] fix(deps): update dependency @portabletext/editor to ^1.15.3 (#7979) ae98a1d
Ash refactor(sanity): extract common search token functions 3aa1e03
Ash refactor(sanity): skip unnecessary deduplication step e8bad21
Ash feat(sanity): do not fade out global search results while fetching more a303002
Ash feat: add groq2024 search strategy 13f2e48
Ash feat(test-studio): enable groq2024 search strategy 8c4e248
Nikas Praninskas fix(sanity): optimise getLeafWeights to not stack overflow (#7999) ac2ab18
Espen Hovlandsdal feat: use eslint 9 for new studios (#7978) 30d8f7e
Robin Pyon feat: switch create integration to opt-out flow (#8002) 6b322cb
Rostislav Melkumyan feat(cli): use @vercel/frameworks in bootstrapRemoteTemplate (#8001) 60537c8
renovate[bot] fix(deps): update dependency @sanity/ui to ^2.10.7 (#7998) eb5739b
renovate[bot] fix(deps): update dependency @sanity/ui to ^2.10.7 (#8005) 2f135f6
Cody Olsen chore: reduce renovate double PR noise 0528bee
ecospark[bot] chore(prettier): fix unformatted files 🤖 ✨ (#8006) da526ea