npm sanity 3.23.0
v3.23.0

latest releases: 3.57.4, 3.57.4-memoized-form-state.18, 3.57.4-upgrade-vite-v5.9...
9 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

Early release: Sanity Studio UI Upgrade

We have been working on updating and finessing the Sanity Studio UI for a while. We think it is quite an improvement and will talk more about it as we return after New Year's.

We wanted to get it out before the holidays to learn how it works for new users and allow existing users to test it out with any Studio customizations they might have. We might have missed edge cases, so if you encounter anything — do let us know

We will also publish new versions of Sanity UI with corrensponding documentation — stay tuned!

To upgrade: npm install sanity@latest

To downgrade to the last stable release: Pin the sanity dependency in package.json to 3.22.x and run npm install

📓 Full changelog

Author Message Commit
Robin Pyon feat: studio facelift 8a9d18f
Robin Pyon core(test-studio): remove custom branding and localised text 073dc5a
Robin Pyon fix: add localized text for shared dialog component a23aa6e
Robin Pyon fix: localize pane header back button tooltip dac416c
Robin Pyon refactor: render plain text buttons in invalid and untyped value inputs 21e8bdb
Robin Pyon feat: add common localized context menu button component 96462cc
Robin Pyon refactor: change dialog i18n key 9b2d451
Robin Pyon refactor: remove unused components and i18n strings ee9f9f0
Robin Pyon fix: localize search button tooltip text 1b7e658
Robin Pyon fix: localize create new button tooltip in document pane headers b8197d6
Robin Pyon fix: localize create new document button b720e4a
Robin Pyon fix: add localized text for common loader component 544eaf1
Robin Pyon fix: add localized text for review change button tooltips 9734ed1
Robin Pyon fix: localize untitled text in compact preview d038b7d
Robin Pyon feat: update file and image input + placeholder styles 511b291
Robin Pyon feat: update delete confirm dialog styles, use compact cards e981dcb
Robin Pyon fix: show checkmark on selected locale in locale menu 162f9d6
Robin Pyon fix: ensure media border styles are only applied on the targeted element only 4ed01ff
Robin Pyon fix: update create new button localized text c2d27bf
Robin Pyon fix: add clarifying comments on container query support, reverse header font size selection (fixes edx-860) 069a622
Robin Pyon chore(deps): bump @sanity/ui 432ff49
Robin Pyon feat: update user menu and presence menu items with new avatar sizes e41e7d7
Robin Pyon fix: add localized text for config issue tooltip button (fixes edx-859) e8acd4e
Robin Pyon chore: fix typos 0495028
Robin Pyon feat: update image + file asset source styling 12c1b77
Robin Pyon fix: re-enable buildLegacyTheme (fixes edx-857) 142b44f
Robin Pyon fix: tweak navbar padding, minor cleanup 1afcc29
Robin Pyon fix: fix back button alignment on smaller breakpoints, tweak search styles d680d5f
Robin Pyon fix: localize document actions button tooltip, update ContextMenuButton signature 32efb69
Robin Pyon fix: remove subtitle support from studio UI menu items, update layout, update search string list inputs a08d1e9
Robin Pyon chore(deps): bump @sanity/ui in other studios d7bc6f1
Robin Pyon fixup! fix: remove subtitle support from studio UI menu items, update layout, update search string list inputs 4bfbea9
Robin Pyon chore(deps): bump @sanity/ui 5d1d3de
Robin Pyon feat: use smaller font size for hotkey + badge text in menu items and tooltips f8343ed
Robin Pyon fix: tweak placement for workspace + presence menu tooltips ccf45df
Robin Pyon refactor: use studio UI buttons, remove unused components 5fdc6ef
Robin Pyon test: add test ids to PTE toolbar component, fix failing ct test fcb0a10
Robin Pyon fix: use relative paths for core imports a71bd8d
Robin Pyon fix: hide loading text in generic loader by default, tweak timings, update test snapshots d09822e
Robin Pyon fix: minor regression with menu item spacing 41caf72
Robin Pyon fix: remove extraneous padding on manage members menu item 5d6ec16
Robin Pyon fix: use localized relative time hook 1061d86
Robin Pyon feat: align search popover overlay background with dialog 83e3163
Robin Pyon fix: ensure field names correctly truncate in search filter tooltips 1ea1ed0
Robin Pyon fix: use correct focus ring offset + width for list panes + comment pte input 995fb0a
Robin Pyon fix: use single pixel border for document banners 78dde3c
Robin Pyon feat: update font styles for no search results + insufficient permissions messages 6324dd1
Robin Pyon feat: DRY document banners and update styles, create dedicated spacer button 2a6aed2
Robin Pyon fix: large button size for remove field button d88fa79
Robin Pyon feat: update comments discard dialog styles 23c3ba7
Robin Pyon refactor: simplify useDocumentStatusTimeAgo 78fd1ee
Marius Lundgård fix(deps): upgrade @sanity/color e8a8047
Marius Lundgård fix(deps): update @sanity/ui 8da8961
Marius Lundgård fix(studio): update navbar spacing 38787a5
Marius Lundgård fix(deps): update @sanity/ui 9c5de6a
Robin Pyon fix: localize drag handle button, use correct delay values f9c2ec8
Robin Pyon fix: add padding to workspace auth page, tweak mobile nav drawer 3d445b6
Robin Pyon fix: new presence menu item avatar sizes a6fd7f6
Robin Pyon feat: add absolute tooltip dates to document statusbar, don't render statusbar until ready, minor cleanup 9a811da
Robin Pyon chore: update snapshots 3adbed5
Marius Lundgård fix(deps): update @sanity/ui d276475
Marius Lundgård fix(ui): fade preview when menu item is disabled d753974
Marius Lundgård fix(studio): do not use experimental avatar status f237032
Marius Lundgård fix(studio): adjust avatar size in user menu e525b02
Marius Lundgård fix(form): align form field header 1ba30f5
Marius Lundgård fix(form): simplify and set status color using theme v2 d83c705
Marius Lundgård fix(ui): align tooltip 4fdca80
Robin Pyon feat: new document status indicator, lockup and tooltips bad7091
Robin Pyon fix: force useRelativeTime to always render idiomatic dates with weeks in full af3056c
Robin Pyon fix: use correct document status indicator colors, update document status tooltip spacing ee5b543
Robin Pyon chore: update workshop story 56293e9
Robin Pyon chore: update snapshots ee1b7db
Robin Pyon refactor: remove TooltipWithNodes component, no longer infer aria-label in buttons 1aee936
Marius Lundgård fix(deps): update @sanity/ui d241553
Marius Lundgård fix(sanity): set maximum-scale viewport property 0b2935e
Pedro Bonamin fix(facelift): update i18n imports after rebase 320f695
Pedro Bonamin fix(facelift): update i18n ignore rules 879aee1
Marius Lundgård fix(studio): update change indicator 22d6867
Marius Lundgård fix(studio): update beta badge a6d93fa
Marius Lundgård fix(studio): update preview components e8ac660
Marius Lundgård fix(form): update date input and picker 603d01f
Marius Lundgård fix(form): use border instead of shadow for reference input 3374503
Marius Lundgård fix(form): use border instead of shadow for file input c8e241c
Marius Lundgård fix(studio): update global styles 1a837bf
Marius Lundgård fix(studio): decrease heading size in config issues dialog 4a5349f
Marius Lundgård fix(ui): change copy from 'Updated' to 'Edited' fc15d0d
Marius Lundgård fix(desk): always use icon for publish action a7b54d7
Marius Lundgård fix(desk): update inspect dialog ae499a4
Marius Lundgård fix(desk): align pane header 5794688
Marius Lundgård fix(desk): use json icon a7f792b
Marius Lundgård fix(desk): align document actions dbab681
Marius Lundgård fix(ui): update document status components 14e9d4d
Marius Lundgård fix(desk): align comment feature feedback 8658e93
Marius Lundgård fix(deps): update @sanity/icons 174d209
Marius Lundgård test(test-studio): update config 7a68d4e
Marius Lundgård test(studio): update snapshot dce8f2c
Marius Lundgård fix(form): align elements cd54159
Marius Lundgård fix(i18n): simplify copy ea3e77e
Marius Lundgård fix(desk): align id container 463646b
Marius Lundgård fix(ui): include paddingY property 415240c
Marius Lundgård fix(desk): simplify copy 9e15e9e
Marius Lundgård fix(ui): align document status 93bc894
Marius Lundgård fix(studio): simplify TextWithTone component 928ca2a
Marius Lundgård fix(desk): align document status bar 60b17fa
Marius Lundgård fix(studio): update scrollbar style 8a42dcd
Marius Lundgård fixup! fix(studio): update scrollbar style f45896d
Robin Pyon fix(deps): update @sanity/ui 4688224
Robin Pyon fix: update global search date picker styles, remove unused LazyTextInput component c4b4187
Robin Pyon fix: use correct tooltip styling for search datetime errors, simplify + remove Translate usage 9935997
Robin Pyon fix: expose document status indicator and tooltip in global search results 4c049a7
Robin Pyon fix: update global search result item padding 0cf060e
Robin Pyon fix: re-use StatusButton component in mobile search header, localize tooltip text 24ed95b
Robin Pyon fix: ensure focus is returned when closing search (defer focus handling to <FocusLock>) 1c6a62c
Robin Pyon fix: remove responsive styles from global search filters 91a361f
Robin Pyon chore: update snapshots 9b253d9
Robin Pyon feat: animate search popover 74d513f
Robin Pyon feat: add customized Popover and MenuItem components and enable animation, update comments daa0de5
Robin Pyon refactor: simplify tooltip usage in ActionMenuButton 489765c
Robin Pyon feat: detach global search position from header 9fed9cd
Pedro Bonamin fix(facelift): update focus ring offset in WithFocusRing cards ac8b995
Marius Lundgård fixup! fix(studio): update preview components fe28c7f
Marius Lundgård fix(form): update pte styles b6a852c
Marius Lundgård fix(form): update border radius 86e8519
Marius Lundgård refactor(form): use theme v2 74f1a23
Marius Lundgård fix(studio): render smaller avatars in document previews 48c9642
Marius Lundgård fix(studio): set global selection color 3acc6f6
Marius Lundgård fix(studio): increase button size in mobile search overlay c9fc186
Marius Lundgård fix(deps): update @sanity/ui ad87f0e
Robin Pyon fix: use updated background color for global search popover 02a70fc
Marius Lundgård fix(studio): update default studio theme a01e31a
Marius Lundgård fix(studio): align navbar menus fbf9671
Pedro Bonamin fix(deps): update @sanity/ui 8aac0c9
Pedro Bonamin fix(facelift): remove duplicated const after rebase 3d28b0b
Marius Lundgård fix(deps): update dependencies b80ba29
Marius Lundgård fix(preview): use icon color a827f29
Marius Lundgård fix(tooltip): use regular font weight d9f319e
Marius Lundgård fix(deps): update @sanity/ui 6d180e3
Nina Andal Aarvik fix(desk): add tooltip on menuitem when disabled only (#5375) 0127ba7
Marius Lundgård fix(ui): do not show dot on hover 9813368
Pedro Bonamin fix(core): fields actions position shift (#5348) 132cf0c
Pedro Bonamin fix(facelift): self serve Inter font (#5374) e41ffca
Robin Pyon feat(desk): add responsive layout to document status bar c885024
Robin Pyon feat(core): add locale switcher in navdrawer, update layout 83b47b8
Pedro Bonamin chore(deps): update @sanity/ui c424b1d
Pedro Bonamin fix(facelift): update free trial to match facelift 9b04d87
Nina Andal Aarvik fix(core/tests): fix failed tests (#5376) 0fd3ad1
Pedro Bonamin chore(colocation): update location of the new components (#5383) 11887ba
Pedro Bonamin fix(desk): update DeskRename popover e2c28d2
Pedro Bonamin chore(deps): update @sanity/ui 97a3ef9
Robin Pyon fix: hide document status dot for published documents with no edits f208707
Pedro Bonamin fix(core): updates after rebase fda5cdd
Pedro Bonamin fix(tests): fix studio.spec test 45b2cde
Pedro Bonamin fix(comments): update spacing for SpacerAvatar dd3a249
Pedro Bonamin fix(tests): remove studio.components.logo test 88b326f
Pedro Bonamin fix(test-studio): remove i18n.loadNamespaces function d775fe6
Pedro Bonamin fix(core): newDocumentButton filter not working in mobile f597584
Pedro Bonamin fix(core): update corsOriginErroScreen 16f7fc5
Pedro Bonamin chore(cleanup): clean pr changes 782cb8c
Pedro Bonamin chore(i18n): restore removed keys ec366f6
Pedro Bonamin fix(i18n): translate DocumentStatus 12642b6
Pedro Bonamin fix(tests): add react reference to fix broken test ebad2de
Pedro Bonamin fix(core): update changes inspector revert confirmation popovers (#5398) 95144df
Pedro Bonamin chore(deps): update sanity/presentation package 6a29b6a
Espen Hovlandsdal fix(i18n): regression in reference create button text e0976c2
Espen Hovlandsdal refactor(core): use more specific path to hooks 6f577ca
Espen Hovlandsdal fix(i18n): init with all namespaces, optimize later 00c424a
Bjørge Næss fix(cli): upgrade templates to use @sanity/ui@beta (#5401) 92fdc06

Don't miss a new sanity release

NewReleases is sending notifications on new releases.