Releases: sanity-io/sanity
v3.67.1
🐛 Notable bugfixes
- Fixes a regression introduced in v3.65.0 that could crash the tasks UI when clicking the detail view (see #7976 for details about the issue)
Install or upgrade Sanity Studio
To initiate a new Sanity Studio project or upgrade an existing one, please refer to our comprehensive guide on Installing and Upgrading Sanity Studio.
If you are updating from a version earlier than 3.37.0, you should also check out this article to ensure your dependencies are up to date.
📓 Full changelog
Author | Message | Commit |
---|---|---|
Pedro Bonamin | fix(core): tasks UpdatedTimeAgo should be a hook (#8011) | 789f3b2 |
renovate[bot] | chore(deps): update dependency @sanity/pkg-utils to v6.12.0 (#8010) | a773485 |
Bjørge Næss | chore(deps): bump minimum requirement of @sanity/import and @sanity/export (#8012) | c7ec5f9 |
v3.67.0
✨ Highlights
Start in Create enabled by default
The option to start drafting new documents in Sanity Create is now enabled by default. Depending on your hosting setup you might see a fully functional Start in Create-button appearing close to your default document actions, or a button that is temporarily disabled and awaiting some minor configuration. To learn how to fully enable the feature for both your development and production environments, or disable it entirely, check out the docs!
🐛 Notable bugfixes
- Fixes a few deprecation warnings when installing dependencies for a studio.
- Adds the missing
disableArrayWarning
option to theSlugOptions
type (thank you @stilyan!). - Upgrades to ESLint 9 for new studios
- Fixes a problem that could make rendering document lists crash the studio for complex schema types (thank you @nikaspran!)
Install or upgrade Sanity Studio
To initiate a new Sanity Studio project or upgrade an existing one, please refer to our comprehensive guide on Installing and Upgrading Sanity Studio.
If you are updating from a version earlier than 3.37.0, you should also check out this article to ensure your dependencies are up to date.
📓 Full changelog
Author | Message | Commit |
---|---|---|
RitaDias | test(sanity): update timeout to avoid slow test from being flaky (#7969) | d6dde60 |
renovate[bot] | fix(deps): update dependency @portabletext/editor to ^1.15.0 (#7971) | 6eacd33 |
Espen Hovlandsdal | chore(deps): update dependency glob to ^11.0.0 (#7949) | ccee1f4 |
Espen Hovlandsdal | fix(i18n): allow weeks to start on Saturday (#7965) | 59deb00 |
Espen Hovlandsdal | fix(deps): deprecation warnings due to glob dependency (#7977) |
5e3b8c1 |
Stilyan | feat: add disableArrayWarning option to SlugOptions (#7174) | 1b5fd00 |
Bjørge Næss | test(cli): remove v2 fixtures and bump timeouts (#7974) | 583bb6f |
Cody Olsen | chore: add markdown plugin back (#7475) | a7ed9be |
renovate[bot] | fix(deps): update dependency @sanity/ui to ^2.10.1 (#7975) | d23b3f0 |
Cody Olsen | chore: add back the @sanity/color-input plugin to test studio (#7502) |
960186d |
Bjørge Næss | test(e2e): add missing plugins to e2e studio (#7981) | e078ebc |
ecospark[bot] | fix(deps): update React Compiler dependencies 🤖 ✨ (#7982) | bf67535 |
renovate[bot] | fix(deps): update dependency react-rx to ^4.1.8 (#7983) | 197fc3d |
ecospark[bot] | chore(deps): dedupe pnpm-lock.yaml (#7987) | 23a47f3 |
renovate[bot] | fix(deps): update dependency groq-js to ^1.14.2 (#7985) | 5d5bac0 |
Ash | fix(sanity): do not perform incremental search for exact tokens (#7972) | 9fba9b7 |
renovate[bot] | fix(deps): update dependency @sanity/ui to ^2.10.3 (#7986) | 22c9708 |
Snorre Eskeland Brekke | feat: enable start in Create banner for new documents and include development mode information (#7955) | 656d4c8 |
renovate[bot] | fix(deps): update dependency @sanity/icons to ^3.5.1 (#7989) | 30d18d6 |
renovate[bot] | fix(deps): update dependency @sanity/presentation to v1.19.8 (#7984) | ba996b7 |
renovate[bot] | fix(deps): update dependency @sanity/icons to ^3.5.2 (#7991) | 1b6117f |
Cody Olsen | fix(deps): upgrade vite to v5 (#5285) |
6817f2e |
renovate[bot] | fix(deps): update dependency @sanity/ui to ^2.10.4 (#7993) | 9d3343c |
renovate[bot] | chore(deps): update typescript-tooling (#7988) | 6a9c59e |
renovate[bot] | fix(deps): Update dev-non-major (#7997) | 305a143 |
renovate[bot] | fix(deps): update dependency @portabletext/editor to ^1.15.3 (#7979) | ae98a1d |
Ash | refactor(sanity): extract common search token functions | 3aa1e03 |
Ash | refactor(sanity): skip unnecessary deduplication step | e8bad21 |
Ash | feat(sanity): do not fade out global search results while fetching more | a303002 |
Ash | feat: add groq2024 search strategy |
13f2e48 |
Ash | feat(test-studio): enable groq2024 search strategy |
8c4e248 |
Nikas Praninskas | fix(sanity): optimise getLeafWeights to not stack overflow (#7999) | ac2ab18 |
Espen Hovlandsdal | feat: use eslint 9 for new studios (#7978) | 30d8f7e |
Robin Pyon | feat: switch create integration to opt-out flow (#8002) | 6b322cb |
Rostislav Melkumyan | feat(cli): use @vercel/frameworks in bootstrapRemoteTemplate (#8001) |
60537c8 |
renovate[bot] | fix(deps): update dependency @sanity/ui to ^2.10.7 (#7998) | eb5739b |
renovate[bot] | fix(deps): update dependency @sanity/ui to ^2.10.7 (#8005) | 2f135f6 |
Cody Olsen | chore: reduce renovate double PR noise | 0528bee |
ecospark[bot] | chore(prettier): fix unformatted files 🤖 ✨ (#8006) | da526ea |
v3.66.1
🐛 Notable bugfixes
- Fixes an issue causing the Studio to crash in an environment that doesn't provide a global process variable
Install or upgrade Sanity Studio
To initiate a new Sanity Studio project or upgrade an existing one, please refer to our comprehensive guide on Installing and Upgrading Sanity Studio.
If you are updating from a version earlier than 3.37.0, you should also check out this article to ensure your dependencies are up to date.
📓 Full changelog
Author | Message | Commit |
---|---|---|
renovate[bot] | fix(deps): allow react v19 as peer dependency (#7962) | 9722cd6 |
Ash | fix(sanity): reset search cursor state when any parameter changes (#7889) | 4d7ae8d |
Bjørge Næss | fix(core): guard against missing process variable (#7967) | bab0e19 |
renovate[bot] | fix(deps): update dependency @sanity/presentation to v1.19.7 (#7966) | c82d44c |
v3.66.0
✨ Highlights
React Compiler for auto-updating studios
Studios that have opted in to the auto-updating feature will now use code optimized by the React Compiler. In many cases, this results in a faster user interface.
Other features
Configurable slug field weight
It's now possible to configure search weights for slug fields using the options.search.weight field option:
defineField({
name: 'slug',
type: 'slug',
+ options: {
+ search: {
+ weight: 50,
+ },
+ },
}),
The slug field's weight will now be respected when using global search with "Best match" sorting selected, and when using reference search. Learn more about search weights in the Studio Search Configuration documentation.
Crop/hotspot vector format warning
When using vector formats (like SVG), any crop/hotspot defined for the image will only be applied if the image is delivered in a raster format. To make this clear, a warning is now displayed when setting a crop/hotspot on vector images.
Document links in Vision
When using the @sanity/vision
plugin, if query results contain either _id
or _ref
attributes, a link icon is displayed next to the value making it easier to find and edit the document.
Note: This is currently only displayed if the queried dataset matches the dataset of the active workspace.
Sanity v2 CLI commands removed
v2 has been end-of-life since April 2024 and the CLI commands for v2 will no longer display a removed error.
You can still use @sanity/cli@^2
should you need to run CLI commands against the an old studio project. See the guide for more details on migrating from v2 to v3.
🐛 Notable bugfixes
- Annotations in the Portable Text Editor will now autofocus on the first input when being created.
- Fixed a regression in v3.65.0 that caused the document editor panel header to look slightly misaligned with presentation tool's URL bar, and the Tasks panel header.
- Fixes an issue where editing an annotation in the Portable Text Editor could result in multiple editing dialogs being opened.
Install or upgrade Sanity Studio
To initiate a new Sanity Studio project or upgrade an existing one, please refer to our comprehensive guide on Installing and Upgrading Sanity Studio.
If you are updating from a version earlier than 3.37.0, you should also check out this article to ensure your dependencies are up to date.
📓 Full changelog
Author | Message | Commit |
---|---|---|
renovate[bot] | fix(deps): update dependency @portabletext/editor to ^1.12.0 (#7883) | 1dc2a68 |
renovate[bot] | chore(deps): update typescript-tooling (#7882) | aebe3ce |
Ash | refactor(sanity): clarify variable name | fcff773 |
Ash | chore(sanity): remove duplicate test | ee3f331 |
Ash | feat: support search weight configuration for slug fields | 022c910 |
renovate[bot] | fix(deps): Update dev-non-major (#7893) | 3f7892e |
renovate[bot] | chore(lockfile): update dependency @sanity/react-loader to v1.10.22 (#7896) | b13265d |
renovate[bot] | chore(deps): update dependency @sanity/code-input to v5 (#7901) | a323ddd |
renovate[bot] | fix(deps): update dependency @sanity/presentation to v1.19.2 (#7899) | e432e37 |
renovate[bot] | fix(deps): Update dev-non-major (#7902) | 56ed6cb |
renovate[bot] | fix(deps): update dependency @sanity/icons to ^3.5.0 (#7900) | 1ed427e |
Pedro Bonamin | fix(core): portable text annotations slow to show (#7588) | ef50844 |
renovate[bot] | fix(deps): update dependency groq-js to ^1.14.1 (#7910) | 037a2f4 |
renovate[bot] | fix(deps): update dependency @portabletext/editor to ^1.12.2 (#7909) | b2f1ff2 |
renovate[bot] | fix(deps): update dependency @sanity/ui to ^2.8.26 (#7906) | 5b58ced |
renovate[bot] | fix(deps): update dependency @sanity/presentation to v1.19.3 (#7914) | e609391 |
renovate[bot] | fix(deps): update dependency @sanity/insert-menu to v1.0.15 (#7913) | d91efd9 |
Cody Olsen | fix: vertically center pane header when no tabs (#7912) | 481febd |
Marius Lundgård | fix(sanity): support future UI tones (#7916) | f5e85ae |
renovate[bot] | fix(deps): Update dev-non-major (#7905) | b4c157c |
renovate[bot] | fix(deps): update dependency @sanity/ui to ^2.9.0 (#7918) | d3a4a1f |
renovate[bot] | fix(deps): update dependency @sanity/ui to ^2.9.0 (#7919) | b28b160 |
Rostislav Melkumyan | feat(cli): add test-template for testing --template flag (#7877) |
52ab8b2 |
renovate[bot] | fix(deps): update dependency @sanity/client to ^6.23.0 (#7931) | 90f884d |
renovate[bot] | chore(deps): update typescript-tooling (#7928) | 755cd44 |
renovate[bot] | fix(deps): update dependency @sanity/presentation to v1.19.4 (#7930) | ee5f3b6 |
renovate[bot] | fix(deps): Update dev-non-major (#7920) | 5b25212 |
Cody Olsen | fix: support react compiler for auto updating studios (#7897) | e40d5b6 |
Rostislav Melkumyan | feat(cli): remove v2 init messaging (#7887) | 2333027 |
RitaDias | test(e2e): add unpublish e2e test (#7927) | 079824e |
Rostislav Melkumyan | feat(cli): add support for remote templates with --template (#7867) |
1f59825 |
ecospark[bot] | chore(deps): dedupe pnpm-lock.yaml (#7933) | 4fff528 |
renovate[bot] | fix(deps): update dependency @sanity/icons to ^3.5.0 (#7929) | 8ee3384 |
renovate[bot] | fix(deps): update dependency @portabletext/editor to ^1.12.3 (#7921) | 1e6a839 |
renovate[bot] | fix(deps): update dependency @sanity/client to ^6.24.0 (#7935) | 5bce66e |
Yang Yu | fix(deps): bump sentry/react to 8.33 (#7932) | e855a41 |
Bjørge Næss | fix(vision): add a warning about unsupported perspective when pasting (#7937) | bd2b3cf |
renovate[bot] | fix(deps): update dependency @sanity/client to ^6.24.1 (#7938) | 4bc55d6 |
Rostislav Melkumyan | feat: add CI specific token label (#7934) | 4b64fbb |
renovate[bot] | fix(deps): update dependency @portabletext/editor to ^1.13.0 (#7939) | ad43939 |
Bjørge Næss | chore(vision): revert accidental file rename (#7945) | b4df341 |
renovate[bot] | fix(deps): update dependency @sanity/insert-menu to v1.0.16 (#7942) | 2aac70c |
renovate[bot] | fix(deps): Update dev-non-major (#7946) | 59ebd9b |
Bjørge Næss | fix: add svg hotspot+crop warning to image tool dialog (#7917) | 3bd79af |
RitaDias | test(e2e): restore last e2e tests (#7926) | b74b50e |
Pedro Bonamin | fix(core): disable scheduledPublishing and tasks if /features returns error (#7517) |
a20fb8f |
Sindre Gulseth | feat(vision): link to edit documents on _id , _ref attributes (#6124) |
2379f2b |
renovate[bot] | fix(deps): update dependency @sanity/ui to ^2.9.1 (#7948) | 561e7fc |
renovate[bot] | fix(deps): update dependency @sanity/mutate to ^0.11.1 (#7903) | 08d3686 |
Rostislav Melkumyan | feat(cli): generate read token conditionally for remote template (#7953) | ff90128 |
Bjørge Næss | fix(cli): remove v2 commands (#5750) | d98873c |
Christian Grøngaard | fix(core): only open one annotation object edit modal at a time (#7898) | fbecbc8 |
renovate[bot] | fix(deps): update dependency @sanity/presentation to v1.19.5 (#7957) | 7c5a231 |
Bjørge Næss | fix(core): add telemetry debug/noop logger (#7958) | 4767ac7 |
renovate[bot] | fix(deps): Update dev-non-major (#7959) | c06deef |
Espen Hovlandsdal | fix: reword warning about vector images not support crop/hotspot (#7960) | eecd0c5 |
v3.65.1
🐛 Notable bugfixes
- Fixes a regression introduced in
v3.65.0
where array list references rendered too lazily requering focus or clicking to render, when initially "below the fold" of the browser window. - Fixes an issue where setting
options.sanityCreate.exclude: true
on a document type wasn't correctly hiding "Start in Sanity Create" button for new documents of that type. - Fixes issue where when in presentation it was impossible to open the review section in the History Panel
Install or upgrade Sanity Studio
To initiate a new Sanity Studio project or upgrade an existing one, please refer to our comprehensive guide on Installing and Upgrading Sanity Studio.
If you are updating from a version earlier than 3.37.0, you should also check out this article to ensure your dependencies are up to date.
📓 Full changelog
Author | Message | Commit |
---|---|---|
Cody Olsen | fix: opt-out @tanstack/react-virtual from React Compiler (#7891) |
db5495b |
Snorre Eskeland Brekke | fix: Start in Create type exclusion now recursively checks for sanityCreate.exclude options (#7890) | af03b86 |
renovate[bot] | fix(deps): update dependency @sanity/presentation to v1.19.1 (#7894) | 0bbc018 |
renovate[bot] | fix(deps): update dependency @sanity/insert-menu to v1.0.14 (#7895) | c5ed867 |
v3.65.0
✨ Highlights
React Compiler Beta
The sanity
and @sanity/vision
packages are now precompiled with the React Compiler.
So far, 1,231 out of 1,411 components have been compiled, resulting in a 20%-30% overall reduction in render time and latency. We anticipate even greater improvements as we refactor the remaining 180 components to support auto-memoization.
For several weeks, we’ve already been shipping key packages—including our design system (@sanity/ui), the PortableText editor (@portabletext/editor), and react-rx (responsible for state management across Sanity Studio)—precompiled with the React Compiler.
We continue to see impressive results in our profiling and analysis, and with the release of React Compiler in beta we are excited to add support for auto-memoizing your own studio code:
pnpm add react-compiler-runtime@beta && pnpm add --save-dev babel-plugin-react-compiler@beta eslint-plugin-react-compiler@beta
yarn add react-compiler-runtime@beta && yarn add --save-dev babel-plugin-react-compiler@beta eslint-plugin-react-compiler@beta
npm install --save-exact react-compiler-runtime@beta && npm install --save-exact --save-dev babel-plugin-react-compiler@beta eslint-plugin-react-compiler@beta
And in your sanity.cli.ts
add:
import {defineCliConfig} from 'sanity/cli'
export default defineCliConfig({
api: {
projectId: 'abc123',
dataset: 'production',
},
reactStrictMode: true,
+ reactCompiler: {target: '18'},
})
If you decide to give the React Compiler a try make sure you share your feedback and experience using it with the Working Group!
Sanity plugin authors, provided they're using @sanity/pkg-utils
, can also ship pre-compiled plugins by running:
pnpm add react-compiler-runtime@beta && pnpm add --save-dev @sanity/pkg-utils@latest babel-plugin-react-compiler@beta eslint-plugin-react-compiler@beta
yarn add react-compiler-runtime@beta && yarn add --save-dev @sanity/pkg-utils@latest babel-plugin-react-compiler@beta eslint-plugin-react-compiler@beta
npm install --save-exact react-compiler-runtime@beta && npm install --save-exact --save-dev @sanity/pkg-utils@latest babel-plugin-react-compiler@beta eslint-plugin-react-compiler@beta
and changing the package.config.ts
to:
import {defineConfig} from '@sanity/pkg-utils'
export default defineConfig({
// ...
+ babel: {reactCompiler: true},
+ reactCompilerOptions: {target: '18'},
})
History UI updates
The history inspector UI has been updated to display edits collapsed into the Published event they belong to. From and To revision selectors are added to the top of the inspector.
Install or upgrade Sanity Studio
To initiate a new Sanity Studio project or upgrade an existing one, please refer to our comprehensive guide on Installing and Upgrading Sanity Studio.
If you are updating from a version earlier than 3.37.0, you should also check out this article to ensure your dependencies are up to date.
📓 Full changelog
Author | Message | Commit |
---|---|---|
Cody Olsen | feat: add support for React Compiler beta (#7702) | 8aace40 |
renovate[bot] | chore(lockfile): update dependency react-focus-lock to v2.13.2 (#7848) | e8c7e68 |
renovate[bot] | chore(lockfile): update dependency @sanity/asset-utils to v2.2.0 (#7847) | b7b0a84 |
renovate[bot] | chore(deps): update dependency turbo to ^2.3.0 (#7846) | c52a456 |
Espen Hovlandsdal | chore(cli): temporarily disable telemetry tests (#7845) | 9b5f565 |
Pedro Bonamin | feat(structure): History UI updates (#7462) | 16532a8 |
Pedro Bonamin | fix(core): discard announcements dialog onClickOutside (#7863) | 7888272 |
ecospark[bot] | fix(deps): update React Compiler dependencies 🤖 ✨ (#7872) | 6fbae0b |
Cody Olsen | chore(ci): max react compiler warnings are now 79 | 363235e |
ecospark[bot] | chore(deps): dedupe pnpm-lock.yaml (#7873) | 1ebdc17 |
renovate[bot] | fix(deps): update dependency react-rx to ^4.1.7 (#7874) | 456187c |
renovate[bot] | fix(deps): update dependency @portabletext/editor to ^1.11.3 (#7865) | a43bf85 |
Bjørge Næss | fix(telemetry): log (well known) workspace and dataset names (#7859) | b97d4aa |
renovate[bot] | fix(deps): update dependency @sanity/ui to ^2.8.25 (#7876) | ecce434 |
renovate[bot] | fix(deps): Update dev-non-major (#7875) | 4baafb1 |
renovate[bot] | fix(deps): update dependency @sanity/presentation to v1.18.5 (#7881) | 00cc366 |
renovate[bot] | fix(deps): update dependency @sanity/insert-menu to v1.0.13 (#7880) | 71a5524 |
v3.64.3
🐛 Notable bugfixes
- Fixes a regression introduced in v3.64.1 that caused Portable Text content to be hidden when part of a read-only document.
Install or upgrade Sanity Studio
To initiate a new Sanity Studio project or upgrade an existing one, please refer to our comprehensive guide on Installing and Upgrading Sanity Studio.
If you are updating from a version earlier than 3.37.0, you should also check out this article to ensure your dependencies are up to date.
📓 Full changelog
Author | Message | Commit |
---|---|---|
renovate[bot] | fix(deps): update dependency @portabletext/editor to ^1.11.1 (#7861) | 766548c |
v3.64.2
Install or upgrade Sanity Studio
To initiate a new Sanity Studio project or upgrade an existing one, please refer to our comprehensive guide on Installing and Upgrading Sanity Studio.
If you are updating from a version earlier than 3.37.0, you should also check out this article to ensure your dependencies are up to date.
📓 Full changelog
Author | Message | Commit |
---|---|---|
renovate[bot] | fix(deps): update dependency @portabletext/editor to ^1.8.0 (#7810) | 8730bb0 |
renovate[bot] | chore(deps): update typescript-tooling (#7812) | da8165d |
renovate[bot] | fix(deps): Update dev-non-major (#7809) | dff7a6c |
renovate[bot] | chore(lockfile): update dependency sanity-plugin-mux-input to v2.4.0 (#7814) | 3d16064 |
renovate[bot] | chore(deps): update pnpm to v9.13.1 (#7817) | 42877ff |
renovate[bot] | chore(lockfile): update dependency @sanity/asset-utils to v2.1.0 (#7818) | 4dab0b9 |
Pedro Bonamin | fix(core): add opt out option to studioAnnouncements (#7820) | 3efc59d |
Pedro Bonamin | chore(core): update announcements card close icon (#7822) | 89b49b2 |
renovate[bot] | fix(deps): update dependency @sanity/presentation to v1.18.3 (#7821) | 9b55123 |
renovate[bot] | fix(deps): update dependency @portabletext/editor to ^1.10.0 (#7823) | a573d22 |
renovate[bot] | fix(deps): update dependency @sanity/insert-menu to v1.0.12 (#7825) | 974d18b |
Christian Grøngaard | refactor(core): remove unneeded PTE event handling (#7831) | f75230c |
Christian Grøngaard | refactor(core): remove PTE connection event handling (#7830) | 962ca8c |
renovate[bot] | fix(deps): Update dev-non-major (#7826) | 9e59750 |
renovate[bot] | fix(deps): update dependency react-rx to ^4.1.6 (#7833) | 3be6e81 |
renovate[bot] | chore(deps): update typescript-tooling (#7836) | 0a1f948 |
renovate[bot] | fix(deps): update dependency @portabletext/editor to ^1.10.2 (#7829) | b3407b8 |
renovate[bot] | fix(deps): update dependency @sanity/client to ^6.22.5 (#7837) | 2798bc9 |
renovate[bot] | fix(deps): update dependency @sanity/ui to ^2.8.24 (#7832) | fffa658 |
renovate[bot] | fix(deps): update dependency @sanity/presentation to v1.18.4 (#7839) | 95e3cc0 |
renovate[bot] | fix(deps): Update dev-non-major (#7841) | 22d28bc |
Robin Pyon | fix: update create integration copy, use correct chevron icons (#7842) | 1d5d171 |
v3.64.1
🐛 Notable bugfixes
- Fixes an issue in the Presentation tool where the entire iframe refreshed on data changes (rather than smoothly updating).
- Adds a
--legacy-peer-deps
flag to the automatic install ofnext-sanity
inside Next.js projects, resolving errors that occurred whensanity init
was run inside these projects.
Install or upgrade Sanity Studio
To initiate a new Sanity Studio project or upgrade an existing one, please refer to our comprehensive guide on Installing and Upgrading Sanity Studio.
If you are updating from a version earlier than 3.37.0, you should also check out this article to ensure your dependencies are up to date.
📓 Full changelog
Author | Message | Commit |
---|---|---|
renovate[bot] | fix(deps): update dependency @sanity/insert-menu to v1.0.11 (#7802) | f770631 |
renovate[bot] | fix(deps): update dependency @sanity/presentation to v1.18.1 (#7803) | bcc9b2d |
renovate[bot] | fix(deps): update dependency @sanity/presentation to v1.18.2 (#7808) | 07d5996 |
renovate[bot] | fix(deps): update dependency @portabletext/editor to ^1.7.1 (#7807) | 3ca838e |
renovate[bot] | fix(deps): Update dev-non-major (#7804) | dc87ef6 |
Simeon Griggs | fix: add --legacy-peer-deps to next-sanity pacakge install (#7806) | cb3739b |
v3.64.0
✨ Highlights
Sanity TypeGen improvements
Quality of life-updates to Sanity TypeGen (thanks @okj579!):
- TypeGen will no longer be confused by import statements using the pattern
export * from 'filename.ts'
- TypeGen now supports slightly more advanced types of string interpolation, like:
const query = defineQuery(`*[_type="asdf"] {
"linkA": ${linkQuery('linkA')},
}`)
Install or upgrade Sanity Studio
To initiate a new Sanity Studio project or upgrade an existing one, please refer to our comprehensive guide on Installing and Upgrading Sanity Studio.
If you are updating from a version earlier than 3.37.0, you should also check out this article to ensure your dependencies are up to date.
📓 Full changelog
Author | Message | Commit |
---|---|---|
Christian Grøngaard | fix(core): explicitly pass randomKey(12) as the PTE keyGenerator (#7759) |
0005825 |
Binoy Patel | test(internal/cli): migrate internal cli tests to vitest and remove jest (#7745) | e5ec632 |
Owen Kieffer-Jones | feat(codegen): add support for export all | c68e298 |
Owen Kieffer-Jones | feat(codegen): fix literal function arguments and add default values | c518591 |
renovate[bot] | chore(deps): lock file maintenance (#7757) | 4d0cf68 |
renovate[bot] | fix(deps): update dependency react-rx to ^4.1.4 (#7768) | 47dba32 |
renovate[bot] | fix(deps): update dependency @portabletext/editor to ^1.5.5 (#7763) | bbcbab8 |
renovate[bot] | chore(deps): update typescript-tooling (#7762) | ecbb9dd |
Ash | chore: update Studio teams in CODEOWNERS (#7780) | f52618a |
Ash | feat: simplify search strategy configuration (#7765) | 4d8193f |
renovate[bot] | fix(deps): update dependency @sanity/client to ^6.22.3 (#7766) | 65bae66 |
renovate[bot] | fix(deps): update dependency @sanity/ui to ^2.8.21 (#7779) | 1714bb8 |
renovate[bot] | fix(deps): update dependency @sanity/mutate to ^0.10.2 (#7781) | 23fbba6 |
renovate[bot] | fix(deps): update dependency @sanity/presentation to v1.17.10 (#7767) | a89e00c |
renovate[bot] | fix(deps): update dependency @portabletext/editor to ^1.6.1 (#7778) | 3248f96 |
renovate[bot] | fix(deps): Update dev-non-major (#7770) | 47b50a5 |
Cody Olsen | fix(deps): upgrade @sanity/ui to 2.8.22 (#7783) |
23ca786 |
Robin Pyon | fix: create integration copy + layout updates (#7787) | 4807d52 |
renovate[bot] | chore(deps): update typescript-tooling (#7791) | f50d68d |
renovate[bot] | fix(deps): Update dev-non-major (#7784) | 92cfeb2 |
renovate[bot] | fix(deps): update dependency react-rx to ^4.1.5 (#7792) | 95301c2 |
renovate[bot] | fix(deps): update dependency @sanity/client to ^6.22.4 (#7785) | 335e74c |
renovate[bot] | fix(deps): update dependency @sanity/ui to ^2.8.23 (#7790) | b10d030 |
renovate[bot] | fix(deps): update dependency @sanity/presentation to v1.18.0 (#7794) | ac4c8b4 |
Pedro Bonamin | fix(core): update upsell description list items (#7793) | 1a48572 |
renovate[bot] | fix(deps): Update dev-non-major (#7796) | e52ea6a |
renovate[bot] | fix(deps): update dependency @portabletext/editor to ^1.7.0 (#7800) | d0194fc |
renovate[bot] | fix(deps): update dependency @portabletext/editor to ^1.7.0 (#7799) | 5d85b3c |