IT-Start-Gjovik / startgjovik_website

Website for Start Gjøvik 2023-2024, a student organization for innovation and entrepreneurship
https://www.startgjovik.no
GNU General Public License v2.0
9 stars 7 forks source link

build(deps): bump sanity from 3.43.0 to 3.53.0 #482

Closed dependabot[bot] closed 1 month ago

dependabot[bot] commented 1 month ago

Bumps sanity from 3.43.0 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 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)
vercel[bot] commented 1 month ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
startgjovik-website ❌ Failed (Inspect) Aug 7, 2024 10:35am
dependabot[bot] commented 1 month ago

Superseded by #487.