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 the sanity group across 1 directory with 4 updates #552

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 11, 2024

Bumps the sanity group with 4 updates in the / directory: @sanity/client, @sanity/vision, groq and sanity.

Updates @sanity/client from 6.15.11 to 6.21.0

Release notes

Sourced from @​sanity/client's releases.

v6.21.0

6.21.0 (2024-07-11)

Features

  • codegen: Allow query reponse types to be overridden through SanityQueries (#858) (c25d51a)

v6.20.2

6.20.2 (2024-07-09)

Bug Fixes

  • deps: update dependency get-it to ^8.6.3 (#866) (0661f5d)

v6.20.1

6.20.1 (2024-06-18)

Bug Fixes

  • add warning about setting both useCdn and withCredentials to true (#849) (ae01edb)
  • deps: update dependency get-it to ^8.6.1 (#856) (ced69bc)

v6.20.0

6.20.0 (2024-06-10)

Features

  • the client.live.events() API is now stable (#843) (d03fc09)

v6.19.2

6.19.2 (2024-06-10)

Bug Fixes

  • deps: update dependency get-it to ^8.6.0 (#846) (85afc9e)

v6.19.1

6.19.1 (2024-05-29)

Bug Fixes

  • types: adjust action types to reflect Actions API (#830) (e116c62)

v6.19.0

... (truncated)

Changelog

Sourced from @​sanity/client's changelog.

6.21.0 (2024-07-11)

Features

  • codegen: Allow query reponse types to be overridden through SanityQueries (#858) (c25d51a)

6.20.2 (2024-07-09)

Bug Fixes

  • deps: update dependency get-it to ^8.6.3 (#866) (0661f5d)

6.20.1 (2024-06-18)

Bug Fixes

  • add warning about setting both useCdn and withCredentials to true (#849) (ae01edb)
  • deps: update dependency get-it to ^8.6.1 (#856) (ced69bc)

6.20.0 (2024-06-10)

Features

  • the client.live.events() API is now stable (#843) (d03fc09)

6.19.2 (2024-06-10)

Bug Fixes

  • deps: update dependency get-it to ^8.6.0 (#846) (85afc9e)

6.19.1 (2024-05-29)

Bug Fixes

  • types: adjust action types to reflect Actions API (#830) (e116c62)

6.19.0 (2024-05-28)

Features

... (truncated)

Commits
  • 14619d0 chore(main): release 6.21.0 (#871)
  • b4c3382 chore(deps): update dependency @​edge-runtime/vm to v4 (#864)
  • 2c801d1 chore(deno): update import_map.json (#867)
  • f8e5aa6 chore(deps): update oven-sh/setup-bun action to v2 (#865)
  • f8e755c chore(deps): update dependency @​edge-runtime/types to v3 (#863)
  • da04985 chore: update browserslist db (#859)
  • c25d51a feat(codegen): Allow query reponse types to be overridden through SanityQueri...
  • 38c440a chore(main): release 6.20.2 (#868)
  • 0661f5d fix(deps): update dependency get-it to ^8.6.3 (#866)
  • 33e91a5 chore(deno): update import_map.json (#857)
  • Additional commits viewable in compare view

Updates @sanity/vision from 3.37.2 to 3.49.0

Release notes

Sourced from @​sanity/vision's releases.

v3.49.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.

✨ Highlights

New TypeGen Features

Better GROQ Function Coverage

We have added the following improvements to type generation for GROQ query results:

Improved Union Handling in TypeGen

TypeGen now correctly expands all unions inside an object, addressing this reported issue on GitHub. Previously, only a part of a union might be returned. TypeGen now ensures that all object types in a union are expanded and included in the generated types.

// Example query
export const HomePageQuery = groq`*[_type == "page" && slug.current == "homepage"]{
  title,
  components[] {
    _type == "hero" => { title, "image": image.asset->url },
    _type == "cta" => { title, link }
  }
}`;

TyeGen will now generate the following type for the query above:

export type HomePageQueryResult = Array<{
  title: string;
  components: Array<
    | { _type: 'hero'; title: string; image: string }
    | { _type: 'cta'; title: string; link: string }
  >;
}>;

New import path for the Portable Text Editor

We’ve started work on a standalone Portable Text Editor package, and thus transitioned to using the @portabletext/editor package instead of the now deprecated @sanity/portable-text-editor package. This change includes several internal improvements and fixes. You can follow this work in this repository on GitHub — more documentation to come.

... (truncated)

Commits

Updates groq from 3.37.2 to 3.49.0

Release notes

Sourced from groq's releases.

v3.49.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.

✨ Highlights

New TypeGen Features

Better GROQ Function Coverage

We have added the following improvements to type generation for GROQ query results:

Improved Union Handling in TypeGen

TypeGen now correctly expands all unions inside an object, addressing this reported issue on GitHub. Previously, only a part of a union might be returned. TypeGen now ensures that all object types in a union are expanded and included in the generated types.

// Example query
export const HomePageQuery = groq`*[_type == "page" && slug.current == "homepage"]{
  title,
  components[] {
    _type == "hero" => { title, "image": image.asset->url },
    _type == "cta" => { title, link }
  }
}`;

TyeGen will now generate the following type for the query above:

export type HomePageQueryResult = Array<{
  title: string;
  components: Array<
    | { _type: 'hero'; title: string; image: string }
    | { _type: 'cta'; title: string; link: string }
  >;
}>;

New import path for the Portable Text Editor

We’ve started work on a standalone Portable Text Editor package, and thus transitioned to using the @portabletext/editor package instead of the now deprecated @sanity/portable-text-editor package. This change includes several internal improvements and fixes. You can follow this work in this repository on GitHub — more documentation to come.

... (truncated)

Commits

Updates sanity from 3.37.2 to 3.49.0

Release notes

Sourced from sanity's releases.

v3.49.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.

✨ Highlights

New TypeGen Features

Better GROQ Function Coverage

We have added the following improvements to type generation for GROQ query results:

Improved Union Handling in TypeGen

TypeGen now correctly expands all unions inside an object, addressing this reported issue on GitHub. Previously, only a part of a union might be returned. TypeGen now ensures that all object types in a union are expanded and included in the generated types.

// Example query
export const HomePageQuery = groq`*[_type == "page" && slug.current == "homepage"]{
  title,
  components[] {
    _type == "hero" => { title, "image": image.asset->url },
    _type == "cta" => { title, link }
  }
}`;

TyeGen will now generate the following type for the query above:

export type HomePageQueryResult = Array<{
  title: string;
  components: Array<
    | { _type: 'hero'; title: string; image: string }
    | { _type: 'cta'; title: string; link: string }
  >;
}>;

New import path for the Portable Text Editor

We’ve started work on a standalone Portable Text Editor package, and thus transitioned to using the @portabletext/editor package instead of the now deprecated @sanity/portable-text-editor package. This change includes several internal improvements and fixes. You can follow this work in this repository on GitHub — more documentation to come.

... (truncated)

Commits
  • a5affb8 v3.49.0
  • c44c405 fix(deps): update dependency @​sanity/export to ^3.40.0 (#7056)
  • b73b68c fix(deps): update dependency get-it to ^8.6.2 (#7052)
  • 9864985 refactor: use @portabletext/editor instead of `@sanity/portable-text-editor...
  • 628cb76 fix(deps): update dependency groq-js to ^1.10.0 (#7053)
  • d0b9ab0 fix(core): open PTE dialogs in tree editing dialog with openPath (#7046)
  • b932de6 fix(core): handle fieldset members in FormInput (#7045)
  • 7ed682e fix(core): change padding to fix tab box (#7000)
  • 2fb8f9b chore(deps): upgrade turbo to v2 (#6985)
  • 868a44b v3.48.1
  • Additional commits viewable in compare view

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 <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the sanity group with 4 updates in the / directory: [@sanity/client](https://github.com/sanity-io/client), [@sanity/vision](https://github.com/sanity-io/sanity/tree/HEAD/packages/@sanity/vision), [groq](https://github.com/sanity-io/sanity/tree/HEAD/packages/groq) and [sanity](https://github.com/sanity-io/sanity/tree/HEAD/packages/sanity).


Updates `@sanity/client` from 6.15.11 to 6.21.0
- [Release notes](https://github.com/sanity-io/client/releases)
- [Changelog](https://github.com/sanity-io/client/blob/main/CHANGELOG.md)
- [Commits](sanity-io/client@v6.15.11...v6.21.0)

Updates `@sanity/vision` from 3.37.2 to 3.49.0
- [Release notes](https://github.com/sanity-io/sanity/releases)
- [Commits](https://github.com/sanity-io/sanity/commits/v3.49.0/packages/@sanity/vision)

Updates `groq` from 3.37.2 to 3.49.0
- [Release notes](https://github.com/sanity-io/sanity/releases)
- [Commits](https://github.com/sanity-io/sanity/commits/v3.49.0/packages/groq)

Updates `sanity` from 3.37.2 to 3.49.0
- [Release notes](https://github.com/sanity-io/sanity/releases)
- [Commits](https://github.com/sanity-io/sanity/commits/v3.49.0/packages/sanity)

---
updated-dependencies:
- dependency-name: "@sanity/client"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: sanity
- dependency-name: "@sanity/vision"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: sanity
- dependency-name: groq
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: sanity
- dependency-name: sanity
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: sanity
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jul 11, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Jul 12, 2024

Superseded by #553.

@dependabot dependabot bot closed this Jul 12, 2024
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/sanity-aba540dfff branch July 12, 2024 18:47
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