npm @sanity/core 2.13.0
v2.13.0

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

Upgrade the Command Line Interface (CLI) with:

npm install --global @sanity/cli

Upgrade Sanity Studio with:

sanity upgrade

🐛 Notable bugfixes

  • Migrated @sanity/field to Sanity UI and styled-components
  • Migrated @sanity/dashboard to @sanity/ui and styled-components
  • Migrated studio-hints to @sanity/ui
  • Fixed an issue where the inspected document version is always the latest version and not the current selected version.
  • Migrated default-login to @sanity/ui
  • Added typings for the Sanity CDN image URL parameters
  • Migrated @sanity/desk-tool/tool to styled-components
  • Fixed an issue where readOnly fields and documents would still be editable in the review changes panel
  • Fixed an issue where hidden fields would still be visible in the review changes panel

📓 Full changelog

Author Message Commit
Espen Hovlandsdal build(ci): skip cypress binary install on non-cypress workflows 1489196
Victoria Bergquist refactor(field): migrate layout components to sanity ui (#2550) 94f29c3
Espen Hovlandsdal feat(server): allow hacking studio webpack configuration 391e615
Espen Hovlandsdal fix(diff): correct typing for (currently empty) DiffOptions 31ca9b6
vicbergquist refactor(field): migrate revert changes button to sanity ui 87c485e
vicbergquist refactor(field): migrate value error to sanity ui 5bd960b
vicbergquist refactor(field): migrate metainfo to sanity ui 5b65015
vicbergquist feat(field): migrate fieldchange, groupchange to sanity ui a8e59d5
vicbergquist fix(field): make revert changes button span full width instead of inlining with diff component f07b6b6
Herman Wikner refactor(code-input): migrate code-input to @sanity/ui (#2580) b6e04aa
Simeon Griggs docs(form-builder): adjust tone of voice 9875227
Simeon Griggs docs(client): fix typo on asset upload method 6c6ce4f
Espen Hovlandsdal feat(types): add image url query parameter types 767dc98
Marius Lundgård refactor(validation): convert to ES modules ed7c8de
Per-Kristian Nordnes fix(desk-tool): use the document revision you are currently looking at as value for inspect dialog ea9a57f
vicbergquist refactor(desk-tool): use styled-components in tool/ a770663
vicbergquist refactor(field): migrate boolean diff type to @sanity/ui d649f42
vicbergquist refactor(field): migrate number diff to @sanity/ui 0ac2377
vicbergquist refactor(field): migrate string, url diff to @sanity/ui 6099f45
vicbergquist refactor(field): migrate slug diff to @sanity/ui 51915ca
vicbergquist refactor(field): migrate datetime diff to @sanity/ui 7518562
Herman Wikner refactor(default-login): migrate to @sanity/ui (#2608) b762503
Herman Wikner refactor(studio-hints): migrate to @sanity/ui (#2604) e1c7ea0
Arthur Denner fix(schema): add blockEditor to list of overridable fields (#2273) d14ccd0
Arthur Denner feat(form-builder): allow custom icon for built-in decorators (#2272) ff785f3
vicbergquist refactor(field): migrate reference diff to @sanity/ui e89cd7d
vicbergquist refactor(field): migrate array of options diff to @sanity/ui f84f0bf
vicbergquist refactor(field): migrate image and file diffs to @sanity/ui 55c3229
vicbergquist refactor(field): migrate ptdiff annotation, inline-object components to @sanity/ui 942a0a3
vicbergquist refactor(field): migrate ptdiff paragraph to @sanity/ui 2c6f33a
vicbergquist refactor(field): migrate ptdiff header to @sanity/ui c414b18
vicbergquist refactor(field): migrate ptdiff text to @sanity/io 697e36f
vicbergquist refactor(field): migrate ptdiff blockquote to styled-components 468117a
vicbergquist refactor(field): migrate ptdiff decorator to styled-components 53c1258
vicbergquist refactor(field): migrate ptdiff block to @ssanity/ui e18dc72
vicbergquist refactor(field): remove css from ptdiff f776a56
Herman Wikner refactor(dashboard): migrate to @sanity/ui (#2590) 81b6149
Sindre Gulseth feature(grants): add support for validating built-in $identity param 5a55971
Victoria Bergquist fix(field): disable revert changes on read-only fields and documents and hide fields from review changes if hidden: true (#2619) 78d1bb3

Don't miss a new core release

NewReleases is sending notifications on new releases.