JavaScript Client v8.0.0: Node 22+ ESM-only support and refined upload, proxy, and error handling
@sanity/client v8 is the first step in modernizing the JavaScript client. For most users this will be an uneventful upgrade. The main exception is anyone still running end-of-life Node.js versions. Be…
Changed 5
- Drop support for Node.js versions below 22
- JavaScript client now requires ES modules (ESM) only
- Refined upload handling
- Refined proxy support
- Refined error handling