Upgrade the Command Line Interface (CLI) with:
npm install --global @sanity/cli
Upgrade Sanity Studio with:
sanity upgrade
Notable changes
- node.js version 10 or above is now required to run the Sanity CLI and supporting modules. This is in line with the node.js LTS ("long term support") having been dropped for node 8 and below.
Notable bugfixes
- Fixed an upstream dependency (terser) crashing in the latest version
- Fixed a few typescript definition errors in the Sanity client
📓 Full changelog
Author | Message | Commit |
---|---|---|
Espen Hovlandsdal | [chore] Require node 10 across packages (#1805) | 4e5c2de |
Espen Hovlandsdal | [client] Fix typings for non-document mutation results (#1813) | f56152c |
Espen Hovlandsdal | [client] Fix typings for constructor options (useProjectHostname) (#1812) | c4b2cf0 |
Espen Hovlandsdal | [client] Fix incorrect return value type for transaction.serialize() (#1811) | f9dcf13 |
Espen Hovlandsdal | [core] Lock terser dependency to 4.6.7 | a68d619 |