Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update apps dependencies #108

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 23, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@sanity/vision (source) ^3.67.1 -> ^3.71.2 age adoption passing confidence
@types/react (source) ^18.3.17 -> ^18.3.18 age adoption passing confidence
sanity (source) ^3.67.1 -> ^3.71.2 age adoption passing confidence
styled-components (source) ^6.1.13 -> ^6.1.14 age adoption passing confidence
typescript (source) ^5.7.2 -> ^5.7.3 age adoption passing confidence

Release Notes

sanity-io/sanity (@​sanity/vision)

v3.71.2

Compare Source

v3.71.1

Compare Source

🐛 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

Compare Source

✨ 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

Compare Source

✨ 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

Compare Source

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

Compare Source

🐛 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

Compare Source

🐛 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

Compare Source

🐛 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

Compare Source

🐛 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](https://github.com/sanity-io/sanity/commit/ded659e7


Configuration

📅 Schedule: Branch creation - "before 4am on monday" in timezone America/Los_Angeles, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

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

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Dec 23, 2024
@renovate renovate bot force-pushed the renovate/apps-dependencies branch 3 times, most recently from faed3c1 to 3af20c6 Compare January 8, 2025 22:12
@renovate renovate bot force-pushed the renovate/apps-dependencies branch 2 times, most recently from 297ad14 to da31be6 Compare January 21, 2025 18:00
@renovate renovate bot force-pushed the renovate/apps-dependencies branch from da31be6 to 91f573b Compare January 22, 2025 14:48
@renovate renovate bot force-pushed the renovate/apps-dependencies branch from 91f573b to 2b1c1f8 Compare January 23, 2025 21:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants