npm @sanity/vision 3.33.0
v3.33.0

latest releases: 3.64.0, 2.36.6, 2.36.4...
8 months ago

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 bugfixes

  • Resolves an issue where users were not redirected to their original destination after re-authenticating, ensuring seamless access to linked content within the Studio.
  • _projectId and _strengthenOnPublish are now valid values for Initial Value Templates, allowing for Cross Dataset Reference values in templates.
  • Fixes a type bug where the type for defineType and defineField was not being captured correctly.

Other Features

  • __experimental_search is deprecated in favor of field-level search options for strings and Portable Text arrays. You should now be able to define search weights in your schema, like:
defineField({
  name: 'title',
  type: 'string',
  options: {
    search: {
      weight: 10,
    },
  },
})
  • Document Actions can now specify a group, which will allow users to specify whether a specific document action should appear in the footer or in the document's context menu.
  • Adds ability to open the hotspot and crop dialog by double-clicking image preview.

📓 Full changelog

Author Message Commit
Tommy Petty Update PULL_REQUEST_TEMPLATE.md (#5921) 3afe5a2
Herman Wikner fix(comments): enable check (#5918) c230bb5
Herman Wikner fix(comments): lost comment message while document is reconnecting (#5928) ec4da46
Bjørge Næss test(sanity): use dev aliases in the validation test's worker threads (#5927) 8bf1c92
Herman Wikner feat(comments): support task comments (#5934) 75273af
Herman Wikner fix(comments): use _weak instead of weak (#5936) 642224f
Tommy Petty fix(pte): updates zoffset for PopoverEditDialog to not be on top of InspectDialog (#5882) 69b3552
Nina Andal Aarvik fix(core): add onDoubleClick to open image crop (#5815) e3bfee0
Bjørge Næss fix(ci): align pnpm install across all workflows (#5920) f103967
Rico Kahler feat(core): redirect to previous path after login (#5932) 96cd0b6
Pedro Bonamin feat(tasks): bootstrap tasks plugin (#5704) dd0794a
cngonzalez refactor(core): use KeyValueStore for recent searches (#5872) c531a6b
Herman Wikner fix(comments): handle lack of access to inline comments (#5925) 2d4f60c
Pedro Bonamin chore(comments): add support for comments layout avatar config (#5944) f42ea79
Tommy Petty fix(core): remove prev and next month buttons in calendar input (#5931) 01f7df2
Pedro Bonamin feat(core): add groups to document actions, introduce paneActions group (#5933) 4e95e09
Rico Kahler fix(core): upgrade and fix types for typescript 5.4 (#5943) 4e72b80
Rico Kahler fix(core): allow _projectId and _strengthOnPublish in templates (#5942) 5adca88
renovate[bot] chore(deps): update dependency @sanity/visual-editing to v1.7.0 (#5955) 0314111
renovate[bot] chore(lockfile): update dependency @sanity/react-loader to v1.9.3 (#5952) 01bd4ab
renovate[bot] fix(deps): update dependency @sanity/presentation to v1.11.4 (#5954) a5a1a5d
renovate[bot] fix(deps): update dependency @sanity/client to ^6.15.3 (#5953) fc22e9f
renovate[bot] chore(lockfile): update dependency @sanity/icons to v2.11.0 (#5957) 502fda0
renovate[bot] chore(deps): update dependency @sanity/assist to v2 (#5960) f7019ff
Pedro Bonamin fix(deps): update @sanity/icons (#5956) 15f53bd
Bjørge Næss chore(test): exclude the github reporter from playwright tests for now (#5959) 334917f
Cody Olsen chore: add PTE in Presentation race condition reproduction (#5961) 4adda38
Cody Olsen chore: always bump @sanity/ui (#5963) 1884546
renovate[bot] chore(lockfile): update dependency @sanity/icons to v2.11.2 (#5962) bf22266
Sindre Gulseth feat: add cmd to generate a JSON representation of schema (#5919) c1e4f2a
renovate[bot] fix(deps): update dependency get-it to ^8.4.11 (#5967) 25dce83
renovate[bot] fix(deps): update dependency @sanity/ui to ^2.0.8 (#5966) a1237d6
Herman Wikner feat(core): add navbar actions (@internal) (#5968) 8336c9f
renovate[bot] chore(lockfile): update dependency framer-motion to v11.0.12 (#5969) 01f260b
renovate[bot] chore(deps): update dependency @sanity/icons to ^2.11.2 (#5970) 1b0eb08
renovate[bot] chore(deps): update dependency @sanity/visual-editing to v1.7.1 (#5971) 3101795
renovate[bot] fix(deps): update dependency @sanity/ui to ^2.0.9 (#5972) 218d09c
renovate[bot] fix(deps): update dependency @sanity/presentation to v1.11.5 (#5973) 9254565
Nina Andal Aarvik fix(tasks): show pending tasks in document footer (#5894) 177bc79
renovate[bot] fix(deps): update dependency @sanity/client to ^6.15.4 (#5975) a701e1c
renovate[bot] fix(deps): update dependency @sanity/ui to ^2.0.10 (#5976) b7bcc2d
renovate[bot] chore(lockfile): update dependency @sanity/assist to v2.0.3 (#5977) be49900
Pedro Bonamin feat(tasks): use FormBuilder to create and edit tasks. (#5897) 908577e
Pedro Bonamin feat(tasks): track activity changes with document history. (#5965) 0a76390
Bjørge Næss chore(deps): pin typescript to 5.3 (#5984) 193b4b8
Ash feat(core): add new search config API (#5948) 3c458c8

Don't miss a new vision release

NewReleases is sending notifications on new releases.