sanity

Sanity Studio – Rapidly configure content workspaces powered by structured content

MIT License

Downloads
9.5M
Stars
5.2K
Committers
128

Bot releases are visible (Hide)

sanity - v0.128.11

Published by bjoerge over 6 years ago

Upgrade with:

sanity upgrade

And install the latest Command Line Interface (CLI) with:

npm install --global @sanity/cli

Bugfix release

This fixes a bug caused by a regression in a third party library that would cause reference inputs to not display the list of search hits properly.

📓 Full changelog

Author Message Commit
Bjørge Næss [components] Pin version of popper.js. Fixes #709 (#713) 9617ad5e7
Bjørge Næss [chore] Replace react-datepicker with fork (#715) 64f99688c
sanity - v0.128.6

Published by rexxars over 6 years ago

Upgrade with:

sanity upgrade

And install the latest Command Line Interface (CLI) with:

npm install --global @sanity/cli

📓 Full changelog

Author Message Commit
Espen Hovlandsdal [desk-tool] Check event existence before attempting to stop propagation 380982a5f
sanity - v0.128.5

Published by rexxars over 6 years ago

Upgrade with:

sanity upgrade

And install the latest Command Line Interface (CLI) with:

npm install --global @sanity/cli

✨ Highlights

Hashed assets

Asset IDs are now generated from the file contents. This means that uploading the same image or file twice will not create a duplicate, but instead reuse the existing asset. This should result in less clutter and a better user experience.

Dataset export/import maintains metadata

When a dataset is exported, the metadata of assets (original filenames and similar) are now preserved.

🐛 Notable bugfixes

  • Fixed a bug where invalid JSON in imported datasets would silently be ignored instead of failing the import

📓 Full changelog

Author Message Commit
Bjørge Næss [form-builder] Checksum files before uploading and link with existing asset document if any (#693) c6ae5d415
Espen Hovlandsdal [cli] Allow @sanity/core to declare CLI version requirement 03e4c17b8
Espen Hovlandsdal [export] Build asset map of asset metadata on export 90b3d61fa
Espen Hovlandsdal [import] Rename asset map to asset ref map to better reflect intention 7055b8008
Espen Hovlandsdal [import] Reduce batch size to 128kb 49c017426
Espen Hovlandsdal [import] Update asset metadata from asset map after upload c7dd303f2
Espen Hovlandsdal [base] Add sha1sum to file and image asset schemas d2664b5c8
Bjørge Næss [form-builder] Support inc + dec patches (#694) a913f17b3
Espen Hovlandsdal [desk-tool] Allow hamburger menus to be toggled (#695) 29a017e30
Bjørge Næss [deps] Normalize versions (#696) df1dcf15f
dan-dr [plugin-loader] Prevent throwing on all:-requests with no implementations (#702) 8df3a6682
dan-dr [webpack-integration] Add missing postcss-url dependency (#701) 5f0609af8
dan-dr [core] Add ability to build in unattended mode (no prompts) (#700) 561fca917
Espen Hovlandsdal [import] Fix JSON parse errors not being emitted (#703) 7b7efe26a
Espen Hovlandsdal [cli] Only reveal auth token in debug output if --secrets is used a611fb4de
Espen Hovlandsdal [cli] Allow providing auth token through environment variable eaa258bf0
sanity - v0.128.4

Published by bjoerge over 6 years ago

Upgrade with:

sanity upgrade

And install the latest Command Line Interface (CLI) with:

npm install --global @sanity/cli

🐛 Notable bugfixes

  • Fixed a bug where array of primitive subtypes (e.g. email, url) would resolve to the wrong array input

📓 Full changelog

Author Message Commit
Bjørge Næss [form-builder] Resolve array of primitives input for to array of primitives subtypes 2a3874dee
sanity - v0.128.3

Published by bjoerge over 6 years ago

Due to issues when publishing packages for release v0.128.0, all the @sanity-packages has now been bumped to v0.128.3. There's no differences between 0.128.0 and 0.128.3.

See release notes for v0.128.0

sanity - 0.128.0

Published by bjoerge over 6 years ago

Upgrade with:

sanity upgrade

And install the latest Command Line Interface (CLI) with:

npm install --global @sanity/cli

✨ Highlights

Private datasets! 🔒

When creating datasets, you may now choose whether it should be:

  • Public (everyone can query for content in the dataset without being authorized - great for single page applications)
  • Private (only authenticated users or requests with authorization tokens can read from the dataset)

You may change the visibility mode for your dataset either by running sanity dataset visibility set <datasetName> <public/private> or by using the management UI at https://manage.sanity.io/

Collapsible objects

Object types can now be configured as collapsible. By default, deeply nested objects be collapsible and collapsed by default when reaching a depth of 3. Read more in the documentation for the object type

image

🐛 Notable bugfixes

  • Custom validators now run even on undefined values, unless the rule is marked as optional or required by using Rule.optional() or Rule.required(). Please make sure you check for undefined values in your custom validator functions.

📓 Full changelog

Author Message Commit
Espen Hovlandsdal [client] Allow specifying a request body for dataset creation requests 75e60db6e
Espen Hovlandsdal [core] Prompt for ACL mode when creating datasets 5eaa0f1f5
Espen Hovlandsdal [client] Add method to alter dataset properties e3d9a7820
Espen Hovlandsdal [core] Add command to get and set the visibility mode of a dataset f066f6195
Espen Hovlandsdal [cli] Add dataset visibility options to init command 1af19c141
Espen Hovlandsdal [core] Change acl-mode flag to visibility when creating datasets 426af9623
Bjørge Næss [chore] Always publish with --exact (#675) 6375c9432
Bjørge Næss [dev-studios] Upgrade to React 16 (#674) 59d56fbe0
Espen Hovlandsdal [validation] Run custom validators on undefined values unless rule is set to optional a8119ed0d
Kristoffer J. Sivertsen [form-builder] Correct smiley, no animation and hide on mobile (#678) 9d82a5709
Kristoffer J. Sivertsen [default-layout] Fixes white stripe glitch on action modal (#681) 730d41187
Kristoffer J. Sivertsen Fix/buttons and fullscreen tweaks (#680) e3b247e12
Kristoffer J. Sivertsen [base] Background on root on text-input (#679) 604ded23a
Bjørge Næss [chore] Upgrade eslint, flow and prettier packages aaf59a043
Bjørge Næss [chore] Prettier 🙌 1d1977ea6
Espen Hovlandsdal [test-studio] Only override dataset with spaces feature 2628ceead
Espen Hovlandsdal [image-url] Allow specifying a baseUrl 3a56ba20f
Espen Hovlandsdal [test-studio] Use less misleading dataset names for spaces 3870e66ad
Bjørge Næss [form-builder] Support collapsible objects with default limit (#685) 25b5c44ff
Bjørge Næss [validation] Move slug validation to @sanity/validation (#687) 491fe4297
Espen Hovlandsdal [core] Check if @sanity/cli has dataset edit capabilities before using it 124ce2313
Bjørge Næss [generate-help-url] ESLint: No ES2015 3c762f83e
sanity - v0.127.0

Published by bjoerge over 6 years ago

Upgrade with:

sanity upgrade

And install the latest Command Line Interface (CLI) with:

npm install --global @sanity/cli

✨ Highlights

React 16

The main focus of this release has been React 16 compatibility for the Content Studio. It took an effort, but you can now upgrade and start using the awesome features introduced in this version.

Note: Although your Content Studio still works with React 15.x, we're planning to drop support for React 15 as of the next minor release (0.128.0), so we recommend upgrading your studios to React 16 the next time you run sanity upgrade. Read more about how to upgrade the version of React in your Content Studio.

📓 Full changelog

Author Message Commit
Kristoffer J. Sivertsen [base] 50% opacity only affects text-input with readonly (#651) 685bd9f87
Kristoffer J. Sivertsen [components] Background color on closeButton (#657) 91e9b787d
Kristoffer J. Sivertsen [components] Make arrow ignore pointer-event and clicks the select (#656) e178271d6
Kristoffer J. Sivertsen [components] Add description to booleans (#658) ed99ec2be
Kristoffer J. Sivertsen [desk-tool] Centering editor spinners (#661) c10d3cf84
Bjørge Næss [imagetool] Set IE9 compat in .babelrc (#664) 115923767
Kristoffer J. Sivertsen [all] Replace sticky popover with popper.js based (#639) f68144935
Espen Hovlandsdal [client] Improve asset upload documentation examples cff9f7ecd
Bjørge Næss [cli] Support React 16 (#665) 7e302eab6
Kristoffer J. Sivertsen [components] Remove deprecated kind secondary button (#660) 88cf94c85
Kristoffer J. Sivertsen [components] No pointer-events on arrow. pointer events on functions (#667) 477f0128a
Kristoffer J. Sivertsen [desk-tool] Force auto height on ListView on mobile (#669) b500a84a2
Kristoffer J. Sivertsen [desk-tool] Clean up sync spinners (#668) acf930636
Bjørge Næss [cli] Use React 16 by default in new studios (#670) 9ea2453f5
Bjørge Næss [core] Warn on deprecated react version (#671) 903747cb5
sanity -

Published by bjoerge over 6 years ago

Upgrade with:

sanity upgrade

And install the latest Command Line Interface (CLI) with:

npm install --global @sanity/cli

🐛 Notable bugfixes

  • Fixed a relative import that could in some circumstance cause a "Module not found error".

📓 Full changelog

Author Message Commit
Bjørge Næss [default-layout] Fix wrong relative import (#654) f37a3ba6b
sanity - v0.126.2

Published by rexxars over 6 years ago

Upgrade with:

sanity upgrade

And install the latest Command Line Interface (CLI) with:

npm install --global @sanity/cli

🐛 Notable bugfixes

  • Fixed assets potentially being invalid after export
  • Fixed very old assets not being exportable through (sanity dataset export)
  • Fixed slug fields not being able to merge default validation with custom validation

📓 Full changelog

Author Message Commit
Thomas Drevon [mutator] Update mutator readme (#406) 2ff0084a1
Jørgen Aaberg Remove typo in form-builder example in README.MD (#649) bcbe85241
Espen Hovlandsdal [export] Handle exporting of old asset IDs f8c4d76ca
Espen Hovlandsdal [export] Temporarily store files to filesystem before archiving 892355210
Espen Hovlandsdal [schema] Fix combining slug validation rules with custom ones 2b13b1227
sanity - v0.126.1

Published by bjoerge over 6 years ago

Upgrade with:

sanity upgrade

And install the latest Command Line Interface (CLI) with:

npm install --global @sanity/cli

🐛 Notable bugfixes

  • Fixed a bug causing hotspot/crop handles not responding to user input
  • Misc. bugfixes related to the slug input

📓 Full changelog

Author Message Commit
Bjørge Næss [imagetool] Hotfix hotspot (#647) 2b77e3eee
Bjørge Næss [cli] Use media for preview in movies template (#646) a180273fe
Espen Hovlandsdal [schema] Fix validation of slugs in arrays (#648) c9af1b118
Espen Hovlandsdal [schema] Fix error in slug validation when current is not set (#648) 82578ea09
Bjørge Næss [form-builder] Fix bug causing editing slugs in array to have no effect (#648) 0b47ac22e
Bjørge Næss [schema] Set default preview for slugs (#648) 9a068f3a7
sanity - v0.126.0

Published by bjoerge over 6 years ago

Upgrade with:

sanity upgrade

And install the latest Command Line Interface (CLI) with:

npm install --global @sanity/cli

✨ Highlights

✅ Validation (experimental 🔬)

The first building blocks of the long-awaited validation infrastructure is here. Each document field can specify validation rules that generate either errors (prevent the document from being published) or warnings (allow publishing, but notify the user about the warning).

For a full overview of the validation feature, see the documentation. We're looking for feedback on this feature and how you like the developer and user experience - drop us a line if you'd like to help!

🐌 Improved and simplified slug input

The slug input has been significantly simplified and is now easier to customize. A slugify option can now be provided in order to customize how slugs are generated, which also introduces the ability to generate the slug in an asyncronous manner (just return a promise!).

The uniqueness check now more correctly considers draft/published status, and also ensures that the uniqueness check is run per document type. The check to determine whether a slug is unique or not can now be customized by passing an isUnique function in the field options. More information can be found in the documentation.

🗜️ Import/export tarballs

sanity dataset export now generates a tarball (.tar.gz) containing both the documents in NDJSON form as well as assets (files and images). This provides a simple way to transfer data between different projects or datasets.

If you want to remove assets from the export, you can use the --no-assets flag, or if you just want the raw documents, use the --raw flag.

🛰️ Better indication of network status

The studio is now more responsive in the case of network errors, indicating the reconnect status and locking the local document to prevent data from being lost.

🤖 CLI: Unattended "new project"

The command line tool is now able to create and bootstrap a new project and dataset by using the --yes and --create-project flags (see sanity help init for more information).

👀 Faster previews

All documents that are previewed on screen now share the same in-memory representation. This should lead to a faster and more responsive UI.

🐛 Notable bugfixes

  • Publishing documents now include a revision lock to prevent race conditions or incorrect local states.
  • The @sanity/cli package did not notify on new releases. Now is a good time to run npm install -g @sanity/cli to ensure you stay up to date with new releases!
  • Listeners would in certain cases stop reconnecting. @sanity/client will now always try to reconnect if disconnected, until unsubscribe() is called.
  • Read-only fields are now more clearly presented as... read-only!

📓 Full changelog

Author Message Commit
Kristoffer J. Sivertsen [form-builder] Show paste enable on uploadplaceholder (#583) 9ebff0678
Espen Hovlandsdal [chore] Disable browser env for non-browser modules 7c98296ee
Espen Hovlandsdal [export] Add new export module for exporting a dataset and downloading associated assets ee9aa4c05
Espen Hovlandsdal [core] Use new @sanity/export module for exporting datasets b14a433c2
Espen Hovlandsdal [import] Refactored to alllow importing from tarballs 36bf52a57
Espen Hovlandsdal [core] Add more help text for import/export commands 0d15beaa6
Espen Hovlandsdal [export] Don't filter or touch asset documents or references in raw mode dbc0bba9b
Espen Hovlandsdal [export] Add support for filtering on drafts and types 1d452dd1e
Espen Hovlandsdal [core] Document drafts, types and overwrite flags for export command c26fc06d3
Espen Hovlandsdal [cli] Replace update-notifier with custom, non-lazy-loaded version c7d4ecfc8
Espen Hovlandsdal [cli] Remove unnecessary rewriting of lazy loader in update notifier 166f06162
Espen Hovlandsdal [chore] Normalize engines and author fields 7e3ceb1a0
Espen Hovlandsdal [chore] Upgrade and normalize dependencies 1957c00e7
Bjørge Næss [form-builder] Minor flowtype fix 4442fccdb
Bjørge Næss [preview] Optimize preview fetching c1e0ca303
Espen Hovlandsdal [client] Always reconnect listeners, even when auto-reconnect fails 292ed3bc6
Kristoffer J. Sivertsen [all] Adding support for and styling readOnly fields. #440 (#574) c716c93f6
Espen Hovlandsdal [validation] Initial validation implementation 22807f869
Bjørge Næss [form-builder] Consistent naming of input components/folders (#603) dd2cd2800
Espen Hovlandsdal [cli] Replace progrescii + thenify dependencies f4d3b0eb5
Bjørge Næss [preview] Fix issue with accumulated queries + default pagination limit (#610) e167b3ee1
Espen Hovlandsdal [base] Provide size ordering + size subtitles for assets ad772ced2
Bjørge Næss [export] Set publishConfig.access = 'public' c4063d30f
Bjørge Næss [components] Remove react-text-ellipsis due to perf issues (#606) f5201382c
Kristoffer J. Sivertsen [components] Avoid repaint on scroll (#615) ca81321fc
Kristoffer J. Sivertsen [components] Click to scroll for block editor #76 (#578) c28dbff90
Bjørge Næss [preview] Cache and share preview snapshots between all subscribers (#612) 0b3498813
Kristoffer J. Sivertsen [components] Proof of new slug concept (#585) 03b7d9376
Espen Hovlandsdal [schema] Deprecate slugifyFn (now called slugify) 1c857ac60
Kristoffer J. Sivertsen [base] Not using height on text input (#619) 0f0be2f13
Bjørge Næss [test-studio] Add species type 39324749a
Bjørge Næss [chore] Remove outdated changelog f32b2ff75
Espen Hovlandsdal [desk-tool] Lock to last-known local revision when publishing 50bc679cf
Espen Hovlandsdal [schema] Change slug uniqueness function name to isUnique 130c97893
Kristoffer J. Sivertsen [default-layout] Removing padding from secondary navigation 823769ecf
Bjørge Næss [eslint-config-sanity] Import eslint config package (#625) d803394c4
Bjørge Næss [form-builder] Handle readOnly on unknown fields (#627) 2e874ef2f
Espen Hovlandsdal [cli] Allow creating new projects in unattended mode febffa69c
Bjørge Næss [cli] Add react-icons as dev dependency (#630) 0a8032ba5
Kristoffer J. Sivertsen [components] Scrollcontainer has default style. Override for mobile in defaultpane (#631) e4801da1f
Espen Hovlandsdal [client] Allow specifying ID of transactions 4e73a0884
Espen Hovlandsdal [cli] Skip dataset validation on CI-environment 2d4a1f00a
Bjørge Næss [infrastructure] Improve how we handle connection failures/reconnects (#632) 582a5ee45
Bjørge Næss [preview] Emit null as snapshot for missing documents (#634) fd6578350
Kristoffer J. Sivertsen [imagetool] Min width on canvas (#636) a7abf4b4f
Espen Hovlandsdal [validation] Allow disabling validation for field and document types b22e0cc5d
Espen Hovlandsdal [validation] Infer value from title/value list options 3929d4a70
Bjørge Næss [form-builder] Support readOnly on block editor (#640) 118417c14
Bjørge Næss [form-builder] Hide delete button from dialog when array is read only (#641) e230a931a
Thomas Drevon [cli] Fix slug field options in movies template schema (#642) 60e4802d4
Espen Hovlandsdal [import] Fix importing of unreferenced assets 720c909f4
Espen Hovlandsdal [cli] Update URL for moviedb dataset fedbd5179
sanity - v0.125.9

Published by bjoerge over 6 years ago

Upgrade with:

sanity upgrade

And install the latest Command Line Interface (CLI) with:

npm install --global @sanity/cli

🐛 Notable bugfixes

This fixed a breaking change in a third party module that affected the visual appearance of the Sanity Studio.

📓 Full changelog

Author Message Commit
Bjørge Næss [server] Configure custom properties with preserve: false (#601) 2a1d5d782
sanity - v0.125.8

Published by bjoerge over 6 years ago

Upgrade with:

sanity upgrade

And install the latest Command Line Interface (CLI) with:

npm install --global @sanity/cli

🐛 Notable bugfixes

  • Fixed a bug where images would not display in image fields
  • The hotspot/crop tool is now responsive
  • Made it possible to unset color values

📓 Full changelog

Author Message Commit
Kristoffer J. Sivertsen [imagetool] Make imagetool responsive (#590) 74ef6b7a9
Kristoffer J. Sivertsen Color input with unset fixes #584 (#593) ab8cdfa35
sanity - v0.125.6

Published by rexxars over 6 years ago

Upgrade with:

sanity upgrade

And install the latest Command Line Interface (CLI) with:

npm install --global @sanity/cli

🐛 Notable bugfixes

  • Make links in error dialogs inherit correct color
  • Optimize hotspot selection for images
  • Various improvements for smaller screen devices

📓 Full changelog

Author Message Commit
Bjørge Næss [cli] Make block text references to separate named types (#572) 24ed5c15
Bjørge Næss [imagetool] Scale down large images before passing to ImageTool (#567) 469569c7
Kristoffer J. Sivertsen [components] Inherit color on state colored dialogs. (#571) 07fb5115
Kristoffer J. Sivertsen [desk-tool] Reopen collaped panes when changing type. Fixes #260 (#576) 25044610
Kristoffer J. Sivertsen [form-builder] Center with flex. Fixes #79 (#577) 5c8eef1b
Bjørge Næss [base] Don't include results on document store listeners (#579) f1701b5d
Bjørge Næss [preview] Don't write ref attributes on materialized values (#580) f95dfaa5
Bjørge Næss [imagetool] Always show drag handles on crop rect (#568) ae7f2086
Kristoffer J. Sivertsen [default-layout] Use visibilityState to hide loadingScreen. Fixes #459 (#573) 41cd02a5
Kristoffer J. Sivertsen [example-studio] Adding icons in example-studio. Also uses correct vision plugin (#581) 9b6e933e
Kristoffer J. Sivertsen [cli] Add icons to movies-studio (#582) 97b92569
Kristoffer J. Sivertsen Component/tri state switch (#575) f2ae92d3
Kristoffer J. Sivertsen Optimize responsive (#586) 4ea11828
Espen Hovlandsdal [chore] Run tests on node 9 as well b4fbcf94
Bjørge Næss [form-builder] Refactor gradientPatchAdapter (#589) cc039fe5
sanity -

Published by bjoerge over 6 years ago

Bugfix release

  • Fixed a bug that sometimes caused errors to be thrown when switching between documents.
  • Removed required: true from a few fields in example schemas generated at sanity init.

Upgrade with:

sanity upgrade

📓 Changelog

Author Message Commit
Bjørge Næss [form-builder] Guard against this._editorNode being null (#569) 4ae5281bc
Bjørge Næss [cli] Remove required: true from template schemas (#570) 01da7ee15
sanity - v0.125.4

Published by rexxars over 6 years ago

Upgrade with:

sanity upgrade

And install the latest Command Line Interface (CLI) with:

npm install --global @sanity/cli

✨ Highlights

  • A few performance enhancements

🐛 Notable bugfixes

  • Fix image-url package incorrectly being published in ES6 format
  • Fix sanity exec not working because of missing dependencies
  • Fix close button on Google Maps input dialog appearing behind the dialog/map
  • Fix hortizontally aligned radio buttons float issue

📓 Full changelog

Author Message Commit
Bjørge Næss [preview] Wait 20s after page visibility changes to off before disposing preview listeners (#546) 4a8c7f725
Simen Svale Skogsrud [mutator] Fix/mutation rev shortcomings (#551) b1ddb431e
Simen Svale Skogsrud [mutator] Eliminated two extraneous calls to JSON.stringify (#552) 5281f5629
Bjørge Næss [mutator] Do a few more debug call optimizations (#554) 089d41a23
Espen Hovlandsdal [default-layout] Show 'Up to date' instead of specific version number ec303f994
Espen Hovlandsdal [chore] Bump prettier print width to 100 6e1bb4e38
Espen Hovlandsdal [server] Exclude packages/@sanity-paths from babel-loader f695eabeb
Bjørge Næss [form-builder] Optimize selectionchange event handlers in FormbuilderBlock/FormBuilderInline (#555) c6407a893
Espen Hovlandsdal [image-url] Set babel env target to IE9 for image-url package ec4b12048
Espen Hovlandsdal [client] Add ifRevisionId() method to patches 152e3332d
Espen Hovlandsdal [core] Use ESM default export for dataset prompt e71236ccf
Espen Hovlandsdal [core] Improve help text for deploy, build and import commands 108c3c33c
Espen Hovlandsdal [core] Fix missing dependencies for 'sanity exec' command 219bba9f6
Espen Hovlandsdal [google-maps-input] Fix close button layering cff3049b3
Kristoffer J. Sivertsen [components] Radioselect with using flex. Fixes #528 8692e9dfe
sanity -

Published by bjoerge over 6 years ago

Bugfix release

Fixed a bug that rendered env overrides in sanity.json ineffective for deployed studios.

Upgrade with:

sanity upgrade

📓 Changelog

Author Message Commit
Espen Hovlandsdal [webpack-loader] Reduce configs based on webpack environment (#553) da4f80f88
sanity -

Published by bjoerge over 6 years ago

Bugfix release

Fixed a bug with reference fields referencing documents of more than one type. It was possible to reference unpublished documents, which would cause problems with publishing later on.

Upgrade with:

sanity upgrade

📓 Changelog

Author Message Commit
Simen Svale Skogsrud [form-builder] Made sure drafts are filtered out also for multi-type-reference fields (#550) 076642f15
sanity - v0.125.0

Published by bjoerge over 6 years ago

Upgrade with:

sanity upgrade

And install the latest Command Line Interface (CLI) with:

npm install --global @sanity/cli

✨ Highlights

UI Rebalance ☯

We've sanded down the interface and spent time rebalancing that which defines it (contrast, margins, typography, hover states, button shapes, etc, etc, etc). It felt great.

Link to preview on site 🎉

A frequent feature request has been to support a way to preview content in a production setting, e.g on the web site. We have now added support for adding a link from the Content Studio to your site for previewing documents and drafts. Read more about the shiny new feature here.

Previews!

Modals are the new popovers 💯

The Sanity form builder supports editing embedded objects. Put them lists along with other types! Put objects inside objects inside objects! However complicated your model, we'll render it.

We initially decided to pop the editor for objects in-place, where you clicked. This was intuitive, but was brittle with complex objects sometimes finding a way off-screen. Object editing now pops in centred modals.

Goodbye popovers, we hardly knew ye.

Demo display of a modal

Update notifier ⚠️

The studio now includes an update notifier which lets you know if your studio is up to date with the latest Sanity releases.

Faster previews ⚡️

List views are optimized to load items faster - in certain situations up to 10x faster!

🐛 Notable bugfixes

  • Fixed a bug where running sanity build or sanity deploy without having run sanity start would fail because of missing plugin configuration files
  • Fixed a bug in the block editor regarding annotating a text with a reference that would throw an error.
  • Robustified how the block editor creates an editor state to better be able to recover from invalid source data.
  • Fixed a bug that caused the _createdAt field on documents to be reset upon publishing.
  • Fixed a bug causing fieldsets to be collapsed by default in some cases when they should not.
  • Fixed a bug that could in some rare cases cause inconsistencies when publishing documents.

📓 Full changelog

Author Message Commit
Bjørge Næss [schema] Remove stray assertions (#476) ff8f4d513
Bjørge Næss [chore] Upgrade/normalize dependencies and get rid of cyclic dependencies (#474) 0fa400f53
Per-Kristian Nordnes [default-login] Allow overriding provider list through json config file (#461) e2811e852
Espen Hovlandsdal [base] Optimize preview snapshot fetching (#468) 55e707bdd
Espen Hovlandsdal [core] Re-initialize plugin configs before building to static assets c98f39dfa
Bjørge Næss [test-studio] Add default login config to test studio df13bcf88
Bjørge Næss [form-builder] Don't force scroll input into view on focus (#481) 4c82ba1ed
Bjørge Næss [preview] Move preview related code to own package (#482) c49298a28
Espen Hovlandsdal [default-layout] Add update notifier for outdated modules 01248c24c
Kristoffer J. Sivertsen [default-layout] Styling update notifier 0c3b236b9
Bjørge Næss [observable] Upgrade rxjs to 5.5.6 (#483) 4309c6daf
Bjørge Næss [form-builder] Improve UX of PrimitiveArray (#484) b20e7b1fc
Kristoffer J. Sivertsen [all] Visual improvements across studio (#486) 1808bc298
Kristoffer J. Sivertsen [components] Visual improvements - input components (#488) cb6fd8dc4
Kristoffer J. Sivertsen [form-builder] Use Dialog for editing array items (#487) 2b6e68289
Kristoffer J. Sivertsen [default-layout] Visual improvements - create screen (#489) e2f6cfebb
Bjørge Næss [imagetool] Support onChangeEnd event and cache imagetool value in ImageToolInput (#490) ec3c57c56
Bjørge Næss [form-builder] Remove setTimeout hacks due to popover issues (#495) 84a5eae2d
Bjørge Næss [form-builder] Make ArrayOfPrimitives tolerant of missing value (#496) 003a04931
Bjørge Næss [preview] Expose a default materializePaths function (#492) 4eb8590dc
Kristoffer J. Sivertsen [all] Design tweaks (#493) c32340b4b
Espen Hovlandsdal [chore] Travis: Sanity binary executable without full path 1b38e0f7d
Espen Hovlandsdal [cli] Don't import data in unattended mode 1eb50c1a3
Kristoffer J. Sivertsen [form-builder] Moving over styling from rich-date and fixing datetime (#501) 20deb5ff8
Bjørge Næss [schema] Give image fields higher priority for media preview (#506) 3c968dd91
Espen Hovlandsdal [test-studio] Update vision 62577efe5
Kristoffer J. Sivertsen [design] Mobile fixes (#509) ef49be817
Kristoffer J. Sivertsen [vision] Fixing scroll problem 02bb1896c
Espen Hovlandsdal [client] Make Promise polyfill details clearer, add help url to thrown error 27fa1a7ae
Kristoffer J. Sivertsen [form-builder] Styling upload input progress (#511) 8a15a1d20
Espen Hovlandsdal [desk-tool] Add timestamp as title attribute on relative dates 10e528707
Bjørge Næss [desk-tool] Publish documents in a transaction (#517) a9f00f3f7
Bjørge Næss [desk-tool] Persist _createdAt between draft <=> published version of a document (#518) a6f24d33f
Kristoffer J. Sivertsen [components] Design/bugfixes (#519) b058e39db
Bjørge Næss [infrastructure] Add a command for deploying test studio 9a400a866
Kristoffer J. Sivertsen [components] Mobile bug. Remove padding from DefaultPane 7a05b335f
Bjørge Næss [desk-tool] Provide a way to link from a document to a production preview (#521) 7c87e0e94
Kristoffer J. Sivertsen [form-builder] Link z-index bug 72a4025bc
Bjørge Næss [chore] Remove sanity-plugin-vision from lerna.json 20df70e6c
Simen Svale Skogsrud [mutator] Respect embedded _createdAt property on create patches. Fixes #520 (#525) 75d7b615d
Bjørge Næss [test-studio] Add a test case for selecting array items for preview f1ca66901
Bjørge Næss [components] Stub a .focus() method on RadioSelect for now. 27c6f19b4
Bjørge Næss [desk-tool] Minor tweaks: production preview (#526) 2f1c2c08d
Bjørge Næss [chore] Add example-studios for movies and blog templates (#529) 304b2a8fa
Espen Hovlandsdal [mutator] Fix createOrReplace and createIfNotExists mutations f65d19fdd
Bjørge Næss [chore] Hoist eslint, babel and flow setup (#533) c0aaadfb1
Bjørge Næss [document-window] Remove compiled files 3c175e80a
Bjørge Næss [cli] Tweak moviedb template schema (#532) 29b7fc955
Bjørge Næss [preview] Ignore image cdn parameters from preview.imageUrl (#531) e70b167fc
Kristoffer J. Sivertsen [components] Not stopPropagation on click outside 9e160523e
Kristoffer J. Sivertsen [components] Show lane on split pane resizer ea5b0ff4d
Bjørge Næss [chore] Use babel plugin env, set explicit env support (#534) 7b1b4b48b
Kristoffer J. Sivertsen [form-builder] Fixes that content is selected when moving an item (#536) b60b63373
Simen Svale Skogsrud [image-url] Some additional tests validating that the url-builder works for images with no specified crop/hotspot 296b74ee6
Bjørge Næss [form-builder] Fix collapsible/collapsed defaults on fieldsets (#538) e05026e5c
Bjørge Næss [form-builder] Display only 'add' on select type button (#539) 883263d0c
Bjørge Næss [chore] Pin client + observable env support to IE11 75cad151d
Bjørge Næss [schema] Fix bug with map and default parameters c29997b58
Bjørge Næss [form-builder] Cleanup: remove prepublish task 4201970b7
Bjørge Næss [core] Use uglify-es instead of uglify-js for minifying (#541) fa1477186
Bjørge Næss [chore] Pin Edge support to 14 fafc0c7a9
Bjørge Næss [form-builder] Minor fixes (#544) 38df4be24
Per-Kristian Nordnes [block-tools] Robustify annotation conversion (#543) d52b31c03
Per-Kristian Nordnes [form-builder] Fix bug where annotations containing references didn't clean up properly (#542) 9fc8d6f41
sanity -

Published by bjoerge over 6 years ago

Bugfix release

This fixed a bug on sanity init with sample movie data causing broken images in studio previews. If you have version 0.125.0 of the CLI, we recommend installing the latest version with:

npm install -g @sanity/cli

This bug will not affect existing studios.

📓 Changelog

Author Message Commit
Simen Svale Skogsrud [cli] Updated movie-studio template to use old style image previews (#547) b577dcbd0