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.52.4 to 3.53.0 in /apps/cms #20

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 9, 2024

Bumps sanity from 3.52.4 to 3.53.0.

Release notes

Sourced from sanity's releases.

v3.53.0

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.

Improved Sanity Client and TypeGen integration

With the new defineQuery utility it is no longer necessary to pass generics into client.fetch calls for the sanity typegen command to generate type definitions for query results. 🥳 Update @sanity/client to v6.21.0 or later, then add "overloadClientMethods": true to your sanity-typegen.json configuration file, and finally wrap your query strings in the new defineQuery utility method from groq:

import {createClient} from '@sanity/client'
-import groq from 'groq'
+import {defineQuery} from 'groq'
-import type { SettingsQueryResult } from "~/sanity.types";
const client = createClient({ /* ... */ })
-const settingsQuery = groq +const settingsQuery = defineQuery(
*[_type == "settings"][0]
- +)
-const settings = await client.fetch<SettingsQueryResult>(settingsQuery)
+const settings = await client.fetch(settingsQuery)

Huge thanks to @​romeovs for championing this feature!

🐛 Notable bugfixes

  • Fixes default messaging in the environment variable file created by sanity init --env
  • Fixes an issue that could cause wrong list counts in the Portable Text Editor
  • Fixes an issue that could cause malformed strings to appear in documents passed to migration scripts
  • Fixes several issues that could cause "missing context" errors in certain environments
  • Fixes an issue causing the Presence avatar overlays on form fields not to appear when Sanity Studio is embedded in a React 19 app

📓 Full changelog

Author Message Commit
renovate[bot] fix(deps): update dependency react-rx to v4 (#7266) a9b9febc31
Simeon Griggs feat: embellish nextjs blog starter (#7258) 0fc8216ee6
renovate[bot] chore(deps): update linters (#7285) eebb27b843
renovate[bot] chore(deps): update dependency turbo to ^2.0.10 (#7284) ecc74b417d
Cody Olsen chore: remove agressive npmrc options (#7282) 8e992729fb
renovate[bot] chore(deps): update dependency @​sanity/tsdoc to v1.0.87 (#7287) cade4c78aa
Cody Olsen fix: remove react hooks linter suppressions in PT hooks (#7222) f5cac7b335
Cody Olsen fix: ensure search context provider value is memoized (#7200) edf7560eb7

... (truncated)

Commits
  • d60dc6d v3.53.0
  • 8d003e8 fix: support field presence avatars on react 19 (#7308)
  • 542b07b refactor: remove prefersLatestPublished handling (#7305)
  • de01242 fix(deps): update dependency @​portabletext/editor to ^1.0.11 (#7317)
  • c512fa7 refactor: flatten _singletons and increase usage of sanity/_createContext...
  • e82e815 fix(cli): dedupe styled-components in vite config (#7310)
  • e5563b6 chore(deps): update dependency @​sanity/tsdoc to v1.0.90 (#7315)
  • 33c3c7b chore(deps): update dependency @​sanity/pkg-utils to v6.10.9 (#7313)
  • cc744df fix(deps): update dependency @​sanity/presentation to v1.16.3 (#7302)
  • c041d28 Update types.ts
  • 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.52.4 to 3.53.0.
- [Release notes](https://github.com/sanity-io/sanity/releases)
- [Commits](https://github.com/sanity-io/sanity/commits/v3.53.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 Aug 9, 2024
Copy link

netlify bot commented Aug 9, 2024

Deploy Preview for anna-otto-cms ready!

Name Link
🔨 Latest commit 0ad47df
🔍 Latest deploy log https://app.netlify.com/sites/anna-otto-cms/deploys/66b695cbadb2a600084ce883
😎 Deploy Preview https://deploy-preview-20--anna-otto-cms.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

sonarqubecloud bot commented Aug 9, 2024

Copy link

netlify bot commented Aug 9, 2024

Deploy Preview for anna-otto-website ready!

Name Link
🔨 Latest commit 0ad47df
🔍 Latest deploy log https://app.netlify.com/sites/anna-otto-website/deploys/66b695cb6debb90008ce17b5
😎 Deploy Preview https://deploy-preview-20--anna-otto-website.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Contributor Author

dependabot bot commented on behalf of github Aug 16, 2024

Superseded by #31.

@dependabot dependabot bot closed this Aug 16, 2024
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/apps/cms/sanity-3.53.0 branch August 16, 2024 22:44
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants