npm sanity 3.0.0-dev-preview.10
v3.0.0-dev-preview.10

latest releases: 3.64.2-react-compiler.0, 3.64.1, 3.64.0...
2 years ago

Features

  • Added new --api flag when deploying GraphQL APIs, allowing you to only deploy specific APIs instead of all of them
  • The development server no longer needs to be restarted when changing a custom document component

Notable bugfixes

  • Fixes a bug where the studio would be rendered in read-only mode if user did not have any roles in the current project, as opposed to showing the "Not authorized" screen
  • Changes how the portable text editor handles editing of inline objects, annotations and custom block objects - using popovers for inline objects and annotations, and using dialogs for custom block objects.
  • Fixes a bug where the cursor in the portable text editor might get stuck in certain cases
  • Fixes a bug where an object/array input might render even if all its children were hidden
  • Fixes a bug where pnpm would not be able to execute the Sanity CLI binary

Full changelog

Author Message Commit
Marius Lundgård refactor(sanity): make inline objects and annotations open in popover by default e57e6c5
Per-Kristian Nordnes refactor(sanity): make more spesific kinds for pt members d61f59c
Espen Hovlandsdal build: build release notes against v3 if on v3 branch locally 848659f
Per-Kristian Nordnes fix(sanity): remove unnecessary prop for pt-input toolbar d731866
Per-Kristian Nordnes fix(sanity): restore CSS that was changed by accident b1073a5
Per-Kristian Nordnes refactor(sanity): simplify scrollToFocus hook 10a4ea6
Per-Kristian Nordnes fix(sanity): fix invalid type check 12e5924
Per-Kristian Nordnes fix(sanity): fix type issue and remove unused import ce43d09
Per-Kristian Nordnes fix(sanity): include pt members with changes too 6b58e3c
Bjørge Næss test(form): remove onFocus/onBlur snapshot tests 64504a0
Espen Hovlandsdal feat(server): rebuild index document on custom component change 78ed368
Espen Hovlandsdal refactor(schema): clarify that order of fields matter in block type d0828e0
Espen Hovlandsdal fix(types): correct span vs block mismatch in portable text types e9913e9
Espen Hovlandsdal fix(types): add missing blockEditor prop on annotations prop 0fc3436
Espen Hovlandsdal feat(block-tools): use strict typings 916af64
Espen Hovlandsdal fix(portable-text-editor): use inferred typing when normalizing blocks 220fd08
Espen Hovlandsdal docs(block-tools): use named imports 82b8dc4
Espen Hovlandsdal feat(cli): add id option to GraphQL APIs da39f92
Espen Hovlandsdal feat(cli): allow specifying --api to filter which APIs to deploy 542d16b
Espen Hovlandsdal refactor(form): fix formatting issue 87978db
Espen Hovlandsdal chore(block-tools): drop unused dependency 053e1c6
Espen Hovlandsdal fix(diff): export missing diff types 3de8ea5
Espen Hovlandsdal docs(diff): add documentation and stability tags for diff package a59d339
Per-Kristian Nordnes refactor(sanity): fix issues and rename hook for scrolling to pt member 5954e74
Per-Kristian Nordnes fix(sanity): fix issue where cursor got stuck c099197
Per-Kristian Nordnes chore(sanity): delete unused hook for pt input 05ae2db
Per-Kristian Nordnes refactor(sanity): blur and focus while toggling pt-input fullscreen 14556b5
Per-Kristian Nordnes refactor(sanity): reintroduce scrollSelectionIntoView hook 7fb647d
Per-Kristian Nordnes refactor(sanity): remove no longer needed hook dep. bbc637b
Bjørge Næss fix(form): fix bug not hiding parent when all members are hidden da88b9d
Bjørge Næss chore: upgrade react-rx 0f2711a
Evan Ford fix(cli): work around pnpm shell script execution bug f1b8533
Espen Hovlandsdal refactor(cli): check shebang of cli script instead of path d12c554
Bjørge Næss fix(form): remove collapsible/collapsed as a FormNode concern a7a3bf9
Bjørge Næss chore(dev): restore cross dataset reference test schemas a5bafb8
Bjørge Næss test(form): add test-id to fields 9ba9287
Bjørge Næss test(form): await promise settlement 640c09f
Bjørge Næss test(form): remove redundant tests 9b2ca1c
Bjørge Næss test(form): disable failing cross dataset input tests 7635e0a
Bjørge Næss test(form): remove redundant object input tests and make the suite pass again 5d74438
Bjørge Næss test(form): add unit tests for asserting form store collapsible field behavior 51ccfed
Bjørge Næss test(form): update snapshot afd7010
Espen Hovlandsdal fix(types): correctly type diffMatchPatch values as strings 522e206
Espen Hovlandsdal refactor(mutator): use strict typescript settings 104559d
Espen Hovlandsdal refactor(form): disable incorrect patcher example in workshop 7da958e
Espen Hovlandsdal refactor(mutator): reduce number of exports 86db411
Herman Wikner feat(studio): add not authenticated screen (#3380) f9e7459
Espen Hovlandsdal fix(auth): handle callback url only in auth boundary b6a12fb

Don't miss a new sanity release

NewReleases is sending notifications on new releases.