Sanity Studio v3.89.0: Types included for Functions and additional bugfixes and improvements

✨ Highlights

TypeScript types for Functions

Functions now have official types available. When selecting "TypeScript" after running sanity blueprints add function, you'll be prompted if you'd like to include the type package and handler.

You can also manually install types by adding the @sanity/functions package to your function. See the Functions quick start or function handler reference for usage details.

🐛 Notable bugfixes

Adds a notification for when a media library cannot be found (#9387) (9a2039cbd3)

Removes linting configs from app templates (#9421) (3ae5104dc2)

Adds fix for hanging requests (#9433) (e57b96c9dc)

Updates React Compiler dependencies 🤖 ✨ (#9440) (7ac692662b)

Updates dependency @sanity/client to ^7.2.2 (#9448) (7e52ce2039)

Improves connection error handling (#5893) (974be5178e)

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.