Skip to content

v3.16.7

Compare
Choose a tag to compare
@ricokahler ricokahler released this 14 Sep 15:46
· 1979 commits to next since this release
f7f92bf

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