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

chore(deps): update sanity monorepo to v3.20.1 #938

Merged
merged 1 commit into from
Nov 27, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 22, 2023

Mend Renovate logo banner

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@sanity/vision (source) 3.15.1 -> 3.20.1 age adoption passing confidence
sanity (source) 3.15.1 -> 3.20.1 age adoption passing confidence

Release Notes

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

v3.20.1

Compare Source

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

Improved support for non-Latin1 characters in URLs

Sanity Studio now handles characters outside of the Latin1 range in intent or structure tool pane payloads without crashing. This fix ensures better support for multilingual content and enhances worldwide usability.

Comments feature improvements

Continued improvements for the comments feature include a resolution to the layering issue that caused popovers to render behind the document pane.

The comments feature also received a quality-of-life enhancement by ensuring that the comment discard dialog appears above the document pane footer and headers, making it fully visible and accessible.

Lastly, we fixed a focus behavior where the reply comment input would unintentionally gain focus when clicking outside of it. Sanity Studio now maintains focus appropriately, only triggering when the comment input field is deliberately selected.

🐛 Notable bugfixes

  • Fixes the PTE toolbar menu behavior, ensuring only one menu can be open at a time.
  • Resolves the odd focusing issue around comment reply inputs.
  • Corrects the visual layering of the comment discard dialog to avoid it being hidden by other elements.

📓 Full changelog

Author Message Commit
Rico Kahler test(cli): disable exploding CI tests (#​5223) 114114c
Espen Hovlandsdal fix(router): use base64url for encoding parameter payloads (#​5221) 457d3da
Herman Wikner fix(comments): context menu layer issue (#​5203) 465ad45
renovate[bot] chore(deps): update dependency @​sanity/presentation to v1.0.6 (#​5230) bc51e64
ecospark[bot] chore(deps): dedupe yarn.lock (#​5204) d4d41e4
renovate[bot] chore(deps): update dependency @​sanity/pkg-utils to ^3.2.3 (#​5191) f1756be
renovate[bot] chore(deps): update dependency prettier-plugin-packagejson to ^2.4.6 (#​5192) 7100552
renovate[bot] chore(lockfile): update dependency @​sanity/google-maps-input to v3.0.2 (#​5195) f08df5b
renovate[bot] chore(lockfile): update dependency @​sanity/assist to v1.2.15 (#​5193) 8f7a614
renovate[bot] chore(deps): update dependency styled-components to ^6.1.1 (#​5198) f121b17
Cody Olsen chore: update styled-components snapshot 13e5ced
renovate[bot] chore(deps): update linters (#​5194) f992968
ecospark[bot] chore(prettier): fix unformatted files 🤖 ✨ (#​5233) 8dd27dc
Cody Olsen chore: set semantic commit scope for @sanity/presentation to fix f399c34
renovate[bot] fix(deps): update dependency @​sanity/presentation to v1.0.7 (#​5240) ec5520f
Herman Wikner fix(comments): discard dialog z-offset (#​5238) 2796ec7
Herman Wikner fix(comments): reply input focus issue (#​5232) d4d51d8
Herman Wikner fix(form): only allow one PTE toolbar menu to be open (#​5249) 47c865d

v3.20.0

Compare Source

Installation and upgrading

To initiate a new Studio without installing the CLI globally:

npm create sanity@latest

To upgrade Sanity Studio, run this command in your project folder:

npm install sanity@latest
✨ Highlights
Introducing Presentation

Separating content from presentation shouldn’t create friction. With Presentation, you can work visually – with a clear view of structured content reuse. Presentation and visual editing is available on all plans.

Learn more about Presentation in the launch blog post

Introducing Comments (beta)

Streamline your content review process. From in-document communication to organized feedback, Comments enhances teamwork across all stages of content creation. The new Comments feature is available for projects on the new Growth plan, and up.

Learn more about the Comments beta launch

Desk is now Structure

With the launch of the new Presentation tool, we have renamed the Desk tool to Structure. There are no changes in APIs at this time and no required code changes. In the near future we will rename the export and add a deprecation warning to the existing deskTool.

For those that are depending on the old tool name desk in Studio customizations, this identifier changes to structure in this release and you should update your code accordingly.

Learn more about this change.

📓 Full changelog

Author | Message | Commit
------------ | ------------- | -------------
renovate[bot] | fix(deps): Update react monorepo (#​5089) | 0c851c6
Cody Olsen | chore: add focus path debug tooling (#​5190) | f833f0e
Marius Lundgård | feat: re-export @sanity/presentation as sanity/presentation (#​5200) | 02736d5
Bjørge Næss | feat(desk): rename Desk to Structure in public facing UI (#​5181) | f238440
Rico Kahler | test(e2e): disable dataset creation per PR (#​5210) | d443e70
Herman Wikner | fix(core): field actions hidden issue (#​5212) | e3a39e6
Herman Wikner | fix(comments): feedback footer font size and copy (#​5215) | 80e243e
Bjørge Næss | fix(desk): change link to help article about the Desk - Structure rename (#​5217) | 51190b0
Bjørge Næss | fix(deps): upgrade @​sanity/client and @​sanity/presentation (#​5219) | ef4de9a

v3.19.3

Compare Source

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
  • Makes field actions keyboard-accessible:

    • Enables pressing the Esc (Escape) key to discard a comment.
    • Fixes an issue where hovering over field actions (for example: Comments, AI Assist) when they're not visible would cause them to flicker.
  • When importing and exporting datasets with the import dataset and export dataset CLI commands, the output message includes information about the projectId and the dataset in question.

    Example:

    Output message on import dataset CLI command

    Output message on export dataset CLI command

  • Fixed an issue with cursor instability when using the Portable Text Input inside another Portable Text Input's embedded objects.

📓 Full changelog

Author | Message | Commit
------------ | ------------- | -------------
Espen Hovlandsdal | refactor(types): use type-only imports | f7e590e
Fred Carlsen | fix(comments): truncate long field names in placeholder (#​5153) | c5e2194
Marius Lundgård | feat(desk): add onFocusPath callback property (#​5150) | 3188ab4
Marius Lundgård | fix(router): memoize navigate callback (#​5149) | fa7625d
Marius Lundgård | fix(form): open hotspot editor using focusPath (#​5160) | 5673f2a
Herman Wikner | refactor(comments): remove unused function in comments provider (#​5156) | 950d3f0
Herman Wikner | fix(comments): default placement of comment popover (#​5165) | 6eeb797
Herman Wikner | fix(comments): consider comment status when scrolling from URL (#​5164) | 65eb8c2
ecospark[bot] | chore(prettier): fix unformatted files 🤖 ✨ (#​5145) | 6d5b4e8
Bjørge Næss | dev(test-studio): add router debugging tool (#​5170) | 9933f3b
Bjørge Næss | fix(navbar): reset url state when navigating to other tools (#​5171) | e607be8
Robin Pyon | fix(comments): prevent pasted links being rendered as DefaultAnnotations at author time (#​5162) | e9c7e79
Marius Lundgård | fix(form): forward original portal element | c941b6b
Herman Wikner | feat(core): make field actions keyboard accessible (#​5163) | 5709800
Bjørge Næss | fix(router): improve search params encoding (#​5173) | d4d8a9f
Bjørge Næss | feat(router): add support for tools to bypass search param scoping (#​5172) | 3c7d79b
Herman Wikner | fix(comments): addon dataset client api version (#​5177) | 86f8f9a
Robin Pyon | chore(deps): bump @​sanity/ui to latest (#​5178) | 7d9546c
Herman Wikner | fix(core): disable pointer events when field actions are hidden (#​5180) | c4aec5d
Herman Wikner | fix(comments): improve scroll behavior (#​5179) | 533af73
Binoy Patel | feat(cli): adds information about projectId and datasets on import and export dataset commands (#​5128) | 72ae08f
Espen Hovlandsdal | feat(core): support weighted template, mode intent parameters (#​5157) | ebbef52
Per-Kristian Nordnes | chore(portable-text-editor): upgrade slate + remove workarounds (#​5175) | 8aed3b1
Per-Kristian Nordnes | fix(portable-text-editor): selection validation and perf. improvement (#​5136) | fd05eba
Bjørge Næss | refactor(core): improve navbar collapse menu (#​5185) | 1227102

v3.19.2

Compare Source

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

This release includes minor UI fixes and improvements

📓 Full changelog

Author | Message | Commit
------------ | ------------- | -------------
Herman Wikner | fix(desk): comments on anonymous objects (#​5101) | 78f17e3
renovate[bot] | chore(deps): update dependency @​sanity/pkg-utils to v3 (#​5033) | da03b58
Per-Kristian Nordnes | fix(portable-text-editor): fix various (#​5123) | 206b7d5
Herman Wikner | feat(core): add BetaBadge component (#​5125) | 1d48d23
Binoy Patel | chore(lint): use turbo for linting all the packages (#​5113) | c947aa2
ecospark[bot] | chore(deps): dedupe yarn.lock (#​5119) | 392e301
Herman Wikner | fix(desk): comment mention list issue when using the '@​' button (#​5121) | 213569b
Robin Pyon | fix(desk): various comments UX papercuts (#​5130) | 4735262
Herman Wikner | fix(core): field actions vertical alignment (#​5131) | 69b6838
Per-Kristian Nordnes | fix(desk/comments): insert space after mention insert (#​5126) | bdaecfb
Bjørge Næss | fix: avoid forwarding as-props/link props to reference link card (#​5124) | 48cd888
renovate[bot] | chore(deps): update playwright monorepo to ^1.39.0 (#​5104) | d2c4ab8
Herman Wikner | feat(desk): delay comments onboarding popover visibility (#​5133) | 0d590de
Herman Wikner | refactor(desk): comment highlight (#​5120) | 63fb3c7
Bjørge Næss | chore(eslint): fix lint command in next studios (#​5141) | 22f4ce4
Bjørge Næss | feat(router): add support for search params (#​5094) | 4f37f78
Herman Wikner | feat(desk): improve comments mention list filtering (#​5132) | 4c1c29b
Rupert Dunk | feat(desk): export DocumentPane and DocumentListPane (#​5103) | 79de34f
Herman Wikner | feat(comments): add feedback footer in the inspector (#​5154) | c7e3f3e
Per-Kristian Nordnes | fix(schema/types): fix issues with block schema's internal structure (#​5152) | aca6e81
Binoy Patel | chore(cli): remove '--reconfigure' command from help for sanity init command (#​5155) | 123aa81

v3.19.1

Compare Source

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 changes

  • Adds v2022-03-08 to list of predefined API versions in the Vision plugin
  • Hotkeys are now displayed using platform-aware keys (eg Opt instead of Alt on Mac)

Notable bugfixes

  • Fixes an issue where references would not open in-place, instead yielding an error about being changed after opening

📓 Full changelog

Author | Message | Commit
------------ | ------------- | -------------
Binoy Patel | chore(e2e): run e2e tests on PRs on ephemeral datasets (#​5046) | 8486c0a
Espen Hovlandsdal | feat(core): use platform-aware hotkeys (#​5065) | 6e1518c
Binoy Patel | chore(test): fixes cache key so it can be re-ran successfully without error (#​5097) | 62b93c8
Per-Kristian Nordnes | fix(portable-text-editor): fix issues for .delete fn and add tests (#​5060) | 77a60d2
renovate[bot] | chore(deps): update dependency eslint-config-sanity to v7 (#​5100) | acd33c3
Binoy Patel | chore(e2e): refactor e2e ci to not fail due to parallelization of runs (#​5098) | c915ba2
Espen Hovlandsdal | feat(vision): add v2022-03-07 to list of API versions (#​5102) | ddd25cd
Per-Kristian Nordnes | fix(form/inputs): fix bug with onRemove cb for TextBlock (#​5061) | c64d0e2
Espen Hovlandsdal | fix(core): reference links not opening correct pane (#​5116) | ba7a558

v3.19.0

Compare Source

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

This release adds support for styled-components v6. This is an optional upgrade as we'll continue to support v5 during the lifecycle of Sanity Studio v3.

🐛 Notable bugfixes
  • Fixes a bug where pasting HTML lists into the Portable Text Input would disregard schema configuration for list blocks.
  • Fixes an issue where logos of custom auth providers were missing on login screen.
  • Fixes an issue where pasting from Google Docs to the Portable Text editor would apply bold formatting to the pasted content on Windows computers.
  • Fixes minor issue causing the annotation toolbar popover to not always display correctly.
  • Fixes a bug where the Portable Text input would capture focus trying to edit an inline object's field named .text.
  • Fixes an issue where certain patches would apply differently in the studio and in Content Lake, leading to the studio UI not reflecting the new values for some fields.
  • Fixes an issue where certain remote patches would not cleanly apply in the studio, requiring a reload of the document to see the changes.
  • Fixes an issue where using >= or <= JSONMatch filters for patch operations would cause the studio to return error messages and not apply the patch correctly.
  • Fixes published and edits message in the document list.
📓 Full changelog

Author | Message | Commit
------------ | ------------- | -------------
Per-Kristian Nordnes | fix(block-tools): enforce list support in schema (#​4985) | 318efe4
Bjørge Næss | chore(eslint): ignore all 'dist' directories | a585c40
Bjørge Næss | chore(scripts): revert convert symlinkDependencies script to ts (#​5008) | d19aa5e
Bjørge Næss | test(cli): reject promise returned from exec() upon non-zero exit code (#​5009) | a0f2c27
Binoy Patel | fix(login): fix issue where logo is not shown on custom auth providers (#​5002) | 744bfdf
Binoy Patel | chore(core): add debug schema for virtualization bug (#​5017) | 2f3e763
Binoy Patel | chore(e2e): Run e2e tests in shards (#​5006) | 4097544
Bjørge Næss | test(cli): symlinkDependencies before running npm install (#​5020) | 16a0336
Bjørge Næss | fix(deps): support styled-components v6 (#​4917) | eb86f8a
Per-Kristian Nordnes | fix(block-tools): fix Windows issue with gdocs preprocessor rule | f30b869
Per-Kristian Nordnes | test(block-tools): add tests for gdocs pre-processsing | 45683f1
ecospark[bot] | chore(deps): dedupe yarn.lock (#​5024) | 37bcfd5
renovate[bot] | chore(lockfile): update dependency sanity-plugin-mux-input to v2.2.3 (#​5030) | 7c2af8d
renovate[bot] | chore(lockfile): update dependency @​sanity/assist to v1.2.9 (#​5031) | 455fbbc
renovate[bot] | chore(deps): update dependency styled-components to v6 (#​5034) | 4cd7470
renovate[bot] | chore(deps): update dependency @​sanity/ui-workshop to ^1.2.11 (#​5027) | c01ffcf
renovate[bot] | chore(deps): update dependency @​types/use-sync-external-store to ^0.0.5 (#​5029) | 26bd77e
Per-Kristian Nordnes | fix(form/inputs): Track focusPath for a span's .text prop + harden test condition | 85d83fb
Per-Kristian Nordnes | fix(core/inputs): support setting initial PTE selection | 95d290d
Per-Kristian Nordnes | test(playwright-ct): support document and focusPath props | f5f1ebc
Per-Kristian Nordnes | test(playwright-ct): add test for focus tracking in PT-input | b8474b1
Per-Kristian Nordnes | test(playwrigth-ct): fix issue with Webkit tests | e2484bd
Per-Kristian Nordnes | refactor(portable-text-editor): rename var to be more explicit | aa5eb94
Per-Kristian Nordnes | refactor(playwright-ct): make TestWrapper form agnostic | aaf599d
Per-Kristian Nordnes | refactor(core/form/inputs): simplify focus handling | bd65690
Per-Kristian Nordnes | fix(core/inputs): always scroll to member, but don't re-apply same selection | 22ba618
Per-Kristian Nordnes | fix(core/form/inputs): use useLayoutEffect over useEffect for focusPath tracking hook | 601b187
Per-Kristian Nordnes | test(playwright-ct): simplify focusPath tests | 25c7210
renovate[bot] | chore(deps): update dependency @​optimize-lodash/rollup-plugin to ^4.0.4 (#​5025) | 97e2949
renovate[bot] | chore(deps): update dependency @​portabletext/toolkit to ^2.0.10 (#​5026) | d7a4720
renovate[bot] | chore(lockfile): update dependency @​sanity/eventsource to v5.0.1 (#​5037) | 242bfb7
renovate[bot] | chore(deps): update dependency vite to ^4.5.0 (#​5040) | bd7116f
renovate[bot] | chore(deps): update dependency @​vitejs/plugin-react to ^4.1.0 (#​5038) | 26cb528
renovate[bot] | chore(deps): update dependency esbuild to ^0.19.5 (#​5035) | 3f8fbfc
renovate[bot] | chore(deps): update dependency esbuild-register to ^3.5.0 (#​5039) | 7e027f8
renovate[bot] | chore(deps): update dependency @​tanstack/react-virtual to v3.0.0-beta.68 (#​5028) | 340aada
renovate[bot] | chore(lockfile): update dependency @​portabletext/react to v3.0.11 (#​5036) | 6445f32
renovate[bot] | chore(lockfile): update dependency @​sanity/ui to v1.8.3 (#​5051) | f8ef3be
renovate[bot] | chore(lockfile): update dependency @​sanity/icons to v2.6.0 (#​5052) | c6e2912
renovate[bot] | chore(lockfile): update dependency groq-js to v1.3.0 (#​5053) | 5366a9b
Cody Olsen | chore: update snapshots | e37c8ed
renovate[bot] | chore(deps): update actions/setup-node action to v4 (#​5054) | 1a2c5f1
Cody Olsen | Revert "chore(deps): update dependency @​tanstack/react-virtual to v3.0.0-beta.68 (#​5028)" | 1728fa6
Per-Kristian Nordnes | fix(core/inputs): fix issue with toolbar popover visibility toggling | 8ea5cff
Per-Kristian Nordnes | test(playwright-ct): add test for annotation toolbar popover visibility | e68189c
Per-Kristian Nordnes | fix(core/form/inputs): fix scrolling of annotation toolbar popover | 3c64bec
Cody Olsen | chore(renovatebot): use the correct group name for dev deps | 474c124
Cody Olsen | chore(renovate): don't group dev updates | c51319a
Per-Kristian Nordnes | doc(form): add doc and example for components extention of block type (#​5059) | 5233f35
Per-Kristian Nordnes | fix(portable-text-editor): allow user event handlers on Editable component (#​5058) | 441f637
Binoy Patel | chore(e2e): fix report merging (#​5045) | 6fee81b
Espen Hovlandsdal | fix(mutator): apply setIfMissing prior to set (#​5062) | 8b4ec5d
Bjørge Næss | fix(deps): bump @​sanity/ui to latest (#​5056) | 935601b
renovate[bot] | chore(deps): update dependency typescript to ^5.2.2 (#​5073) | 1ea4b2b
renovate[bot] | fix(deps): update dependency @​sanity/client to ^6.7.0 (#​5032) | 36a33d4
renovate[bot] | chore(deps): update dependency turbo to ^1.10.16 (#​5070) | e54623a
renovate[bot] | fix(deps): update dependency get-it to ^8.4.4 (#​5071) | 01e3eef
Binoy Patel | chore(test): jest 29 migration (#​5069) | fd3a972
Binoy Patel | chore(e2e): create a test studio for e2e tests (#​5044) | 2d58099
Per-Kristian Nordnes | test(portable-text-editor): adjust timings | 311d5b6
renovate[bot] | chore(deps): update dependency next to v14 (#​5081) | 7272259
renovate[bot] | chore(lockfile): update dependency @​sanity/assist to v1.2.11 (#​5083) | d6b9088
Espen Hovlandsdal | fix(mutator): match deep set/setIfMissing behavior (#​5048) | 28884c6
Espen Hovlandsdal | fix(mutator): restore greater than/less than in jsonmatch constraints (#​5063) | fd7db60
Per-Kristian Nordnes | ci: move PTE e2e tests out in own workflow (#​5080) | afa3f71
Binoy Patel | chore(test): fix unit test caching issue (#​5092) | 829f541
Nina Andal Aarvik | fix(desk): edit logic for published- and edit status message in document list (#​5067) | 2013203
Herman Wikner | feat(desk): implement comments (beta) (#​4886) | 0803464
Robin Pyon | refactor: use transient props in various styled components (#​5093) | ae0ca14

v3.18.1

Compare Source

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 changes

  • Fixes a typo in a validation error message (thanks @​largis21!)
  • Fixes an issue where schema error messages would be shown with overlapping text on long titles/field names
  • Improves typescript documentation for portable text/block content related types
  • Adds some metadata to cross-dataset references when deploying GraphQL APIs in order to allow programatically resolving reference

📓 Full changelog

Author | Message | Commit
------------ | ------------- | -------------
largis21 | chore: typo in error message (#​4988) | 60f1091
Binoy Patel | fix(core): fixes issue with overlapping text in error message (#​4970) | 2001ced
Tommy Petty | chore: prep work for making e2e tests more isolated (#​4961) | 241402a
Per-Kristian Nordnes | doc(sanity): add TS-doc for block content related types (#​4674) | b6d4c40
Rico Kahler | feat(cli): add CDR metadata to GraphQL json schema (#​4975) | d8cbf10

v3.18.0

Compare Source

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
  • Responsive improvements to the Vision plugin to accommodate narrower screens
  • Updated icon for copy buttons
  • Bump engines.node to >= 18
🐛 Notable bugfixes
  • Fixes type for canHandleIntent to allow passing undefined
  • Fixes placement of "Add item…" popover in array inputs
  • Fixes a bug where edit intent was not called when added to a menuItem (thanks @​israelroldan 🙏)
📓 Full changelog

Author | Message | Commit
------------ | ------------- | -------------
Simeon Griggs | chore: change clipboard icon to copy icon (#​4974) | 317df79
renovate[bot] | chore(deps): update actions/checkout action to v4 (#​4933) | 9e84fb8
renovate[bot] | chore(deps): update tibdex/github-app-token action to v2 (#​4934) | 1de96e8
renovate[bot] | chore(deps): update babel monorepo (#​4926) | de7d794
Knut Melvær | feat(vision): make panes responsive for minimal breakpoint (#​4893) | 4b3a183
Binoy Patel | fix(desk): fixes type for canHandleIntent in documentList (#​4969) | ad3cf4f
Bjørge Næss | chore: bump engines to node 18 (#​4981) | 3fb27a8
Bjørge Næss | fix(form): set fallback placement for type-select popover in array inputs (#​4979) | 0068787
Israel Roldan | fix(desk): pass intent in MenuNodes resolver (#​4892) | 4151f2e

v3.17.0

Compare Source

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
Perspectives in listenQuery

Added support for perspectives in the listenQuery() method

🐛 Notable bugfixes
  • Fixes an issue where reverting all changes to an array of primitives would not clear the list as expected
  • Fixes syntax errors in schema files when initializing a blog template without Typescript in a Next.js app
  • Fixes an issues with array items not showing all items inside a field group under specific conditions
  • Fixes rendering issues with certain popovers being caused by wrong placement
  • Improves accessibility for document lists
  • Fixes an issue that could sometimes make reference validation errors disappear when switching between documents
📓 Full changelog

Author | Message | Commit
------------ | ------------- | -------------
Espen Hovlandsdal | feat: support perspectives in listenQuery (#​4878) | 6020a46
renovate[bot] | chore(deps): update dependency @​sanity/ui to ^1.8.2 (#​4847) | c1fe6e5
Nina Andal Aarvik | fix(core): unset changes in reverse order in patch operation (#​4957) | 0715a15
RD | fix: syntax issues in next.js JS blog template (#​4952) | c672253
Binoy Patel | fix(core): fix array items not showing in field groups (#​4930) | f55b7d8
Bjørge Næss | fix(core): set default placements for certain studio popovers (#​4963) | aab85f9
Nina Andal Aarvik | fix(core): accessibility improvements on document lists (#​4958) | 0fa5e70
Bjørge Næss | fix(core): re-use previously prepared workspace configs (#​4867) | 8387122
Kristian Zondervan | Fix broken getting started link in clean readme (#​4967) | 5c5312d
Bjørge Næss | fix(core): make sure to re-emit current edit state when re-subscribing to document validation (#​4954) | 17300c8

v3.16.7

Compare Source

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
Improved validation of Block Schema Members

We enhanced the validation of block schema members. Block schema members cannot be given a type that is not an object-like type. In previous releases, we weren't preventing that. This could lead to unexpected errors. In this release we addressed the issue by giving certain permissions and warnings for particular scenarios. More details can be found in the PR description.

Title updates in Desk Tool

In this release, we improved the navigation inside the studio by updating the <title> element to make it more specific to the current route every time a user navigates in the studio. This makes it easier to navigate through documents and switch between tools.

Increased performance for dataset imports

Past versions encountered challenges with concurrent operations during parallel reference strengthening; this issue has been resolved for some time. The current release enhances import performance by further optimizing parallel strengthening of references. This greatly improves import performance.

Other features

Simplified managing reference publishing icons by adding aria-labels for accessibility.

🐛 Notable bugfixes
  • Fixed a visibility issue related to breadcrumbing in the review changes section. Made the breadcrumbs consistent with the new breadcrumb styling.
  • Fixed an issue where dialogs wouldn't properly appear at smaller breakpoints.
  • Minor fix with the restore document history function in the desk tool related to nested panes.
  • Use the index as a key instead of the path in the desk tool to handle multiple validation errors for the same field/node.
📓 Full changelog
Author Message Commit
Cody Olsen chore(ci): fix remote caching on gh actions (#​4897) 3885585
Per-Kristian Nordnes fix(schema): add 'span' to core types 4e02847
Per-Kristian Nordnes feature(schema): validate block children for supported object types 9c8bb83
Per-Kristian Nordnes test(schema): test block members validation 0753806
Per-Kristian Nordnes test(schema): refactor validation test to use main function b3b365e
Pedro Bonamin feat(titles): Update titles inside desk tool (#​4887) 2ace4f1
Nina Andal Aarvik fix(core): add maxLength to breadcrumb and change symbol (#​4880) 5c75b2c
Bjørge Næss fix(desk): use index as key instead of path (#​4890) 645aedd
Binoy Patel chore: add a docs report actions for PRs (#​4889) 3841555
Binoy Patel chore(docs): fix doc report cleanup script (#​4901) a7523a6
Espen Hovlandsdal refactor: remove unused useConditionalReadOnly hook (#​4902) b99e332
Binoy Patel chore(docs): compare PRs against next branch instead of current (#​4904) c27ee3e
Bjørge Næss chore(perf-tests): omit watch from esbuild options 7e9e48f
Robin Pyon fix(desk): use correct dialog positioning at smaller breakpoints (#​4894) e62906f
renovate[bot] chore(lockfile): update dependency typescript to v5.2.2 (#​4912) fe761cf
Binoy Patel chore(docs): fix dataset delete script (#​4906) 50b7976
Nina Andal Aarvik fix(core): add aria-label to reference publish icons (#​4899) 3153954
Bjørge Næss test(import): fix test failure caused by error message update in node v20 (#​4918) 2f08a79
Binoy Patel chore(docs): fix docs report comment (#​4920) bf50a77
Bjørge Næss chore(ci): drop Node v16 from test matrix, add Node v20 (#​4913) 67696cb
Bjørge Næss chore(sanity): fix resolveUploader typings (#​4916) 112a46a
Per-Kristian Nordnes test(portable-text-editor): increase timeout for CI a94680b
Pedro Bonamin feat(WCAG): Associate field descriptions to inputs (#​4896) e7a8e32
Binoy Patel fix(core): fixes issue with restoring document in nested panes (#​4915) 47f3be9
Espen Hovlandsdal fix(import): increase concurrency of patching, document creation (#​4900) 0f52cfc
Binoy Patel chore(docs): adds docs for useCurrentUser hook (#​4919) 85719b7

v3.16.6

Compare Source

v3.16.5

Compare Source

v3.16.4

Compare Source

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 a regression in the Portable Text Input toolbar where it didn't reflect the active decorators state in some situations.
  • Fixes slug i

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - "before 4am on Monday" (UTC).

🚦 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 these updates 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.

Copy link

netlify bot commented Nov 22, 2023

Deploy Preview for nuxt-sanity-module canceled.

Name Link
🔨 Latest commit 0132743
🔍 Latest deploy log https://app.netlify.com/sites/nuxt-sanity-module/deploys/6563e627d77a750008f1470a

@renovate renovate bot force-pushed the renovate/sanity-monorepo branch 3 times, most recently from 0e5396e to 8e02981 Compare November 26, 2023 23:14
@renovate renovate bot force-pushed the renovate/sanity-monorepo branch from 8e02981 to 0132743 Compare November 27, 2023 00:43
@renovate renovate bot merged commit 7e07ecc into main Nov 27, 2023
4 checks passed
@renovate renovate bot deleted the renovate/sanity-monorepo branch November 27, 2023 03:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants