Releases: sanity-io/sanity
Releases · sanity-io/sanity
v0.112.0
✨ Highlights
- A set of orderings can now be defined on schema types (#176). Documentation can be found here: https://sanity.io/docs/the-schema/sort-orders.
- React 16 deprecation warnings should be eliminated and React 16 is allowed as peer dependency (note that we still have some issues with storybook in React 16 (see #165)
sanity import
has been revamped (#171)- Fallback prepare output is now more human friendly (#174)
- Schema fields now supports the
hidden
attribute (#175) - Help text on
sanity start
is improved (#183) - Issue where CLI stalls after login on MacOS has been fixed (#181)
- When deleting a dataset, you will now be asked for confirmation (#178)
- When running
sanity init
you can now choose between a clean project template and the existing movie database template (#186)
📓 Full changelog
Author | Message | Commit |
---|---|---|
Espen Hovlandsdal | CLI CDN fixes (#159) | 1262dd3 |
Espen Hovlandsdal | [client] Set User-Agent in non-browser environments (#161) | 7931275 |
Bjørge Næss | [state-router] Tolerate (but warn) on missing router context (#160) | 38a3d92 |
Bjørge Næss | [chore] Fix wrong git urls (#162) | 8d8f993 |
Bjørge Næss | [chore] Remove package-lock-files and add yarn.lock/package-lock.json to .gitignore (#163) | 968c39b |
Espen Hovlandsdal | [client] Make node-specific middleware be excluded from bundles (#164) | e5332ca |
Bjørge Næss | [chore] Support React 16.0.0-rc.2 as peer dependency (#166) | 2f2e017 |
Bjørge Næss | [chore] Remove babel-preset-react-hmre and fix a few deps issues | 34cdb2e |
Bjørge Næss | [state-router] Import * triggers a deprecation warning, so use import type instead | 37b8951 |
Espen Hovlandsdal | [client] Use URI-parameter for asset requests (#167) | 8807d2d |
Thomas Drevon | [form-builder] Pass BlockEditor description to DefaultFormField for rendering (#168) | e1e9507 |
Espen Hovlandsdal | [import] Separate dataset import logic into separate modules (#173) | b565fdc |
Bjørge Næss | [schema] Make the output from the fallback preview.prepare more human friendly (#174) | 9ff1bcc |
Espen Hovlandsdal | [form-builder] Feature: Hide fields by specifying hidden in schema (#175) |
9525798 |
Bjørge Næss | Define ordering (#176) | d745a58 |
Bjørge | [test-studio] Fix accessed view options on wrong key | 3964be1 |
Bjørge | [base] Pass viewOptions to preview.prepare in production as well | 95d3c91 |
Espen Hovlandsdal | [core] Add help text for sanity start command (#183) |
750fbb7 |
Espen Hovlandsdal | [cli] Fix issue where CLI stalls after login on MacOS (#181) | 2b79d41 |
Espen Hovlandsdal | [cli] Clean up unused code paths (#180) | 94c0048 |
Espen Hovlandsdal | [core] Add confirmation dialog before deleting dataset (#178) | b63ee8d |
Espen Hovlandsdal | [cli] Expand bash-like homedir shortcuts (#177) | 1eb7b9c |
Espen Hovlandsdal | [base] Expose schema creator as CommonJS (#179) | 269a50c |
Espen Hovlandsdal | [cli] Add clean init template (#186) | 59d58a0 |
v0.111.0
Author | Message | Commit |
---|---|---|
rexxars | Add temporary part to inject components below the editor (#148) … | 5bf646a |
rexxars | Make client API CDN aware (#150) … | 602ef35 |
bjoerge | [form-builder] Remove createFormBuilderFactory (#151) | 4386525 |
bjoerge | [desk-tool] Adjust FormBuilder to use patchChannel | 40fe45c |
bjoerge | [form-builder] Fix wrong previewResolver was passed to FormBuilder | dd7edda |
bjoerge | [example-studio] Add an example of a custom object input that renders… … | 3d909f7 |
rexxars | [base] Opt-out of CDN usage (#153) | fd34fd5 |
rexxars | [client] Retrieve original filename and content type from File instan… … | 998a05d |
bjoerge | [schema] Fix error when guessing preview config for files | 7fd1e1f |
v0.109.0
Author | Message | Commit |
---|---|---|
rexxars | [cli] Upgrade yarn to 0.27.5 | 8cbee5b |
rexxars | [cli] Fix issue where command group roots would not list commands (#109) | c346e0b |
rexxars | [client] Use uncredentialed requests unless withCredentials or `tok… … |
421b2b9 |
rexxars | [base] Use credentialed requests in studio (#115) | 1fa017e |
kristofferj | [vision] Move vision into monorepo (#90) | 2a011dc |
bjoerge | [base] Include props.children in sCU equality check (#116) | ee1a4dd |
bjoerge | [form-builder] Minor: fix misleading error messsage | cf8b00e |
rexxars | [core] Skip system documents when exporting a dataset (#120) | 9d96954 |
bjoerge | [base] A fix + example schema demonstrating named reference types (#117) | d6ea940 |
bjoerge | [observable] Add publishReplay operator (#121) | 9c14ccf |
bjoerge | [state-router] Support programmatical intent navigation (#123) | 31d9ecd |
bjoerge | [form-builder] Expose the withDocument HOC (#126) | e083695 |
rexxars | [client] Include error message in stack (#129) | 67fc4ee |
bjoerge | [components] Only render children of collapsable fieldsets when open (#… … | c385c1c |
bjoerge | [schema] Guess preview config based on raw schema def instead of pars… … | b991d9b |
bjoerge | [development] Separate example-studio and test-studio and organize te… … | e5c6182 |
rexxars | [base] Fix code style issue (#135) | 56b4bd3 |
bjoerge | [components] Fix onBlur error (#137) | 275cc61 |
rexxars | [base] Expose client as CommonJS (#133) | 4cfbfe5 |
rexxars | [plugin-loader] Allow overriding config parts (#134) | d993c75 |
rexxars | [core] Add sanity exec command that registers part loader + babel (#… … |
8aa0915 |
bjoerge | [infrastructure] Upgrade lerna (#136) | 38279a1 |
skogsmaskin | [components] Support disabled prop on ToggleButton | 6d78637 |
bjoerge | [test-studio] Change project ID | 7282a6f |
bjoerge | [components] Add a top margin on Image input fieldset with highlighte… … | 02309e5 |
bjoerge | [test-studio] Fix reference to nonexistent type | 7b96182 |
bjoerge | [form-builder] Fix an issue with arrays and anonymous objects (#140) | 234615c |
Draft punk
The shiny new feature in this version is the ability to stage changes before publishing ✨.
A thing to be aware of is that when fetching documents in front-end(s), you'll now have to explicitly exclude draft documents by including the constraint !(_id in path 'drafts.**')
in queries, or else you may end up with unpublished drafts in the result set. This is undoubtedly a little cumbersome and we're discussing how we can avoid this in the future.
Type sanity upgrade
to get this version and don't hesitate to let us know if you experience any trouble.