npm @sanity/default-login 2.18.0
v2.18.0

latest releases: 2.36.2, 2.36.2-weighted-search.16, 2.36.2-weighted-search.10...
2 years ago

Upgrade the Command Line Interface (CLI) with:

npm install --global @sanity/cli

Upgrade Sanity Studio with:

sanity upgrade

✨ Highlights

  • Makes preview images clearer, especially on high-DPI devices
  • Migrates @sanity/language-filter to Sanity UI
  • Objects and arrays are now unset if they are empty
  • Adds Java, Go, XML, C#, TSX, Ruby, and Yaml support to code input
  • Migrates validation list to Sanity UI

🐛 Notable bugfixes

  • Fixes bug introduced in v2.16.0 where inline Sanity references in Portable Text would not be saved properly.
  • Fixes regression in portable text editor since 2.16.0 where blocks are re-rendered when they should not be.
  • Validation markers will appear on nested fields if the containing field is marked as Rule.required().
  • Fixes an issue causing object fields to not correctly run validation until dirtied #1713
  • Fixes an issue with optional object fields with required subfields (nested objects, validation) #2630

📓 Full changelog

Author Message Commit
Fred Carlsen refactor(language-filter): migrate to sanity ui and typescript (#2723) 8c83e3d
Bjørge Næss chore(util): add support for package export entries 286589c
Per-Kristian Nordnes feat(code-input): add java, go, xml, c#, tsx, ruby, yaml support to code input (#2676) 9fa0cfc
Bjørge Næss test(util): replace tap with jest 76d3542
Bjørge Næss test(resolver): replace mocha with jest 04bb8f3
Bjørge Næss test(mutator): replace tap with jest d67cc73
Bjørge Næss test: consolidate jest configuration across packages 00d6e35
Bjørge Næss chore: hoist jest et al. to monorepo root and upgrade to latest 8a6057f
Bjørge Næss test: update npm test script + workflow action 4e64760
Bjørge Næss chore: use gulp for building cli + deps a31072f
Bjørge Næss chore: upgrade typescript-eslint plugin+parser e7a8351
Bjørge Næss chore: normalize dependencies df416ff
Bjørge Næss test: make 'npm test' run all tests afad304
Per-Kristian Nordnes fix(portable-text-editor): fix re-render regression from v2.16.0 0a58ed6
Espen Hovlandsdal chore: upgrade image-url library (#2729) 02895c8
Rico Kahler chore: upgrade terser (#2731) d2ec960
Marius Lundgård test(depcheck): ignore @types/webpack-env 2a57469
Marius Lundgård refactor(test-studio): improve author preview 0c4c234
Marius Lundgård refactor(dev): restructure design-studio 4c3fb65
Marius Lundgård build(workshop): add @sanity/types dependency f7a0c2a
Marius Lundgård build(workshop): add chalk dependency 10a688c
Marius Lundgård refactor(workshop): improve collection names eecb81b
Marius Lundgård fix(workshop): fix aliases be2942d
Marius Lundgård refactor(workshop): pretty print part console messages 3df7ce1
Marius Lundgård refactor(workshop): improve workshop 7ed8b65
Marius Lundgård refactor(design-studio): add list pane example with menu items 93af7db
Marius Lundgård feat(types): add collate type 5bc05a1
Marius Lundgård fix(types): add missing typing for PreviewFields 4c2169e
Marius Lundgård refactor(studio-hints): adjust ui 683ba76
Marius Lundgård refactor(schema): improve types c16a990
Marius Lundgård fix(state-router): fix TS errors 1382461
Marius Lundgård refactor(state-router): improve types 7e97833
Rico Kahler build: run build before publish-tag (#2737) 458b3c5
Rico Kahler build: ignore test files in src folder 8fc50c5
Rico Kahler fix(validation): run nested validation in nested fields if required 41e516d
Rico Kahler fix(validation): remove throw for undefined parent w/ valueOfField cbcbcfe
Rico Kahler refactor(validation): unify code paths 8dbba8f
Rico Kahler fix(form-builder): unset objects and arrays if empty 8639707
Marius Lundgård feat(design-studio): add custom pane example 28565f9
Espen Hovlandsdal fix: use correct width/height for preview images, scale by dpr (#2728) 4de82b3
Espen Hovlandsdal chore(generate-help-url): add typings for module a2ce8c7
Rico Kahler chore: fix gulpfile test file ignore pattern 7454021
Rico Kahler chore: prefer @typescript-eslint/no-unused-vars in ts files f33df77
Rico Kahler chore: update test match patterns f332f2a
Rico Kahler chore: add @deprecated tsdoc for better DX dc7b643
Rico Kahler refactor(validation): hoist validation to BaseSchemaType 1cc4548
Rico Kahler fix(validation): pass path and parent correctly to validateItem ac546ec
Victoria Bergquist refactor(base): create new validationList components and migrate to @sanity/ui (#2610) 1d9054e

Don't miss a new default-login release

NewReleases is sending notifications on new releases.