Releases: sanity-io/sanity
Releases · sanity-io/sanity
v0.115.0
✨ Highlights
- This fixes a bug in
sanity init
that made new studios get React 16 as dependency. We're not fully compatible with React 16 yet (but working on it!).
- Removed a few needless prompts in
sanity init
- Vision now supports "copy query url"
- Fixed a bug that caused sanity client uploads to fail if given a read stream from the request module
📓 Full changelog
Author |
Message |
Commit |
Espen Hovlandsdal |
[chore] Upgrade get-it to v4 (#212) |
6c0c519 |
Espen Hovlandsdal |
[vision] Show query URL with copy functionality (#194) |
1445a91 |
Thomas Drevon |
More flexible code input (#214) |
fb102f2 |
Espen Hovlandsdal |
[vision] Use document ID as key instead of revision (#216) |
59bfbc8 |
Bjørge Næss |
[form-builder] Extract FormBuilderContext and let WithFormBuilder take schema as prop (#213) |
8cd4340 |
Bjørge Næss |
[schema] Fix edge case where accessing type.preview would fail (#215) |
fa4109c |
Espen Hovlandsdal |
[cli] Remove needless prompts, swap fs-promise for fs-extra (#218) |
5aec13d |
Espen Hovlandsdal |
[chore] Replace fs-promise with fs-extra (#219) |
0d965b7 |
Bjørge Næss |
[test-studio] Fix proptypes warning |
5cad2bf |
Bjørge Næss |
[form-builder] More form-builder public api cleanup + avoid circular import issue (#220) |
014eb60 |
Bjørge Næss |
[chore] Upgrade eslint config and plugins (#221) |
652ef30 |
Thomas Drevon |
Some minor fixes in code-input (#223) |
79a5e84 |
Espen Hovlandsdal |
[cli] Resolve only Sanity-dependencies to their latest versions on bootstrap (#225) |
a9c1dfa |
v0.114.0
📓 Full changelog
Author |
Message |
Commit |
Bjørge Næss |
[form-builder] Rename SlateInput export => BlockEditor (#210) |
c63b40c |
Bjørge Næss |
[client] Resolve the asset upload promise with the asset document, not the response (#208) |
69b7d2e |
Bjørge Næss |
[client] Add docs for asset uploads to README (#207) |
8ad48b3 |
Bjørge Næss |
[client] Minor: Remove invalid parameter from assets.upload(...) example |
0a7488a |
Per-Kristian Nordnes |
[example-studio] Add example on how to wrap and customize the block editor (#209) |
b8c7301 |
v0.113.0
✨ Highlights
- The
date
type has been renamed to richDate
. You may need to run a migration script. More info
- The structure of block content has changed to a format that is more intuitive and easier to work with. You may need to run a migration script if you have been using the block editor. More info
📓 Full changelog
Author |
Message |
Commit |
Espen Hovlandsdal |
[chore] Normalize dependency versions (#184) |
eda91be |
Espen Hovlandsdal |
[client] Retry failed GET/HEAD-requests (#182) |
645457b |
Thomas Drevon |
Rename date => richDate (#169) |
cf07e5e |
Per-Kristian Nordnes |
[form-builder] Refactor block editor (#188) |
9e72d87 |
Bjørge Næss |
[base] Add missing dependency |
602e835 |
Per-Kristian Nordnes |
[test-studio] Test inline objects for block editor |
dd42702 |
Per-Kristian Nordnes |
[form-builder] Fix typo in deprectation warning |
1473a69 |
Bjørge Næss |
[cli] Update sanity init template (#189) |
7ab059a |
Bjørge Næss |
[data-aspects] Hide richDate by default |
73b6122 |
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.