Upgrade the Command Line Interface (CLI) with:
npm install --global @sanity/cli
Upgrade Sanity Studio with:
sanity upgrade
✨ Highlights
Performance improvements
This release brings a number of performance improvements, mostly related to excessive re-rendering of components that do not change. Notable improvements are:
- Better performance for presence indicators when many users are logged in at the same time
- The Portable Text Editor should be faster and re-render less often
🐛 Notable bugfixes
- Mitigated an issue that could cause a draft document to be overwritten by an earlier version after publish
- The Presence list in the toolbar will now only show users who are working in the same dataset
📓 Full changelog
Author | Message | Commit |
---|---|---|
Bjørge Næss | fix(mutator): minor typing fix | 792af47 |
Per-Kristian Nordnes | fix(base): fix lint issues with defaultProps | 37bafc8 |
Per-Kristian Nordnes | fix(base): remove inline function passed as prop | a8674ee |
Per-Kristian Nordnes | fix(dev): fix some issues in example studio custom PT input | fe92842 |
Espen Hovlandsdal | fix(hooks): short-circuit invalid dates in useTimeAgo hook
| 4dac112 |
Per-Kristian Nordnes | chore(gulpfile): fix issue with watch command | 48d791d |
RitaDias | fix(base): defer connection to presence client (#3590) | 76176b1 |
Bjørge Næss | perf(form-builder): skip passing parent for schema types with no conditional fields | 24baddc |
Bjørge Næss | fix(react-hooks): fix useDocumentOperation typing | 76bfd06 |
Bjørge Næss | refactor(base): clean up document operation typings | f65743a |
Bjørge Næss | refactor(base): replace commit handler with stream of commit requests | 4d44543 |
Bjørge Næss | refactor: handle latency better during document publish | c961ce4 |
Bjørge Næss | fix(desk-tool): add useCondionalToast hook as workaround for missing @sanity/ui feature | 5efb741 |
Bjørge Næss | fix(base): improve correctness of error check | 8e8e33a |
Espen Hovlandsdal | refactor: optimize global/document presence | 090e0a9 |
Espen Hovlandsdal | refactor: optimize document form presence | e7a4f14 |
Espen Hovlandsdal | refactor: only subscribe to full presence info when menu is open | 024e5c4 |
Per-Kristian Nordnes | chore: remove @sanity/portable-text-editor | 8644e11 |
Per-Kristian Nordnes | refactor(form-builder): update PT-input to work with v3 version of the PTE | ba1b8a5 |
Per-Kristian Nordnes | chore(language-filter): ignore ts-error due to incorrect Lerna hoisting of @sanity/types | e8c9933 |
Per-Kristian Nordnes | chore(form-builder): update to latest v3 PTE version | f6978b8 |
Bjørge Næss | perf: split change indicator context into frequent/less frequent updating values | e6a4b40 |