Sanity Studio โ Rapidly configure content workspaces powered by structured content
MIT License
Bot releases are hidden (Show)
Published by rexxars over 5 years ago
Upgrade the Content Studio with:
sanity upgrade
Author | Message | Commit |
---|---|---|
Espen Hovlandsdal | [desk-tool] Omit _createdAt, _updatedAt when creating duplicate document (#1379) | a9372e340 |
Espen Hovlandsdal | [desk-tool] Fix error when duplicating document in fallback edit pane (#1378) | 751a2ae93 |
Published by bjoerge over 5 years ago
Upgrade the Command Line Interface (CLI) with
npm install --global @sanity/cli
Upgrade the Content Studio with:
sanity upgrade
Author | Message | Commit |
---|---|---|
Espen Hovlandsdal | [client] Fix withCredentials override not being applied (#1373) |
3e6ef9ddc |
Kristoffer J. Sivertsen | [components] Only border when padding in fieldset content (#1368) | f2881b1de |
Bjรธrge Nรฆss | [preview] Insert a nonbreaking space initially to workaround intersectionobserver chromium bug (#1380) | 1895e012e |
Published by rexxars over 5 years ago
Upgrade the Command Line Interface (CLI) with
npm install --global @sanity/cli
Upgrade the Content Studio with:
sanity upgrade
Author | Message | Commit |
---|---|---|
Espen Hovlandsdal | [base] Use ellipsis for long error messages (#1369) | 4eca74fc9 |
Espen Hovlandsdal | [form-builder] Round device pixel ratio, avoiding float dimensions for images (#1372) | 333dd2e6f |
Published by rexxars over 5 years ago
Upgrade the Command Line Interface (CLI) with
npm install --global @sanity/cli
Upgrade the Content Studio with:
sanity upgrade
basePath
for studio will no longer cause studio to fail when deployed to sanity.studio
prepare
method for previews no longer crashes the studio in productionnpm link
/yarn link
will no longer cause a hot module reloading resolve errorAuthor | Message | Commit |
---|---|---|
Espen Hovlandsdal | [core] Deploy to sanity.studio without basePath (#1356) | fc6cc63b1 |
Kristoffer Sivertsen | [components] Fix overflow on divider | a8a17a6d3 |
Espen Hovlandsdal | [preview] Always run preview prepare in try/catch (#1364) | 260db28b1 |
Knut Melvรฆr | [base] Fix typo in comment | 01e8d81e5 |
Espen Hovlandsdal | [image-url] Move module out of monorepo (#1359) | 07093716b |
Espen Hovlandsdal | [server] Prevent build error on symlinked modules (#1355) | fdab5f329 |
Espen Hovlandsdal | [util] Replace jest with tap | 134480aa5 |
Espen Hovlandsdal | [cli] Remove v8-compile-cache because of mixed results | 93e6db653 |
Espen Hovlandsdal | [base] Add less intrusive error handler (#1367) | c59c62a68 |
Espen Hovlandsdal | [validation] Upgrade jest to v24 | 6ddb900a0 |
Published by rexxars over 5 years ago
Upgrade the Command Line Interface (CLI) with
npm install --global @sanity/cli
Upgrade the Content Studio with:
sanity upgrade
When there is enough room to show all menu items, they are now lifted out of the "Insert"-menu.
Author | Message | Commit |
---|---|---|
Kristoffer J. Sivertsen | [components] Checkbox font size fix (#1336) | a201c9627 |
Kristoffer J. Sivertsen | [form-builder] Collapsible button group in block editor (#1332) | c0e217eb8 |
Espen Hovlandsdal | [default-layout] Fix search crashing when enter is pressed with no results | 9fe813053 |
Espen Hovlandsdal | [base] Remove empty query segments causing invalid queries | deadc967a |
krsnaa | [cli] Fix duplicated word in schema file | 9227ddb0b |
Knut Melvรฆr | [cli]ย Add example plugin for dashboard widgets (#1329) | 4506b9945 |
Espen Hovlandsdal | [code-input] Only render editor on supported languages | cd8619f39 |
Espen Hovlandsdal | [base] Ignore errors when attempting to load HTML as JS | 9d68e059e |
Published by rexxars over 5 years ago
Upgrade the Command Line Interface (CLI) with
npm install --global @sanity/cli
Upgrade the Content Studio with:
sanity upgrade
sanity dataset export
would not clean up temporary files after failuresAuthor | Message | Commit |
---|---|---|
Bjรธrge Nรฆss | [preview] Use visibility query when setting up listener (#1342) | 1f5708e9c |
Espen Hovlandsdal | [export] Clean up temporary files on failure (#1347) | 4d032fb1e |
Espen Hovlandsdal | [export] Provide better error messages on download failure (#1349) | 5be08ca68 |
Published by rexxars over 5 years ago
Upgrade the Content Studio with:
sanity upgrade
@sanity/vision
pluginAuthor | Message | Commit |
---|---|---|
Espen Hovlandsdal | [vision] Add missing codemirror dependency | 376f1cc2a |
Published by rexxars over 5 years ago
Upgrade the Command Line Interface (CLI) with
npm install --global @sanity/cli
Upgrade the Content Studio with:
sanity upgrade
We had ourselves a "bug week"! Read our blog post.
This release has a bunch of small and less small fixes.
The "select image" dialog no longer shows "Load more" when there are in fact no more images to load. The images are also scaled to fit the current device pixel ratio, resulting in sharper images on mobile devices and high-density displays. Certain images were also downloaded at full size, while they are now scaled down to fit the screen.
A minor (but much requested) feature; You can now use the S.divider()
method to add a small divider between list items in the desk tool. In future releases, we will add the ability to group items even further, which will allow "headings", among other features.
Non-React errors will now be caught and displayed in the browser window, making it easier to debug issues. Opening the browser developer tools will usually give the error with a better stack trace, helping you find the source of the issue more easily.
sanity exec
uses same babel config as studioIn certain cases, scripts you would want to execute with sanity exec
would include non-standard features like JSX or class properties. While the babel config used for the studio would allow this, sanity exec
did not. This is now fixed.
The @sanity/vision
GROQ playground is now faster and smarter - we've upgraded a bunch of dependencies, fixing a set of scrolling issues and other odd behavior. (Run sanity install @sanity/vision
to try it out.)
We've had a few cases reported where an incorrect schema definition would not be picked up by the schema validation, but instead lead to the studio crashing. Validation rules are now in place to make these situations easier to debug.
Previously, if your schema did not contain any document types, the desk tool would instead show object types. This functionality is now removed, and will instead show a descriptive error message.
sanity init
would not allow --visiblity
flagsanity documents
commands not accepting numeric document IDsAuthor | Message | Commit |
---|---|---|
Espen Hovlandsdal | [form-builder] Display "no images found" text if no images are found (#1306) | cdc30a1a8 |
Espen Hovlandsdal | [form-builder] Don't show 'Load more'-button if reached known end (#1307) | 077172ae6 |
Thomas Drevon | [structure] Throw error when configuring documentTypeListItems with an unknown type | bbb7b78f0 |
Thomas Drevon | [structure] Rename name --> typeName for consistency | dbb7866fe |
Espen Hovlandsdal | [form-builder] Use loading state for reference input while loading initial value (#1309) | 3ee528a7d |
Espen Hovlandsdal | [form-builder] Use max-fit and and DPR-aware height (#1308) | 15d146ee0 |
Per-Kristian Nordnes | [validation] Check for type validating arrays and objects in document (#1327) | ebb997afe |
Espen Hovlandsdal | [mutator] Use strict equals when comparing equality (#1326) | 82caf34b4 |
Espen Hovlandsdal | [components] Fix propType depending on window global (#1321) | 2eece6fda |
Espen Hovlandsdal | [form-builder] Make canvas to blob polyfill node.js-safe (#1320) | 357b2ad5a |
Espen Hovlandsdal | [components] Remove unused canvas-to-blob dependency (#1319) | d8b81149e |
Kristoffer J. Sivertsen | [desk-tool] Moving overlay out of scroll container (#1312) | 9d24e103a |
Espen Hovlandsdal | [form-builder] Constrain rendered images to a reasonable size (#1330) | 6d0411309 |
Kristoffer J. Sivertsen | [vision] Faster result view (#1298) | 9f61ab58f |
Kristoffer J. Sivertsen | [vision] Fix scroll issues (#1295) | b8695a799 |
Kristoffer Sivertsen | [components] Remove unused classNames | 922943a10 |
Espen Hovlandsdal | [structure] Add divider builder method (#1331) | aa473bab7 |
Espen Hovlandsdal | [base] Add global error handler (#1333) | 71dc9b6f2 |
Kristoffer J. Sivertsen | [form-builder] Select asset fixes (#1334) | a752e74c2 |
Espen Hovlandsdal | [base] Fix history import to match new API (#1323) | 07bc78f7b |
Espen Hovlandsdal | [schema] Catch and display errors for falsey/incorrectly imported type defs (#1316) | c6cd7287a |
Espen Hovlandsdal | [default-layout] Make active tool name optional | e3dd544d5 |
Espen Hovlandsdal | [default-layout] Prevent crash if no tools are installed | 60c0637ea |
Espen Hovlandsdal | [default-layout] Disentangle from data aspects/desk-tool | c32591dab |
Espen Hovlandsdal | [schema] Fix crash on invalid array of -member declaration (#1314) |
ec71ed471 |
Espen Hovlandsdal | [desk-tool] Fix issue where non-function child would fail to resolve (#1325) |
54f745c2d |
Espen Hovlandsdal | [desk-tool] Fix loading indicator being cut at top (#1324) | 3b4c9b90a |
Espen Hovlandsdal | [cli] Show reconfigure prompt only if output path flag is not cwd | b48c7a728 |
Espen Hovlandsdal | [cli] Fix inverted visibility allowed check | 56d8f6fb1 |
Espen Hovlandsdal | [structure] Improve error when promise is passed in list items (#1311) | 456388b92 |
Espen Hovlandsdal | [core] Cast document IDs to string (#1317) | 26e246916 |
Espen Hovlandsdal | [core] Make sanity exec use same babel config as studio (#1322) |
3130fefec |
Espen Hovlandsdal | [cli] Use v8 compile cache (#1259) | 414a03a89 |
Espen Hovlandsdal | [base] Don't catch errors without an Error instance (#1339) | 4a4115fa3 |
Per-Kristian Nordnes | [block-tools] Rename blockContentTypeOptions to blockContentTypeFeatures (#1328) | 570df06ae |
Marius Lundgรฅrd | [block-tools] Add info about running sanity scripts (#1293) | 4a133acc9 |
Per-Kristian Nordnes | [form-builder] Block editor: Fix bug where focus was not set properly on editor when first opening the document | 7b3a30e19 |
Per-Kristian Nordnes | [form-builder] Block editor: fix bugs related to removing unknown types interface inside the editor | 7b3a30e19 |
Per-Kristian Nordnes | [form-builder] Block editor: Support removing invalid annotation types | 7b3a30e19 |
Per-Kristian Nordnes | [form-builder] Remove unsued function in BlockObject/InlineObject | 7b3a30e19 |
Per-Kristian Nordnes | [form-builder] Block editor: fix invalid conditional, and make dragging of inline object nodes smoother | 7b3a30e19 |
Espen Hovlandsdal | [cli] Generate and use initialization vector for token exchange (#1341) | 2e6b1e2bf |
Thomas Drevon | [desk-tool] Display EmptyListPane in case of no document types in schema | 5fe84efa5 |
Thomas Drevon | [data-aspects] Don't pass schema when calling class function getDocumentTypes | f9cc638fe |
Thomas Drevon | [structure] Resolve documentTypeList using defined docs instead of inferred types | 496316478 |
Bjรธrge Nรฆss | [clean-studio] Add clean-studio | a7469afd6 |
Thomas Drevon | [desk-tool] Rename empty list message component and refrain from using any Pane | 2340e3a87 |
Thomas Drevon | [desk-tool] Make link actionable | 11d5a38fd |
Knut Melvรฆr | [block-tools] Fix variable name in example (#1337) | cdb23e31d |
Thomas Drevon | [structure] Update data aspects mock | 8bd38b432 |
Espen Hovlandsdal | [base] Use pre-wrap to constrain width when displaying uncaught errors (#1343) | 10f9130eb |
Published by skogsmaskin over 5 years ago
Upgrade the Command Line Interface (CLI) with
npm install --global @sanity/cli
Upgrade the Content Studio with:
onPaste
handler would error if pasting into an empty documentAuthor | Message | Commit |
---|---|---|
Per-Kristian Nordnes | [import] Set asset patch and reference concurrency to 1 (#1302) | 4c33b986b |
Per-Kristian Nordnes | Fix block editor inline bug (#1300) | 9438935ba |
Espen Hovlandsdal | [export] Use SHA1 for validation if MD5 is not available (#1303) | 20135b4b0 |
Espen Hovlandsdal | [export] Include more descriptive messages on download error (#1296) | a5246b7be |
Per-Kristian Nordnes | Fix editor on paste patch bug (#1294) | 82d5bada3 |
Published by kristofferjs over 5 years ago
Upgrade the Command Line Interface (CLI) with
npm install --global @sanity/cli
Upgrade the Content Studio with:
sanity upgrade
Author | Message | Commit |
---|---|---|
Kristoffer Sivertsen | [dashboard] Cleanup package.json | 2a348ba04 |
Thomas Drevon | [dashboard] Use category instead of timestamp for feed item subtitle | a504875a9 |
Published by kristofferjs over 5 years ago
Upgrade the Command Line Interface (CLI) with
npm install --global @sanity/cli
Upgrade the Content Studio with:
sanity upgrade
Author | Message | Commit |
---|---|---|
Kristoffer J. Sivertsen | [dashboard] Include react-icons (#1299) | 92d508614 |
Published by rexxars over 5 years ago
Upgrade the Command Line Interface (CLI) with
npm install --global @sanity/cli
Upgrade the Content Studio with:
sanity upgrade
Author | Message | Commit |
---|---|---|
Espen Hovlandsdal | [export] Verify downloaded assets with checksum (#1291) | 5ab9df453 |
Published by bjoerge over 5 years ago
Upgrade the Command Line Interface (CLI) with
npm install --global @sanity/cli
Upgrade the Content Studio with:
sanity upgrade
sanity import
that could sometimes make assets from previous imports interfere with the current importAuthor | Message | Commit |
---|---|---|
Bjรธrge Nรฆss | [import] Use unique tempdirs when unpacking archive for import (#1292) | 8c5ccdc81 |
Published by kristofferjs over 5 years ago
Upgrade the Command Line Interface (CLI) with
npm install --global @sanity/cli
Upgrade the Content Studio with:
sanity upgrade
Author | Message | Commit |
---|---|---|
Kristoffer J. Sivertsen | [dashboard] Minor fixes to dashboard (#1290) | 4bea3503f |
Published by bjoerge over 5 years ago
Upgrade the Command Line Interface (CLI) with
npm install --global @sanity/cli
Upgrade the Content Studio with:
sanity upgrade
sanity export
that affected image or file fields that had their own image or file fields.Author | Message | Commit |
---|---|---|
Bjรธrge Nรฆss | [export] Recusively rewrite additional fields on image/file fields (#1289) | 906d1af97 |
Published by rexxars over 5 years ago
Upgrade the Command Line Interface (CLI) with
npm install --global @sanity/cli
Upgrade the Content Studio with:
sanity upgrade
assetRequired()
Image and file fields can can now use the assetRequired()
validation rule in order to enforce that an image has an actual image and not just metadata fields.
sanity dataset import
no longer overwrites _type
fieldAuthor | Message | Commit |
---|---|---|
Espen Hovlandsdal | [form-builder] Pass on markers from asset inputs to fieldset (#1281) | bb1716cbb |
Espen Hovlandsdal | [form-builder] Hide image edit button if no fields and no asset (#1284) | 802e5b2ba |
Thomas Drevon | [test-studio] Access specific tutorial feed | 324b9f7b9 |
Thomas Drevon | [dashboard] If prop is set, request specific feed for template | f9b39187f |
Espen Hovlandsdal | [import] Don't override _type for imported assets (#1288) | 372d1f70d |
Espen Hovlandsdal | [client] Raise default timeout, allow overriding per-request (#1286) | 96b668995 |
Espen Hovlandsdal | [validation] Add new assetRequired -flag (#1285) |
36428e8aa |
Espen Hovlandsdal | [validation] Exclude meta fields from object emptiness check (#1282) | e9fc73423 |
Espen Hovlandsdal | [schema] Allow file + image to extend validation (#1283) | 8b13e880a |
Published by rexxars over 5 years ago
Upgrade the Command Line Interface (CLI) with
npm install --global @sanity/cli
Upgrade the Content Studio with:
sanity upgrade
We now support adding origins with protocols other than http/https. This is useful with certain cross-platform mobile toolkits, chrome extensions and similar.
Author | Message | Commit |
---|---|---|
Espen Hovlandsdal | [core] Allow specifying non-HTTP protocols for CORS-origins (#1262) | 510452e1f |
Espen Hovlandsdal | [cli] Improve dataset name validation (#1271) | acc590f87 |
Marius Lundgรฅrd | [dashboard] Update design (#1280) | 8933d5176 |
Espen Hovlandsdal | [core] Ensure dataset name is a string before validating (#1277) | 82c4f8b24 |
Thomas Drevon | [desk-tool] Add comment regarding slice and order when searching for documents (#1279) | ac2845130 |
Espen Hovlandsdal | [presence-store] Store message subscription instance on class | cc1325e5f |
Published by rexxars over 5 years ago
Upgrade the Content Studio with:
sanity upgrade
Author | Message | Commit |
---|---|---|
Espen Hovlandsdal | [default-login] Fix synchronous setState in constructor (#1268) | 9a3471141 |
Published by bjoerge over 5 years ago
Upgrade the Command Line Interface (CLI) with
npm install --global @sanity/cli
Upgrade the Content Studio with:
sanity upgrade
sanity init
for the first time you will now be asked if you'd like an invitation to join the Sanity community on Slack ๐.onBlur
from text inputs not to be propagatedAuthor | Message | Commit |
---|---|---|
Espen Hovlandsdal | [cli] Prompt to send community invitation on first project creation (#1258) | f56fa1808 |
Thomas Drevon | [scripts] Generate release notes from previous version tag (#1255) | 7956ad76a |
Per-Kristian Nordnes | [form-builder] Fix bug where pasting into an editor inside an editor would sometimes error (#1257) | 324076d5e |
Per-Kristian Nordnes | [default-login] Remove Safari login exception (#1263) | 07f24ed73 |
Kristoffer J. Sivertsen | [form-builder] Correct function name and remove asset from state (#1266) | 9614a1d5d |
Bjรธrge Nรฆss | [form-builder] Fix bug where onBlur prop wasn't passed to underlying component | 0319e051f |
Published by skogsmaskin over 5 years ago
Upgrade the Command Line Interface (CLI) with
npm install --global @sanity/cli
Upgrade the Content Studio with:
sanity upgrade
react-icons
would cause issues with the previous release ๐Author | Message | Commit |
---|---|---|
Per-Kristian Nordnes | [form-builder] Icon must be imported from parts, not from react-icons directly | 05ff7978c |