npm sanity 3.4.0
v3.4.0

latest releases: 3.64.0, 2.36.6, 2.36.4...
21 months ago

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

Notable changes

  • The studio has been upgraded to use @sanity/client v5, which boasts full Node.js ESM runtime support, a smaller footprint and much more

🐛 Notable bugfixes

  • Fixed a bug that could lead to duplication of a single block in the Portable Text Editor

📓 Full changelog

Author Message Commit
Espen Hovlandsdal chore: upgrade @sanity/client, get-it to latest versions 4b4dc5c
Espen Hovlandsdal chore(cli): remove unused scripts 32392a3
Espen Hovlandsdal chore(cli): upgrade get-latest-version dependency db6ea71
Espen Hovlandsdal chore: drop unnecessary typing 16b9550
Espen Hovlandsdal test: include api url in client mocks 95f012f
Espen Hovlandsdal chore: fix prettier inconsistency 20bc7e4
Espen Hovlandsdal chore: fix typing issue with newer yargs 2cfb558
Espen Hovlandsdal test(cli): throw and print stderr on command failure 8a39b39
Espen Hovlandsdal test(cli): shorten test ids to keep within 64 characters 8f8116d
Per-Kristian Nordnes fix(types): add forgotten component schema extension (inlineBlock) 57c850c
Per-Kristian Nordnes ci(github-actions): install playwright browsers 32e1ea9
Per-Kristian Nordnes chore(portable-text-editor): add playwright and remove puppeteer as dev dep. 8843d4c
Per-Kristian Nordnes test(portable-text-editor): replace puppeteer with playwright in collab. tests 3ddb326
Per-Kristian Nordnes chore: streamline to latest playwright version 55dadce
Per-Kristian Nordnes refactor(portable-text-editor): move components and slightly improve them 0380d10
Per-Kristian Nordnes feature(portable-text-editor): add API method insertBreak 53eeb98
Per-Kristian Nordnes refactor(portable-text-editor): move bufferUntil to own utils file d332177
Per-Kristian Nordnes feature(portable-text-editor): Slate Container component 87b7d24
Per-Kristian Nordnes feature(portable-text-editor): add Validator component 1206a02
Per-Kristian Nordnes feature(portable-text-editor): add Synchronizer component 5eefe8e
Per-Kristian Nordnes feature(portable-text-editor): keyGenerator context 7922a22
Per-Kristian Nordnes feature(portable-text-editor): add useSyncValue hook 680d9eb
Per-Kristian Nordnes fix(portable-text-editor): fail proof unset patchToOperation 61823ad
Per-Kristian Nordnes fix(portable-text-editor): add condition (no listItem) to equalToEmptyEditor test fn d66f967
Per-Kristian Nordnes chore(portable-text-editor): small comment adjustments + add missing TS return def. 812008a
Per-Kristian Nordnes refactor(portable-text-editor): refactor how plugins subscribe and takes options c21d693
Per-Kristian Nordnes fix(portable-text-editor): fix a bug where content wasn't unset correctly 9ed28c0
Per-Kristian Nordnes refactor(portable-text-editor): refactor PortableTextEditor class component e35f0d4
Per-Kristian Nordnes refactor(portable-text-editor): refactor Editable component e07f166
Per-Kristian Nordnes test(portable-text-editor): update tests to work with latest refactorings 3aa3bcc
Per-Kristian Nordnes test(portable-text-editor): fix order of emitting patch/value ec7e44d
Per-Kristian Nordnes refactor(sanity/core/form/inputs): update renamed prop name for PTE in PT-input 6aa63b5
Per-Kristian Nordnes fix(portable-text-editor): remove export that no longer exist 0840377
Per-Kristian Nordnes chore(portable-text-editor): remove unused code 8840d25
Per-Kristian Nordnes refactor(portable-text-editor): code hygiene pass, remove unused param, re-enable debug statements c8942d6
Per-Kristian Nordnes fix(form/inputs): add missing hook deps and types 0ac5085
Per-Kristian Nordnes chore: upgrade @sanity/client which was accidentially downgraded a15682e
Robin Pyon fix: revert client getUrl and getDataUrl usage (#4174) dc6f1cc

Don't miss a new sanity release

NewReleases is sending notifications on new releases.