sanity

Sanity Studio – Rapidly configure content workspaces powered by structured content

MIT License

Downloads
9.5M
Stars
5.2K
Committers
128

Bot releases are hidden (Show)

sanity - v0.137.1

Published by bjoerge almost 6 years ago

Upgrade the Command Line Interface (CLI) with

npm install --global @sanity/cli

Upgrade the Content Studio with:

sanity upgrade

🐛 Notable bugfixes

  • Fixed a bug that made the "duplicate document" action break on schema types with liveEdit enabled.

📓 Full changelog

Author Message Commit
Bjørge Næss [desk-tool] Only duplicate published version if liveEdit is enabled (#1114) 4992902e6
sanity - v0.137.0

Published by bjoerge almost 6 years ago

Upgrade the Command Line Interface (CLI) with

npm install --global @sanity/cli

Upgrade the Content Studio with:

sanity upgrade

Oh, and by the way, if you're using npm > 5.2 you can now do npm init sanity or yarn create sanity to initialize a new Sanity studio project.

✨ Highlights

🧮 Autocollapsing Panes!

The structure builder brought great things like singletons and query based collections. But in the abiliy to drill down by expanding there was also an issue: what happens when you run out of room?

Autocollapsing panes solves this by automatically folding the innermost panes when space becomes tight. It also makes the studio a joy navigate on iPad in landscape format.

💣 > sanity undeploy

You can now remove a deployed studio from our hosting service. This also unassigns the hostname you have chosen for the studio so you can pick a different name when redeploying.

🤪 Wildcards + uncredentialed CORS-origins ⚠️

CORS origins now support wildcards (for example https://*.mycompany.com or http://localhost:*) as well as a flag for whether or not the origin should be allowed to send authenticated requests (using tokens or sessions).

While this is a much requested feature, we want to emphasize that you should be very careful about allowing wildcards in your origins. Most CORS-origins should be uncredentialed, except for hosts that needs to do mutations or see private data (drafts or private datasets).

🐛 Notable bugfixes

  • Fixed a bug in @sanity/color-input causing missing keys for arrays of colors
  • Code input now automatically registers its schema so you can simply use type: 'code' after installing it
  • Fixed a bug where sanity dataset import would not treat special characters in imported asset URLs correctly, leading to 404s
  • Fixed a bug where sanity dataset import could cause unpredictable results if the source contained documents with duplicate IDs
  • Fixed a bug where sanity init plugin would not actually bootstrap any files on Windows
  • Fixed a bug where selecting references on big datasets was slow
  • Support for phones with a notch in landscape mode

📓 Full changelog

Author Message Commit
Kristoffer J. Sivertsen [components] Fix subtitle overflow crop (#1071) e4a92cba6
Kristoffer J. Sivertsen [desk-tool] Auto collapse panes (#1059) 835ad8de2
Kristoffer J. Sivertsen [components] Buttons cleanup (#1067) 224a69148
Kristoffer J. Sivertsen [desk-tool] Autocollapse hover & click area (#1072) f5ba239f8
Espen Hovlandsdal [core] Remove unused dependencies 1ffa13ba2
Espen Hovlandsdal [import] Fix incorrectly encoded URIs in source stream (#1073) 28bd33d1f
Bjørge Næss [color-input] Make color input emit setIfMissing w/default value in order to preserve _key (#1074) 5826b8bf8
Bjørge Næss [create-sanity] Add create-sanity package (#1075) bc369078e
Bjørge Næss [sanity] Add sanity package (placeholder) (#1076) 94164c604
Kristoffer J. Sivertsen [color-input] Object with object with colors (#1078) d697cccbc
Kristoffer J. Sivertsen [default-layout] Use safe area to place outside notch (#1077) 6b2efef76
Kristoffer J. Sivertsen [components] Sync styleselect with realtime block editor branch (#1079) 39895754e
Kristoffer J. Sivertsen [components] Tiny design fixes (#1080) 6c0bffe3e
Kristoffer J. Sivertsen [components] Fallback when no onEscape or onClose (#1082) 251a0d524
Kristoffer J. Sivertsen [components] Deprecate button collection (#1083) 49dde355e
Kristoffer J. Sivertsen [form-builder] Cap reference search (#1084) bfb354f95
Marius Lundgård [components] Use default cursor (#1086) 542feaa47
Kristoffer J. Sivertsen [components] Stop propagation when item click (#1089) b5ceb86c9
Kristoffer J. Sivertsen [color-input] Readonly color input (#1088) cd6d31aa2
Bjørge Næss [preview] Keep latest known snapshot when unsubscribing from offscreen values (#1094) a404170bd
Espen Hovlandsdal [cli] Fix plugin bootstrapping on Windows (#1099) e93c148f0
Espen Hovlandsdal [core] Add support for wildcard + credential-less CORS-origins (#1093) b4ea39716
Espen Hovlandsdal [core] Introduce sanity undeploy for undeploying + unassigning studio hostname (#1100) 0ddb75372
Kristoffer J. Sivertsen [all] Alt tag on image (#1097) dc478702d
Kristoffer J. Sivertsen [form-builder] Not have Edit in title when readOnly (#1090) f7b8039af
Kristoffer J. Sivertsen [components] Hide actions when collapsed (#1087) 7f49cd838
Espen Hovlandsdal [code-input] Implement schema part, better readme, use lazy requires (#1098) 942828dd5
Kristoffer J. Sivertsen [form-builder] Removing alt on image (#1101) 256054cf3
Espen Hovlandsdal [import] Throw error when encountering duplicate IDs (#1102) 2b9e959be
Kristoffer J. Sivertsen [desk-tool] Auto collapse fixes (#1103) e0caa547e
sanity - v0.136.3

Published by bjoerge almost 6 years ago

Upgrade the Command Line Interface (CLI) with

npm install --global @sanity/cli

Upgrade the Content Studio with:

sanity upgrade

🐛 Notable bugfixes

  • Now propagating errors and entering failure mode if a mutation for some reason fail to apply.
  • Fixed an issue with stdio forwarding that makes it possible to run interactive command line interfaces with sanity exec

📓 Full changelog

Author Message Commit
Bjørge Næss [mutator/desk-tool] Propagate mutator errors through document store and display error message in desk tool (#1064) 03ec85247
Bjørge Næss [cli] Pass through stdio streams to child process when running sanity exec (#1069) c924c5f34
Kristoffer J. Sivertsen [components] Remove unused dependencies (#1068) d42f076a6
sanity - v0.136.2

Published by rexxars almost 6 years ago

Upgrade the Command Line Interface (CLI) with

npm install --global @sanity/cli

Upgrade the Content Studio with:

sanity upgrade

✨ Highlights

Hide original filenames

When uploading files and images, the original filenames are persisted by default. If the filenames can contain sensitive information, you can now opt out of this behavior by setting the storeOriginalFilename option to false. See the file or image documentation for more info.

Specify field validation overrides

In certain cases, you may have defined a top-level object type that you are reusing for multiple fields. Previously there was no way to set validation rules on fields within the object based on the parent field it was being used in.

In this release, we've added a feature that allows you to call Rule.fields() with an object, where the keys represent the field name and the values being the field-level validation to apply.

For instance:

{
  name: 'title',
  title: 'Title',
  type: 'localizedString',
  validation => Rule.fields({
    en: fieldRule => fieldRule.required(),
    nb: fieldRule => fieldRule.min(5).max(200)
  })
}

Note that this will override the validation rules set on the parent types fields (localizedString in the above example).

🐛 Notable bugfixes

  • Fixed bug where @sanity/client could not be used in React Native environments
  • Removed root-prefix for results in Vision tool

📓 Full changelog

Author Message Commit
Espen Hovlandsdal [validation] Allow specifying field validation overrides for top-level objects (#1030) ed68970b9
Espen Hovlandsdal [validation] Fix incorrect call signature of inferFromSchemaType 76407102d
Espen Hovlandsdal [base] Hoist unnamed object types (#1033) ef37acf20
Espen Hovlandsdal [color-input] Hoist color types, add _type to objects (#1036) 748b6f8b5
Espen Hovlandsdal [color-input] Update readme to reflect latest changes 3071dbfb4
Espen Hovlandsdal [schema] Fix media field inference crash for certain types (#1037) 1f29d69a5
Dan Rosenshain [vision] Fix bug in vision plugin not remembering last used dataset (#1050) d44c699c9
Espen Hovlandsdal [client] Check for presence of window.location to determine if browser env (#1054) 87a212181
Espen Hovlandsdal [vision] Remove "root"-prefix in results (#1055) cef26b20d
Espen Hovlandsdal [form-builder] Add ability to disable original filename for assets (#1056) 1d02c2cc8
Bjørge Næss [default-layout] Only select _id and _type when searching (#1057) c7271c67f
Espen Hovlandsdal [structure] Add @types/node for proper node.js typings (#1058) 2a74e9ea9
sanity - v0.136.0

Published by mariuslundgard almost 6 years ago

Upgrade the Command Line Interface (CLI) with

npm install --global @sanity/cli

Upgrade the Content Studio with:

sanity upgrade

✨ Highlights

Screenshot of a developer’s desktop working with Sanity

😍 Improve user experience

We’ve revised both the visual design and usability of the Studio, and optimized the editor experience for both mobile and desktop screens.

📍 Redesign global navigation

The navigation bar now takes less screen real estate, leaving space for the main tools below. Search is more integrated in the global navigation.

🎨 Update design system

We’ve started to implement a new, custom icon set, as part of our ongoing development of the Sanity design system.

We also added accessible swatches to the color pallette, which are used for list selection and buttons.

Other changes

  • Lightweight dialogs
  • Lighter buttons
  • Tighten up button placement in forms
  • Clean up of CSS and logic
  • New default colors
  • Collapsible objects and fieldsets has now keyboard navigation support

Read more in the blog post about this release.

📓 Full changelog

Author Message Commit
Bjørge Næss [chore] Fix tests across all packages bb0900d9d
Bjørge Næss [chore] Disable failing tests for now a84cd8b63
Bjørge Næss [chore] Make travis run tests in all packages 7a8ea9c6e
Bjørge Næss [chore] Replace uglify with terser (#1044) 9759fc3d8
Bjørge Næss [desk-tool] Refactor QueryContainer (#1046) a00b33586
Kristoffer J. Sivertsen, Marius Lundgård [all] Delightful studio revision (#1049) 31d40dec1...e94cc9315
sanity - v0.135.6

Published by bjoerge almost 6 years ago

Upgrade the Command Line Interface (CLI) with

npm install --global @sanity/cli

Upgrade the Content Studio with:

sanity upgrade

🐛 Notable bugfixes

  • Fixed a bug that could sometimes make the Content Studio crash after uploading an image

📓 Full changelog

Author Message Commit
Bjørge Næss [form-builder] Guard against missing metadata on image asset (#1045) 0e104da4b
sanity - v0.135.5

Published by bjoerge almost 6 years ago

Upgrade the Command Line Interface (CLI) with

npm install --global @sanity/cli

Upgrade the Content Studio with:

sanity upgrade

🐛 Notable bugfixes

  • Fixed a bug that could cause error for certain input components embedded in block editor

📓 Full changelog

Author Message Commit
Bjørge Næss [form-builder] Preserve _key on items when applying patches (#1040) 835ecc109
sanity - v0.135.4

Published by bjoerge almost 6 years ago

Upgrade the Command Line Interface (CLI) with

npm install --global @sanity/cli

Upgrade the Content Studio with:

sanity upgrade

🐛 Notable bugfixes

  • Fixed a bug causing sanity init to fail on windows (#1038)

📓 Full changelog

Author Message Commit
Bjørge Næss [base] Remove jest mocks causing file system issues on Windows 60395415c
sanity - v0.135.3

Published by bjoerge almost 6 years ago

Upgrade the Command Line Interface (CLI) with

npm install --global @sanity/cli

Upgrade the Content Studio with:

sanity upgrade

🐛 Notable bugfixes & improvements

  • Fixed a bug that caused invalid queries if reserved names were used as schema field names
  • Will now display a warning if the client is configured with a token in a browser environment (Background)
  • Fixed an issue with delayed loading of list item previews
  • Fixed an issue causing image loading to fail when switching dataset in studio

📓 Full changelog

Author Message Commit
Bjørge Næss [client] Warn if client is configured with a token in the browser (#1025) 200bc7f5f
Bjørge Næss [preview] Pass through undefined and re-fetch in background when encountering undefined values (#1026) 709b122e9
Espen Hovlandsdal [base] Use deep compare when diffing query parameters (#1028) 5c14832d9
Espen Hovlandsdal [desk-tool] Resolve only changed panes (#1029) 02e3fefe0
Knut Melvær [vision] Add support for string and non-object outputs (#1027) e06e83d06
Kristoffer J. Sivertsen [form-builder] Keep focus alive when clicking inside blockEditor and focus on click (#1024) f08ce2e88
Bjørge Næss Escape groq keywords (#1031) 006ec07ac
Espen Hovlandsdal [preview] Instantiate image url builder on render to catch config changes (#1034) 1f73d45b5
sanity - v0.135.1

Published by bjoerge about 6 years ago

Upgrade the Command Line Interface (CLI) with

npm install --global @sanity/cli

Upgrade the Content Studio with:

sanity upgrade

🐛 Notable bugfixes

  • Fixed a bug that could sometimes cause the disconnected-state in the editor UI to persist even after connection was restored.

📓 Full changelog

Author Message Commit
Bjørge Næss [desk-tool] Clear reconnect state when receiving new snapshots (#1023) 02fe48be8
sanity - v0.135.0

Published by bjoerge about 6 years ago

Upgrade the Command Line Interface (CLI) with

npm install --global @sanity/cli

Upgrade the Content Studio with:

sanity upgrade

✨ Highlights

👩🏽‍🔬 Toggle studio UI affordances for create, update, delete and publish

It is now possible to prevent a document type from appearing in the Create new dialog, and prevent the Delete-menu action from appearing in the editor (among others) by specifying a set of enabled actions on the schema type.

It is launced as an experimental feature and can be configured on the property __experimental_actions. For example, this is how you would hide affordances for deleting documents of type myDocument:

{
  //...
  type: 'document',
  name: 'myDocument',
  __experimental_actions: ['create', 'update', 'publish'], 
  //...
}

Note: this only affects the UI and the documents will still be possible to delete through the API.

🙅‍♂️ Turn off icons in lists with structure builder

For certain lists you don't need icons for individual list items. This is often the case when displaying a list of documents of the same type where an image is not available to use as preview. In other cases, the icon might not make a meaningful visual difference. Whatever the case - you can now disable icons for lists by using the showIcons(false) method in the list builder. You can also switch off icons on a per-item basis using the showIcon(false) method.

For more information, see the structure documentation

Other features

  • Vision plug-in autocompletes brackets and quotation marks
  • Icons in type pane and shows without a gray background
  • Improved the JSON-viewer in Vision plug-in
  • The sanity dataset import command now has a --allow-failing-assets flag, which is nice when importing data from a source that may reference broken images and files. With this flag, it will simply ignore the URLs it cannot fetch and proceed as if they did not exist.

🐛 Notable bugfixes

  • Fixed a bug causing webpack to crash when Sanity is used within a monorepo
  • Fixed a bug causing uploads of more than four items at once to fail
  • Fixed a bug where clicking the "new item" action twice in a row would not work
  • Fixed a bug in the content studio that caused listener connections to not get disconnected when no longer needed
  • Fixed a bug where certain schema types would result in documents being listed as "Untitled"
  • Fixed a bug where altering the filter for a document type list would cause the New document action to not resolve properly
  • (Probably) fixed a bug where Safari-users sometimes would not be able to log in
  • Panes now collapse again when made dragged too narrow

📓 Full changelog

Author Message Commit
Bjørge Næss [desk-tool] Experimental feature: actions (#992) f940f605b
Espen Hovlandsdal [webpack-integration] Allow passing webpack instance to use (#991) 7f53c40a9
Bjørge Næss [form-builder] Fix broken batch upload when uploading > 4 entries at once (#994) 72838a5ce
Espen Hovlandsdal [desk-tool] Allow setting editor title (#996) eaa3374a6
Bjørge Næss [chore] Remove lockfiles and turn off lerna ci 2ac5f1127
Bjørge Næss [language-filter] Fix incorrect function name in readme c9beafab0
Espen Hovlandsdal [import] Fix spinner issue on no references/assets (#998) 8a041b554
Espen Hovlandsdal [base] Use same active/hover/focus styles for textarea as inputs (#997) 08ca301f0
Kristoffer J. Sivertsen [form-builder] Cleanup textarea (#997) 159de7380
Bjørge Næss [document-store] Refactor document store (#1003) 839c6e1fe
Kristoffer J. Sivertsen [components] Object fit on img in preview (#1004) 8445e5539
Espen Hovlandsdal [desk-tool] Remove useless SimplePaneItemPreview component (#1001) 03c99f4fe
Espen Hovlandsdal [components] Allow disabling media in previews (#1002) b04821165
Espen Hovlandsdal [desk-tool] Clean up pane deriving flow slightly (#1000) cb79bcac9
Espen Hovlandsdal [desk-tool] Fix document list items with only title being displayed as Untitled (#995) 31b487de1
Kristoffer J. Sivertsen [components] Not scrollable pane when handling scroll in infinitelist (#1006) e5931db1d
Kristoffer J. Sivertsen [base] Some specific styles for textarea (#1008) 3fa5c636d
Espen Hovlandsdal [import] Add --allow-failing-assets flag (#999) aeea1856d
Espen Hovlandsdal [schema] Always define hotspot/crop fields for image type (#980) c79563bd6
Kristoffer J. Sivertsen [components] Add default icon on pane items (#1005) 9553b1377
Kristoffer J. Sivertsen [components] Collapse pane when too narrow (#1010) 58a52de9d
Kristoffer J. Sivertsen [components] Smooth spinner with proper fullscreen (#1012) dba80097a
Espen Hovlandsdal [default-layout] Defer intent redirect to fix empty tool state (#1015) e5249d8c9
Espen Hovlandsdal [structure] Reset canHandleIntent on doc type list spec changes (#1014) f82569e93
Espen Hovlandsdal [structure] Allow disabling icons for lists and list items (#1013) 6d86c9e73
Knut Melvær [vision] Add auto close brackets to editors in Vision (#1016) b881cbae5
Espen Hovlandsdal [default-login] Attempt to use session ID exchange in Safari (#1018) 5cecffe73
Knut Melvær [vision] Replace JSON viewer (#1020) 63c89ebe1
Per-Kristian Nordnes [default-login] Fix invalid notice of no providers configured message + fix deprecated React lifecycle methods (#1021) 6a17f9803
Kristoffer J. Sivertsen [components] Set height on select for firefox (#1011) 9fea4b9a2
Espen Hovlandsdal [client] Warn when token is used with useCdn set to true (#1019) 4b0329160
sanity -

Published by bjoerge about 6 years ago

Upgrade the Command Line Interface (CLI) with

npm install --global @sanity/cli

Upgrade the Content Studio with:

sanity upgrade

🐛 Notable bugfixes & improvements

  • Fixed an issue causing listeners to not being properly disposed, which could cause stalled requests that eventually timed out (#990)
  • Now displaying 100 hits by default in Content Studio search (#989)
  • Fixed an performance issue with applying patches on local version of edited document (#981)

📓 Full changelog

Author Message Commit
Bjørge Næss [example-studio] Update custom object input example d0ac5a1fb
Bjørge Næss [mutator] Increase mutation limit in Document to allow intense co-editing (#982) 76599c625
Bjørge Næss [mutator] Optimize SquashingBuffer (#981) 5638549fc
Kristoffer J. Sivertsen [default-layout] Max 100 hits, and fix scroll (#989) 33e8d6178
Bjørge Næss [document-store] Defer listener to fix issue with stalled requests (#990) 0ac34685f
Bjørge Næss [chore] Normalize deps 2c7722ce9
sanity - v0.134.1

Published by rexxars about 6 years ago

Upgrade the Command Line Interface (CLI) with

npm install --global @sanity/cli

Upgrade the Content Studio with:

sanity upgrade

🐛 Notable bugfixes

  • Fixed a bug where selecting a search result would not open the document for editing

📓 Full changelog

Author Message Commit
Bjørge Næss [chore] Fix failing travis build and speed up with npm ci (#983) cdc93f89f
Kristoffer J. Sivertsen [components] Dropdown button cleanup (#959) 187746eb5
Bjørge Næss [chore] Normalize some dependencies (#985) a06e11db0
Espen Hovlandsdal [desk-tool] Fix fallback edit intent pane not updating properly (#987) 5db1f4b64
Espen Hovlandsdal [image-url] Add builder method for background color (bg) (#984) 8fea6880d
Bjørge Næss [chore] Make appveyor use npm ci if available (#988) ba7e89642
Espen Hovlandsdal [chore] Update lockfiles eca95a5c9
sanity - v0.134.0

Published by rexxars about 6 years ago

Upgrade the Command Line Interface (CLI) with

npm install --global @sanity/cli

Upgrade the Content Studio with:

sanity upgrade

✨ Highlights

Structure Builder!

So, after a beta period we're shipping our most requested feature. You can now structure how document collections are displayed as you see fit. The configuration is done in code so it opens up a long list of possibilities for fine grained customization:

  • Restrict a type to one single document with a given id (typically some global configuration)
  • Create hierarchies of documents based on queries
  • Easily navigate to a specific document in the root of the navigation structure (think “featured items” in an app or on a website, for instance)
  • Create workflow-focused navigation structures (think “needs review”, “awaiting publication” and similar)
  • Display a certain document type in a custom way instead of in the default editor
  • Use an external API to control how documents are structured in the studio (for example setting up a newsroom where different “modes” of the studios can be determined remotely and in real time)

Check out the documentation and let us know on the community Slack should you see room for improvement.

📓 Full changelog

Author Message Commit
Espen Hovlandsdal [desk-tool] Introduce structure 392443242...43614e4bf
Bjørge Næss [chore] Upgrade lerna (#970) cba49212d
Espen Hovlandsdal [desk-tool] Prefer assigned titles over document titles when both exist (#971) 5086d7526
Espen Hovlandsdal [components] Pass action item to menu action handler (#972) f7f76c0c8
Bjørge Næss [client] Warn about using a token with listeners in the browser (#973) ece4739a2
Bjørge Næss [desk-tool] Make sure DocumentPaneItemPreview listens on correct draft/published ids (#974) 856f13ba1
Bjørge Næss [base] Make settings store observable + integrate with DocumentsListPane (#977) fc110c6eb
Espen Hovlandsdal [structure] Disallow document type lists to show editor for different type (#975) b5d1452a8
Espen Hovlandsdal [desk-tool] Handle generic edit intents without type name (#976) eb70198fa
sanity - v0.133.2

Published by bjoerge about 6 years ago

Upgrade the Command Line Interface (CLI) with

npm install --global @sanity/cli

Upgrade the Content Studio with:

sanity upgrade

🐛 Notable bugfixes

  • Fixed a couple of issues that came up in the wake of the Babel 7 upgrade in v0.133.0
  • Fixed an issue with the image url package that would sometimes produce source rectangle parameters where the top/left coords were negative.

📓 Full changelog

Author Message Commit
Espen Hovlandsdal [chore] Make image-url tests work with babel 7 f909edc17
Espen Hovlandsdal [image-url] Fix negative top/left crop in certain crops (#968) 1f0966806
Espen Hovlandsdal [server] Make babel use CommonJS modules (#969) 143f15b11
sanity - v0.133.1

Published by bjoerge about 6 years ago

Upgrade the Command Line Interface (CLI) with

npm install --global @sanity/cli

Upgrade the Content Studio with:

sanity upgrade

🐛 Notable bugfixes

Fixed a bug caused by outdated React hot loader that could in some cases result in weird behavior when running studio in dev mode.

📓 Full changelog

Author Message Commit
Bjørge Næss [server] Upgrade React hot loader (#967) 4014292
sanity - v0.133.0

Published by bjoerge about 6 years ago

Release notes

Upgrade the Command Line Interface (CLI) with

npm install --global @sanity/cli

Upgrade the Content Studio with:

sanity upgrade

✨ Highlights

Babel 7

We have upgraded to Babel 7, which means you now can use Fragments short syntax <> for custom components, and use babel to compile TypeScript.

Note: if you have a custom .babelrc setup in your content studio project, you will have to migrate to v7 following this guide: https://babeljs.io/docs/en/v7-migration

Sanity CLI honors dataset parameter

  • You can now specify the target dataset when you run sanity get/query/create/delete with --dataset=<dataset name>

🐛 Notable bugfixes

  • Improved studio search so it also looks for string content within arrays
  • When searching for references the result set is now narrowed by adding more words/search terms.
  • Better browser support for the @sanity/image-url module

📓 Full changelog

Author Message Commit
Bjørge Næss [chore] Upgrade to babel v7 (#946) f4352004f
Bjørge Næss [schema] Improve text search within arrays (#947) b52f0641f
Bjørge Næss [chore] Rename Javascript => JavaScript (#949) 92f27aa41
Kristoffer J. Sivertsen [all] Cleanup stylelint (#952) 841fd92ae
Bjørge Næss [chore] Remove more editorconfig files (#950) ae8c55e7e
Bjørge Næss [default-layout] Pass search terms as params (#948) a9e7c4a43
Bjørge Næss [mutator] Use exponential backoff with hard limit when retrying commits (#954) 625478ed3
Bjørge Næss [default-layout] Use onChange instead of onInput on search input 22d0514c7
Espen Hovlandsdal [image-url] Use object rest spread instead of Object.assign (#958) 215012eb9
Bjørge Næss [form-builder] Make sure we pass down onFocus to wrapped input components (#960) d54a6b7f3
Bjørge Næss [example-studio] Remove type annotation from protein input 6f2ed6478
Bjørge Næss [desk-tool] Support order by reference fields on level > 1 (#962) 5e2f6eb0c
Espen Hovlandsdal [reflector-client] Use IE9 as babel target (#964) 5b6d4734a
Espen Hovlandsdal [image-url] Use global form of isFinite (#965) 916c9fbe3
Thomas Drevon [core] Honor --dataset option on get/query/create/delete CLI commands (#955) 82e84ae4f
sanity - v0.132.12

Published by bjoerge about 6 years ago

Upgrade the Command Line Interface (CLI) with

npm install --global @sanity/cli

Upgrade the Content Studio with:

sanity upgrade

🐛 Notable bugfixes

Fixed a bug causing default sort orders being created from fields named title, name, label, heading, header, caption or description regardless of their type. Now we only create default sort orders if these are string/number/boolean fields.

📓 Full changelog

Author Message Commit
Bjørge Næss [schema] Make sure we don't create fallback order config for non-primitive field types (#953) 0830ac4
sanity - v0.132.11

Published by bjoerge about 6 years ago

Upgrade with:

sanity upgrade

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

npm install --global @sanity/cli

🐛 Notable bugfixes

Improved the reference search so it now returns documents with contents that matches all of the words entered in the search input.

📓 Full changelog

Author Message Commit
Bjørge Næss [form-builder] Use && for each term when searching for references (#951) 0830ac41e
sanity - v0.132.10

Published by bjoerge about 6 years ago

This is a maintenance and bugfix release

Upgrade the Command Line Interface (CLI) with

npm install --global @sanity/cli

Upgrade the Content Studio with:

sanity upgrade

📓 Full changelog

Author Message Commit
eurobob [vision] Enable cmd+enter to run queries on mac keyboards (#930) 15d9a9b87
Jon Ege Ronnenberg [vision] Fix background label being selectable (#932) 5dbdeba5f
Bjørge Næss [language-filter] Add possibility to filter language fields (#935) ffe8b3e77
Kristoffer J. Sivertsen [default-login] Cleanup login dialog (#936) f9c5fbd44
Knut Melvær [cli] Improve cli onboarding (#937) 0119dcd9c
Kristoffer J. Sivertsen [components] Using poppable and set correct modifiers (#938) f773af6fc
Espen Hovlandsdal [client] Deprecate merge patch 02655cb35
Espen Hovlandsdal [client] Add documentation for patch methods 86c22f40d
Bjørge Næss [chore] Remove per-project .editorconfig files (#940) 722f35c4f
Bjørge Næss [chore] Add missing clean tasks (#939) 0e903c4c8
Kristoffer J. Sivertsen [components] Cleanup switch component (#943) a57f360c0
Kristoffer J. Sivertsen [test-studio] Example of setting rows (#944) 9019b53f4
Bjørge Næss [form-builder] Don't forward props blindly to wrapped input components (#942) 6d2db5efe
Bjørge Næss [form-builder] Don't check propType using instanceOf (#941) 7c5e69315