Releases: sanity-io/sanity
v3.37.1
Installation and upgrading
To initiate a new Studio without installing the CLI globally:
npm create sanity@latest
We recommend that you check out the instructions for the Sanity Studio v3.37.0 release before upgrading. If you have already updated your dependencies as described in that document (I.e., you are updating from v3.37.0), you can proceed with updating your studio as normal:
npm install sanity@latest
🐛 Notable bugfixes
- Fixes a regression in v3.37.0 that affected embedded studios in certain environments and test runners
- Fixes an issue where newly created studios used an outdated version of styled-components
📓 Full changelog
Author | Message | Commit |
---|---|---|
cngonzalez | fix: disable server actions in test studio (#6270) | f1451a9 |
renovate[bot] | chore(deps): update dependency @sanity/tsdoc to v1.0.16 (#6272) | 7df486d |
renovate[bot] | chore(lockfile): update dependency @sanity/google-maps-input to v4.0.1 (#6273) | d64152f |
renovate[bot] | chore(lockfile): update dependency @sanity/logos to v2.1.9 (#6274) | 7a89479 |
renovate[bot] | chore(lockfile): update dependency @sanity/react-loader to v1.9.9 (#6276) | 0729968 |
renovate[bot] | chore(lockfile): update dependency sanity-plugin-mux-input to v2.3.4 (#6277) | 49a5538 |
renovate[bot] | chore(deps): update dependency @sanity/eslint-config-studio to v4 (#6197) | 0b792e3 |
Cody Olsen | chore(deps): update dependency @sanity/pkg-utils to v6 (#6280) | d9992cc |
renovate[bot] | chore(lockfile): update dependency @sanity/assist to v2.0.5 (#6279) | a1efe06 |
Cody Olsen | fix: bump styled-components used by npm create sanity (#6281) |
61dbbe2 |
renovate[bot] | fix(deps): update dependency @sanity/ui to ^2.1.1 (#6283) | 90c7c57 |
Cody Olsen | chore: add @repo/test-exports suite (#6284) |
9d2a437 |
Cody Olsen | fix: restore node ESM strict mode support (#6287) | 46563c8 |
v3.37.0
⚠️ This upgrade requires [email protected]
and @sanity/ui@2
This release comes with version requirements for the following packages:
[email protected]
(required for all Studio projects)@sanity/ui@2
(optional)
If you're maintaining a plugin for Sanity Studio, we recommend upgrading its dependencies too.
styled-components
(required)
We have seen incompatibility issues when styled-components@5
is used outside of the Vite configuration that ships with sanity
, for example, when the Studio is embedded in a Next.js or Remix project.
Styled Components is a required dependency for Sanity Studio projects. By upgrading it, you can also delete the @types/styled-components
and react-is
dependencies that were required with styled-components@5
:
# npm
npm install sanity@latest styled-components@^6.1
npm rm @types/styled-components react-is
# pnpm
pnpm install sanity@latest styled-components@^6.1
pnpm rm @types/styled-components react-is
# yarn
yarn add sanity@latest styled-components@^6.1
yarn rm @types/styled-components react-is
Note: if you have local customizations in your Sanity Studio that are using styled-components
you may need to make some minor adjustments to the customization code. For more details, please consult the styled-components migration guide.
@sanity/ui
Studio projects that use @sanity/ui
for customizations and have it as a dependency in package.json
needs to upgrade to @sanity/ui@2
:
# npm
npm install "@sanity/ui@^2"
# pnpm
pnpm install "@sanity/ui@^2"
# yarn
yarn add "@sanity/ui@^2"
✨ Highlights
Tasks (Beta)
Sanity Studio now ships with Tasks. You can now:
- Target tasks for specific documents
- Assigned tasks to Studio members
- Comment on tasks, and use @-mentions
- Resolve tasks
Tasks ships enabled by default. If you want to disable tasks in your Studio, you can do so with this configuration:
// ./sanity.config.ts|js
export default defineConfig({
// ... rest of config
unstable_tasks: { enabled: false },
})
Learn more about Tasks in the documentation:
Other features
- Resolves "Masquerading as CJS and ESM" type errors
- Adds ESM with .mjs exports for full support of Node.js' native ESM mode while still offering support for
.esm.js
exports for legacy bundlers - Adds missing
sideEffects: false
conditions to package.json files, improving tree-shaking and reducing bundle sizes for embedded Sanity Studio projects - Simplifies the Shopify schema starter template
🐛 Notable bugfixes
- Fixes a bug where wrongly formatted configuration would be inserted into tsconfig.json when
sanity init
was run inside of a Next.js project - Fixes an issue where importing
.scss
or.sass
files from the studio configuration or a descendant file would cause certain CLI commands to crash - Improves error message when extracted schema (from
sanity schema extract
) could not be found when runningsanity typegen generate
- Fixes an issue where the CLI might suggest deprecated Sanity v2 commands if you mistype a command name
- Makes the
current
field on slugs required when used with the--enforce-required-fields
flag insanity typegen
contexts - Fixes a bug where running
npx sanity init
in a Next.js project would break thetsconfig.json
configuration
📓 Full changelog
Author | Message | Commit |
---|---|---|
Cody Olsen | chore(renovate): pin framer-motion to known stable (#6166) | b54852a |
ecospark[bot] | chore(prettier): fix unformatted files 🤖 ✨ (#6168) | 19891dc |
renovate[bot] | chore(deps): update dependency @sanity/icons to ^2.11.6 (#6169) | 9f50f6d |
renovate[bot] | chore(deps): update dependency turbo to ^1.13.2 (#6170) | 073b5b8 |
renovate[bot] | chore(deps): update dependency vite to ^4.5.3 (#6171) | b14d324 |
renovate[bot] | chore(lockfile): update dependency @portabletext/react to v3.0.15 (#6172) | fbc7183 |
renovate[bot] | chore(lockfile): update dependency @sanity/color to v3.0.4 (#6173) | cdf561e |
renovate[bot] | chore(lockfile): update dependency @sanity/logos to v2.1.8 (#6175) | ffb6ddd |
renovate[bot] | fix(deps): Update react monorepo (#6176) | c4f24d2 |
renovate[bot] | fix(deps): update dependency @sanity/client to ^6.15.9 (#6177) | fbeb6fb |
renovate[bot] | chore(deps): update dependency use-hot-module-reload to v2 (#6180) | 39bf293 |
Cody Olsen | Revert "chore(deps): update dependency use-hot-module-reload to v2 (#6180)" (#6182) | 3b8c28c |
renovate[bot] | fix(deps): update dependency @sanity/ui to ^2.0.13 (#6178) | 4f1b36d |
renovate[bot] | fix(deps): update dependency get-it to ^8.4.17 (#6179) | ee16280 |
Cody Olsen | fix(deps): pin framer-motion to the same version used by @sanity/ui (#6183) |
7120aa8 |
Cody Olsen | chore: fix typings error | b369d92 |
ecospark[bot] | chore(deps): dedupe pnpm-lock.yaml (#6184) | b4f9ba5 |
renovate[bot] | chore(deps): lock file maintenance (#6186) | a32e5d5 |
Cody Olsen | chore: pin @sanity/eslint-config-i18n |
89fac9f |
Cody Olsen | chore: pin @playwright/test |
1f4700c |
Cody Olsen | chore: pin @playwright/experimental-ct-react |
e09a5ef |
renovate[bot] | chore(deps): lock file maintenance (#6187) | dcbb7a4 |
Cody Olsen | fix: use named styled import for better ESM runtime compat (#6185) |
b544abb |
Herman Wikner | fix(comments): weaken references in content snapshot (#6131) | d1f1a4c |
renovate[bot] | chore(deps): update dependency @sanity/pkg-utils to ^4.4.4 (#6191) | 199f310 |
renovate[bot] | chore(deps): update dependency @sanity/visual-editing to v1.8.5 (#6194) | 3113498 |
renovate[bot] | chore(lockfile): update dependency @sanity/react-loader to v1.9.6 (#6195) | f41b784 |
renovate[bot] | chore(deps): update linters to v7 (#6192) | 4247e4f |
Cody Olsen | refactor: support strict: true in @sanity/schema codebase (#6207) |
605bd62 |
Cody Olsen | chore: reduce test flakiness by increasing timeout to 60s (#6208) | 1cecb45 |
Simeon Griggs | simplify 'shopify' template schema (#6161) | 69ff15f |
Pedro Bonamin | fix(tasks): disable autocomplete on 'assign to' input (#6193) | da49af0 |
Espen Hovlandsdal | fix(schema): make current field for slugs required (#6205) |
e420b6f |
renovate[bot] | fix(deps): update dependency @sanity/ui to ^2.0.14 (#6209) | f4d2e7e |
Espen Hovlandsdal | fix(cli): do not suggest v2 cli commands on "no such command" error (#6211) | 69ff7ff |
Espen Hovlandsdal | fix(cli): improve error handling on missing extracted schema (#6204) | 4fb0e66 |
renovate[bot] | chore(deps): update dependency use-hot-module-reload to v2 (#6217) | 4385ca8 |
renovate[bot] | chore(deps): replace dependency is-hotkey with is-hotkey-esm ^1.0.0 (#6218) | 12f25d5 |
renovate[bot] | chore(deps): update dependency @portabletext/toolkit to ^2.0.14 (#6219) | a72b652 |
renovate[bot] | chore(deps): update dependency @types/arrify to ^1.0.4 (#6220) | 25a95a0 |
renovate[bot] | fix(deps): update dependency get-it to ^8.4.18 (#6222) | 70f0963 |
renovate[bot] | chore(lockfile): update dependency @portabletext/react to v3.0.17 (#6221) | a4de075 |
renovate[bot] | fix(deps): update dependency @sanity/client to ^6.15.10 (#6228) | ba323ae |
renovate[bot] | chore(deps): update dependency @babel/preset-env to ^7.24.4 (#6226) | 7c60f3e |
renovate[bot] | chore(lockfile): update dependency @sanity/icons to v2.11.7 (#6174) | 1af2e4f |
renovate[bot] | chore(deps): update dependency @sanity/icons to ^2.11.7 (#6231) | 830f403 |
renovate[bot] | fix(deps): update dependency @sanity/ui to ^2.0.15 (#6229) | a6eb947 |
renovate[bot] | chore(lockfile): update dependency @sanity/color to v3.0.5 (#6232) | 7887f0d |
renovate[bot] | chore(lockfile): update dependency @sanity/logos to v2.1.9 (#6233) | c1b72fc |
Espen Hovlandsdal | fix(cli): use stub file loader for scss, sass extensions (#6215) | 80f4f22 |
renovate[bot] | fix(deps): update dependency @sanity/presentation to v1.12.2 (#6235) | acbb08a |
renovate[bot] | chore(deps): update dependency @sanity/visual-editing to v1.8.6 (#6237) | f0f6537 |
Cody Olsen | refactor(renovate): ignore slate and slate-react as they're bumped manually (#6242) |
6fc2bbb |
ecospark[bot] | chore(prettier): fix unformatted files 🤖 ✨ (#6243) | ef33857 |
Bjørge Næss | fix(cli): formalize requirement of styled-components@6 and @sanity/ui@2 (#6234) | 5fe2d47 |
renovate[bot] | chore(lockfile): update dependency @sanity/preview-url-secret to v1.6.6 (#6238) | a4be162 |
renovate[bot] | chore(lockfile): update dependency @sanity/react-loader to v1.9.7 (#6239) | debb2cc |
Cody Olsen | refactor(CI): use the official github app token generator action (#6230) | 40dff99 |
renovate[bot] | fix(deps): update dependency @sanity/ui to ^2.0.16 (#6241) | 58c319a |
Binoy Patel | chore(core): remove unusued ChangeIndicatorContext (#6214) | e978813 |
Pedro Bonamin | fix(core): add readOnly prop to dragHandle (#6190) | 234d009 |
renovate[bot] | chore(deps): update dependency @sanity/visual-editing to v1.8.7 (#6248) | 4a31e88 |
renovate[bot] | chore(lockfile): update dependency @sanity/preview-url-secret to v1.6.7 (#6249) | e89a8b3 |
renovate[bot] | chore(lockfile): update dependency @sanity/react-loader to v1.9.9 (#6250) | 736a96e |
renovate[bot] | fix(deps): update dependency @sanity/presentation to v1.12.3 (#6251) | 0959294 |
renovate[bot] | chore(lockfile): update dependency sanity-plugin-mux-input to v2.3.0 (#6252) | 5666099 |
renovate[bot] | fix(deps): update dependency ... |
v3.36.4
Installation and upgrading
To initiate a new Studio without installing the CLI globally:
npm create sanity@latest
To upgrade a v3 Studio, run this command in its folder:
npm install sanity@latest
🐛 Notable bugfixes
- Fixes an issue in the Portable Text editor in which annotations were not opening (bug introduced in v3.36.3)
- Fixes a potential cross-origin error from being shown in the developer console
📓 Full changelog
Author | Message | Commit |
---|---|---|
Pedro Bonamin | fix(core): remove custom options in comments upsell request (#6201) | 46c7ce8 |
Pedro Bonamin | fix(structure): annotations not opening in portable text editor (#6198) | 907c904 |
v3.36.3
Installation and upgrading
To initiate a new Studio without installing the CLI globally:
npm create sanity@latest
To upgrade a Sanity Studio, run this command in its folder:
npm install sanity@latest
Notable changes
- Increases the default height of the Portable Text editor
Notable bugfixes
- Fixes the
--enforce-required-fields
flag for thesanity typegen generate
command not correctly respecting validation rules - Fixes a few focus issues where the Portable Text editor would sometimes jump to the start of a block or scroll to a previously opened block on focus inside of the Presentation tool
- Fixes an issue in which when the tasks panel is open, searching for content in the Cmd + K search changes target document rather than searches the studio
📓 Full changelog
Author | Message | Commit |
---|---|---|
Tommy Petty | fix(pte): update default height of PTE in Form (#6119) | 5756753 |
Sindre Gulseth | fix(schema-extraction): check for _required field in validation rules (#6151) | 5ba26a5 |
Cody Olsen | chore: add prettier-plugin-packagejson (#6155) | 8f7fe70 |
renovate[bot] | chore(deps): update pnpm to v8.15.6 (#6154) | 07b0745 |
renovate[bot] | chore(lockfile): update dependency framer-motion to v11.0.24 (#6144) | 954c892 |
Rupert Dunk | fix(structure): improve document pane path handling (#6129) | 9b4d105 |
renovate[bot] | chore(deps): update babel monorepo (#6159) | eb97fe2 |
renovate[bot] | chore(deps): update dependency @types/babel__traverse to ^7.20.5 (#6160) | 16f32c9 |
Sindre Gulseth | feat(schema): handle assetRequired when extracting schema with enforceRequiredFields (#6157) | cd52979 |
Sindre Gulseth | chore(deps): upgrade groq-js to latest (#6162) | 8db7485 |
Pedro Bonamin | fix(tasks): don't open tasks search on hotkey + enter (#6165) | d387316 |
ecospark[bot] | chore(deps): dedupe pnpm-lock.yaml (#6164) | 74a7a75 |
Sindre Gulseth | chore(codegen): add enforceRequriedFields to spinner output (#6163) | b68e650 |
v3.36.2
Installation and upgrading
To initiate a new Studio without installing the CLI globally:
npm create sanity@latest
To upgrade a v3 Studio, run this command in its folder:
npm install sanity@latest
🐛 Notable bugfixes
- Fixes an issue where clicking "Publish" and possible other actions would throw the error
Sanity LocaleContext value missing
. - Fixes an issue in which users' names were sometimes displayed in lowercase in the tasks assignee list.
📓 Full changelog
Author | Message | Commit |
---|---|---|
Pedro Bonamin | fix(tasks): don't lowercase users when searching in the assignee menu (#6138) | 27643c8 |
cngonzalez | fix: add default listFormat locale where LocaleProvider may not be available (#6147) | 3c4d4cf |
v3.36.1
Installation and upgrading
To initiate a new Studio without installing the CLI globally:
npm create sanity@latest
To upgrade a v3 Studio, run this command in its folder:
npm install sanity@latest
🐛 Notable bugfixes
- Fixes an issue where the studio might crash on "orphaned marks" in the Portable Text Editor.
- Fixes an issue that caused the tasks plugin to be inserted multiple times in studios using more than one instance of the Structure Tool.
📓 Full changelog
Author | Message | Commit |
---|---|---|
Pedro Bonamin | fix(tasks): group changes done to the same field (#6132) | 61c7ef8 |
Espen Hovlandsdal | fix(i18n): allow list formatter without arguments in Translate component (#6135) |
3e5b8d6 |
Pedro Bonamin | fix(core): remove duplicateds tasks plugins (#6134) | a0fce46 |
Sindre Gulseth | fix(typegen): add placeholder group to allow typegen to show in help (#6133) | 45f0406 |
v3.36.0
Installation and upgrading
To initiate a new Studio without installing the CLI globally:
npm create sanity@latest
To upgrade a Sanity Studio, run this command in its folder:
npm install sanity@latest
✨ Highlights
Sanity TypeGen (beta): Generate types for your schema and GROQ queries
This release comes with Sanity TypeGen, the new tooling in the Sanity CLI that enables extracting the schema into a static representation (schema.json
) and to generate TypeScript type definition for it, as well as for GROQ query results.
You can learn more about Sanity TypeGen:
- Blog post: Of course, you should be able to type your content quickly!
- Documentation
- New course on Sanity Learn
If you try out Sanity TypeGen, do let us know how it went in the #typescript channel in the Sanity community or to your customer success team.
Tasks (beta): Delegate work within Sanity Studio
This update also includes the beta of Tasks for Sanity Studio. It's a way to assign tasks related to documents, delegate them to team members, and track their status across the project.
If you wish to disable tasks, you can do so by adding the following to sanity.config.ts
:
export default defineConfig({
...restOfConfig,
unstable_tasks: {
enabled: false,
},
})
Documentation for Tasks is in the works and will be announced when ready.
🐛 Notable bugfixes
- Fixes a bug where all fields got marked as non-optional when extracting schema with
--enforce-required-fields
. - Fixes a bug where Vision would insert new line on cmd-return.
On styled-components@5
?
If you encounter an error such as TypeError: Cannot read properties of undefined (reading 'div')
, please make sure your Studio doesn't depend on styled-components@5
. Updating any such dependencies to styled-components@6
should resolve the error:
npm install styled-components@latest
This error is caused by an ESM/CJS compability issue in @sanity/ui
.
📓 Full changelog
Author | Message | Commit |
---|---|---|
renovate[bot] | fix(deps): update dependency @sanity/presentation to v1.12.1 (#6109) | 2014ef5 |
renovate[bot] | chore(lockfile): update dependency @sanity/react-loader to v1.9.5 (#6104) | 0817d8d |
renovate[bot] | fix(deps): update dependency @sanity/ui to ^2.0.12 (#6107) | 4886b00 |
renovate[bot] | fix(deps): update dependency @sanity/client to ^6.15.7 (#6106) | 69a5d6d |
Sindre Gulseth | fix: move typegen cli into @sanity/cli (#6111) | 3f37c21 |
Tommy Petty | fix(comments): update close icon to be consistent (#6096) | 89fd7ec |
renovate[bot] | chore(deps): update dependency @sanity/visual-editing to v1.8.4 (#6100) | 046c090 |
renovate[bot] | chore(deps): update dependency turbo to ^1.13.0 (#6114) | 1352e84 |
Sindre Gulseth | chore(typegen): show schema extraction and typegen in help texts (#6122) | ec3b25e |
Pedro Bonamin | fix(pte): PTE inline block object modal closing on validation state changes (#6113) | a272c71 |
Sindre Gulseth | fix(schema): correctly assert optional fields with enforce required fields (#6121) | f568e14 |
Espen Hovlandsdal | chore: disable import/extensions rule for get-it middleware import (#6127) | aca88e9 |
Sindre Gulseth | fix(schemaExtract): guard for list options not being an array (#6128) | e4f28e5 |
Sindre Gulseth | chore(codegen): track ratio between unknown nodes and all type nodes (#6125) | 3822da2 |
Sindre Gulseth | fix(vision): fixes bug where codemirror would insert a new line on cmd-return (#6123) | 971ba9f |
Pedro Bonamin | fix(tasks): update description input to create blocks edx-1206 (#6126) | 852bfca |
Pedro Bonamin | feat(tasks): add tasks empty states (#6130) | 22afbb4 |
Sindre Gulseth | chore(codegen): add cl as codeowners for {code,type}gen (#6118) | 94d0934 |
Sindre Gulseth | feat(codegen): attempt to parse groq queries with parameter in slices (#6117) | 97c0b0c |
shur | feat: indicate in metadata that the quickstart option was used in project creation (#6065) | 468e76c |
v3.35.2
Installation and upgrading
To initiate a new Studio without installing the CLI globally:
npm create sanity@latest
To upgrade a v3 Studio, run this command in its folder:
npm install sanity@latest
🐛 Notable bugfixes
- Fixes a bug that caused inputs to lose focus when their value changed
📓 Full changelog
Author | Message | Commit |
---|---|---|
Sindre Gulseth | chore(schema): add tracing for schema extraction (#6019) | ab5ae9f |
Sindre Gulseth | chore(codegen): add total types and align telemetry prop names (#6077) | 7ecff65 |
renovate[bot] | chore(deps): update dependency @portabletext/toolkit to ^2.0.13 (#6098) | c5faca2 |
renovate[bot] | chore(lockfile): update dependency @sanity/color to v3.0.2 (#6101) | 7c82923 |
renovate[bot] | chore(deps): update dependency @sanity/icons to ^2.11.4 (#6099) | a42e9f3 |
renovate[bot] | fix(deps): update dependency get-it to ^8.4.16 (#6108) | eca9c30 |
Herman Wikner | fix(comments): drop permission check (#6110) | d6a3891 |
v3.35.1
Installation and upgrading
To initiate a new Studio without installing the CLI globally:
npm create sanity@latest
To upgrade a v3 Studio, run this command in its folder:
npm install sanity@latest
🐛 Notable bugfixes
- Increases width of all inline popovers in the Portable Text Editor
- Fixes an issue where incorrect studio version was shown in the help menu
- Fixes an issue where incorrect loading message shown while a pane is resolving in the structure tool
📓 Full changelog
Author | Message | Commit |
---|---|---|
renovate[bot] | chore(deps): update tiryoh/gha-jobid-action digest to c1d1cf7 (#6064) | ae05976 |
renovate[bot] | chore(deps): update thollander/actions-comment-pull-request digest to fabd468 (#6063) | 13dcbdb |
renovate[bot] | chore(deps): update peter-evans/create-pull-request digest to 70a41ab (#6062) | 7bd281c |
renovate[bot] | chore(deps): update dependency express to ^4.18.3 (#6067) | 2aa4b64 |
renovate[bot] | chore(lockfile): update dependency @sanity/locale-nn-no to v1.1.5 (#6071) | 0254106 |
renovate[bot] | chore(lockfile): update dependency @sanity/locale-sv-se to v1.2.3 (#6073) | 0b1d581 |
renovate[bot] | chore(lockfile): update dependency @sanity/locale-pt-pt to v1.1.2 (#6072) | 19a8dd6 |
renovate[bot] | chore(lockfile): update dependency @sanity/locale-nb-no to v1.1.4 (#6070) | cc60405 |
renovate[bot] | chore(lockfile): update dependency @sanity/locale-ko-kr to v1.1.3 (#6069) | 1d5f3cb |
Nina Andal Aarvik | fix(core): increase default width of PT inline popovers (#5878) | f809fe3 |
Herman Wikner | fix(comments): permission check (#6057) | 2163ff0 |
Sindre Gulseth | fix(codegen): include babel.config.json in the published package (#6075) | 2e06b84 |
Sindre Gulseth | fix(codegen): uppercase query type names (#6080) | 7402093 |
Sindre Gulseth | refactor(codegen): move Result appending into type generation (#6082) | 63432da |
Herman Wikner | fix(comments): hide resolve action if no handler is provided (#6084) | 4767b32 |
Tommy Petty | fix(tasks): copy changes for Tasks feature (#6085) | 3ab20ef |
Bjørge Næss | fix: use workspace protocol for all workspace dependencies (#6088) | 0653134 |
Herman Wikner | fix(tasks): ui adjustments (#6086) | f89111c |
Pedro Bonamin | fix(tasks): update info passed to the tasks comments notification context (#6087) | 6635d72 |
Pedro Bonamin | fix(tasks): update how addonDatasetProvider ready state is set (#6076) | a08a82f |
Sindre Gulseth | fix(codegen): use relative path when globbing for files (#6083) | 5bc629f |
Pedro Bonamin | fix(tasks): add new sanityTasks flag (#6089) | ae89244 |
Binoy Patel | Revert "fix: use workspace protocol for all workspace dependencies (#6088)" (#6092) | abfc5d2 |
Espen Hovlandsdal | fix(structure): use correct loading messages while resolving panes (#6093) | d784f82 |
Cody Olsen | refactor: use PKG_VERSION from @sanity/pkg-utils instead of manually regexing SANITY_VERSION (#6078) |
d514bfc |
v3.35.0
Installation and upgrading
To initiate a new Studio without installing the CLI globally:
npm create sanity@latest
To upgrade a v3 Studio, run this command in its folder:
npm install sanity@latest
🐛 Notable bugfixes
- Fixes an issue that would cause duplicate entries in the list of recent searches.
- Updates the type of
value
withinObjectFieldProps
to accept a type parameter, allowing for dynamically setting the expected type. (thanks @shixish)
📓 Full changelog
Author | Message | Commit |
---|---|---|
Ash | fix(core): include request tag in Text Search API requests (#5988) | 471854e |
cngonzalez | chore: update licenses across packages for current year (#6002) | c11256b |
renovate[bot] | chore(lockfile): update dependency @sanity/assist to v2.0.4 (#6006) | 37a4ed3 |
renovate[bot] | fix(deps): update dependency @sanity/presentation to v1.11.7 (#6007) | 1041460 |
cngonzalez | fix: ensure that useStructureToolSetting updates only when necessary (#6004) | a4d8d2d |
renovate[bot] | fix(deps): update dependency get-it to ^8.4.13 (#6013) | 1da1feb |
renovate[bot] | fix(deps): update dependency @sanity/client to ^6.15.5 (#6012) | 01dec12 |
renovate[bot] | chore(deps): update dependency @sanity/visual-editing to v1.8.0 (#6015) | 2f16c94 |
Sindre Gulseth | fix: schema extraction object type name (#6014) | dcd5537 |
Sindre Gulseth | Fix bug where we cant resolve custom types (#6016) | 217a47d |
Herman Wikner | feat(tasks): add comment delete confirm dialog (#6009) | c105115 |
Herman Wikner | fix(comments): hide context menu actions if handler is undefined (#6011) | cb55bc5 |
renovate[bot] | chore(deps): update dependency @sanity/visual-editing to v1.8.1 (#6022) | 09d4e27 |
renovate[bot] | chore(deps): update dependency @types/use-sync-external-store to ^0.0.6 (#6023) | 910f04c |
renovate[bot] | chore(deps): update dependency turbo to ^1.12.5 (#6025) | 02699dd |
renovate[bot] | chore(deps): update dependency vite to ^4.5.2 (#6026) | 767e99e |
renovate[bot] | chore(deps): update pnpm to v8.15.5 (#6027) | a2aedcb |
renovate[bot] | chore(deps): update dependency @portabletext/toolkit to ^2.0.11 (#6030) | 639580f |
renovate[bot] | chore(deps): update dependency @babel/preset-env to ^7.24.0 (#6033) | 795167f |
renovate[bot] | chore(lockfile): update dependency @portabletext/react to v3.0.12 (#6031) | 9f745f0 |
renovate[bot] | chore(deps): update dependency styled-components to ^6.1.8 (#6024) | d405517 |
renovate[bot] | chore(deps): update linters (#6029) | baaa56b |
renovate[bot] | chore(deps): update dependency esbuild to v0.20.2 (#6028) | a480588 |
renovate[bot] | chore(deps): update dependency @sanity/pkg-utils to ^3.3.8 (#6036) | 871b450 |
Ash | fix(util): safely stringify path segments named as GROQ data types (e.g. null ) (#5986) |
561ee14 |
Ash | refactor(core): use path toString function from @sanity/util/paths (#5987) |
522477a |
renovate[bot] | chore(deps): update dependency @sanity/pkg-utils to v4 (#6037) | 114d8bb |
renovate[bot] | chore(deps): update dependency @portabletext/toolkit to ^2.0.12 (#6042) | eb86c41 |
renovate[bot] | chore(deps): update dependency @sanity/visual-editing to v1.8.2 (#6043) | 039eb1f |
renovate[bot] | chore(lockfile): update dependency @sanity/logos to v2.1.7 (#6045) | 92e62aa |
renovate[bot] | chore(lockfile): update dependency @sanity/react-loader to v1.9.4 (#6046) | aa37fd9 |
renovate[bot] | chore(lockfile): update dependency mendoza to v3.0.6 (#6047) | b94419a |
renovate[bot] | fix(deps): update dependency @sanity/presentation to v1.11.8 (#6048) | bd44216 |
renovate[bot] | fix(deps): update dependency get-it to ^8.4.14 (#6049) | 01866ed |
renovate[bot] | chore(lockfile): update dependency @portabletext/react to v3.0.13 (#6044) | 9ab928f |
Ash | feat(core): integrate with Text Search API ordering (#6001) | a59f4bc |
renovate[bot] | chore(deps): update dependency @sanity/pkg-utils to ^4.4.3 (#6050) | b6334ee |
renovate[bot] | fix(deps): update dependency @sanity/client to ^6.15.6 (#6052) | ac206c2 |
Pedro Bonamin | fix(tasks): hide safari details marker (#6020) | f70cf04 |
Herman Wikner | fix(tasks): only display tasks with edits in the drafts menu (#6053) | 050f452 |
Herman Wikner | feat(tasks): ui improvements (#5990) | a58b596 |
cngonzalez | fix: use more reliable comparison in deduping search results (#6034) | 1dd2ccc |
Sindre Gulseth | feat(codegen): add codegen skeleton package (#5979) | e94c02f |
Sindre Gulseth | feat(codegen): add groq finder methods. (#5980) | 7addeef |
Sindre Gulseth | feat(codegen): add typegen methods to codegen package (#5981) | baf7cf0 |
Sindre Gulseth | feat(codegen): add CLI to generate types given a codegen config (#5982) | 3742b3f |
Sindre Gulseth | feat(codegen): expose referenced type as hidden symbol (#6008) | 2826c46 |
Sindre Gulseth | chore(codegen): refactor codegen cli group to use typegen cli group (#6051) | ff07ff2 |
Sindre Gulseth | chore(codegen): bind groq-js to ^1.5.0 (#6055) | 9595f3a |
renovate[bot] | chore(deps): lock file maintenance (#6035) | c70653a |
Sindre Gulseth | fix(codegen): update help text and generated comments copy (#6059) | 2afbc3b |
Tommy Petty | feat(tasks): Localize Task feature (#6017) | 06d812c |
Binoy Patel | chore(deps): pin @sanity/migrate groq to 1.5.0 (#6060) | c36a3b0 |
Andrew Wessels | Update fieldProps.ts (#5902) | 10d86e0 |