v0.140.10
Upgrade the Command Line Interface (CLI) with
npm install --global @sanity/cli
Upgrade the Content Studio with:
sanity upgrade
✨ Highlights
hasAlpha
, isOpaque
fields for images
Newly uploaded image assets now have two additional metadata fields:
hasAlpha
(bool) - Whether or not the image has an alpha channel (regardless of it being in use)isOpaque
(bool) - Whether or not the image is opaque (does not contain any transparent pixels)
Note that these fields are only present on newly uploaded image assets.
Keep-Alive in Sanity client
The @sanity/client
module now uses keep-alive ♻️ connections against the Sanity API. This improves performance when doing more than one request against the API within a short window of time by reusing network connections.
Filename field on code input
The @sanity/code-input
plugin now has an option to enable a filename field. Set options.withFilename
to true
in order to enable this field. Thanks to Raymond Julin for this improvement!
🐛 Notable bugfixes
- Fixes a bug with Studio search that split words including numbers into separate terms
- Fixes a bug where deploying a GraphQL API would fail in certain conditions
📓 Full changelog
Author | Message | Commit
------------ | ------------- | -------------
Bjørge Næss | [base] Split string on space and comma instead of using lodash.words for tokenization (#1222) | 2664ef3e4
Espen Hovlandsdal | [base] Add hasAlpha
, isOpaque
fields to image metadata fields (#1232) | 9e8da6ab7
Bjørge Næss | [chore] Upgrade to latest lerna and tweak publish scripts | 5bc5448c5
Raymond Julin | [code-input] Add a filename field to code input blocks (#1234) | 37f488fd4
Espen Hovlandsdal | [client] Introduce keepAlive in client (#1235) | 63c56254c
Bjørge Næss | [form-builder] Remove import for overriding code-input part (#1238) | e31ccf1c8
Thomas Drevon | [dashboard] Implement skeleton for dashboard tool | 84ed06f03
Thomas Drevon | [test-studio] Wire up dashboard tool in test-studio | d6455c95d
Thomas Drevon | [dashboard] Update dashboard readme | 0bcd7da44
Thomas Drevon | [test-studio] Add some plugins to make the dashboard tool show something | fe1a7a2dd
Thomas Drevon | [dashboard] Dashboard, first pass which works | 66f10d246
Thomas Drevon | [dashboard] Add a stack-overview placeholder widget | 59adffc2d
Thomas Drevon | [test-studio] Update format of dashboardConfig | f7fa47104
Thomas Drevon | [dashboard] Change format of dashboardConfig and update code to handle the change | 8ff6c394e
Kristoffer Sivertsen | [dashboard] Setup grid | b3ffd85a9
Kristoffer Sivertsen | [dashboard] CSS grid with simple config | 89904ca93
Thomas Drevon | [dashboard] Add project-info dashboard widget | f7ad007b1
Thomas Drevon | [test-studio] Sample configuration of project-info widget | aee1c6645
Kristoffer Sivertsen | [dashboard] Adding common styles | 938ac93aa
Kristoffer Sivertsen | [dashboard] Adding tutorial widget | 9abe7e1f4
Kristoffer Sivertsen | [dashboard] Styling widget wrapper | 7109a5ef2
Kristoffer Sivertsen | [dashboard] Document list mockup widget | 2442c82bc
Kristoffer Sivertsen | [dashboard] Styling stack overview | 621605ba2
Kristoffer Sivertsen | [dashboard] Styling project info | 4ce7116e6
Kristoffer Sivertsen | [dashboard] Dashboard configf example | f93a1a59a
Thomas Drevon | [test-studio] Add project-users widget to test-studio dashboard config | 39c89de8d
Thomas Drevon | [dashboard] Make manage link open in new tab | b64dfb1e5
Thomas Drevon | [dashboard] Satisfy react key requirement | 09e3c9590
Thomas Drevon | [dashboard] First pass at project-users widget | 974505cb5
Thomas Drevon | [dashboard] Minor formatting | 26250ca06
Thomas Drevon | [dashboar] Minor fixes in several places | d185f044c
Thomas Drevon | [dashboard] Fix some wonkieness while building urls | d0c6d61c6
Thomas Drevon | [dashboard] Added IntentLink on each doc in the document-list widget | 6713227ef
Thomas Drevon | [dashboard] Don't show drafts by default in document-list widget | bba0ad8f6
Thomas Drevon | [dashboard] Style profile images | 5d5a32600
Kristoffer Sivertsen | [dashboard] Removing styles and using components | 80c8ac0f6
Kristoffer Sivertsen | [default-layout] Firefox does not respect relative height toolContainer | 7879ccfa3
Kristoffer Sivertsen | [dashboard] Adding button to document-list | f9fb7299b
Thomas Drevon | [dashboard] Fallback author rendering in tutorials widget | a3179b552
Kristoffer Sivertsen | [dashboard] Example of different document-list | 2bcb00ceb
Thomas Drevon | [dashboard] Fix preview | db77fb94a
Kristoffer Sivertsen | [dashboard] Styling the document-list | 2e116f44c
Kristoffer Sivertsen | [dashboard] Filter documentTypes from schema in document-list | 13a3a06ad
Marius Lundgård | [dashboard] Adjust grid layout | 40c096e95
Kristoffer Sivertsen | [dashboard] Change content structure to feed | 937871ac6
Kristoffer Sivertsen | [dashboard] Update content structure for tutorials | 593107372
Kristoffer Sivertsen | [dashboard] Cleanup document-list | a8e2bd074
Kristoffer Sivertsen | [dashboard] Remove stack-overview | 770afa197
Kristoffer Sivertsen | [dashboard] Responsive styling cleanup | 5fa16266d
Kristoffer Sivertsen | [dashboard-tool] Adding correct icon | 71820dafe
Kristoffer Sivertsen | [dashboard] Simplify and add hover on tutorials | 8059128f2
Kristoffer Sivertsen | [dashboard] Tidy up design and rename to styles.css .modules.css | 14c4c81ce
Kristoffer Sivertsen | [dashboard] Stretch instead of fill-avilable | 8cf9468cf
Kristoffer Sivertsen | [dashboard] Only show the IntentButton for one type | 10162d036
Marius Lundgård | [dashboard] Fix prop types and prettier format | fae70fc19
Marius Lundgård | [test-studio] Make dashboard the first menu item | 05a19e0e4
Marius Lundgård | [dashboard] Add header element to widgets | 54dd96c7e
Marius Lundgård | [dashboard] Add hairline color | 18f80e77a
Marius Lundgård | [dashboard] Add design updates (details) | cb48479e6
Marius Lundgård | [dashboard] Rename widgets directories | 32e7380c8
Marius Lundgård | [dashboard] Fix file names to conform to conventions, update design | e76c4f246
Thomas Drevon | [dashboard] Clean up package.json | b2a09629f
Thomas Drevon | [dashboard] A dozen minor improvements based on code review | 944027b25
Thomas Drevon | [dashboard] Make the feedItems fetch an observable | 80bde7d5e
Thomas Drevon | [dashboard] Allow missing posterUrl | b59d21752
Thomas Drevon | [dashboard] Fix proptype expectation | 2ab29b42c
Thomas Drevon | [dashboard] Extract hard coded sanity stuff to its own file | bdbdf70d3
Thomas Drevon | [dashboard] Extract DocumentList widget to its own repo | 8dc442dd9
Thomas Drevon | [test-studio] Wire up the external DocumentList widget | 3d5d01a54
Thomas Drevon | [dashboard] In case of data load failure, give the user a way to attempt refetch | 5798981d7
Marius Lundgård | [dashboard] Add design tweaks | 0cefa6b21
Marius Lundgård | [dashboard] Fix inconsistencies in ProjectUsers widget | 61722db46
Marius Lundgård | [dashboard] Add an example of layout configuration to README | 88148d64d
Marius Lundgård | [dashboard] Change default config | 4ce2fbebe
Marius Lundgård | [dashboard] Add syntax highlighting to README | e0a74898a
Marius Lundgård | [dashboard] Move default layout config to widgets | d4e45d98c
Marius Lundgård | [test-studio] Add cats widget | 61c41c728
Thomas Drevon | [test-studio] Bump version of document-list widget | 6fc14a51a
Thomas Drevon | [dashboard] Guard against a single users returning from members fetch | cd142d406
Thomas Drevon | [dashboard] Improved error display in project-info widget | a4ba0fde4
Thomas Drevon | [dashboard] Fix additional categories render bug in project-info | b7ff62eb6
Thomas Drevon | [test-studio] More dashboard test config | ad37d015d
Thomas Drevon | [dashboard] Fix graphQl url bug in the project-info widget | 37969d6c5
Thomas Drevon | [dashboard] First pass at some dashboard documentation | 75c3453a8
Thomas Drevon | [dashboard] Update readme | c174fd60b
Thomas Drevon | [test-studio] Configure up non-existing widget in test-studio | c2400b1dd
Thomas Drevon | [dashboard] Improved handling of non-existing widget | 356be0812
Per-Kristian Nordnes | [dashboard] Update README.md with styling tips | 47c4d5596
Espen Hovlandsdal | [plugin-loader] Fix resolving paths with query strings | bf01370e9