Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump sanity from 3.70.0 to 3.71.0 #2665

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 22, 2025

Bumps sanity from 3.70.0 to 3.71.0.

Release notes

Sourced from sanity's releases.

v3.71.0

✨ Highlights

The @sanity/presentation codebase has been migrated into the sanity codebase

The @sanity/presentation codebase has been migrated into the sanity codebase. We've always recommended using Presentation Tool by importing it from sanity/presentation, like so:

// sanity.config.ts
import {defineConfig} from 'sanity'
import {presentationTool} from 'sanity/presentation'
import {structureTool} from 'sanity/structure'
export default defineConfig({
plugins: [presentationTool(), structureTool()]
})

If you've been following this pattern then this change won't impact you in any way.

If you've been installing @sanity/presentation and are using it directly (we've sometimes suggested this to let folks try out bugfixes before they ship in the next release of sanity):

// sanity.config.ts
import {defineConfig} from 'sanity'
import {presentationTool} from '@sanity/presentation'
import {structureTool} from 'sanity/structure'
export default defineConfig({
plugins: [presentationTool(), structureTool()]
})

Then you need to search/replace all from '@sanity/presentation' statements in your codebase with from 'sanity/presentation', and uninstall @sanity/presentation, as it'll no longer receive updates.

Other features

  • Adds disableActions option to array fields for disabling various array input capabilities.

🐛 Notable bugfixes

  • Fixes an issue preventing keyboard navigation to edit buttons for annotation and inline objects in the Portable Text Input.
  • Fixes an issue allowing custom form inputs to incorrectly patch a readOnly document by calling onChange.
  • The Presentation Tool's "Documents in use" pane now includes draft and unpublished documents, meaning it actually shows all documents in use, rather than just some of them.
  • No longer warns about duplicate keys when using Presentation on sanity dev with React Strict Mode, or embedded studios on Next.js App Router.

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.

... (truncated)

Commits
  • c506eb3 v3.71.0
  • d1dc5b5 feat(preview): add experimental support for live document id sets (#7398)
  • 044f24c test: fix PTE copy/paste test case (#8344)
  • 9ce399c feat(form): add support for disabling array input capabilities (#7615)
  • 148c1ec fix(deps): update dependency @​sanity/ui to ^2.11.3 (#8330)
  • ba61226 fix(deps): update dependency @​portabletext/block-tools to ^1.1.0 (#8285)
  • 5379e4f fix(deps): update dependency @​portabletext/editor to ^1.22.0 (#8252)
  • 76609d2 fix(deps): update dependency react-rx to ^4.1.16 (#8329)
  • 2e1f58e fix(deps): update React Compiler dependencies 🤖 ✨ (#8327)
  • 48f3e68 fix(presentation): avoid duplicate key warning (#8319)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [sanity](https://github.com/sanity-io/sanity/tree/HEAD/packages/sanity) from 3.70.0 to 3.71.0.
- [Release notes](https://github.com/sanity-io/sanity/releases)
- [Commits](https://github.com/sanity-io/sanity/commits/v3.71.0/packages/sanity)

---
updated-dependencies:
- dependency-name: sanity
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jan 22, 2025
@dependabot dependabot bot requested a review from a team as a code owner January 22, 2025 01:55
@dependabot dependabot bot added the javascript Pull requests that update Javascript code label Jan 22, 2025
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 22, 2025

Looks like sanity is up-to-date now, so this is no longer needed.

@dependabot dependabot bot closed this Jan 22, 2025
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/sanity-3.71.0 branch January 22, 2025 09:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants