Document change event support in functions, Content Releases performance improvements, improvements and bugfixes
Published: August 26, 2025
v4.6.0
Sanity Studio
- Adds support for new function document change events (
create
,delete
,update
), and filters (includeDrafts
andincludeAllVersions
). Read more about these changes here. - Adds function recipe for formatting code blocks with Prettier. Install with
npx sanity blueprints add function --example prettier-format-code
.
Bug Fixes
- Fixes issue where long annotations in a PTE modal were being hidden when scrolling.
- When the validation pane is open and an item with a validation error is removed from an array, you will no longer have an error thrown.
- Help text for the
media
command now shows up as expected in the CLIhelp
output. - Performance improvements in the Content Releases tool when viewing releases with lots of documents.