litentry / archived-litentry-mobile-app

GNU General Public License v3.0
73 stars 15 forks source link

Bump @apollo/client from 3.5.10 to 3.8.1 #1423

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps @apollo/client from 3.5.10 to 3.8.1.

Release notes

Sourced from @​apollo/client's releases.

v3.8.1

Patch Changes

  • #11141 c469b1616 Thanks @​jerelmiller! - Remove newly exported response iterator helpers that caused problems on some installs where @types/node was not available.

    IMPORTANT

    The following exports were added in version 3.8.0 that are removed with this patch.

    • isAsyncIterableIterator
    • isBlob
    • isNodeReadableStream
    • isNodeResponse
    • isReadableStream
    • isStreamableBlob

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> = gql` query GetDog($name: String) { dog(name: $name) { id name

... (truncated)

Changelog

Sourced from @​apollo/client's changelog.

3.8.1

Patch Changes

  • #11141 c469b1616 Thanks @​jerelmiller! - Remove newly exported response iterator helpers that caused problems on some installs where @types/node was not available.

    IMPORTANT

    The following exports were added in version 3.8.0 that are removed with this patch.

    • isAsyncIterableIterator
    • isBlob
    • isNodeReadableStream
    • isNodeResponse
    • isReadableStream
    • isStreamableBlob

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> = gql` query GetDog($name: String) { dog(name: $name) {

... (truncated)

Commits
  • 180ef2e Version Packages (#11144)
  • 3b1ead9 Merge pull request #11137 from apollographql/docs/update-persisted-queries
  • c164d2c Merge branch 'main' into docs/update-persisted-queries
  • c469b16 Fix issue where a bare install had some issues with a @types/node import in...
  • 3583371 Use "operation manifest" rather than "operations manifest"
  • 68e2675 Use <ClientPQImplementation> component
  • 8a0af6f Use shared content components
  • 749cabe Merge branch 'main' into docs/update-persisted-queries
  • 4b501e1 [docs] make docs edits from Meschreiber's PR review (#11136)
  • 6221ade Update ROADMAP.md to remove 3.8 now that it's released 🎉 (#11139)
  • 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)
dependabot[bot] commented 1 year ago

Superseded by #1425.