v1.148.0
Upgrade the Command Line Interface (CLI) with:
npm install --global @sanity/cli
Upgrade Sanity Studio with:
sanity upgrade
✨ Highlights
Moving from 0.x to 1.x
In this release we have bumped the official @sanity
-packages on npm from v0.147
to v1.148
.
Normally, a major version bump indicates breaking/non backwards compatible changes, but in this case everything that used to work with the previous release should also work with this release.
Read more about this "major non-event" and our position on breaking changes in our blog post.
TypeScript support for Sanity Studio
Sanity Studio and the Sanity CLI now supports TypeScript. Go to the documentation to learn how to get started.
Studio performance and stability improvements
We have also done a couple of stability fixes and performance fixes that should improve the overall editing experience.
Groundwork for upcoming features
We have also done a lot of restructuring of the internal Studio codebase to enable some long awaited features. Stay tuned!
📓 Full changelog
Author | Message | Commit |
---|---|---|
Espen Hovlandsdal | [all] Remove unused interdependencies (#1700) | 657f8f8 |
Bjørge Næss | Make mutator/perf-script runnable from node | e63949e |
Bjørge Næss | [chore] Add script for updating licenses | 3255b15 |
Bjørge Næss | [chore] Update license files | af81a27 |
Espen Hovlandsdal | [form-builder] Reuse empty markers array if none are present (#1709) | 518bec1 |
Espen Hovlandsdal | [form-builder] Use shallow equality check on path property (#1708) | a472da5 |
Espen Hovlandsdal | [preview] Add support for extracting text from portable text (#1715) | d1a8a2f |
Per-Kristian Nordnes | [form-builder] Fix type error (#1720) | d5f540f |
Bjørge Næss | [form-builder] Remove deprecated function | 815775b |
Bjørge Næss | [base] Enable TypeScript | f0375e9 |
Bjørge Næss | [base] Inline document store | 445b16d |
Bjørge Næss | [document-store] Remove package (for now) | 360e26d |
Bjørge Næss | [desk-tool] Enable TypeScript | 6f89fe3 |
Bjørge Næss | [form-builder] Make FormField and Object Field pure components | 4eac915 |
Bjørge Næss | [mutator] Make commit async and make sure onConsistencyChanged emits proper state updates | ba588a9 |
Bjørge Næss | [mutator] Export MutationParams type | 0bb5c65 |
Bjørge Næss | [base] Add infrastructure for document-actions | d10a641 |
Bjørge Næss | [react-hooks] Add @sanity/react-hooks package | a8a51db |
Bjørge Næss | [form-builder] Deprecate checkoutPair and move receiveEvent to SanityFormBuilderContext | ab9ee83 |
Bjørge Næss | [desk-tool] Implement desk tool actions on top of new actions/operations infra | 5a16ee2 |
Bjørge Næss | [desk-tool] Add a component for showing document operation results | 68e5e80 |
Bjørge Næss | [test-studio] Add an actions playground tool | c4451ae |
Bjørge Næss | [test-studio] Add some custom document actions and badges to test-studio | 496103a |
Espen Hovlandsdal | [core] Add support for typescript in studio | 16f5cf0 |
Espen Hovlandsdal | [base] Include typescript definition stubs for parts + css modules | ccd5524 |
Espen Hovlandsdal | [cli] Include tsconfig in newly initialized projects | 8f86894 |
Bjørge Næss | [server] Add default extensions to webpack config too | 22db932 |
Bjørge Næss | [base] Make part declaration work for named exports | 461ca48 |
Knut Melvær | [chore] Small improvements to release notes script | 9d0a414 |