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:
6.8.6
->6.12.3
3.20.0
->3.28.0
18.2.37
->18.2.55
10.4.16
->10.4.17
d42e5f4
->1bf7ec2
8.53.0
->8.56.0
14.0.3
->14.1.0
14.0.3
->14.1.0
5.5.10
->5.5.11
8.4.31
->8.4.35
3.1.0
->3.2.5
2.4.6
->2.4.10
0.5.7
->0.5.11
3.20.0
->3.28.0
6.1.1
->6.1.8
3.3.5
->3.4.1
5.2.2
->5.3.3
Release Notes
sanity-io/client (@sanity/client)
v6.12.3
Compare Source
Bug Fixes
ListenParams
forclient.listen
(dff1bcc)MutationSelectionQueryParams
type (5bf3eee)v6.12.2
Compare Source
Bug Fixes
v6.12.1
Compare Source
Bug Fixes
v6.12.0
Compare Source
Features
Bug Fixes
v6.11.3
Compare Source
Bug Fixes
v6.11.2
Compare Source
Bug Fixes
v6.11.1
Compare Source
Bug Fixes
v6.11.0
Compare Source
Features
v6.10.0
Compare Source
Features
useCdn: boolean
onclient.fetch
(#454) (936ec9e)stega
options onclient.fetch
(#427) (144fc2d)Bug Fixes
v6.9.3
Compare Source
Bug Fixes
mode=presentation
to edit intent links (8f062e1)v6.9.2
Compare Source
Bug Fixes
SanityClient
imports (#445) (b4b9079)v6.9.1
Compare Source
Bug Fixes
stega
options onclient.fetch
(#424) (fdbb57a)v6.9.0
Compare Source
Features
stega
options onclient.fetch
(#419) (d38afd8)sanity-io/sanity (@sanity/vision)
v3.28.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
Dry run content migrations from a local dataset file
You can now dry run content migration jobs against a local dataset export file (for example, a
production.tar.gz
file that you have exported):Note: The
--from-file
flag only works with dry runs, in other words, you won't be able to use is with the--no-dry-run
flag.Learn more about Schema Change Management in our documentation.
Other features
text-wrap: pretty
).🐛 Notable bugfixes
S.documentTypeList()
now match those in other document lists.📓 Full changelog
Author | Message | Commit
------------ | ------------- | -------------
ecospark[bot] | chore(deps): dedupe yarn.lock (#5615) |
1527a9d
renovate[bot] | fix(deps): update dependency @sanity/client to ^6.12.3 (#5623) |
5116ee0
renovate[bot] | fix(deps): update dependency @sanity/presentation to v1.7.3 (#5622) |
c04afbc
renovate[bot] | chore(lockfile): update dependency sanity-plugin-mux-input to v2.2.4 (#5624) |
5697847
renovate[bot] | chore(deps): update dependency express to ^4.18.2 (#5629) |
0050425
Cody Olsen | fix: remove
__unstable_focusRing
unknown forwarded prop warning (#5621) |6c87bea
renovate[bot] | chore(deps): update thollander/actions-comment-pull-request digest to
1d3973d
(#5632) |56bf76e
renovate[bot] | chore(deps): update tiryoh/gha-jobid-action action to v1 (#5633) |
359b4cb
Robin Pyon | fix: only fully collapse PTE toolbars in 'root' FormBuilder instances (#5547) |
e219e2a
Knut Melvær | docs(create-sanity): update README.md |
6fa1750
renovate[bot] | chore(deps): update dependency turbo to ^1.12.2 (#5635) |
f948e7d
Rune Botten | chore: remove outdated beta docs URLs (#5636) |
4d06ae8
renovate[bot] | chore(deps): update dependency is-hotkey to ^0.2.0 (#5634) |
5a49de6
Rune Botten | fix(cli): update migration run usage text (#5637) |
0bae465
Binoy Patel | fix(migration): shows better error message when running migration list (#5625) |
9c2db95
Simeon Griggs | feat: apply text balance to document titles (#5641) |
4e2507b
renovate[bot] | chore(deps): update dependency framer-motion to v11 (#5649) |
e573c51
renovate[bot] | chore(deps): update dessant/lock-threads action to v5 (#5650) |
0e05e77
renovate[bot] | chore(deps): update peter-evans/create-pull-request action to v6 (#5651) |
5b1d51c
Indrek Kärner | feat(cli): prompt to use default plan when wrong coupon or plan |
8e202c7
Binoy Patel | chore(deps): update dependency depcheck to ^1.4.7 (#5631) |
03c65f6
Ash | feat(cli): improve reporting when dry running from export (#5609) |
b8eefc6
ecospark[bot] | chore(deps): dedupe yarn.lock (#5658) |
93a05b1
Cody Olsen | fix: regression caused by #5440 (#5657) |
0af205c
Espen Hovlandsdal | refactor(cli): clean up esbuild on completed migration list operation |
d17269e
Espen Hovlandsdal | refactor(migration): sort imports |
cc9e473
Espen Hovlandsdal | fix(migration): make
sanity migration list
also include file-only migrations |c6745ab
Espen Hovlandsdal | refactor(migration): use
chalk
from context instead of importing it |471e491
Espen Hovlandsdal | refactor(migration): reuse resolve migration logic in run command |
063f8eb
Espen Hovlandsdal | refactor(migration): move migration resolve functions to util folder |
a9606b8
Ash | fix(form): preserve intrinsic block size of field labels (#5639) |
08f6694
renovate[bot] | fix(deps): update dependency @sanity/presentation to v1.7.4 (#5671) |
55a54b5
Nina Andal Aarvik | fix(src): add document title to publosh/unpublish success message in toast (#5605) |
0cf3772
Nina Andal Aarvik | fix(core): fix aligning of columnar objects/fieldsets (#5627) |
851b62d
Binoy Patel | fix(perf): fixes build and deploy issues with perf studio (#5646) |
d17f722
Binoy Patel | chore(migration): fixes help copy on migration create command (#5663) |
bb3fb8f
Robin Pyon | docs(core): update
components.logo
deprecation note to correctly point toworkspace.icons
(#5677) |bfa8e54
Bjørge Næss | feat(migration): (re)introduce --from-export (#5672) |
7332a9f
Bjørge Næss | fix(migrate): submit mutations with visibility=async (#5675) |
0eda4a7
Binoy Patel | fix(migration): fixes an issue where migration command would error sometimes (#5678) |
805745f
cngonzalez | fix: add icon display as default to documentTypeList (#5644) |
40b3d50
ecospark[bot] | chore(deps): dedupe yarn.lock (#5674) |
b0a8248
Nina Andal Aarvik | fix(core): adding accessibility labels to pte objects (#5652) |
3d6ed07
Ash | fix(cli): respect unattended mode (#5659) |
0e0fd1f
renovate[bot] | fix(deps): update dependency @sanity/presentation to v1.7.6 (#5682) |
8f0e911
Rostislav Melkumyan | fix(studio): center studio nav (#5608) |
d1aecb5
Espen Hovlandsdal | refactor(comments): unprefix namespaced i18n comment resources |
767ef22
Espen Hovlandsdal | refactor(comments): clarify what "feedback" refers to in i18n comments |
f0ad739
Espen Hovlandsdal | fix(comments): use correct apostroph in onboarding popover |
07e0317
Espen Hovlandsdal | refactor(comments): simplify usage |
2f8bbe1
Espen Hovlandsdal | refactor(comments): allow specifying location of "you" in reactions story |
3c48b0d
Espen Hovlandsdal | refactor(comments): allow for more users in reactions workshop |
60b54c2
Espen Hovlandsdal | refactor(comments): use list formatter, group reactions resources |
8068c11
Espen Hovlandsdal | refactor(comments): avoid using internal document inspector name |
01e4998
Espen Hovlandsdal | refactor(comments): align prop name for field title |
c914385
Espen Hovlandsdal | refactor(comments): simplify "add comment to field" resources |
765130f
Espen Hovlandsdal | refactor(comments): replace
useTimeAgo
withuseRelativeTime
hook |a86235d
Espen Hovlandsdal | refactor(comments): sort imports |
016342f
Espen Hovlandsdal | fix(comments): use locale-aware date formatting |
d7fbcd8
Espen Hovlandsdal | refactor(comments): clarify field button resources, remove unused resource |
e73b32c
Espen Hovlandsdal | refactor(comments): group comment input resources under
compose
|cc31d21
Espen Hovlandsdal | refactor(comments): sort imports |
12d355e
Espen Hovlandsdal | fix(comments): translate input placeholder |
e93633c
Espen Hovlandsdal | refactor(comments): group + clarify purpose of mention resources |
67f3573
Espen Hovlandsdal | refactor(comments): colocate more compose resources |
7492d72
Espen Hovlandsdal | refactor(comments): group status filter resources |
09877bf
Espen Hovlandsdal | refactor(comments): colocate "go to.." buttons under list item |
904ad29
Espen Hovlandsdal | refactor(comments): rename resources |
a909949
Espen Hovlandsdal | refactor(comments): sort imports |
1302bc4
Espen Hovlandsdal | fix(comments): remove stray
t
prop in cloning causing warnings |a89f5d3
Espen Hovlandsdal | fix(comments): improve text wrapping logic inside of user list |
6317b49
Bjørge Næss | feat(migrate): use autoGenerateKeys=true when submitting mutations (#5685) |
5ec6a22
Binoy Patel | chore(cli): add schema command to help list (#5676) |
3d0f7ee
Espen Hovlandsdal | refactor(vision): sort imports |
3191018
Espen Hovlandsdal | fix(vision): explicitly allow
v1
as valid API version |175ece0
Espen Hovlandsdal | fix(vision): ensure query/params from localStorage are strings |
d1dd537
Espen Hovlandsdal | fix(vision): persist raw (string) value of params to localStorage |
c13868a
Espen Hovlandsdal | refactor(vision): sort state attributes alphabetically |
cb38c64
Espen Hovlandsdal | fix(vision): provide error boundary with cache clear on error |
3a8a987
Cody Olsen | chore: add presentation test studio (#5683) |
0828051
Pedro Bonamin | feat(comments): adds read-only state to comments. (#5570) |
fab7cec
v3.27.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
🐛 Notable bugfixes
sanity migrate
that caused a patch to be applied twice.📓 Full changelog
Author | Message | Commit
------------ | ------------- | -------------
Binoy Patel | fix(migration): fixes issues where patch would happen twice (#5638) |
343765d
v3.27.0
Compare Source
Installation and upgrading
To initiate a new Sanity Studio without installing the CLI globally:
To upgrade a Sanity Studio, run this command in its folder:
✨ Highlights
New CLI command
sanity migration create|list|run
You can now create, list, and run content migrations from the Sanity CLI. The new tooling lets you scaffold content migrations as code and run them in dry and production mode. It also introduces a new API for defining content migration with helper functions (
defineMigration()
).We're still working out the documentation for schema and content migrations; early adopters can learn more by running the following CLI commands in a Sanity Studio project folder:
You can run
sanity migration create
to explore our new content migration templates.New CLI command:
sanity schema validate
You can now validate a Sanity Studio schema with the CLI command
sanity schema validate
. Among other things, it will identify problems with your schema type definitions. This tooling can be useful for running in CI/CD pipelines or debugging your schema configuration.Learn more by running:
Other features
sanity documents validate
intentUrl
injson
andndjson
formats forsanity documents validate
🐛 Notable bugfixes
Rule.min
andRule.max
did not allow stringssanity documents validate --format json
import.meta.env
to break the mock browser environment used in the CLI.📓 Full changelog
Author | Message | Commit
------------ | ------------- | -------------
Rico Kahler | fix(validation): update min and max to include string for dates (#5555) |
881a991
Rico Kahler | fix(core): wait for duplicate success before navigating (#5556) |
088830d
Cody Olsen | refactor: move babel config to jest config (#5562) |
fa3bf84
Tommy Petty | bug(core): fix issue with date formatting in validation message (#5551) |
ab0dbe1
Cody Olsen | fix(deps): update dependency
@sanity/presentation
tov1.6.1
|68e6b07
ecospark[bot] | chore(deps): dedupe yarn.lock (#5581) |
974b601
Nina Andal Aarvik | fix(comments): localize all strings (#5578) |
a7086f2
Rico Kahler | feat(cli): support
--file
insanity documents validate
(#5580) |5cb4ea6
ecospark[bot] | chore(deps): dedupe yarn.lock (#5588) |
ff3d625
Fred Carlsen | chore(core): include user agent and screen density in telemetry calls (#5568) |
8a166bd
Kornelija Kupcinskiene | fix(i18n): spelling mistake in asset source string (#5575) |
3a81d6b
Binoy Patel | chore(cli): remove beta copy from documents validate command (#5589) |
c328dca
Nina Andal Aarvik | fix(src): add textskeleton to loading state of mentions (#5587) |
26cbae7
Binoy Patel | fix(validation): filter system documents when running validation (#5590) |
d8c4a3f
Rico Kahler | feat(cli): add new
sanity schema validate
command (#5583) |09cdb5f
renovate[bot] | fix(deps): update dependency @sanity/client to ^6.12.3 (#5593) |
e6cad2e
renovate[bot] | fix(deps): update dependency @sanity/presentation to v1.7.2 (#5596) |
3650fb2
Bjørge Næss | fix(studio): fallback to when logging installed plugins (#5602) |
6df6ee5
renovate[bot] | chore(deps): update dependency @sanity/ui to ^2.0.1 (#5594) |
b701756
Pedro Bonamin | chore(deps): update dependency @sanity/ui to ^2.0.1 (#5607) |
dad3492
Rico Kahler | feat(cli): add
intentUrl
tojson
andndjson
reporters (#5610) |71f9aed
Bjørge Næss | feat(migrate): move into monorepo from poc |
fa86d63
Bjørge Næss | test(migrate): make sure uint8array-extras package gets transpiled from esm |
3b0e783
Bjørge Næss | feat(cli): scaffold create/run migration cli commands |
9495db7
Bjørge Næss | fix(migrate): inline functions from uint8array-extras for now |
f379f40
Bjørge Næss | feat: basic migration cli support |
8304afc
Bjørge Næss | feat: basic
migrations list
command |ead9f3e
Bjørge Næss | feat: migration create command w/templates |
0a596e4
Bjørge Næss | feat(sanity): add exports for sanity/migrate + sanity/migrate/mutations |
c4b19a4
Ash | chore(migrate): add test script |
4abe2bc
Ash | test(migrate): add tests for
parseJSON
|1d39b78
Ash | feat(migrate): add customisable parser and iterator type to
parseJSON
|5e8e666
Ash | feat(migrate): add JSON parser that can handle chunks interrupted by an error object |
74db2df
Bjørge Næss | refactor(migrate): rename targets => destinations |
b730324
Ash | feat(migrate): use safe JSON parser when streaming from Export HTTP API (#5542) |
a1c0faf
Bjørge Næss | fix(util): fix package.json formatting |
17e8130
Bjørge Næss | feat(migrate): implement mutation batcher and use when submitting against mutate endpoint |
1822dc2
Bjørge Næss | feat(migrate): limit request concurrency |
a9bfef9
Bjørge Næss | fix(migrate): workaround issue with p-map and ESM |
7aaa5ed
Bjørge Næss | feat(cli): allow user provided concurrency |
2579159
Bjørge Næss | feat(migration): improve progress as migration is running (#5550) |
67aa5a9
Binoy Patel | feat(migration): add a prompt before runing a real migration (#5552) |
4ab2ac2
Binoy Patel | feat(migration): support passing an array of documentTypes to migration (#5566) |
458ac49
Binoy Patel | chore(migration): add better error message when request fails (#5567) |
f1c2cd4
Bjørge Næss | feat(migrate): add asyncIterableToStream util |
0563e7b
Bjørge Næss | feat(migrate): add bufferThroughFile utility |
ed7c904
Bjørge Næss | fix(migrate): buffer exports through file |
dd47e2b
Bjørge Næss | fix(cli): use dryRun from @sanity/migrate |
4c2cab9
Bjørge Næss | refactor(migrate): rename function |
154483e
Bjørge Næss | refactor(migrate): add ndjson support for both parsing and stringifying in ndjson util |
ec11092
Bjørge Næss | refactor(sanity): remove mutiny dependency in favor of inlined creators |
66bf826
Bjørge Næss | fix(sanity): add --no-progress flag |
24bc18f
Bjørge Næss | fix(migrate): simplify bufferThroughFile |
990fb50
Bjørge Næss | feat(migrate): unify contexts, add support for document lookup and query during a migration |
3a54e20
Bjørge Næss | fix(dev): fix example migration script imports |
5381f34
Binoy Patel | feat(migration): support async hooks in migration nodes (#5564) |
cc6b2f3
Bjørge Næss | fix(sanity): use --no-dry instead of --dry=false |
ba905dc
Bjørge Næss | feat(migrate): add support for yielding transactions |
0a58fa3
Bjørge Næss | fix(migrate): minor typing issue |
663da91
Bjørge Næss | fix(sanity): polish cli and migration templates |
027ad47
Bjørge Næss | chore(deps): remove unused deps |
2e61bd5
Bjørge Næss | fix(sanity): fix quoting of documentTypes in migration templates |
8a5f67b
Bjørge Næss | fix(sanity): rename migration name => title |
27b0088
Bjørge Næss | fix(migrate): run migration against all documents if documentTypes is omitted |
e80bbdf
Binoy Patel | fix(migration): fixes dry run not showing any information |
2568666
Binoy Patel | fix(migration): show proper error message when the file has code issues |
7256f85
Bjørge Næss | fix(migrate): various naming consistency fixes |
dbb7048
Bjørge Næss | fix(sanity): add a few examples to help text for 'sanity migration create' |
8290bae
Bjørge Næss | fix(sanity): improve error handling on 'sanity migration run' without id |
5d9a556
Bjørge Næss | fix(migrate): fix error asserting transaction |
df310cf
Bjørge Næss | fix(migrate): use transactionId instead of id on mutation payload |
a82df02
Ash | feat(cli): add pretty mutation formatting to migration runner (#5573) |
2dba206
Bjørge Næss | chore(migrate): instrument with some debug logging |
79c5e12
Bjørge Næss | refactor(migration): move filtered document methods to a separate
filtered
-context key, add a client with limited concurrency to migration context |81e4309
Bjørge Næss | fix(migrate): add request tags and user agent |
f22aa0c
Bjørge Næss | fix(sanity): improve minimal example |
2e77de7
Binoy Patel | chore(migration): remove from-export flag from migration cli (#5611) |
b2a94ff
Binoy Patel | chore(migration): remove query from migration context (#5612) |
ae7105a
Binoy Patel | chore(migration): change dry command to dry-run (#5613) |
81eb846
Bjørge Næss | fix(migrate): limit client methods during migration |
13de5a2
Binoy Patel | fix(migration): parse cli arguments so the types are proper (#5616) |
7751df1
Bjørge Næss | fix(migrate): cleanup buffer file after read (#5618) |
387945c
Bjørge Næss | fix(migrate): remove mkdirp in favor of node:fs (#5619) |
338bf26
Rico Kahler | fix(cli): add support for
import.meta.env
(#5617) |083ff16
Bjørge Næss | fix(migrate): scope node path to the current node (#5620) |
93f82d2
v3.26.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 bugfixes
📓 Full changelog
a68df71
c8f1da3
v3.26.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
Deprecation support for Documents and Fields
This release introduces the option to mark document and field types as deprecated. This can be used to gently steer Studio users towards updated schemas or to phase out legacy fields without abrupt changes.
When a field or document is deprecated, an informative message will appear in the Studio, clearly indicating the recommended action to take. This aids in maintaining a clean and up-to-date content structure.
Bonus: Deprecation messages now appear in the GraphQL schema, providing clarity during transitions. Deprecated document types and fields should be appropriately treated in documentation and tooling.
Reactions to Comments
This release also introduces a new layer of interactivity in the Studio with the ability for users to react to comments! 🎉
Far be it from us to speak ill of verbose and precise communication using full sentences, but sometimes you just want to express a sentiment quickly with a 🚀 or a 👍 and Sanity Studio now has you covered for those occasions. Streamline feedback processes and consensus building, an
Configuration
📅 Schedule: Branch creation - "every 3 months on the first day of the month" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Mend Renovate using a curated preset maintained by
. View repository job log here