Unlock seamless workflows and faster delivery with our latest releases – get the details
Back to changelog

New feature for requesting access to Studios, updates to TypeGen + bug fixes and improvements

✨ Highlights

Request access to Studios

Users can now request access to a project they're not yet a member of, straight from the Studio's "Not authorized" screen. Project administrators will be alerted by email and can approve or deny the request from the project settings area.

TypeGen updates

Running sanity typegen will now by default generate a query typemap which the Sanity Client can use to automatically infer the returned types of a query.

🐛 Notable bugfixes

  • The TypeGen CLI command should now correctly detect and generate types defined by defineQuery from the next-sanity package.
  • Fixes an issue with FormInput causing includeField to not have any effect for nested paths.
  • Fixes an issue with the cursor sometimes moving around as you typed in the Portable Text Editor.
  • Fixes an issue where references would not open if clicked inside a Field Group.
  • Fixes an issue where it wasn't possible to copy a text selection inside a text field.

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.

Published August 20, 2024