sanity

Sanity Studio – Rapidly configure content workspaces powered by structured content

MIT License

Downloads
9.5M
Stars
5.2K
Committers
128

Bot releases are hidden (Show)

sanity - v3.19.1

Published by rexxars 12 months ago

Installation and upgrading

To initiate a new Studio without installing the CLI globally:

npm create sanity@latest

To upgrade a v3 Studio, run this command in its folder:

npm install sanity@latest

Notable changes

  • Adds v2022-03-08 to list of predefined API versions in the Vision plugin
  • Hotkeys are now displayed using platform-aware keys (eg Opt instead of Alt on Mac)

Notable bugfixes

  • Fixes an issue where references would not open in-place, instead yielding an error about being changed after opening

📓 Full changelog

Author Message Commit
Binoy Patel chore(e2e): run e2e tests on PRs on ephemeral datasets (#5046) 8486c0a298
Espen Hovlandsdal feat(core): use platform-aware hotkeys (#5065) 6e1518cbc7
Binoy Patel chore(test): fixes cache key so it can be re-ran successfully without error (#5097) 62b93c83bc
Per-Kristian Nordnes fix(portable-text-editor): fix issues for .delete fn and add tests (#5060) 77a60d2285
renovate[bot] chore(deps): update dependency eslint-config-sanity to v7 (#5100) acd33c3cba
Binoy Patel chore(e2e): refactor e2e ci to not fail due to parallelization of runs (#5098) c915ba2766
Espen Hovlandsdal feat(vision): add v2022-03-07 to list of API versions (#5102) ddd25cd7c9
Per-Kristian Nordnes fix(form/inputs): fix bug with onRemove cb for TextBlock (#5061) c64d0e29eb
Espen Hovlandsdal fix(core): reference links not opening correct pane (#5116) ba7a5583ed
sanity - v3.19.0

Published by bjoerge 12 months ago

Installation and upgrading

To initiate a new Studio without installing the CLI globally:

npm create sanity@latest

To upgrade a v3 Studio, run this command in its folder:

npm install sanity@latest

✨ Highlights

This release adds support for styled-components v6. This is an optional upgrade as we'll continue to support v5 during the lifecycle of Sanity Studio v3.

🐛 Notable bugfixes

  • Fixes a bug where pasting HTML lists into the Portable Text Input would disregard schema configuration for list blocks.
  • Fixes an issue where logos of custom auth providers were missing on login screen.
  • Fixes an issue where pasting from Google Docs to the Portable Text editor would apply bold formatting to the pasted content on Windows computers.
  • Fixes minor issue causing the annotation toolbar popover to not always display correctly.
  • Fixes a bug where the Portable Text input would capture focus trying to edit an inline object's field named .text.
  • Fixes an issue where certain patches would apply differently in the studio and in Content Lake, leading to the studio UI not reflecting the new values for some fields.
  • Fixes an issue where certain remote patches would not cleanly apply in the studio, requiring a reload of the document to see the changes.
  • Fixes an issue where using >= or <= JSONMatch filters for patch operations would cause the studio to return error messages and not apply the patch correctly.
  • Fixes published and edits message in the document list.

📓 Full changelog

Author Message Commit
Per-Kristian Nordnes fix(block-tools): enforce list support in schema (#4985) 318efe47ec
Bjørge Næss chore(eslint): ignore all 'dist' directories a585c40572
Bjørge Næss chore(scripts): revert convert symlinkDependencies script to ts (#5008) d19aa5ec8b
Bjørge Næss test(cli): reject promise returned from exec() upon non-zero exit code (#5009) a0f2c2713e
Binoy Patel fix(login): fix issue where logo is not shown on custom auth providers (#5002) 744bfdfd69
Binoy Patel chore(core): add debug schema for virtualization bug (#5017) 2f3e763545
Binoy Patel chore(e2e): Run e2e tests in shards (#5006) 40975449ee
Bjørge Næss test(cli): symlinkDependencies before running npm install (#5020) 16a0336a76
Bjørge Næss fix(deps): support styled-components v6 (#4917) eb86f8aaa8
Per-Kristian Nordnes fix(block-tools): fix Windows issue with gdocs preprocessor rule f30b86929e
Per-Kristian Nordnes test(block-tools): add tests for gdocs pre-processsing 45683f159b
ecospark[bot] chore(deps): dedupe yarn.lock (#5024) 37bcfd58fa
renovate[bot] chore(lockfile): update dependency sanity-plugin-mux-input to v2.2.3 (#5030) 7c2af8de18
renovate[bot] chore(lockfile): update dependency @sanity/assist to v1.2.9 (#5031) 455fbbc2d8
renovate[bot] chore(deps): update dependency styled-components to v6 (#5034) 4cd74703ef
renovate[bot] chore(deps): update dependency @sanity/ui-workshop to ^1.2.11 (#5027) c01ffcfbba
renovate[bot] chore(deps): update dependency @types/use-sync-external-store to ^0.0.5 (#5029) 26bd77e760
Per-Kristian Nordnes fix(form/inputs): Track focusPath for a span's .text prop + harden test condition 85d83fb3c5
Per-Kristian Nordnes fix(core/inputs): support setting initial PTE selection 95d290dbdd
Per-Kristian Nordnes test(playwright-ct): support document and focusPath props f5f1ebc4c0
Per-Kristian Nordnes test(playwright-ct): add test for focus tracking in PT-input b8474b1e23
Per-Kristian Nordnes test(playwrigth-ct): fix issue with Webkit tests e2484bdd93
Per-Kristian Nordnes refactor(portable-text-editor): rename var to be more explicit aa5eb949d1
Per-Kristian Nordnes refactor(playwright-ct): make TestWrapper form agnostic aaf599d4bb
Per-Kristian Nordnes refactor(core/form/inputs): simplify focus handling bd6569025d
Per-Kristian Nordnes fix(core/inputs): always scroll to member, but don't re-apply same selection 22ba618d83
Per-Kristian Nordnes fix(core/form/inputs): use useLayoutEffect over useEffect for focusPath tracking hook 601b187fc4
Per-Kristian Nordnes test(playwright-ct): simplify focusPath tests 25c72108cd
renovate[bot] chore(deps): update dependency @optimize-lodash/rollup-plugin to ^4.0.4 (#5025) 97e2949984
renovate[bot] chore(deps): update dependency @portabletext/toolkit to ^2.0.10 (#5026) d7a47207ac
renovate[bot] chore(lockfile): update dependency @sanity/eventsource to v5.0.1 (#5037) 242bfb7a09
renovate[bot] chore(deps): update dependency vite to ^4.5.0 (#5040) bd7116f7bd
renovate[bot] chore(deps): update dependency @vitejs/plugin-react to ^4.1.0 (#5038) 26cb528b1e
renovate[bot] chore(deps): update dependency esbuild to ^0.19.5 (#5035) 3f8fbfce75
renovate[bot] chore(deps): update dependency esbuild-register to ^3.5.0 (#5039) 7e027f8aaf
renovate[bot] chore(deps): update dependency @tanstack/react-virtual to v3.0.0-beta.68 (#5028) 340aada686
renovate[bot] chore(lockfile): update dependency @portabletext/react to v3.0.11 (#5036) 6445f3270c
renovate[bot] chore(lockfile): update dependency @sanity/ui to v1.8.3 (#5051) f8ef3be6b6
renovate[bot] chore(lockfile): update dependency @sanity/icons to v2.6.0 (#5052) c6e2912da1
renovate[bot] chore(lockfile): update dependency groq-js to v1.3.0 (#5053) 5366a9b898
Cody Olsen chore: update snapshots e37c8ede51
renovate[bot] chore(deps): update actions/setup-node action to v4 (#5054) 1a2c5f16f9
Cody Olsen Revert "chore(deps): update dependency @tanstack/react-virtual to v3.0.0-beta.68 (#5028)" 1728fa6d03
Per-Kristian Nordnes fix(core/inputs): fix issue with toolbar popover visibility toggling 8ea5cff706
Per-Kristian Nordnes test(playwright-ct): add test for annotation toolbar popover visibility e68189cf35
Per-Kristian Nordnes fix(core/form/inputs): fix scrolling of annotation toolbar popover 3c64bec20b
Cody Olsen chore(renovatebot): use the correct group name for dev deps 474c124cdd
Cody Olsen chore(renovate): don't group dev updates c51319af5f
Per-Kristian Nordnes doc(form): add doc and example for components extention of block type (#5059) 5233f358fc
Per-Kristian Nordnes fix(portable-text-editor): allow user event handlers on Editable component (#5058) 441f637ef0
Binoy Patel chore(e2e): fix report merging (#5045) 6fee81b11f
Espen Hovlandsdal fix(mutator): apply setIfMissing prior to set (#5062) 8b4ec5d735
Bjørge Næss fix(deps): bump @sanity/ui to latest (#5056) 935601bf25
renovate[bot] chore(deps): update dependency typescript to ^5.2.2 (#5073) 1ea4b2bf83
renovate[bot] fix(deps): update dependency @sanity/client to ^6.7.0 (#5032) 36a33d49ab
renovate[bot] chore(deps): update dependency turbo to ^1.10.16 (#5070) e54623a622
renovate[bot] fix(deps): update dependency get-it to ^8.4.4 (#5071) 01e3eef2eb
Binoy Patel chore(test): jest 29 migration (#5069) fd3a972ed6
Binoy Patel chore(e2e): create a test studio for e2e tests (#5044) 2d58099226
Per-Kristian Nordnes test(portable-text-editor): adjust timings 311d5b6043
renovate[bot] chore(deps): update dependency next to v14 (#5081) 7272259966
renovate[bot] chore(lockfile): update dependency @sanity/assist to v1.2.11 (#5083) d6b908814a
Espen Hovlandsdal fix(mutator): match deep set/setIfMissing behavior (#5048) 28884c65b9
Espen Hovlandsdal fix(mutator): restore greater than/less than in jsonmatch constraints (#5063) fd7db60cb1
Per-Kristian Nordnes ci: move PTE e2e tests out in own workflow (#5080) afa3f71ce5
Binoy Patel chore(test): fix unit test caching issue (#5092) 829f5416e5
Nina Andal Aarvik fix(desk): edit logic for published- and edit status message in document list (#5067) 2013203d08
Herman Wikner feat(desk): implement comments (beta) (#4886) 08034640c3
Robin Pyon refactor: use transient props in various styled components (#5093) ae0ca14102
sanity - v3.18.1

Published by rexxars about 1 year ago

Installation and upgrading

To initiate a new Studio without installing the CLI globally:

npm create sanity@latest

To upgrade a v3 Studio, run this command in its folder:

npm install sanity@latest

Notable changes

  • Fixes a typo in a validation error message (thanks @largis21!)
  • Fixes an issue where schema error messages would be shown with overlapping text on long titles/field names
  • Improves typescript documentation for portable text/block content related types
  • Adds some metadata to cross-dataset references when deploying GraphQL APIs in order to allow programatically resolving reference

📓 Full changelog

Author Message Commit
largis21 chore: typo in error message (#4988) 60f1091152
Binoy Patel fix(core): fixes issue with overlapping text in error message (#4970) 2001ced41a
Tommy Petty chore: prep work for making e2e tests more isolated (#4961) 241402ab04
Per-Kristian Nordnes doc(sanity): add TS-doc for block content related types (#4674) b6d4c400d2
Rico Kahler feat(cli): add CDR metadata to GraphQL json schema (#4975) d8cbf10ae9
sanity - v3.18.0

Published by binoy14 about 1 year ago

Installation and upgrading

To initiate a new Studio without installing the CLI globally:

npm create sanity@latest

To upgrade a v3 Studio, run this command in its folder:

npm install sanity@latest

✨ Highlights

  • Responsive improvements to the Vision plugin to accommodate narrower screens
  • Updated icon for copy buttons
  • Bump engines.node to >= 18

🐛 Notable bugfixes

  • Fixes type for canHandleIntent to allow passing undefined
  • Fixes placement of "Add item…" popover in array inputs
  • Fixes a bug where edit intent was not called when added to a menuItem (thanks @israelroldan 🙏)

📓 Full changelog

Author Message Commit
Simeon Griggs chore: change clipboard icon to copy icon (#4974) 317df79efc
renovate[bot] chore(deps): update actions/checkout action to v4 (#4933) 9e84fb818c
renovate[bot] chore(deps): update tibdex/github-app-token action to v2 (#4934) 1de96e8e03
renovate[bot] chore(deps): update babel monorepo (#4926) de7d7940da
Knut Melvær feat(vision): make panes responsive for minimal breakpoint (#4893) 4b3a183ca4
Binoy Patel fix(desk): fixes type for canHandleIntent in documentList (#4969) ad3cf4f1f6
Bjørge Næss chore: bump engines to node 18 (#4981) 3fb27a85f9
Bjørge Næss fix(form): set fallback placement for type-select popover in array inputs (#4979) 0068787598
Israel Roldan fix(desk): pass intent in MenuNodes resolver (#4892) 4151f2e640
sanity - v3.17.0

Published by binoy14 about 1 year ago

Installation and upgrading

To initiate a new Studio without installing the CLI globally:

npm create sanity@latest

To upgrade a v3 Studio, run this command in its folder:

npm install sanity@latest

✨ Highlights

Perspectives in listenQuery

Added support for perspectives in the listenQuery() method

🐛 Notable bugfixes

  • Fixes an issue where reverting all changes to an array of primitives would not clear the list as expected
  • Fixes syntax errors in schema files when initializing a blog template without Typescript in a Next.js app
  • Fixes an issues with array items not showing all items inside a field group under specific conditions
  • Fixes rendering issues with certain popovers being caused by wrong placement
  • Improves accessibility for document lists
  • Fixes an issue that could sometimes make reference validation errors disappear when switching between documents

📓 Full changelog

Author Message Commit
Espen Hovlandsdal feat: support perspectives in listenQuery (#4878) 6020a46588
renovate[bot] chore(deps): update dependency @sanity/ui to ^1.8.2 (#4847) c1fe6e5409
Nina Andal Aarvik fix(core): unset changes in reverse order in patch operation (#4957) 0715a15dad
RD fix: syntax issues in next.js JS blog template (#4952) c6722539c2
Binoy Patel fix(core): fix array items not showing in field groups (#4930) f55b7d8ae5
Bjørge Næss fix(core): set default placements for certain studio popovers (#4963) aab85f9d6d
Nina Andal Aarvik fix(core): accessibility improvements on document lists (#4958) 0fa5e7083d
Bjørge Næss fix(core): re-use previously prepared workspace configs (#4867) 8387122095
Kristian Zondervan Fix broken getting started link in clean readme (#4967) 5c5312d148
Bjørge Næss fix(core): make sure to re-emit current edit state when re-subscribing to document validation (#4954) 17300c8e2b
sanity -

Published by ricokahler about 1 year ago

Installation and upgrading

To initiate a new Studio without installing the CLI globally:

  npm create sanity@latest

To upgrade a v3 Studio, run this command in its folder:

  npm install sanity@latest

✨ Highlights

Improved validation of Block Schema Members

We enhanced the validation of block schema members. Block schema members cannot be given a type that is not an object-like type. In previous releases, we weren't preventing that. This could lead to unexpected errors. In this release we addressed the issue by giving certain permissions and warnings for particular scenarios. More details can be found in the PR description.

Title updates in Desk Tool

In this release, we improved the navigation inside the studio by updating the <title> element to make it more specific to the current route every time a user navigates in the studio. This makes it easier to navigate through documents and switch between tools.

Increased performance for dataset imports

Past versions encountered challenges with concurrent operations during parallel reference strengthening; this issue has been resolved for some time. The current release enhances import performance by further optimizing parallel strengthening of references. This greatly improves import performance.

Other features

Simplified managing reference publishing icons by adding aria-labels for accessibility.

🐛 Notable bugfixes

  • Fixed a visibility issue related to breadcrumbing in the review changes section. Made the breadcrumbs consistent with the new breadcrumb styling.
  • Fixed an issue where dialogs wouldn't properly appear at smaller breakpoints.
  • Minor fix with the restore document history function in the desk tool related to nested panes.
  • Use the index as a key instead of the path in the desk tool to handle multiple validation errors for the same field/node.

📓 Full changelog

Author Message Commit
Cody Olsen chore(ci): fix remote caching on gh actions (#4897) 3885585bf
Per-Kristian Nordnes fix(schema): add 'span' to core types 4e0284789
Per-Kristian Nordnes feature(schema): validate block children for supported object types 9c8bb83de
Per-Kristian Nordnes test(schema): test block members validation 07538067b
Per-Kristian Nordnes test(schema): refactor validation test to use main function b3b365eea
Pedro Bonamin feat(titles): Update titles inside desk tool (#4887) 2ace4f1f6
Nina Andal Aarvik fix(core): add maxLength to breadcrumb and change symbol (#4880) 5c75b2c04
Bjørge Næss fix(desk): use index as key instead of path (#4890) 645aeddae
Binoy Patel chore: add a docs report actions for PRs (#4889) 384155522
Binoy Patel chore(docs): fix doc report cleanup script (#4901) a7523a617
Espen Hovlandsdal refactor: remove unused useConditionalReadOnly hook (#4902) b99e332a7
Binoy Patel chore(docs): compare PRs against next branch instead of current (#4904) c27ee3e2b
Bjørge Næss chore(perf-tests): omit watch from esbuild options 7e9e48fd3
Robin Pyon fix(desk): use correct dialog positioning at smaller breakpoints (#4894) e62906f32
renovate[bot] chore(lockfile): update dependency typescript to v5.2.2 (#4912) fe761cf20
Binoy Patel chore(docs): fix dataset delete script (#4906) 50b79769d
Nina Andal Aarvik fix(core): add aria-label to reference publish icons (#4899) 31539543b
Bjørge Næss test(import): fix test failure caused by error message update in node v20 (#4918) 2f08a79ad
Binoy Patel chore(docs): fix docs report comment (#4920) bf50a7713
Bjørge Næss chore(ci): drop Node v16 from test matrix, add Node v20 (#4913) 67696cb75
Bjørge Næss chore(sanity): fix resolveUploader typings (#4916) 112a46a6e
Per-Kristian Nordnes test(portable-text-editor): increase timeout for CI a94680bf4
Pedro Bonamin feat(WCAG): Associate field descriptions to inputs (#4896) e7a8e327f
Binoy Patel fix(core): fixes issue with restoring document in nested panes (#4915) 47f3be9dc
Espen Hovlandsdal fix(import): increase concurrency of patching, document creation (#4900) 0f52cfc54
Binoy Patel chore(docs): adds docs for useCurrentUser hook (#4919) 85719b754
sanity - v3.16.4

Published by rexxars about 1 year ago

Installation and upgrading

To initiate a new Studio without installing the CLI globally:

npm create sanity@latest

To upgrade a v3 Studio, run this command in its folder:

npm install sanity@latest

🐛 Notable bugfixes

  • Fixes a regression in the Portable Text Input toolbar where it didn't reflect the active decorators state in some situations.
  • Fixes slug input field appearing as nested object

📓 Full changelog

Author Message Commit
Per-Kristian Nordnes test(portable-text-editor): decrease throttle ms for test env 353e30cd0f
Per-Kristian Nordnes chore(portable-text-editor): upgrade jest-dev-server 71edba18e8
Per-Kristian Nordnes chore: update yarn.lock b92f2e5aa4
Per-Kristian Nordnes test(portable-text-editor): improve TS in jest dev server files 09eab65eb5
Per-Kristian Nordnes test(portable-text-editor): refactor collab test environment 227cb23599
Per-Kristian Nordnes test(portable-text-editor): get rid of js-dom dependency 8f20546362
Per-Kristian Nordnes chore(portable-text-editor): upgrade @portabletext/toolkit 761ffe89c9
Per-Kristian Nordnes chore: update yarn.lock 85acf50c28
Per-Kristian Nordnes chore(portable-text-editor): align versions of react-dom and jest with monorepo 06c923a8f3
Per-Kristian Nordnes chore: update yarn.lock d037f09b6b
Per-Kristian Nordnes chore(portable-text-editor): use safe fork of node-ipc 0ff4349c51
Per-Kristian Nordnes chore: update yarn.lock 0f31cc54e0
Per-Kristian Nordnes chore(portable-text-editor): remove unused dev dep. d4eccb8cf1
Per-Kristian Nordnes test(portable-text-editor): add missing await statements a3af4e0c5a
Per-Kristian Nordnes test(portable-text-editor): rename 'start' command to 'dev' 50952fd171
Per-Kristian Nordnes test(portable-text-editor): tweak test document markup 620934978d
Per-Kristian Nordnes test(portable-text-editor): add comment 306932bbcb
Per-Kristian Nordnes test(portable-text-editor): remove test exception 20378f9261
Nina Andal Aarvik fix(core): use primitiveField for slug schema type (#4861) 6b3cc02e2f
renovate[bot] chore(lockfile): update dependency groq-js to v1.2.0 (#4862) 66afcd7415
Per-Kristian Nordnes fix(portable-text-editor): emit new selection on mark toggle (#4881) d91357f2fb
Per-Kristian Nordnes test(playwright-ct): add to tests (#4876) 97e912de1a
sanity - v3.16.3

Published by rexxars about 1 year ago

Invalid release

This version was erroneously published - please use v3.16.4.

sanity -

Published by bjoerge about 1 year ago

Installation and upgrading

To initiate a new Studio without installing the CLI globally:

npm create sanity@latest

To upgrade a v3 Studio, run this command in its folder:

npm install sanity@latest

🐛 Notable bugfixes

  • Fixes a regression in v3.16.0 that prevented reference validation errors from appearing in certain cases

📓 Full changelog

Author Message Commit
Bjørge Næss fix(core): preserve earlier document availability status (#4888) c2aec5a134
sanity -

Published by bjoerge about 1 year ago

Installation and upgrading

To initiate a new Studio without installing the CLI globally:

npm create sanity@latest

To upgrade a v3 Studio, run this command in its folder:

npm install sanity@latest

🐛 Notable bugfixes

  • Fixes a bug that could make certain queries fail due to switching back to an earlier API version

📓 Full changelog

Author Message Commit
Espen Hovlandsdal chore(cli): move vercel dependencies to dev dependencies (#4877) c601cabfda
Bjørge Næss fix(desk): remove simple filter check/v1 fallback (#4882) e3e004f199
sanity - v3.16.0

Published by rexxars about 1 year ago

Installation and upgrading

Fresh install

To install and initiate a new Sanity Studio without installing the Sanity CLI globally, run the folling command in the terminal:

npm create sanity@latest

Upgrade

To upgrade an existing instance to Sanity Studio v3, run the following folling commands in the terminal:

# Go to the root folder of the installed Studio instance
cd path-to/sanity-studio/root-folder

# Upgrade Studio to v3
npm install sanity@latest

✨ Highlights

In a nutshell:

  • Enhanced Portable Text editing experience.
  • Faster syncing.
  • Full support for Portable Text on Android devices.
  • Offline detection

Improved Unicode support

Sanity Studio uses the diff-match-patch algorithm to match and patch document changes. In previous versions of the Sanity Studio, the underlying library wouldn't work correctly when parsing some Unicode characters. We addressed those issues in this release.
If you experienced issues when using characters such as emojis, Kanji, or other non-Latin characters, this release fixes these issues.

Enhanced Portable Text editing

Besides improved Unicode support, the Portable Text Input and the underlying text editor feature a number of improvements to provide a smoother editing experience.

Faster synchronization

Previously, prolonged fast typing in the editor would trigger debouncing: the Portable Text Input would temporarily suspend committing edits, until you decreased your typing speed below a specified threshold.
This behavior could produce bigger discrepancies between your local value and the corresponding actual value stored in the server side.
Now your changes are committed in a throttled way: the editor commits the changes as you type, without compromising performance.

Improved undo and redo

Undo and redo features have been improved considerably, especially when working with several editors on the same document.

Better Android support

The Portable Text Input is now fully supported on Android. Previously, typing in the editor using an Android on-screen keyboard would cause some issues.

Offline detection

The Portable Text Editor automatically enters read-only mode if it detects that the network is offline.
This behavior helps keep your local document in sync with the corresponding copy on the server when there is no online access, and it prevents losing changes as a consequence of not committing them.

Other features

  • The sanity module is now marked as free of side effects, which can produce smaller bundle sizes (thanks @mckelveygreg! 🙏)
  • Improved UX when deleting a document.

🐛 Notable bugfixes

  • Fixed a bug where changing text styles in the Portable Text Editor would cause the editor to lose focus.
  • Fixed a problem that would occur when repeatedly applying and removing text decorators while typing in the Portable Text Input.
  • Fixed the odd placement of the "Empty" placeholder in the Portable Text Editor on WebKit browsers.
  • Fixed a media visibility issue in Safari occurring in list previews with custom SVG elements.
  • Fixed the alignment of action items in pane headers on mobile devices.
  • Fixed a padding inconsistency in reference fields.
  • Fixed a visibility issue affecting tooltips in the navigation bar, and causing them to be displayed behind open menus.
  • Fixed an issue affecting cross-dataset reference fields displayed as nested fields, inconsistent with regular reference fields.
  • Fixed a bug that caused specifying apiVersion on documentList() and documentTypeList() to not work in the desk structure.
  • Fixed the initial flashes of validation errors for valid content on document load.

📓 Full changelog

Author Message Commit
renovate[bot] fix(deps): update dependency esbuild to ^0.19.0 (#4810) 97b3363d8
Greg McKelvey chore(sanity): ⚡ add sideEffects: false to package.json for smaller bundles (#4822) 425be2170
Fred Carlsen fix(desk): close document panes when document is deleted (#4563) 5b3a4153e
renovate[bot] chore(deps): update dependency @sanity/eslint-config-studio to ^2.0.4 (#4784) 52435512a
Espen Hovlandsdal test(e2e): add test for kanji textarea input 34e4ebbb1
Espen Hovlandsdal refactor: switch diff-match-patch library 279bbd647
Espen Hovlandsdal test(e2e): simplify kanji edit test (use fill() over type()) 2438b4175
Espen Hovlandsdal refactor(pte): hoist patchToOperations functions to root e26ba8278
Espen Hovlandsdal refactor(pte): drop unused arguments for patchToOperations 2654b3b4c
Espen Hovlandsdal refactor(pte): simplify/optimize diffMatchPatch application 25230b8a2
Espen Hovlandsdal refactor(pte): skip debug serialization when not enabled c64b0cee1
Espen Hovlandsdal refactor(pte): use DMP to apply patches, then apply operations 95e308aa2
Espen Hovlandsdal chore: fix confusing description in test-studio f8b4c4592
Espen Hovlandsdal fix: allow exceeding indices when applying DMP patches 80f1bdb61
Per-Kristian Nordnes fix(portable-text-editor): remove invalid return value 99355d8bc
Per-Kristian Nordnes refactor(portable-text-editor): use throttle instead of debounce bc62abce3
Per-Kristian Nordnes refactor(portable-text-editor): refactor undo/redo plugin 1bc96aab6
Per-Kristian Nordnes feature(core/form/inputs): set PortableTextInput in readOnly mode when offline e0dd766d2
Per-Kristian Nordnes fix(core/form/inputs): keep selection intact when toggling block styles (PT-input) 79959c9c6
Per-Kristian Nordnes refactor(portable-text-editor): refactor synchronization + upgrade slate to latest 17f3393c2
Per-Kristian Nordnes chore(portable-text-editor): upgrade slate and slate-react b6ea88dbd
Per-Kristian Nordnes test(portable-text-editor): add and refactor tests 66cba84cf
Per-Kristian Nordnes fix(core/form/inouts): PT-input - remove default outline style of the PTE 2bafd3256
Per-Kristian Nordnes chore: update yarn.lock 7a3dbc801
Per-Kristian Nordnes chore(sanity): remove unused dep. diff-match-patch 1f6cb8205
Per-Kristian Nordnes chore(portable-text-editor): upgrade slate packages 8cb1698a4
Per-Kristian Nordnes chore(portable-text-editor): remove unused dep. diff-match-patch b8c66bd3f
Espen Hovlandsdal test(portable-text-editor): add failing undo/redo tests 17add9354
Per-Kristian Nordnes test(portable-text-editor): add another test for undo/redo 0833de96c
Per-Kristian Nordnes fix(portable-text-editor): fix bug in offset calculation for undo/redo remove text aeff82409
Per-Kristian Nordnes refactor(portable-text-editor): keep network status / readOnly vars seperate cd87d3655
Espen Hovlandsdal chore(deps): upgrade to prettier v3 bc74ba134
Espen Hovlandsdal chore: format with prettier v3 a5cc3e03d
Espen Hovlandsdal chore: remove unintentionally added file b3a47589b
Cody Olsen chore(ci): add turborepo to speed up yarn build:cli (#4812) 0ae0eac07
Jon Eide Johnsen docs: add ctas to readme header (#4836) 0736f7570
ecospark[bot] chore(deps): dedupe yarn.lock (#4835) 72e082013
Bjørge Næss chore: convert various scripts to typescript (#4832) e60f891ce
Herman Wikner feat(core): field actions improvements (#4824) e47e251d2
ecospark[bot] chore(prettier): fix unformatted files (#4839) 53b4fe8b2
Cody Olsen chore(CI): remove double PRs on prettier fixes (#4841) 08e73add2
Fred Carlsen test(playwright): initial component testing with playwright-ct (#4779) f44593ec4
Herman Wikner fix(core): svg preview issue in safari (#4838) 6a041b35c
Nina Andal Aarvik fix(desk): center align pane header action icons (#4854) d36c17453
Nina Andal Aarvik fix(core): remove padding on ReferenceField (#4842) 0a2438cde
Nina Andal Aarvik fix(core): close navbar tooltips when menubutton is open (#4826) c5bfa12f8
Nina Andal Aarvik fix(core): add check for cdr schematype and use PrimitiveField (#4859) 3ad324b3e
Per-Kristian Nordnes test(playwright): fix hotkey activation + helper method (#4856) 093fec33b
ecospark[bot] chore(prettier): fix unformatted files 🤖 ✨ (#4846) 8e2e5c90e
renovate[bot] fix(deps): update dependency @sanity/client to ^6.4.9 (#4851) 7b3e1f275
renovate[bot] chore(lockfile): update dependency @sanity/assist to v1.1.1 (#4850) 246c06250
Per-Kristian Nordnes fix(portable-text-editor): fix empty placeholder placement for webkit 757b7b523
Per-Kristian Nordnes test(portable-text-editor): update snapshot 1fb093e7f
Per-Kristian Nordnes test(playwright-ct): break up pt-input tests to separate stories 2966b6317
Per-Kristian Nordnes test(playwright-ct): simplify decorators tests 71bc3f188
Per-Kristian Nordnes test(form/inputs): add test id for pt-input placeholder de779887e
Per-Kristian Nordnes test(playwright-ct): add test for placeholder (pt-input) dc25e364f
Per-Kristian Nordnes test(playwright-ct): wrap all pt-input tests in the same description e9194fc76
renovate[bot] fix(deps): update dependency get-it to ^8.4.3 (#4852) 1514a696e
renovate[bot] chore(deps): update dependency @vercel/frameworks to v1.6.0 (#4853) 458ae3e57
Bjørge Næss fix(desk): use configured api version when fetching document lists (#4749) 9d90fb04f
Bjørge Næss fix(core): wait for availability status to arrive before passing on document existence status (#4860) 201cfcc9f
renovate[bot] chore(deps): update dependency @vercel/fs-detectors to v4.1.3 (#4848) 30ab83217
Per-Kristian Nordnes fix(portable-text-editor): fix issue with fast toggling of decorators 25867d6f1
Per-Kristian Nordnes test(portable-text-editor): support hotkey value cf936f000
Per-Kristian Nordnes test(portable-text-editor): add test for sequencing hotkey toggles 43b059077
sanity - v3.15.1

Published by binoy14 about 1 year ago

Installation and upgrading

To initiate a new Studio without installing the CLI globally:

npm create sanity@latest

To upgrade a v3 Studio, run this command in its folder:

npm install sanity@latest

🐛 Notable bugfixes

  • Fixes an issue where package managers were pulling wrong version of the get-it package which is a sub-dependency of the @sanity/client package
  • Fixes an issue that would sometimes cause document lists to not refresh properly after adding or removing a document
  • Fixes issues where timeouts were being cancelled (thanks @balexand!)
  • Fixes an issue where certain GROQ-filters used for access control rules would crash the studio

📓 Full changelog

Author Message Commit
Bjørge Næss chore: upgrade typescript to 5.x (#4809) f7d7b8b747
Cody Olsen fix: ensure @sanity/client pulls in the right get-it version (#4811) 41662a3cc0
Bjørge Næss fix: delay refetching for listener events arriving with visibility != query (#4795) d06b0e0a6d
Brian Alexander fix(core): timeouts randomly being cancelled (#4815) 390c8e5d25
Espen Hovlandsdal fix(core): parenthesis around GROQ-filters crashing ACL checks (#4820) 281ac7a25a
sanity - v3.15.0

Published by binoy14 about 1 year ago

Installation and upgrading

To initiate a new Studio without installing the CLI globally:

npm create sanity@latest

To upgrade a v3 Studio, run this command in its folder:

npm install sanity@latest

✨ Highlights

  • Adds new token login method for rare cases when the more secure cookie approach is not viable/wanted
  • Enables specifying authentication options using an object instead of createAuthStore()
  • Adds new is_defined filter to GraphQL APIs, mirroring the defined() function in GROQ. GraphQL APIs will have to be re-deployed to enable the new filter.

🐛 Notable bugfixes

  • Improves performance when fetching projects list as part of the sanity init CLI command
  • Fixes an issue that would give intermittent validation errors for valid string values when using a regex with global flag
  • Fixes an issue where references to undeclared document types would never load
  • Improves error UIs for reference values
  • Improves the changes pane to show path line and change indicator correctly for the following field types:
    • Array of strings (array of type string)
    • Array of tags (array of type string with layout: 'tags')
    • Array of strings (array of type string with options.list)
    • Array of emails (array of type email)

📓 Full changelog

Author Message Commit
Espen Hovlandsdal feat(auth): allow using explicit token mode for authentication (#4772) ccfe3e76b1
Binoy Patel chore(deps): remove unused typedoc dependency (#4771) 35a14fc191
renovate[bot] chore(deps): update dependency esbuild-register to ^3.4.2 (#4759) 1066301952
renovate[bot] chore(deps): update dependency @vitejs/plugin-react to ^4.0.4 (#4757) 76f7eda338
renovate[bot] chore(deps): update dependency vite to ^4.4.8 (#4762) eda344628b
renovate[bot] chore(deps): update dependency rxjs to ^7.8.1 (#4760) aefd3fcf1b
renovate[bot] fix(deps): update dependency esbuild to v0.18.17 (#4766) d39a4a3fc3
renovate[bot] chore(deps): update dependency styled-components to ^5.3.11 (#4761) 7bec1e7362
renovate[bot] chore(deps): update dessant/lock-threads action to v4.0.1 (#4763) c42ee0631b
renovate[bot] chore(deps): update peter-evans/create-pull-request digest to 1534078 (#4753) 10f56727d1
renovate[bot] chore(deps): update dependency esbuild to ^0.18.17 (#4758) 9284c4a226
Espen Hovlandsdal chore(deps): update dependency @sanity/client to v6.3.0 cc5d0c2bed
Espen Hovlandsdal fix(cli): improve performance of projects list c0a7911827
github-actions chore(deps): dedupe yarn.lock d22192252d
Bjørge Næss fix(validation): reset regex state between validation checks (#4777) 4b7d80cf99
Espen Hovlandsdal feat(auth): allow specifying options without createAuthStore() (#4773) d9a88a5521
Michael feat(graphql): adds is_defined filter (#4767) 1b236922df
Michael chore: graphql cli to use latest API version (#4769) c559d5f07b
Espen Hovlandsdal fix(cli): correct URL for the sanity manage command (#4783) 12af996b85
Bjørge Næss fix(form): move availability checks to reference value preview (#4768) f48430ccce
Bjørge Næss fix(form): improve message when reference points to undeclared document type (#4768) 366a9f1d86
Bjørge Næss fix(form): improve microcopy of reference strength mismatch warning (#4768) b1c0856e54
renovate[bot] chore(deps): update dependency @sanity/uuid to ^3.0.2 (#4789) 3f30312c4b
renovate[bot] chore(deps): update dependency @sanity/pkg-utils to ^2.3.10 (#4785) 0526a429b3
renovate[bot] chore(lockfile): update dependency sanity-plugin-mux-input to v2.2.1 (#4792) c036f1d667
renovate[bot] chore(deps): update dependency @sanity/client to ^6.4.0 (#4791) d336fbebab
renovate[bot] chore(deps): update dependency @sanity/ui-workshop to ^1.2.9 (#4787) dd595cdacb
renovate[bot] chore(deps): update dependency @sanity/ui to ^1.7.4 (#4786) c34c65aa6b
Herman Wikner dev(test-studio): group tsdoc types in structure (#4803) 8f28935304
renovate[bot] fix(deps): Update dependency mendoza to v3 (#4802) e2fd12a032
renovate[bot] chore(lockfile): Update dependency groq-js to v1.1.11 (#4800) ea5519861f
renovate[bot] chore(lockfile): Update dependency get-it to v8.4.1 (#4799) 30884b510f
RitaDias fix(core): fix issue with change indicator and path lines (#4685) 70f635ea42
renovate[bot] chore(lockfile): Update dependency vite to v4.4.9 (#4801) 55a60ad06f
sanity -

Published by bjoerge about 1 year ago

Installation and upgrading

To initiate a new Studio without installing the CLI globally:

npm create sanity@latest

To upgrade a v3 Studio, run this command in its folder:

npm install sanity@latest

🐛 Notable bugfixes

  • Various microcopy improvements
  • Adds isSlug() method to @sanity/types for type-safe asserting of a slug object
  • Fixes an issue where using multiple desk tools in the same studio would cause duplicate "review changes" actions and validation lists to appear. Thanks @andparsons!
  • userHasRole will now accept null as well as a user object, making it more convenient in certain situations where the user might not yet be accessible
  • Fixes issue with auto scrolling on collapsed fieldset
  • Fixes issue where array list would not display all items when wrapped in a custom element
  • Fixes issue where array list would not display when inside a popover

📓 Full changelog

Author Message Commit
Espen Hovlandsdal fix(core): optimize wheel event on CommandList virtual element (#4722) 3dffb111b8
Fred Carlsen PTE microcopy updates (#4624) c3d023409a
Nina Andal Aarvik fix(core): change cdr tooltip text (#4750) c78f9bdf0a
Espen Hovlandsdal feat(types): add isSlug asserter method (#4746) 31cee8ff9b
Espen Hovlandsdal fix(desk): prevent duplicate validation/change inspectors (#4748) 3c1a0e5b20
Espen Hovlandsdal test(block-tools): update snapshots to match copy changes 1378b954aa
Espen Hovlandsdal fix(core): allow null and role-less user in userHasRole fn (#4740) a735461ff3
renovate[bot] fix(deps): update dependency @vercel/frameworks to v1.5.0 (#4752) d9dcc3c64a
Binoy Patel fix(core): fix auto scrolling issue on collapsed fieldset w/ array (#4738) 0cb1a0ed5a
Binoy Patel fix(core): fixes issues with virtualized list when wrapped in an element (#4739) 8779740e12
renovate[bot] fix(deps): update dependency @vercel/fs-detectors to v4.1.1 (#4764) bae83ad35c
Espen Hovlandsdal refactor(validation): clean up imports/exports (always use named) e21c7eb2da
Espen Hovlandsdal refactor(validation): move @sanity/validation into monopackage 856131e72d
Binoy Patel docs(desk): fix 404 links (#4770) 109c3c3ed9
sanity -

Published by bjoerge about 1 year ago

Installation and upgrading

To initiate a new Studio without installing the CLI globally:

npm create sanity@latest

To upgrade a v3 Studio, run this command in its folder:

npm install sanity@latest

🐛 Notable bugfixes

  • Implements the 'document' creation context in the document.newDocumentOptions API
  • Fixes an issue where exported datasets with cross-dataset references could not be imported to different projects. Note that referenced datasets must exist within same project - otherwise use --skip-cross-dataset-references.
  • Removes warning about missing titles for schema types (titles are automatically created based on schema type name - a title is only necessary if the automatic name is incorrect/inaccurate)
  • Titles are now automatically applied to field groups and fieldsets, in the same way as with schema types.
  • Improves error messages from configuration errors
  • Boolean inputs will now show validation errors at the input level
  • Fixes alignment/scrolling issues of references in delete/unpublish dialog
  • Fixes accessibility issues in tooltip text color contrast
  • Fixes various accessibility label issues in the desk tool
  • Fixes issue where focus would jump to first element when hovering divider in menu
  • Fixes an issue where the fallback editor had the title "Editor", instead of the name of the document being edited

📓 Full changelog

Author Message Commit
Espen Hovlandsdal fix(core): deprecate projectId in cross-dataset reference definitions 103d99d652
Espen Hovlandsdal fix(import): rewrite cross-dataset references, add option to skip ad10b38f5e
Espen Hovlandsdal feat(import): check for missing datasets prior to importing 8e8242dcec
Espen Hovlandsdal feat(cli): add --skip-cross-dataset-references flag to dataset import c9cac6630b
Espen Hovlandsdal fix(types): deprecate experimental search for CDRs ea075f071a
Espen Hovlandsdal fix(import): skip datasets lookup if no CDRs are found ed34949e61
Herman Wikner feat(core): implement document creation context in document.newDocumentOptions (#4680) b9298e8ca2
Binoy Patel docs(desk): fix links in tsdoc comment (#4714) 1bae93a79b
Espen Hovlandsdal refactor(config): use human-readable types for config error messages 6224f4743b
Espen Hovlandsdal feat(schema): do not warn on missing title for schema type 6164d24234
Espen Hovlandsdal feat(schema): automatically create titles for field groups without one ffb83395d0
Espen Hovlandsdal fix(types): add missing group property on fieldset definitions 87d642a0a3
Espen Hovlandsdal fix(types): adjust icon property for field group (can only be component) cf968aa8bb
Espen Hovlandsdal feat(schema): automatically create titles for fieldsets without one 6f201e0495
RitaDias fix(core): add missing validation at input level validation (boolean) (#4719) cb646078ba
Espen Hovlandsdal refactor(desk): drop unused validation menu component f70c3df427
Espen Hovlandsdal refactor(core): drop unused validation list components cddba6d9b2
Nina Andal Aarvik fix(desk): minor style change of references in delete/unpublish dialog (#4705) a8e7c2474c
vicbergquist fix(desk): add accessible label to publish icon fd6c2e9204
vicbergquist fix(core): add a11y labels to presence indicators 5182529555
vicbergquist fix(desk): add accessible labels to publish status dcb1fc7053
vicbergquist fix(desk): add accessible labels to review changes button 736437babc
Nina Andal Aarvik fix(core): add logic to focusFirst in customised popover (#4667) 1313dd4f9b
renovate[bot] fix(deps): update dependency get-it to v8.3.0 (#4736) 52d7eb7876
renovate[bot] fix(deps): update dependency @sanity/client to v6.1.7 (#4737) dacb164fba
renovate[bot] fix(deps): update dependency @sanity/ui to v1.7.3 (#4728) 8176fba58a
renovate[bot] chore(deps): update dependency sanity-plugin-mux-input to v2.1.1 (#4734) 6a5f9f4888
renovate[bot] fix(deps): update dependency framer-motion to v10.13.1 (#4735) 4af3c6961a
renovate[bot] fix(deps): update dependency vite to v4.4.7 (#4733) 1f83fcec77
renovate[bot] fix(deps): update dependency react-focus-lock to v2.9.5 (#4732) 0c6f3a23a7
renovate[bot] fix(deps): update dependency esbuild to v0.18.16 (#4731) 9437194b0e
renovate[bot] fix(deps): update dependency @vitejs/plugin-react to v4.0.3 (#4730) ba4e659678
renovate[bot] fix(deps): update dependency @sanity/uuid to v3.0.2 (#4729) 5f65434a97
renovate[bot] chore(deps): update dependency @sanity/pkg-utils to v2.3.6 (#4727) b33ba8aa18
sanity -

Published by bjoerge about 1 year ago

⚠️ THIS IS A MAINTENANCE RELEASE OF A PREVIOUS MAJOR VERSION OF SANITY

We recommend updating to Sanity Studio v3 which provides exceptional flexibility and an unparalleled developer experience. The core packages for Sanity Studio v2 will only receive critical bug fixes until Dec 7th, 2023

Please head over to the documentation for Sanity Studio v3 to learn more.

You can find migration guides from Studio v2 here.

Installation and upgrading

Upgrade the v2 version of the Command Line Interface (CLI) with:

npm install --global @sanity/cli@v2

Upgrade Sanity Studio with:

sanity upgrade

🐛 Notable bugfixes

  • Minor fixes and improvements to studio search

📓 Full changelog

Author Message Commit
Robin Pyon fix(core): various fixes and improvements to studio search [v2] (#4704) 3eb6fd3860
sanity - v3.14.3

Published by rexxars over 1 year ago

Installation and upgrading

To initiate a new Studio without installing the CLI globally:

npm create sanity@latest

To upgrade a v3 Studio, run this command in its folder:

npm install sanity@latest

Notable changes

  • Added scrolling to list of workspace (when many workspaces are configured)
  • Improved contrast of text in certain tooltips

📓 Full changelog

Author Message Commit
renovate[bot] fix(deps): update dependency @vercel/frameworks to v1.4.3 (#4669) f49db7671
renovate[bot] chore(config): migrate renovate config (#4679) a79dc3f1d
renovate[bot] fix(deps): update dependency esbuild to ^0.18.0 (#4630) bae43bfd4
renovate[bot] fix(deps): update dependency @vitejs/plugin-react to v4 (#4635) de75d6976
ecospark[bot] chore(prettier): fix unformatted files 🤖 ✨ (#4693) cc937d29c
Espen Hovlandsdal chore(test-studio): remove dep optimization exclusion 867675aef
RitaDias docs(sanity): update sanity package tsdocs (#4608) ffa183f3c
renovate[bot] chore(deps): update dependency @sanity/ui-workshop to v1.2.4 (#4690) 9e50e22c1
renovate[bot] fix(deps): update dependency @vercel/fs-detectors to v4 (#4634) ada836738
renovate[bot] chore(deps): update dependency @vercel/node to v2 (#4632) a4f15580d
renovate[bot] fix(deps): update dependency vite to v4.4.4 (#4673) 6c37226cc
renovate[bot] chore(deps): update dependency @sanity/eslint-config-studio to v2.0.4 (#4696) c6d0cac3f
Espen Hovlandsdal chore(test-studio): add back dep optimization exclusions, include jsx-runtime a749d6a53
renovate[bot] chore(deps): update dependency @sanity/assist to v1.0.11 (#4695) 4a0fee5fc
Nina Andal Aarvik fix(core): add scrolling to workspace login screen (#4697) d2c85b43a
Espen Hovlandsdal chore: drop unused root-level dependencies (#4694) d94892d19
Espen Hovlandsdal test: temporarily use --forceExit flag until leak is found 64fea888e
Nina Andal Aarvik fix(core/desk): remove muted prop in tooltip content (#4703) 5d58280ac
Binoy Patel fix(cli): warn about putting secrets in .env (#4683) 69083cefa
sanity - v3.14.2

Published by rexxars over 1 year ago

Installation and upgrading

To initiate a new Studio without installing the CLI globally:

npm create sanity@latest

To upgrade a v3 Studio, run this command in its folder:

npm install sanity@latest

🐛 Notable bugfixes

  • Fixes an issue where the styled-components dependency would not be installed when installing Sanity in an existing project
  • Fixes an issue where the "Restore" document action would sometimes not restore the document
  • Fixed an issue where the fallback editor had the title "Editor", instead of the name of the document being edited

📓 Full changelog

Author Message Commit
Marius Lundgård docs: add missing @hidden modifier tags 358300b0e
Snorre Eskeland Brekke chore(deps): updated @sanity/assist 49acd6f74
renovate[bot] fix(deps): update dependency get-it to v8.2.0 72ce4ef8d
Espen Hovlandsdal fix(cli): typing update for request/response client errors d548dbdf8
renovate[bot] fix(deps): update dependency @sanity/client to v6.1.6 (#4628) 27bfeae2d
renovate[bot] fix(deps): update dependency @sanity/ui to v1.7.1 (#4670) 4802d7ca6
RitaDias docs(sanity): structure/desktool items docs (#4612) 278b1ed09
Binoy Patel chore(router): add docs for sanity/router package (#4617) 415dd84d8
renovate[bot] fix(deps): update dependency @vercel/fs-detectors to v3.9.3 (#4642) 946ec16a1
Jon Eide Johnsen fix: add missing styled component dependency (#4681) cafa41bcd
Binoy Patel fix(core): restore not working on nested panes (#4668) b7886ecfb
Espen Hovlandsdal fix(desk): prevent fallback editor node from getting 'Editor' as title (#4688) 9952de955
sanity - v3.14.1

Published by binoy14 over 1 year ago

Installation and upgrading

To initiate a new Studio without installing the CLI globally:

npm create sanity@latest

To upgrade a v3 Studio, run this command in its folder:

npm install sanity@latest

🐛 Notable bugfixes

  • Fixes issue with small hit area for collapsible fieldsets.
  • Fixes an issue where using sanity init on a Next.js project with embedded Studio would result in an error if an outdated version of next-sanity was being used.

📓 Full changelog

Author Message Commit
renovate[bot] fix(deps): update dependency framer-motion to v10.12.17 (#4643) f82b71853
renovate[bot] chore(deps): update dependency typedoc to v0.24.8 (#4641) a56da0c2f
Binoy Patel chore(deps): version bump @sanity/tsdoc (#4655) bf7cdea0b
Nina Andal Aarvik fix(core): increase button hit area of collapsible fieldset (#4646) 7d9086b2f
Cody Olsen fix: upgrade next-sanity in init to v5 (#4658) cdf810ca4
Espen Hovlandsdal build(etl): improve output of etl command (#4656) 8fe12bfe3
Nina Andal Aarvik fix(core): add aria-label to resources button (#4659) e0ae4bf9e
sanity - v3.14.0

Published by rexxars over 1 year ago

Installation and upgrading

To initiate a new Studio without installing the CLI globally:

npm create sanity@latest

To upgrade a v3 Studio, run this command in its folder:

npm install sanity@latest

✨ Highlights

Support for Perspectives in Vision

Perspectives in vision

Coinciding with today's studio release, we're bringing support for trying out Perspectives in the vision plugin.

With Perspectives, you can add a single parameter to fetch a either the latest draft (previewDrafts) or latest published (published) version of a document.

To learn more about Perspectives, read our announcement post or our documentation.

New Help & Resources menu

We've consolidated some helpful resources to customize the Studio experience, learn more about our latest updates, and connect with our team. You can also compare your current Studio version to the latest version available.

📓 Full changelog

Author Message Commit
renovate[bot] fix(deps): update dependency @portabletext/react to v3.0.4 (#4647) ae38208d5
Nina Andal Aarvik fix(core): add Help&Resources button to navbar (#4545) a4cb4a7cc
Marius Lundgård chore: improve etl command 6503bc81e
Marius Lundgård chore: add tsdoc:dev script 70ef1d80d
Bjørge Næss chore(perf): add support for --excludeTestIds and fail test runner if wrong test-id is provided (#4619) cd2075b37
Snorre Eskeland Brekke chore: add @sanity/assist to test-studio workspace (#4648) 67a1af5ae
Michael Wain chore(deps): update dependency @sanity/client to 6.1.5 e5f7af5f6
Michael Wain feat(vision): add perspective support 2f9cbc701