chore(deps): update sanity monorepo to v3.20.1 #938
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
3.15.1
->3.20.1
3.15.1
->3.20.1
Release Notes
sanity-io/sanity (@sanity/vision)
v3.20.1
Compare Source
Installation and upgrading
To initiate a new Studio without installing the CLI globally:
To upgrade a v3 Studio, run this command in its folder:
✨ Highlights
Improved support for non-Latin1 characters in URLs
Sanity Studio now handles characters outside of the Latin1 range in intent or structure tool pane payloads without crashing. This fix ensures better support for multilingual content and enhances worldwide usability.
Comments feature improvements
Continued improvements for the comments feature include a resolution to the layering issue that caused popovers to render behind the document pane.
The comments feature also received a quality-of-life enhancement by ensuring that the comment discard dialog appears above the document pane footer and headers, making it fully visible and accessible.
Lastly, we fixed a focus behavior where the reply comment input would unintentionally gain focus when clicking outside of it. Sanity Studio now maintains focus appropriately, only triggering when the comment input field is deliberately selected.
🐛 Notable bugfixes
📓 Full changelog
114114c
457d3da
465ad45
bc51e64
d4d41e4
f1756be
7100552
f08df5b
8f7a614
f121b17
13e5ced
f992968
8dd27dc
@sanity/presentation
tofix
f399c34
ec5520f
2796ec7
d4d51d8
47c865d
v3.20.0
Compare Source
Installation and upgrading
To initiate a new Studio without installing the CLI globally:
To upgrade Sanity Studio, run this command in your project folder:
✨ Highlights
Introducing Presentation
Separating content from presentation shouldn’t create friction. With Presentation, you can work visually – with a clear view of structured content reuse. Presentation and visual editing is available on all plans.
Learn more about Presentation in the launch blog post
Introducing Comments (beta)
Streamline your content review process. From in-document communication to organized feedback, Comments enhances teamwork across all stages of content creation. The new Comments feature is available for projects on the new Growth plan, and up.
Learn more about the Comments beta launch
Desk is now Structure
With the launch of the new Presentation tool, we have renamed the Desk tool to Structure. There are no changes in APIs at this time and no required code changes. In the near future we will rename the export and add a deprecation warning to the existing
deskTool
.For those that are depending on the old tool name
desk
in Studio customizations, this identifier changes tostructure
in this release and you should update your code accordingly.Learn more about this change.
📓 Full changelog
Author | Message | Commit
------------ | ------------- | -------------
renovate[bot] | fix(deps): Update react monorepo (#5089) |
0c851c6
Cody Olsen | chore: add focus path debug tooling (#5190) |
f833f0e
Marius Lundgård | feat: re-export
@sanity/presentation
assanity/presentation
(#5200) |02736d5
Bjørge Næss | feat(desk): rename Desk to Structure in public facing UI (#5181) |
f238440
Rico Kahler | test(e2e): disable dataset creation per PR (#5210) |
d443e70
Herman Wikner | fix(core): field actions hidden issue (#5212) |
e3a39e6
Herman Wikner | fix(comments): feedback footer font size and copy (#5215) |
80e243e
Bjørge Næss | fix(desk): change link to help article about the Desk - Structure rename (#5217) |
51190b0
Bjørge Næss | fix(deps): upgrade @sanity/client and @sanity/presentation (#5219) |
ef4de9a
v3.19.3
Compare Source
Installation and upgrading
To initiate a new Studio without installing the CLI globally:
To upgrade a v3 Studio, run this command in its folder:
🐛 Notable bugfixes
Makes field actions keyboard-accessible:
Esc
(Escape) key to discard a comment.When importing and exporting datasets with the
import dataset
andexport dataset
CLI commands, the output message includes information about theprojectId
and thedataset
in question.Example:
Fixed an issue with cursor instability when using the Portable Text Input inside another Portable Text Input's embedded objects.
📓 Full changelog
Author | Message | Commit
------------ | ------------- | -------------
Espen Hovlandsdal | refactor(types): use type-only imports |
f7e590e
Fred Carlsen | fix(comments): truncate long field names in placeholder (#5153) |
c5e2194
Marius Lundgård | feat(desk): add
onFocusPath
callback property (#5150) |3188ab4
Marius Lundgård | fix(router): memoize
navigate
callback (#5149) |fa7625d
Marius Lundgård | fix(form): open hotspot editor using
focusPath
(#5160) |5673f2a
Herman Wikner | refactor(comments): remove unused function in comments provider (#5156) |
950d3f0
Herman Wikner | fix(comments): default placement of comment popover (#5165) |
6eeb797
Herman Wikner | fix(comments): consider comment status when scrolling from URL (#5164) |
65eb8c2
ecospark[bot] | chore(prettier): fix unformatted files 🤖 ✨ (#5145) |
6d5b4e8
Bjørge Næss | dev(test-studio): add router debugging tool (#5170) |
9933f3b
Bjørge Næss | fix(navbar): reset url state when navigating to other tools (#5171) |
e607be8
Robin Pyon | fix(comments): prevent pasted links being rendered as DefaultAnnotations at author time (#5162) |
e9c7e79
Marius Lundgård | fix(form): forward original portal element |
c941b6b
Herman Wikner | feat(core): make field actions keyboard accessible (#5163) |
5709800
Bjørge Næss | fix(router): improve search params encoding (#5173) |
d4d8a9f
Bjørge Næss | feat(router): add support for tools to bypass search param scoping (#5172) |
3c7d79b
Herman Wikner | fix(comments): addon dataset client api version (#5177) |
86f8f9a
Robin Pyon | chore(deps): bump @sanity/ui to latest (#5178) |
7d9546c
Herman Wikner | fix(core): disable pointer events when field actions are hidden (#5180) |
c4aec5d
Herman Wikner | fix(comments): improve scroll behavior (#5179) |
533af73
Binoy Patel | feat(cli): adds information about projectId and datasets on import and export dataset commands (#5128) |
72ae08f
Espen Hovlandsdal | feat(core): support weighted
template
,mode
intent parameters (#5157) |ebbef52
Per-Kristian Nordnes | chore(portable-text-editor): upgrade slate + remove workarounds (#5175) |
8aed3b1
Per-Kristian Nordnes | fix(portable-text-editor): selection validation and perf. improvement (#5136) |
fd05eba
Bjørge Næss | refactor(core): improve navbar collapse menu (#5185) |
1227102
v3.19.2
Compare Source
Installation and upgrading
To initiate a new Studio without installing the CLI globally:
To upgrade a v3 Studio, run this command in its folder:
This release includes minor UI fixes and improvements
📓 Full changelog
Author | Message | Commit
------------ | ------------- | -------------
Herman Wikner | fix(desk): comments on anonymous objects (#5101) |
78f17e3
renovate[bot] | chore(deps): update dependency @sanity/pkg-utils to v3 (#5033) |
da03b58
Per-Kristian Nordnes | fix(portable-text-editor): fix various (#5123) |
206b7d5
Herman Wikner | feat(core): add
BetaBadge
component (#5125) |1d48d23
Binoy Patel | chore(lint): use turbo for linting all the packages (#5113) |
c947aa2
ecospark[bot] | chore(deps): dedupe yarn.lock (#5119) |
392e301
Herman Wikner | fix(desk): comment mention list issue when using the '@' button (#5121) |
213569b
Robin Pyon | fix(desk): various comments UX papercuts (#5130) |
4735262
Herman Wikner | fix(core): field actions vertical alignment (#5131) |
69b6838
Per-Kristian Nordnes | fix(desk/comments): insert space after mention insert (#5126) |
bdaecfb
Bjørge Næss | fix: avoid forwarding as-props/link props to reference link card (#5124) |
48cd888
renovate[bot] | chore(deps): update playwright monorepo to ^1.39.0 (#5104) |
d2c4ab8
Herman Wikner | feat(desk): delay comments onboarding popover visibility (#5133) |
0d590de
Herman Wikner | refactor(desk): comment highlight (#5120) |
63fb3c7
Bjørge Næss | chore(eslint): fix lint command in next studios (#5141) |
22f4ce4
Bjørge Næss | feat(router): add support for search params (#5094) |
4f37f78
Herman Wikner | feat(desk): improve comments mention list filtering (#5132) |
4c1c29b
Rupert Dunk | feat(desk): export DocumentPane and DocumentListPane (#5103) |
79de34f
Herman Wikner | feat(comments): add feedback footer in the inspector (#5154) |
c7e3f3e
Per-Kristian Nordnes | fix(schema/types): fix issues with block schema's internal structure (#5152) |
aca6e81
Binoy Patel | chore(cli): remove '--reconfigure' command from help for sanity init command (#5155) |
123aa81
v3.19.1
Compare Source
Installation and upgrading
To initiate a new Studio without installing the CLI globally:
To upgrade a v3 Studio, run this command in its folder:
Notable changes
v2022-03-08
to list of predefined API versions in the Vision pluginOpt
instead ofAlt
on Mac)Notable bugfixes
📓 Full changelog
Author | Message | Commit
------------ | ------------- | -------------
Binoy Patel | chore(e2e): run e2e tests on PRs on ephemeral datasets (#5046) |
8486c0a
Espen Hovlandsdal | feat(core): use platform-aware hotkeys (#5065) |
6e1518c
Binoy Patel | chore(test): fixes cache key so it can be re-ran successfully without error (#5097) |
62b93c8
Per-Kristian Nordnes | fix(portable-text-editor): fix issues for .delete fn and add tests (#5060) |
77a60d2
renovate[bot] | chore(deps): update dependency eslint-config-sanity to v7 (#5100) |
acd33c3
Binoy Patel | chore(e2e): refactor e2e ci to not fail due to parallelization of runs (#5098) |
c915ba2
Espen Hovlandsdal | feat(vision): add v2022-03-07 to list of API versions (#5102) |
ddd25cd
Per-Kristian Nordnes | fix(form/inputs): fix bug with onRemove cb for TextBlock (#5061) |
c64d0e2
Espen Hovlandsdal | fix(core): reference links not opening correct pane (#5116) |
ba7a558
v3.19.0
Compare Source
Installation and upgrading
To initiate a new Studio without installing the CLI globally:
To upgrade a v3 Studio, run this command in its folder:
✨ Highlights
This release adds support for styled-components v6. This is an optional upgrade as we'll continue to support v5 during the lifecycle of Sanity Studio v3.
🐛 Notable bugfixes
.text
.>=
or<=
JSONMatch filters for patch operations would cause the studio to return error messages and not apply the patch correctly.📓 Full changelog
Author | Message | Commit
------------ | ------------- | -------------
Per-Kristian Nordnes | fix(block-tools): enforce list support in schema (#4985) |
318efe4
Bjørge Næss | chore(eslint): ignore all 'dist' directories |
a585c40
Bjørge Næss | chore(scripts): revert convert symlinkDependencies script to ts (#5008) |
d19aa5e
Bjørge Næss | test(cli): reject promise returned from
exec()
upon non-zero exit code (#5009) |a0f2c27
Binoy Patel | fix(login): fix issue where logo is not shown on custom auth providers (#5002) |
744bfdf
Binoy Patel | chore(core): add debug schema for virtualization bug (#5017) |
2f3e763
Binoy Patel | chore(e2e): Run e2e tests in shards (#5006) |
4097544
Bjørge Næss | test(cli): symlinkDependencies before running
npm install
(#5020) |16a0336
Bjørge Næss | fix(deps): support
styled-components
v6 (#4917) |eb86f8a
Per-Kristian Nordnes | fix(block-tools): fix Windows issue with gdocs preprocessor rule |
f30b869
Per-Kristian Nordnes | test(block-tools): add tests for gdocs pre-processsing |
45683f1
ecospark[bot] | chore(deps): dedupe yarn.lock (#5024) |
37bcfd5
renovate[bot] | chore(lockfile): update dependency sanity-plugin-mux-input to v2.2.3 (#5030) |
7c2af8d
renovate[bot] | chore(lockfile): update dependency @sanity/assist to v1.2.9 (#5031) |
455fbbc
renovate[bot] | chore(deps): update dependency styled-components to v6 (#5034) |
4cd7470
renovate[bot] | chore(deps): update dependency @sanity/ui-workshop to ^1.2.11 (#5027) |
c01ffcf
renovate[bot] | chore(deps): update dependency @types/use-sync-external-store to ^0.0.5 (#5029) |
26bd77e
Per-Kristian Nordnes | fix(form/inputs): Track focusPath for a span's .text prop + harden test condition |
85d83fb
Per-Kristian Nordnes | fix(core/inputs): support setting initial PTE selection |
95d290d
Per-Kristian Nordnes | test(playwright-ct): support document and focusPath props |
f5f1ebc
Per-Kristian Nordnes | test(playwright-ct): add test for focus tracking in PT-input |
b8474b1
Per-Kristian Nordnes | test(playwrigth-ct): fix issue with Webkit tests |
e2484bd
Per-Kristian Nordnes | refactor(portable-text-editor): rename var to be more explicit |
aa5eb94
Per-Kristian Nordnes | refactor(playwright-ct): make TestWrapper form agnostic |
aaf599d
Per-Kristian Nordnes | refactor(core/form/inputs): simplify focus handling |
bd65690
Per-Kristian Nordnes | fix(core/inputs): always scroll to member, but don't re-apply same selection |
22ba618
Per-Kristian Nordnes | fix(core/form/inputs): use useLayoutEffect over useEffect for focusPath tracking hook |
601b187
Per-Kristian Nordnes | test(playwright-ct): simplify focusPath tests |
25c7210
renovate[bot] | chore(deps): update dependency @optimize-lodash/rollup-plugin to ^4.0.4 (#5025) |
97e2949
renovate[bot] | chore(deps): update dependency @portabletext/toolkit to ^2.0.10 (#5026) |
d7a4720
renovate[bot] | chore(lockfile): update dependency @sanity/eventsource to v5.0.1 (#5037) |
242bfb7
renovate[bot] | chore(deps): update dependency vite to ^4.5.0 (#5040) |
bd7116f
renovate[bot] | chore(deps): update dependency @vitejs/plugin-react to ^4.1.0 (#5038) |
26cb528
renovate[bot] | chore(deps): update dependency esbuild to ^0.19.5 (#5035) |
3f8fbfc
renovate[bot] | chore(deps): update dependency esbuild-register to ^3.5.0 (#5039) |
7e027f8
renovate[bot] | chore(deps): update dependency @tanstack/react-virtual to v3.0.0-beta.68 (#5028) |
340aada
renovate[bot] | chore(lockfile): update dependency @portabletext/react to v3.0.11 (#5036) |
6445f32
renovate[bot] | chore(lockfile): update dependency @sanity/ui to v1.8.3 (#5051) |
f8ef3be
renovate[bot] | chore(lockfile): update dependency @sanity/icons to v2.6.0 (#5052) |
c6e2912
renovate[bot] | chore(lockfile): update dependency groq-js to v1.3.0 (#5053) |
5366a9b
Cody Olsen | chore: update snapshots |
e37c8ed
renovate[bot] | chore(deps): update actions/setup-node action to v4 (#5054) |
1a2c5f1
Cody Olsen | Revert "chore(deps): update dependency @tanstack/react-virtual to v3.0.0-beta.68 (#5028)" |
1728fa6
Per-Kristian Nordnes | fix(core/inputs): fix issue with toolbar popover visibility toggling |
8ea5cff
Per-Kristian Nordnes | test(playwright-ct): add test for annotation toolbar popover visibility |
e68189c
Per-Kristian Nordnes | fix(core/form/inputs): fix scrolling of annotation toolbar popover |
3c64bec
Cody Olsen | chore(renovatebot): use the correct group name for dev deps |
474c124
Cody Olsen | chore(renovate): don't group dev updates |
c51319a
Per-Kristian Nordnes | doc(form): add doc and example for components extention of block type (#5059) |
5233f35
Per-Kristian Nordnes | fix(portable-text-editor): allow user event handlers on Editable component (#5058) |
441f637
Binoy Patel | chore(e2e): fix report merging (#5045) |
6fee81b
Espen Hovlandsdal | fix(mutator): apply
setIfMissing
prior toset
(#5062) |8b4ec5d
Bjørge Næss | fix(deps): bump @sanity/ui to latest (#5056) |
935601b
renovate[bot] | chore(deps): update dependency typescript to ^5.2.2 (#5073) |
1ea4b2b
renovate[bot] | fix(deps): update dependency @sanity/client to ^6.7.0 (#5032) |
36a33d4
renovate[bot] | chore(deps): update dependency turbo to ^1.10.16 (#5070) |
e54623a
renovate[bot] | fix(deps): update dependency get-it to ^8.4.4 (#5071) |
01e3eef
Binoy Patel | chore(test): jest 29 migration (#5069) |
fd3a972
Binoy Patel | chore(e2e): create a test studio for e2e tests (#5044) |
2d58099
Per-Kristian Nordnes | test(portable-text-editor): adjust timings |
311d5b6
renovate[bot] | chore(deps): update dependency next to v14 (#5081) |
7272259
renovate[bot] | chore(lockfile): update dependency @sanity/assist to v1.2.11 (#5083) |
d6b9088
Espen Hovlandsdal | fix(mutator): match deep set/setIfMissing behavior (#5048) |
28884c6
Espen Hovlandsdal | fix(mutator): restore greater than/less than in jsonmatch constraints (#5063) |
fd7db60
Per-Kristian Nordnes | ci: move PTE e2e tests out in own workflow (#5080) |
afa3f71
Binoy Patel | chore(test): fix unit test caching issue (#5092) |
829f541
Nina Andal Aarvik | fix(desk): edit logic for published- and edit status message in document list (#5067) |
2013203
Herman Wikner | feat(desk): implement comments (beta) (#4886) |
0803464
Robin Pyon | refactor: use transient props in various styled components (#5093) |
ae0ca14
v3.18.1
Compare Source
Installation and upgrading
To initiate a new Studio without installing the CLI globally:
To upgrade a v3 Studio, run this command in its folder:
Notable changes
📓 Full changelog
Author | Message | Commit
------------ | ------------- | -------------
largis21 | chore: typo in error message (#4988) |
60f1091
Binoy Patel | fix(core): fixes issue with overlapping text in error message (#4970) |
2001ced
Tommy Petty | chore: prep work for making e2e tests more isolated (#4961) |
241402a
Per-Kristian Nordnes | doc(sanity): add TS-doc for block content related types (#4674) |
b6d4c40
Rico Kahler | feat(cli): add CDR metadata to GraphQL json schema (#4975) |
d8cbf10
v3.18.0
Compare Source
Installation and upgrading
To initiate a new Studio without installing the CLI globally:
To upgrade a v3 Studio, run this command in its folder:
✨ Highlights
engines.node
to >= 18🐛 Notable bugfixes
canHandleIntent
to allow passingundefined
edit
intent was not called when added to amenuItem
(thanks @israelroldan 🙏)📓 Full changelog
Author | Message | Commit
------------ | ------------- | -------------
Simeon Griggs | chore: change clipboard icon to copy icon (#4974) |
317df79
renovate[bot] | chore(deps): update actions/checkout action to v4 (#4933) |
9e84fb8
renovate[bot] | chore(deps): update tibdex/github-app-token action to v2 (#4934) |
1de96e8
renovate[bot] | chore(deps): update babel monorepo (#4926) |
de7d794
Knut Melvær | feat(vision): make panes responsive for minimal breakpoint (#4893) |
4b3a183
Binoy Patel | fix(desk): fixes type for canHandleIntent in documentList (#4969) |
ad3cf4f
Bjørge Næss | chore: bump engines to node 18 (#4981) |
3fb27a8
Bjørge Næss | fix(form): set fallback placement for type-select popover in array inputs (#4979) |
0068787
Israel Roldan | fix(desk): pass intent in MenuNodes resolver (#4892) |
4151f2e
v3.17.0
Compare Source
Installation and upgrading
To initiate a new Studio without installing the CLI globally:
To upgrade a v3 Studio, run this command in its folder:
✨ Highlights
Perspectives in
listenQuery
Added support for perspectives in the
listenQuery()
method🐛 Notable bugfixes
📓 Full changelog
Author | Message | Commit
------------ | ------------- | -------------
Espen Hovlandsdal | feat: support perspectives in
listenQuery
(#4878) |6020a46
renovate[bot] | chore(deps): update dependency @sanity/ui to ^1.8.2 (#4847) |
c1fe6e5
Nina Andal Aarvik | fix(core): unset changes in reverse order in patch operation (#4957) |
0715a15
RD | fix: syntax issues in next.js JS blog template (#4952) |
c672253
Binoy Patel | fix(core): fix array items not showing in field groups (#4930) |
f55b7d8
Bjørge Næss | fix(core): set default placements for certain studio popovers (#4963) |
aab85f9
Nina Andal Aarvik | fix(core): accessibility improvements on document lists (#4958) |
0fa5e70
Bjørge Næss | fix(core): re-use previously prepared workspace configs (#4867) |
8387122
Kristian Zondervan | Fix broken getting started link in clean readme (#4967) |
5c5312d
Bjørge Næss | fix(core): make sure to re-emit current edit state when re-subscribing to document validation (#4954) |
17300c8
v3.16.7
Compare Source
Installation and upgrading
To initiate a new Studio without installing the CLI globally:
To upgrade a v3 Studio, run this command in its folder:
✨ Highlights
Improved validation of Block Schema Members
We enhanced the validation of block schema members. Block schema members cannot be given a type that is not an object-like type. In previous releases, we weren't preventing that. This could lead to unexpected errors. In this release we addressed the issue by giving certain permissions and warnings for particular scenarios. More details can be found in the PR description.
Title updates in Desk Tool
In this release, we improved the navigation inside the studio by updating the
<title>
element to make it more specific to the current route every time a user navigates in the studio. This makes it easier to navigate through documents and switch between tools.Increased performance for dataset imports
Past versions encountered challenges with concurrent operations during parallel reference strengthening; this issue has been resolved for some time. The current release enhances import performance by further optimizing parallel strengthening of references. This greatly improves import performance.
Other features
Simplified managing reference publishing icons by adding aria-labels for accessibility.
🐛 Notable bugfixes
📓 Full changelog
3885585
4e02847
9c8bb83
0753806
b3b365e
2ace4f1
5c75b2c
645aedd
3841555
a7523a6
useConditionalReadOnly
hook (#4902)b99e332
c27ee3e
7e9e48f
e62906f
fe761cf
50b7976
3153954
2f08a79
bf50a77
67696cb
112a46a
a94680b
e7a8e32
47f3be9
0f52cfc
85719b7
v3.16.6
Compare Source
v3.16.5
Compare Source
v3.16.4
Compare Source
Installation and upgrading
To initiate a new Studio without installing the CLI globally:
To upgrade a v3 Studio, run this command in its folder:
🐛 Notable bugfixes
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - "before 4am on Monday" (UTC).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR has been generated by Mend Renovate. View repository job log here.