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

chore(deps): Bump @apollo/client from 3.7.5 to 3.8.0 #771

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 7, 2023

Bumps @apollo/client from 3.7.5 to 3.8.0.

Release notes

Sourced from @​apollo/client's releases.

v3.8.0

Minor Changes

Fetching with Suspense 🎉

  • #10323 64cb88a4b Thanks @​jerelmiller! - Add support for React suspense with a new useSuspenseQuery hook.

    useSuspenseQuery initiates a network request and causes the component calling it to suspend while the request is in flight. It can be thought of as a drop-in replacement for useQuery that allows you to take advantage of React's concurrent features while fetching during render.

    Consider a Dog component that fetches and renders some information about a dog named Mozzarella:

    import { Suspense } from 'react';
    import { gql, TypedDocumentNode, useSuspenseQuery } from '@apollo/client';
    interface Data {
    dog: {
    id: string;
    name: string;
    };
    }
    interface Variables {
    name: string;
    }
    const GET_DOG_QUERY: TypedDocumentNode<Data, Variables> = gqlquery GetDog($name: String) { dog(name: $name) { id name } };
    function App() {
    return (
    <Suspense fallback={<div>Loading...</div>}>
    <Dog name="Mozzarella" />
    </Suspense>
    );
    }
    function Dog({ name }: { name: string }) {
    const { data } = useSuspenseQuery(GET_DOG_QUERY, {
    variables: { name },
    });

... (truncated)

Changelog

Sourced from @​apollo/client's changelog.

3.8.0

Minor Changes

Fetching with Suspense 🎉

  • #10323 64cb88a4b Thanks @​jerelmiller! - Add support for React suspense with a new useSuspenseQuery hook.

    useSuspenseQuery initiates a network request and causes the component calling it to suspend while the request is in flight. It can be thought of as a drop-in replacement for useQuery that allows you to take advantage of React's concurrent features while fetching during render.

    Consider a Dog component that fetches and renders some information about a dog named Mozzarella:

    import { Suspense } from 'react';
    import { gql, TypedDocumentNode, useSuspenseQuery } from '@apollo/client';
    interface Data {
    dog: {
    id: string;
    name: string;
    };
    }
    interface Variables {
    name: string;
    }
    const GET_DOG_QUERY: TypedDocumentNode<Data, Variables> = gqlquery GetDog($name: String) { dog(name: $name) { id name } };
    function App() {
    return (
    <Suspense fallback={<div>Loading...</div>}>
    <Dog name="Mozzarella" />
    </Suspense>
    );
    }
    function Dog({ name }: { name: string }) {
    const { data } = useSuspenseQuery(GET_DOG_QUERY, {
    variables: { name },

... (truncated)

Commits
  • 1ac6dda Version Packages (#11126)
  • 1429d9c Create GitHub release for prereleases (#11128)
  • f54b86d Merge pull request #10340 from apollographql/release-3.8
  • ec1b864 chore: exiting prerelease mode
  • e7b71ae Merge branch 'main' into release-3.8
  • f39b86e Refactor tests to remove RefetchFunction/FetchMoreFunction type helpers (#11119)
  • c6c489b Version Packages (rc) (#11088)
  • b4aefcf Adds support for skipToken in options for useSuspenseQuery and `useBackgr...
  • 78739e3 Enforce export type for all type-level exports. (#11115)
  • a803061 git-blame-ignore prettier PR
  • 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 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 [@apollo/client](https://github.com/apollographql/apollo-client) from 3.7.5 to 3.8.0.
- [Release notes](https://github.com/apollographql/apollo-client/releases)
- [Changelog](https://github.com/apollographql/apollo-client/blob/main/CHANGELOG.md)
- [Commits](apollographql/apollo-client@v3.7.5...v3.8.0)

---
updated-dependencies:
- dependency-name: "@apollo/client"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Aug 7, 2023
@vercel
Copy link

vercel bot commented Aug 7, 2023

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

Name Status Preview Comments Updated (UTC)
nau ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 7, 2023 6:50pm

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Aug 11, 2023

Superseded by #774.

@dependabot dependabot bot closed this Aug 11, 2023
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/apollo/client-3.8.0 branch August 11, 2023 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