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 - v2.8.1

Published by bjoerge over 3 years ago

Upgrade the Command Line Interface (CLI) with:

npm install --global @sanity/cli

Upgrade Sanity Studio with:

sanity upgrade

🐛 Notable bugfixes

  • Fixes a bug that accidentally permitted referencing drafts

📓 Full changelog

Author Message Commit
Bjørge Næss fix(base): fix regression causing drafts to be included as results in reference search (#2441) 02bd57728
sanity - v2.8.0

Published by bjoerge over 3 years ago

Upgrade the Command Line Interface (CLI) with:

npm install --global @sanity/cli

Upgrade Sanity Studio with:

sanity upgrade

✨ Highlights

Improved Sanity UI based array inputs

We have refactored the default inputs used for array types in the Sanity Studio to Sanity UI. As an added bonus, the array inputs now supports keyboard reordering by pressing space followed by arrow keys when the drag handle has focus.

🐛 Notable bugfixes

  • Fixes issue where the validation list got hidden behind the fullscreen Portable Text Editor

📓 Full changelog

Author Message Commit
Espen Hovlandsdal fix(default-login): render passed children for CorsCheck component c0f29fa543
Knut Melvær chore(client): fix link and add clarification about getDocuments 6c57bfd14e
Espen Hovlandsdal refactor(base): transition search utilities to typescript 8cd5788f02
Bjørge Næss fix: use portal for validation menu (#2425) 4e99c346d4
Bjørge Næss test(form-builder): restore test script 438137c367
Bjørge Næss test(form-builder): update test file pattern regex 8a3ce7ae28
Bjørge Næss refactor(form-builder): migrate default asset source to Sanity UI d12ad8030b
Bjørge Næss chore(form-builder): use strict mode for transitional components 1902832191
Bjørge Næss chore: add css files to eslint ignore pattern a04d0f76e8
Bjørge Næss chore: fix lint errors bcc7b1052f
Marius Lundgård feat(form-builder) add TagInput 03d4a03a26
Bjørge Næss perf(form-builder): avoid the use of nested ::placeholder selector in TagInput ed147342b6
Marius Lundgård feat(form-builder): add default placeholder to TagInput eb3062fbe9
Marius Lundgård fix(form-builder): disable TagInput when in read-only mode 7828c6102e
Bjørge Næss refactor(form-builder): migrate Details component to Sanity UI 08bd4fec4b
Bjørge Næss refactor(form-builder): initial migration of different variations of array inputs to Sanity UI 884f576f86
Benedicte Emilie Brækken fix(form-builder) adjust presence margins in array of primitives e5d8770ddb
Bjørge Næss fix(form-builder) hide validation tooltip if empty markers 6a938e1329
Bjørge Næss fix(form-builder) Fix rendering of array of predefined items with legacy format 3b13ff984a
Bjørge Næss chore(form-builder) lint: fix unused type variable cb88f61de7
Marius Lundgård refactor(form-builder): increase padding and improve button labels of ArrayInput c8555068b6
Marius Lundgård feat(form-builder): improve ArrayOfPrimitivesInput f617ff217c
Marius Lundgård test(examples): add example of validation of string as primitive array item 50fffb9ed6
Marius Lundgård refactor(form-builder): adjust padding of primitive array items 5218279d70
Bjørge Næss refactor(form-builder) port scroll fixes from main release line cd080ec21f
Bjørge Næss fix(form-builder): hide validation status when no validation items 2e8ef3390c
Bjørge Næss fix(form-builder): don't hide validation errors for array items when readonly 731f00e027
Bjørge Næss chore(form-builder): cleanup comments and unused code 32cb01bca9
Bjørge Næss fix(form-builder): remove box-shadow around moved array items 05fd9af7b8
Marius Lundgård refactor(form-builder): adjust spacing and fix lint warnings 676976c9e8
Marius Lundgård chore(form-builder): disable import/no-unresolved in TS file 99beb7ec32
Marius Lundgård refactor(form-builder): add boundary element provider and deprecate EditItemFold 7edf026239
Marius Lundgård refactor(form-builder): add trash icon to confirm delete button 2a61514ba1
Marius Lundgård refactor(form-builder): adjust spacing and add comments to array grid item a69631c918
Marius Lundgård perf(form-builder): use memoization to prevent unecessary rerendering 9533ebb8ce
Marius Lundgård refactor(form-builder): adjust border radius of array items 63782f869a
Bjørge Næss fix(form-builder): fix issue where change indicators on primitive array inputs are displayed even when there are no changes 633162202f
Bjørge Næss fix(form-builder): use index as item key instead of type name in "add array item meny button" 4df84912c6
Bjørge Næss fix(form-builder): don't absolute position edit dialogs for array items ccbea934de
Bjørge Næss fix: add an offset to FormFieldSet focus ring a768eaf261
Bjørge Næss chore: upgrade @sanity/ui 39e0dab683
Bjørge Næss chore(test-studio): add some more test-fields to reference tests df0afaeb6a
Bjørge Næss fix(client): add missing 'visibility' property on mutation event type 1a22c924d7
Bjørge Næss chore(form-builder): fix minor TS issue 9891a95ee1
Bjørge Næss fix(form-builder): remove empty value on array item dialog close 714b1f3fe2
Bjørge Næss chore(server): remove normalize.css from webpack entries 0930ac22f1
Bjørge Næss chore(form-builder): remove normalize.css workaround from FileInputButton 19ebbc1cdd
Bjørge Næss chore(storybook): remove normalize.css 5b3522e9c0
Bjørge Næss chore: add legacy-peer-deps to .npmrc a44008f00
sanity - v2.7.4

Published by rexxars over 3 years ago

Upgrade the Command Line Interface (CLI) with:

npm install --global @sanity/cli

Upgrade Sanity Studio with:

sanity upgrade

🐛 Notable bugfixes

  • Fixes continous incoming mutations preventing lists from loading items on slow connections
  • Fixes user fallback avatar displaying incorrect initials on special characters
  • Fixes query URL not updating in vision if query resulted in an error
  • Fixes vision not showing location of error in query
  • Fixes mismatch between displayed and stored date in date/datetime inputs in certain timezones

📓 Full changelog

Author Message Commit
Bjørge Næss fix(base): prevent cancellation of list fetching while receiving mutation events (#2401) 5603784d9
Bjørge Næss chore(base): enable TypeScript's checkJs (#2407) 19d5dca4f
Espen Hovlandsdal fix(base): strip symbols from user initials b71c7c571
Bjørge Næss chore(form-builder): remove unused dependencies 0fa8a3b32
Bjørge Næss chore(form-builder): remove unused tests 24931dddc
Bjørge Næss chore(eslint): disable no-undef for ts/tsx files 983de8850
Bjørge Næss chore: normalize dependencies c7d4edafa
Bjørge Næss chore: enable strict mode for date-inputs c087601d7
Bjørge Næss refactor(form-builder): add better support for custom input value parsing/formatting d6586f0fc
Bjørge Næss test(form-builder): add some basic unit tests for date inputs f6d9d3f8a
Espen Hovlandsdal fix(import): specify api version in import cli 1576c16e4
Espen Hovlandsdal fix(vision): update query url also on failed queries 970f5f155
Espen Hovlandsdal fix(vision): extract and display line/column info on errors 197534a5e
sanity - v2.7.3

Published by rexxars over 3 years ago

Upgrade Sanity Studio with:

sanity upgrade

🐛 Notable bugfixes

  • Fixes incorrect API version option in vision

📓 Full changelog

Author Message Commit
Espen Hovlandsdal fix(vision): adjust year for latest api version 564a54462
sanity - v2.7.2

Published by rexxars over 3 years ago

Upgrade Sanity Studio with:

sanity upgrade

Other features

  • Added support for custom API versions in vision tool

📓 Full changelog

Author Message Commit
Espen Hovlandsdal feat(vision): allow specifying custom api version 63bef3e02
Espen Hovlandsdal feat(base): remove unused intl parts a19d39149
Espen Hovlandsdal chore(deps): upgrade bifur client dc24df55a
sanity - v2.7.1

Published by saasen over 3 years ago

Upgrade the Command Line Interface (CLI) with:

npm install --global @sanity/cli

Upgrade Sanity Studio with:

sanity upgrade

🐛 Notable bugfixes

  • Fixes a regression that made the search bar unusable

📓 Full changelog

Author Message Commit
Knut Melvær Fix URL to docs c50190173
Anders Stensaas fix(search): fix incorrect import path to the versionedClient d2f0c2234
sanity - v2.7.0

Published by rexxars over 3 years ago

Upgrade the Command Line Interface (CLI) with:

npm install --global @sanity/cli

Upgrade Sanity Studio with:

sanity upgrade

✨ Highlights

API versioning support in client and studio

On Thursday, March 25th, we will start versioning our APIs to provide you with great new functionality. The details on the new features will be announced at the Content is Data event on March 25th, and in a subsequent blog post.

Your code should continue to work as before, but we now recommend you specify which API version you want to use when instantiating a new Sanity client:

Using @sanity/client

import SanityClient from '@sanity/client'

const client = new SanityClient({
  apiVersion: '2021-03-20',
  projectId: '...',
  dataset: '...',
  useCdn: true,
})

The documentation has more information on the API versioning scheme used in Sanity.

Using the "global" studio client

If you are currently importing from part:@sanity/base/client in your Sanity studio, plugins or similar, you should now specify which API version to use:

// Before:
import client from 'part:@sanity/base/client'

client.fetch('*[...]')


// After:
import sanityClient from 'part:@sanity/base/client'

const client = sanityClient.withConfig({
  apiVersion: '2021-03-20'
})

client.fetch('*[...]')

This enables plugins to work without having to agree on a common API version, as every plugin defines the API version it is known to work with.

Using sanity-php

use Sanity\Client as SanityClient;

$client = new SanityClient([
  'apiVersion' => '2021-03-20',
  'projectId' => '...',
  'dataset' => '...',
  'useCdn' => true,
]);

Other clients and libraries

Over the coming days and weeks, we'll be adding API versioning to all our official tooling and libaries, and hope to see community plugins and clients embrace and use the new API versioning functionality!

Other features

  • The altText was added to the image and file asset types - deploying a new version of your GraphQL API will now let you specify the field when fetching data

🐛 Notable bugfixes

  • Fixes an issue where the slug input would not work inside of arrays, and would not broadcast the presence status of someone editing the field

📓 Full changelog

Author Message Commit
Espen Hovlandsdal feat(base): add altText field to asset types 7f9cf6d9b
Bjørge Næss chore(base): fix lint errors 307f8c582
Espen Hovlandsdal feat(client): add API versioning support 47db879b2
Espen Hovlandsdal feat(base): deprecate studio client without a specified apiVersion 75318d199
Espen Hovlandsdal feat(client): use api-versioned client throughout internal packages aef1eb6b7
Espen Hovlandsdal fix(vision): format non-object return values correctly f8864cd4d
Espen Hovlandsdal fix(vision): show executed query on empty result, not current query e45f22108
Espen Hovlandsdal feat(vision): support selection of API version a8f14d879
Espen Hovlandsdal chore(deps): use latest @sanity/client in monorepo 4941cf0c8
Espen Hovlandsdal fix(client): correct response type for observable asset uploads 74fbbaacd
Espen Hovlandsdal fix(form-builder): point slug focus to current field 5b158981e
sanity - v2.6.4

Published by bjoerge over 3 years ago

Upgrade the Command Line Interface (CLI) with:

npm install --global @sanity/cli

Upgrade Sanity Studio with:

sanity upgrade

🐛 Notable bugfixes

  • Fixes an issue that would in some cases make the date picker lose focus when using arrow keys to move between months
  • Fixes a regression introduced in v2.6.3 that caused values coming from date inputs to be stored with the same format as datetime fields
  • Fixes an issue with studio search not returning results when search string includes special characters

📓 Full changelog

Author Message Commit
Andy Richardson Add default ArrayInput implementation 16891ac65
Bjørge Næss fix: strip special characters from studio search (#2388) 7d929c19e
Bjørge Næss fix: preserve focus on calendar buttons between renders 2e717c307
Bjørge Næss fix: date input emit value on right format 9d1c80a0a
sanity - v2.6.3

Published by bjoerge over 3 years ago

Upgrade the Command Line Interface (CLI) with:

npm install --global @sanity/cli

Upgrade Sanity Studio with:

sanity upgrade

✨ Highlights

Revamped Date and DateTime inputs

This release includes a ground-up rewrite of the default Date and DateTime inputs in the Sanity Studio. The new date inputs are powered by Sanity UI and comes with improved keyboard accessibility and less bugs.

Before

Old date input

After

New date input

📓 Full changelog

Author Message Commit
Bjørge Næss refactor(form-builder): Rewrite Date and DateTime inputs to use Sanity UI c97b15418
Marius Lundgård fix(form-builder): disable presets features of DateInput 29b0d5059
Marius Lundgård refactor(form-builder): move constants to a separate file 4950ed560
Marius Lundgård refactor(form-builder): move calendar components to separate files 05e655530
Marius Lundgård refactor(form-builder): refactor and improve styles of date input 735b50c88
Bjørge Næss ci(vercel): skip typescript when building for vercel deployment a39c60c53
Bjørge Næss fix(form-builder): add workaround for ts error (TS4023) 35459cf68
Bjørge Næss test: add test ids to date inputs and migrate existing test suite ef9028e97
Bjørge Næss fix: add workaround for invalid popover placement 0e218c472
Bjørge Næss chore: sort dev dependencies alphabetically 6708b704c
sanity - v2.6.2

Published by bjoerge over 3 years ago

Upgrade the Command Line Interface (CLI) with:

npm install --global @sanity/cli

Upgrade Sanity Studio with:

sanity upgrade

✨ Highlights

🐛 Notable bugfixes

This release:

  • Fixes occational z-index issues on narrow screens
  • Fixes an issue that could sometimes cause an error when opening the review changes panel
  • Hides the "generate" button in slug inputs without a configured source
  • Fixes a z-index issue with the Google Maps input making the search field disappear behind the map

📓 Full changelog

Author Message Commit
Marius Lundgård chore: update @sanity/ui d346966d9
Espen Hovlandsdal chore(deps): upgrade @reach/auto-id (#2358) 770d9830f
Marius Lundgård fix: resolve z-index issues on narrow screens (#2361) 3c9816ba7
Bjørge Næss test: use data-testid instead of data-test ca53fc318
Bjørge Næss test(form-builder): give all inputs a data-testid with their given path 627a5ad26
Bjørge Næss build: add js task 717c952f6
Bjørge Næss build: drop support for node 8 when building packages 2343e0700
Bjørge Næss fix(desk-tool): make sure there's a valid selection state before opening the review changes panel aca45b70a
Marius Lundgård fix(desk-tool): fix position of pane header and presence avatars (#2369) b24e6be44
Paul Welsh feat(language-filter): add defaultLanguage option 55c6332fc
Nicholas Klem chore(deps): upgrade globby from 9.2.0 to 10.0.0 (#2365) 367682f3c
Nicholas Klem chore(deps): upgrade chokidar from 2.1.8 to 3.0.0 (#2366) 18f4ae392
Espen Hovlandsdal chore(examples): use different google maps api key 28b42122c
Espen Hovlandsdal fix(google-maps-input): make search results visible by raising z-index 5c5eafd15
Espen Hovlandsdal fix(examples): typo in slugs example (not source => no source) 981d21d64
Espen Hovlandsdal fix(form-builder): hide slug generate button if field has no source da6fc83f0
sanity - v2.6.1

Published by rexxars over 3 years ago

Upgrade Sanity Studio with:

sanity upgrade

🐛 Notable bugfixes

  • Fixes a few React warnings originating in the image/file inputs

📓 Full changelog

Author Message Commit
Espen Hovlandsdal test(webpack-integration): make 'broken css' fixture more broken eef260d16
Bjørge Næss fix(form-builder): fix react warnings bbf61eddc
Marius Lundgård chore: simplify cypress scripts f244d5c56
Marius Lundgård chore: update @sanity/ui 7808dca5a
Espen Hovlandsdal fix(form-builder): temporarily re-export moved patches modules 14e99dc8e
sanity - v2.6.0

Published by bjoerge over 3 years ago

Upgrade the Command Line Interface (CLI) with:

npm install --global @sanity/cli

Upgrade Sanity Studio with:

sanity upgrade

✨ Highlights

Other features

  • Adds ability to delete incomplete uploads in the UI

🐛 Notable bugfixes

  • Fixes issue with message saying "Files not supported 'unknown.txt'" sometimes appearing on drag'n'drop in studio
  • Fixes various focus and paste related visual issues in image and file inputs

📓 Full changelog

Author Message Commit
Bjørge Næss chore: add depcheck script for checking monorepo packages 03be7ab03
Bjørge Næss ci(cypress): read env vars from local .env 1f35fe18e
Bjørge Næss ci(cypress): run e2e tests on the studio production build 85c54c3ff
Bjørge Næss ci(cypress) build all monorepo packages before building test-studio e2f52927d
Bjørge Næss chore(base): fix layer=true React props warning 83891a9b3
Bjørge Næss chore(imagetool) Disable eslint rules causing errors 11576f153
Bjørge Næss chore(base) Add JSX to eslint globals a7472177b
Benedicte Emilie Brækken chore(form-builder) Fix lint error 7e4668ce8
Benedicte Emilie Brækken chore(form-builder) Ignore no-console console.warn 29a1bfca2
Marius Lundgård chore(form-builder): disable import/no-unresolved rule in TS file 735d35fef
Benedicte Emilie Brækken refactor(base): expose ScrollContainer as package export in addition to part 0a755c925
Bjørge Næss fix(base): import legacy scroll container/monitor from components 6ebf7868d
Bjørge Næss fix(form-builder): use capture for scroll listener in ScrollContainer d892fed45
Bjørge Næss fix(form-builder): Only show form field header in FormFieldSet when a title prop is given 766ad1062
Bjørge Næss perf(desk-tool): always re-use same focus path instance d79a5daa7
Marius Lundgård fix(base): increase z-index of change indicator wrapper on hover so icon is not hidden 3abf1cbff
Marius Lundgård refactor(examples): add more validation examples 01b85f0aa
Marius Lundgård perf(form-builder): use memoization to prevent unecessary rerendering of primitive inputs ca4e0d7a5
Bjørge Næss fix(base): make sure ToggleButton's delegate button gets type="button" 2675be831
Marius Lundgård refactor(base): add support for using toasts in studio 1667a23ac
Marius Lundgård refactor(desk-tool): replace snackbars with toasts 54bf01fb9
Marius Lundgård fix(base): introduce a z-offset for toasts fc3ac6605
Bjørge Næss fix(base): add workaround for duplicate error toasts in dev 3c6921c16
Bjørge Næss fix(form-builder): add new Alert component 4da7b5e41
Bjørge Næss refactor(form-builder): use new alert and formfield components in reference input cbfa44c37
Bjørge Næss chore(form-builder): remove stories adfbc0fd6
Bjørge Næss refactor(form-builder): cleanup typings a35b8aa8b
Bjørge Næss fix(base): export change indicators from base/components bd1531207
Bjørge Næss refactor(form-builder): add transitional components and legacy parts fb872240e
Bjørge Næss refactor(form-builder): migrate image and file inputs to Sanity UI ab3e4766a
Bjørge Næss fix(types): add asset source typings 631bd1e3f
Bjørge Næss fix(form-builder): disable support for datatransfer with kind=string b2682a3c5
Bjørge Næss fix(form-builder) give image and file inputs proper focus ring style c6a9a3a89
Bjørge Næss fix(form-builder): add padding to the AssetBackground ba22132d7
Bjørge Næss fix(form-builder) add padding to default asset source dialog 3d8f9a46f
Bjørge Næss fix(form-builder): add onClose handler on default asset source dialog 893bf44b2
Bjørge Næss fix(form-builder): Prevent layout shift when selecting/uploading image 6f119694b
Bjørge Næss perf(form-builder): integrate perf fixes from main a997183e1
Marius Lundgård refactor(form-builder): improve use of @sanity/ui in FileInput 55665eb7e
Marius Lundgård style(form-builder): disable eslint rules and move todo comment f8a3913ee
Marius Lundgård refactor(form-builder): adjust spacing and fix lint warnings c8875b0f5
Marius Lundgård refactor(form-builder): improve UI of DefaultSource 7a0a1bfbc
Marius Lundgård refactor(form-builder): improve styles of image and file inputs b2f8056f4
Marius Lundgård fix(form-builder): fix typo in image upload placeholder ee9b6fdfc
Bjørge Næss fix(form-builder): make the "Paste"-text on file & image input fade in/out on focus/blur a6aed5239
Marius Lundgård fix(form-builder): disable focus of ImageInput and FileInput when read-only b2f286a40
Marius Lundgård refactor(form-builder): do not render fieldset level when ImageInput and FileInput only has asset e7d50e61b
Bjørge Næss fix(form-builder): make the Paste-text on file & image input fade in/out on focus/blur b79cec244
Bjørge Næss fix(form-builder): add workaround for safari rendering select file button as native button b2422e993
sanity - v2.5.0

Published by bjoerge over 3 years ago

Upgrade the Command Line Interface (CLI) with:

npm install --global @sanity/cli

Upgrade Sanity Studio with:

sanity upgrade

✨ Highlights

  • Adds --mock-browser-env flag to sanity exec command, for cases where imported files reference browser-like APIs (window, requestAnimationFrame etc)
  • .env files will now be loaded before running any Sanity CLI command

🐛 Notable bugfixes

  • Fixes a bug where storybook would crash on startup.

📓 Full changelog

Author Message Commit
Espen Hovlandsdal feat(core): add --mock-browser-env flag to sanity exec command (#2319) 3493590c7
Espen Hovlandsdal feat(cli): load .env files before running any command (#2320) aa2057986
Bjørge Næss chore: change bug list in release notes template to start with Fixes instead of Fixed bedc9cc26
Marius Lundgård fix(base): export theme so Storybook can import it and run (#2335) 4d36d9997
Bjørge Næss fix(test-studio): add repro case for fieldset validation issue 094bd6324
Bjørge Næss fix(form-builder): fix issue that caused validation markers from other fields to appear on collapsed fieldsets 8922936e0
Bjørge Næss chore: move dependency to @types/react and @types/styled-components to root package.json 9f931f898
Bjørge Næss chore: upgrade pretty-ms 2e2088bda
Marius Lundgård chore(desk-tool): improve copy for document operation results 91ab5df51
Bjørge Næss chore(imagetool): emit typescript declarations from js source f8314bd79
sanity -

Published by mariuslundgard over 3 years ago

Upgrade the Command Line Interface (CLI) with:

npm install --global @sanity/cli

Upgrade Sanity Studio with:

sanity upgrade

🐛 Notable bugfixes

  • Fixes an issue that made the document actions render behind the document editor in some cases.
  • Fixes minor CSS issues of Studio hints.

📓 Full changelog

Author Message Commit
Bjørge Næss ci(cypress): increase pageLoadTimeout 963fc4d26
Marius Lundgård fix(desk-tool): fix pane footer’s z-offset (#2326) 3a098183d
Marius Lundgård chore: update @sanity/ui 7fea9ef8b
Marius Lundgård fix(default-layout): fix position of SideCar 4780eab15
Marius Lundgård fix(studio-hints): add missing border style 36ab40628
sanity - v2.4.2

Published by bjoerge over 3 years ago

Upgrade the Command Line Interface (CLI) with:

npm install --global @sanity/cli

Upgrade Sanity Studio with:

sanity upgrade

🐛 Notable bugfixes

  • Fixed a small regression introduced in v2.4.1 that sometimes could cause scrolling to the bottom on page load.

📓 Full changelog

Author Message Commit
Bjørge Næss fix(form-builder): Make sure to only scroll into view when focused 971a348313
sanity - v2.4.1

Published by bjoerge over 3 years ago

Upgrade the Command Line Interface (CLI) with:

npm install --global @sanity/cli

Upgrade Sanity Studio with:

sanity upgrade

🐛 Notable bugfixes

  • Fixed various issues causing unexpected scroll jumps in the editor
  • Prevented unnecessary unmount/remount of array items after open/close for editing

📓 Full changelog

Author Message Commit
Bjørge Næss chore(form-builder): avoid destroying dom tree when enabling/disabling change indicator for a field (#2328) 4f85843f0a
Bjørge Næss fix(form-builder): move the handling of ensuring parent item visibility to the inputs that needs it. (#2329) 8f946dad25
sanity - v2.4.0

Published by bjoerge over 3 years ago

Upgrade the Command Line Interface (CLI) with:

npm install --global @sanity/cli

Upgrade Sanity Studio with:

sanity upgrade

✨ Highlights

🐛 Notable bugfixes

  • Fixed a regression introduced in v2.3.8 that didn't pass the document to custom asset source components.
  • Fixed an issue that caused clicks on labels within fieldsets to focus the wrong field.

📓 Full changelog

Author Message Commit
Andy Richardson feat(form-builder): add support for async filtering (#2301) 36345a5a6
Bjørge Næss chore(test-studio): add custom asset source example 6186eaddd
Bjørge Næss fix(form-builder): fix an issue that caused focus handler to be triggered by unfocusable fieldsets (#2323) ea6ecca4d
Bjørge Næss fix(form-builder): make sure document prop is passed to imported asset source components (#2322) 4e0975425
Marius Lundgård fix(base): remove optimization that caused validation stream to produce outdated results 4fd1eb416
Marius Lundgård fix(default-layout): adjust the z-index of AppLoadingScreen ba5d92dda
sanity -

Published by mariuslundgard over 3 years ago

Upgrade the Command Line Interface (CLI) with:

npm install --global @sanity/cli

Upgrade Sanity Studio with:

sanity upgrade

✨ Highlights

Improved performance when editing documents

This release features various performance optimizations that prevent unecessary rerendering of React components, making the UI respond faster.

Vertical centering of navbar items

Thanks to a PR from @khellang, the navbar will now center navbar items vertically, which can be an issue when a custom Studio logo takes up more space than is intended.

🐛 Notable bugfixes

  • Fixes an issue that caused the NumberInput to display an empty string instead of 0.

📓 Full changelog

Author Message Commit
Bjørge Næss chore(form-builder): add a TypeScript project reference to util package from form-builder package 6e566a757
Bjørge Næss perf(utils): introduce a memoized pathFor function that always resolves to the same path instance (#2307) 7e2a9d691
Bjørge Næss perf(util): optimize path utils functions to return memoized paths cedfe9b48
Bjørge Næss perf(form-builder): wrap asset source plugin components in withDocument instead of the image input d203f106b
Bjørge Næss chore(form-builder) Fix a few lint issues 0ea8fcfa8
Nathan Griffin feat(server): alias react-native in webpack (#2306) d7df361ae
Marius Lundgård [chore] Add optimizations to prevent rerendering (#2311) 9f38c5a26
Kristian Hellang [default-layout] Center navbar items vertically (#2304) fdec8b2f9
Bjørge Næss perf(form-builder): include path and focusPath in shouldComponentUpdate check e9d59bcef
Bjørge Næss fix(form-builder): fix an issue where zero in number input would display as empty string 2218ed6e5
Marius Lundgård chore(package.json): install @babel/[email protected] to circumvent build issue 569464ee2
sanity - v2.3.7

Published by bjoerge over 3 years ago

Upgrade the Command Line Interface (CLI) with:

npm install --global @sanity/cli

Upgrade Sanity Studio with:

sanity upgrade

✨ Highlights

This release fixes a performance issue introduced in v2.2 that would make typing in text fields slow in certain cases.

📓 Full changelog

Author Message Commit
Bjørge Næss [chore] Update @sanity/ui 4baef2ac1a
sanity -

Published by mariuslundgard over 3 years ago

Upgrade the Command Line Interface (CLI) with:

npm install --global @sanity/cli

Upgrade Sanity Studio with:

sanity upgrade

✨ Highlights

This release updates the dependency on @sanity/ui.

📓 Full changelog

Author Message Commit
Marius Lundgård [chore] Update @sanity/ui 2c3fc4e5b