Skip to content

chore(deps-dev): bump @apollo/client from 3.7.17 to 3.8.0#816

Closed
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot-npm_and_yarn-master-apollo-client-3.8.0
Closed

chore(deps-dev): bump @apollo/client from 3.7.17 to 3.8.0#816
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot-npm_and_yarn-master-apollo-client-3.8.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Aug 8, 2023

Bumps @apollo/client from 3.7.17 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.17 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.17...v3.8.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added the skip changelog check This pull request does not need a changelog entry label Aug 8, 2023
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github Aug 11, 2023

Superseded by #822.

@dependabot dependabot Bot closed this Aug 11, 2023
@dependabot dependabot Bot deleted the dependabot-npm_and_yarn-master-apollo-client-3.8.0 branch August 11, 2023 00:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip changelog check This pull request does not need a changelog entry

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants