Home / Companies / Sanity / Blog / Post Details
Content Deep Dive

Sanity Studio v4: A major version bump for a minor reason

Blog post from Sanity

Post Details
Company
Date Published
Author
Knut Melvær
Word Count
605
Language
English
Hacker News Points
-
Summary

The transition of the Sanity package from version 3 to version 4 primarily involves updating the required Node.js version from 18 to 20, due to the end-of-life status of Node.js 18 and the broader ecosystem's shift to supporting Node.js 20. This change is considered a breaking change under semantic versioning rules, although it mainly affects compatibility rather than altering the functionality of the Sanity Studio or its schemas and customizations. Upgrading to Node.js 20 offers benefits like native ES module support, improved performance, and a built-in test runner, while the Sanity package will now adhere to standard semantic versioning for clearer communication of updates and potential impacts on setups. The update will be released on July 15th, and users are advised to check their Node.js version to ensure compatibility with the new release.