Installation and upgrading
To initiate a new Studio without installing the CLI globally:
npx create-sanity@latest
To upgrade a v3 Studio:
npm install sanity@latest
✨ Highlights
Date range support in global search
It's now possible to easily search for documents between two dates in the global search.
🐛 Notable bugfixes
- Fixes an issue where a configured studio-wide
basePath
would not be respected in build output, and workspaces would have to manually include the prefix in each workspace base path - Enables access to studio-prefixed environment variables through
process.env
- Fixes an issue where replacing the image asset in an image field would sometimes fail silently
- Fixes an issue where using React components in field titles or descriptions could crash global search
📓 Full changelog
Author | Message | Commit |
---|---|---|
Per-Kristian Nordnes | fix(form/inputs): don't wrap custom style comps. in Text | d43e1cc |
Herman Wikner | fix(core): make sure that the validation block is behind the text node | 32e80c3 |
Per-Kristian Nordnes | refactor(core/form/inputs): clean up code and add TS-doc comments | 8813ddc |
Espen Hovlandsdal | fix: allow global studio base path (#3996) | 71932dc |
Espen Hovlandsdal | fix: require node 14.18 or higher | 8470761 |
Espen Hovlandsdal | feat(server): support studio env vars through process.env
| 0e733a6 |
Bjørge Næss | fix(schema): set correct fallback title for image and file fields (#4093) | f9eb765 |
Robin Pyon | feat(core): global search date range support + minor fixes (#4055) | 8db713e |
Nina Andal Aarvik | fix(core): popover wrap button to allow replacing uploaded image (#4094) | 918d8bd |