npm @sanity/base 2.15.0
v2.15.0

latest releases: 2.36.6, 2.36.4, 2.36.3...
3 years ago

Upgrade the Command Line Interface (CLI) with:

npm install --global @sanity/cli

Upgrade Sanity Studio with:

sanity upgrade

✨ Highlights

  • Migrates color-input to @sanity/ui
  • Migrates google-maps-input to @sanity/ui
  • Migrates the document status bar and document actions to @sanity/ui
  • Migrates the default preview to @sanity/ui

🐛 Notable bugfixes

  • Adds a visible indicator on the focused day when using arrow keys to navigate through the calendar days in the date input
  • Fixes an issue that in some rare cases could make the preview selection result in an invalid query
  • Fixes an active state issue with PaneItem in DocumentsListPane

📓 Full changelog

Author Message Commit
Herman Wikner feat(base): migrate default preview to @sanity/ui (#2563) a56b7f8
Victoria Bergquist refactor(desk-tool): migrate document status bar to @sanity/ui (#2586) 9018203
Marius Lundgård build(dashboard): update dependency a6b5113
Dain Cilke feat(cli): add support for sso/saml login 202ec2e
Marius Lundgård refactor(desk-tool): migrate document actions to Sanity UI (#2636) 44ae7ed
Bjørge Næss chore: add dist folders to gitignore bdd6759
Bjørge Næss build(gulpfile): add watchJS task 8a573ce
Bjørge Næss refactor: use type import/exports where applicable c7a65a2
Bjørge Næss build(typescript): compile package typescript definitions to dist/dts 868003f
Bjørge Næss chore(base) add typesVersions as a workaround to lack of support for package exports 2b31430
Bjørge Næss refactor(base): remove package root type definition exports 7b97d03
Bjørge Næss chore(base): add package exports folder cd8ce4a
Bjørge Næss refactor: rewrite internal lib imports in all packages d804001
Bjørge Næss refactor(field): add type exports d309543
Bjørge Næss refactor(state-router): add type exports 6a30c22
Bjørge Næss refactor(types): alias @sanity/types to self ffe636d
Bjørge Næss refactor(types): remove typeRoots, make part-typedef directory names windows safe eb8cae4
Bjørge Næss feat(cli): add codemod for inserting parts reference types directive in ts/tsx files that has part imports c21b36f
Bjørge Næss refactor: run reference directive codemod on all files containing part imports 8a68024
Bjørge Næss chore: add/cleanup missing deps f5c0b44
Bjørge Næss chore: remove postcss typescript plugin df6a76c
Bjørge Næss build(typescript): use same tsconfig for both build and ide and remove path aliases e4034ee
Bjørge Næss refactor(server): use a hard coded list of monorepo aliases 8f16cf7
Bjørge Næss chore: remove strict folder overrides (for now) 52db7ab
Bjørge Næss build(typescript): add missing project references fb54c45
Bjørge Næss chore(field): add missing project references 4a75a63
Bjørge Næss chore(desk-tool): add missing project reference 5fb709c
Bjørge Næss refactor(structure): export InitialValueTemplateItem type from package dea92bc
Bjørge Næss test: skip typescript build before running test-suite d897eb2
Bjørge Næss test: exclude dist folders from test file patterns d585452
Bjørge Næss test(form-builder): allow mock imports to non-typed path 5a28a72
Bjørge Næss test(mutator): add tsconfig to test folder e255f46
Bjørge Næss test(util): add tsconfig to test folder 9d7e2ad
Bjørge Næss fix(base): export every symbol from structure builder 91333bf
Bjørge Næss refactor(desk-tool): move @sanity/base/lib imports to @sanity/base/_internal d843322
Bjørge Næss chore: add dist folder to clean task in packakges 06273d0
Bjørge Næss build(gulpfile): clean dist folders e74126b
Marius Lundgård fix(desk-tool): use correct label and icon bf8ce1c
Marius Lundgård chore(desk-tool): remove inline references acdab98
Marius Lundgård build(desk-tool): add missing references 00f4115
Marius Lundgård build(examples): add missing dependency ebc291f
Bjørge Næss build(depcheck): fix false negative when detecting installed sanity plugins 8ba8971
Herman Wikner fix(base): fix active state issue with PaneItem in DocumentsListPane e68e082
Marius Lundgård refactor(desk-tool): simplify document sparkline UI 3808e7b
Marius Lundgård fix(desk-tool): make sure changes panel is scrollable 9f85d73
Marius Lundgård fix(studio-hints): remove theme import cfcf589
Herman Wikner refactor(color-input): migrate to @sanity/ui 3abea6d
Bjørge Næss feat(base): export IntentButton and IntentLink components 6825352
Bjørge Næss refactor(form-builder): use IntentButton and IntentLink from @sanity/components 15f8590
Marius Lundgård build: update dependencies 1ca34f6
Bjørge Næss chore(base): ensure consistent package exports and clean up some internal import paths 61f91a9
RitaDias refactor(google-maps-input): migrate to @sanity/ui (#2668) e52146b
Per-Kristian Nordnes chore(gulpfile): ignore building @sanity/components and examples/depcheck-test 8e31cdc
Bjørge Næss build(types): remove circular dependency ca12d40
Bjørge Næss chore: change order of clean task 35ea2a1

Don't miss a new base release

NewReleases is sending notifications on new releases.